; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
-define void @vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
-; SSE-LABEL: vf2:
+define void @load_i16_stride2_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf2:
; SSE: # %bb.0:
; SSE-NEXT: movq {{.*#+}} xmm0 = mem[0],zero
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[0,2,2,3,4,5,6,7]
; SSE-NEXT: movd %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: vf2:
+; AVX-LABEL: load_i16_stride2_vf2:
; AVX: # %bb.0:
; AVX-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
; AVX-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,2,2,3,4,5,6,7]
; AVX-NEXT: vmovd %xmm1, (%rsi)
; AVX-NEXT: vmovd %xmm0, (%rdx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,2,2,3,4,5,6,7]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
-; AVX512-NEXT: vmovd %xmm1, (%rsi)
-; AVX512-NEXT: vmovd %xmm0, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <4 x i16>, ptr %in.vec, align 32
+ %wide.vec = load <4 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <4 x i16> %wide.vec, <4 x i16> poison, <2 x i32> <i32 0, i32 2>
%strided.vec1 = shufflevector <4 x i16> %wide.vec, <4 x i16> poison, <2 x i32> <i32 1, i32 3>
- store <2 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i16> %strided.vec1, ptr %out.vec1, align 32
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
ret void
}
-define void @vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
-; SSE-LABEL: vf4:
+define void @load_i16_stride2_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[0,2,2,3,4,5,6,7]
; SSE-NEXT: movq %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: vf4:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,1,4,5,8,9,12,13,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vmovq %xmm1, (%rsi)
-; AVX-NEXT: vmovq %xmm0, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i16_stride2_vf4:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,1,4,5,8,9,12,13,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vmovq %xmm1, (%rsi)
+; AVX1-NEXT: vmovq %xmm0, (%rdx)
+; AVX1-NEXT: retq
;
-; AVX512-LABEL: vf4:
+; AVX512-LABEL: load_i16_stride2_vf4:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovdqa (%rdi), %xmm0
; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u]
; AVX512-NEXT: vpmovdw %xmm0, (%rsi)
; AVX512-NEXT: vmovq %xmm1, (%rdx)
; AVX512-NEXT: retq
- %wide.vec = load <8 x i16>, ptr %in.vec, align 32
+ %wide.vec = load <8 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
%strided.vec1 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
- store <4 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i16> %strided.vec1, ptr %out.vec1, align 32
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
ret void
}
-define void @vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
-; SSE-LABEL: vf8:
+define void @load_i16_stride2_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf8:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: movdqa %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: vf8:
-; AVX: # %bb.0:
-; AVX-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX-NEXT: vmovdqa (%rdi), %xmm1
-; AVX-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
-; AVX-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
-; AVX-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
-; AVX-NEXT: vpsrld $16, %xmm2, %xmm2
-; AVX-NEXT: vpsrld $16, %xmm1, %xmm1
-; AVX-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
-; AVX-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i16_stride2_vf8:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX1-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX1-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX1-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-NEXT: retq
;
-; AVX512-LABEL: vf8:
+; AVX512-LABEL: load_i16_stride2_vf8:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovdqa (%rdi), %ymm0
; AVX512-NEXT: vpsrld $16, 16(%rdi), %xmm1
; AVX512-NEXT: vmovdqa %xmm1, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <16 x i16>, ptr %in.vec, align 32
+ %wide.vec = load <16 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <8 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14>
%strided.vec1 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <8 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15>
- store <8 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i16> %strided.vec1, ptr %out.vec1, align 32
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
ret void
}
-define void @vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
-; SSE-LABEL: vf16:
+define void @load_i16_stride2_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf16:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm2
; SSE-NEXT: movdqa %xmm1, 16(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1],xmm4[2],xmm0[3],xmm4[4],xmm0[5],xmm4[6],xmm0[7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm0[1],xmm3[2],xmm0[3],xmm3[4],xmm0[5],xmm3[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm6, %xmm0, %xmm0
-; AVX1-NEXT: vpsrld $16, %xmm4, %xmm4
-; AVX1-NEXT: vpsrld $16, %xmm3, %xmm3
-; AVX1-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
-; AVX1-NEXT: vpsrld $16, %xmm2, %xmm2
-; AVX1-NEXT: vpsrld $16, %xmm1, %xmm1
-; AVX1-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
-; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm5, 16(%rsi)
-; AVX1-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm3, 16(%rdx)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride2_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1],xmm4[2],xmm0[3],xmm4[4],xmm0[5],xmm4[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm0[1],xmm3[2],xmm0[3],xmm3[4],xmm0[5],xmm3[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 16(%rdx)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf16:
+; AVX2-SLOW-LABEL: load_i16_stride2_vf16:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf16:
+; AVX2-FAST-LABEL: load_i16_stride2_vf16:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa (%rdi), %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
-; AVX512-NEXT: vpermi2w 32(%rdi), %ymm1, %ymm2
-; AVX512-NEXT: vpmovdw %zmm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm2, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <32 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride2_vf16:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <0,1,4,5,u,u,u,u,8,9,12,13,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm2 = ymm2[0,2],ymm3[0,2],ymm2[4,6],ymm3[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride2_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,2,1,3]
+; AVX512F-SLOW-NEXT: vpmovdw %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride2_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,5,7]
+; AVX512F-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm3
+; AVX512F-FAST-NEXT: vpmovdw %zmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride2_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
+; AVX512BW-NEXT: vpermi2w 32(%rdi), %ymm1, %ymm2
+; AVX512BW-NEXT: vpmovdw %zmm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm2, (%rdx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <32 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <16 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30>
%strided.vec1 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <16 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31>
- store <16 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i16> %strided.vec1, ptr %out.vec1, align 32
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
ret void
}
-define void @vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
-; SSE-LABEL: vf32:
+define void @load_i16_stride2_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: movdqa 64(%rdi), %xmm1
-; SSE-NEXT: movdqa 80(%rdi), %xmm4
-; SSE-NEXT: movdqa 96(%rdi), %xmm0
-; SSE-NEXT: movdqa 112(%rdi), %xmm7
-; SSE-NEXT: movdqa (%rdi), %xmm3
-; SSE-NEXT: movdqa 16(%rdi), %xmm6
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm5
; SSE-NEXT: movdqa 32(%rdi), %xmm2
-; SSE-NEXT: movdqa 48(%rdi), %xmm9
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm9[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm2[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,2,2,3]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm5 = xmm5[0],xmm8[0]
+; SSE-NEXT: movdqa 48(%rdi), %xmm4
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa 112(%rdi), %xmm7
+; SSE-NEXT: movdqa 64(%rdi), %xmm3
+; SSE-NEXT: movdqa 80(%rdi), %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm9[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm6[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm8[0]
; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm7[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm8[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm1[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,2,2,3]
; SSE-NEXT: punpcklqdq {{.*#+}} xmm8 = xmm8[0],xmm10[0]
-; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm6[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm5[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm10[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm0[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,2,2,3]
; SSE-NEXT: punpcklqdq {{.*#+}} xmm10 = xmm10[0],xmm11[0]
; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm4[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm2[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,2,2,3]
; SSE-NEXT: punpcklqdq {{.*#+}} xmm12 = xmm12[0],xmm11[0]
; SSE-NEXT: psrad $16, %xmm9
-; SSE-NEXT: psrad $16, %xmm2
-; SSE-NEXT: packssdw %xmm9, %xmm2
+; SSE-NEXT: psrad $16, %xmm3
+; SSE-NEXT: packssdw %xmm9, %xmm3
; SSE-NEXT: psrad $16, %xmm7
+; SSE-NEXT: psrad $16, %xmm1
+; SSE-NEXT: packssdw %xmm7, %xmm1
+; SSE-NEXT: psrad $16, %xmm5
; SSE-NEXT: psrad $16, %xmm0
-; SSE-NEXT: packssdw %xmm7, %xmm0
-; SSE-NEXT: psrad $16, %xmm6
-; SSE-NEXT: psrad $16, %xmm3
-; SSE-NEXT: packssdw %xmm6, %xmm3
+; SSE-NEXT: packssdw %xmm5, %xmm0
; SSE-NEXT: psrad $16, %xmm4
-; SSE-NEXT: psrad $16, %xmm1
-; SSE-NEXT: packssdw %xmm4, %xmm1
-; SSE-NEXT: movdqa %xmm12, 32(%rsi)
+; SSE-NEXT: psrad $16, %xmm2
+; SSE-NEXT: packssdw %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm12, 16(%rsi)
; SSE-NEXT: movdqa %xmm10, (%rsi)
; SSE-NEXT: movdqa %xmm8, 48(%rsi)
-; SSE-NEXT: movdqa %xmm5, 16(%rsi)
-; SSE-NEXT: movdqa %xmm1, 32(%rdx)
-; SSE-NEXT: movdqa %xmm3, (%rdx)
-; SSE-NEXT: movdqa %xmm0, 48(%rdx)
+; SSE-NEXT: movdqa %xmm6, 32(%rsi)
; SSE-NEXT: movdqa %xmm2, 16(%rdx)
+; SSE-NEXT: movdqa %xmm0, (%rdx)
+; SSE-NEXT: movdqa %xmm1, 48(%rdx)
+; SSE-NEXT: movdqa %xmm3, 32(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0],xmm0[1],xmm3[2],xmm0[3],xmm3[4],xmm0[5],xmm3[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm2, %xmm4, %xmm2
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1],xmm4[2],xmm0[3],xmm4[4],xmm0[5],xmm4[6],xmm0[7]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm6
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm6[0],xmm0[1],xmm6[2],xmm0[3],xmm6[4],xmm0[5],xmm6[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm5, %xmm7, %xmm5
-; AVX1-NEXT: vmovdqa (%rdi), %xmm7
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm8
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm9
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm10
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm10[0],xmm0[1],xmm10[2],xmm0[3],xmm10[4],xmm0[5],xmm10[6],xmm0[7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm9[0],xmm0[1],xmm9[2],xmm0[3],xmm9[4],xmm0[5],xmm9[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm11, %xmm12, %xmm11
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm8[0],xmm0[1],xmm8[2],xmm0[3],xmm8[4],xmm0[5],xmm8[6],xmm0[7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0],xmm0[1],xmm7[2],xmm0[3],xmm7[4],xmm0[5],xmm7[6],xmm0[7]
-; AVX1-NEXT: vpackusdw %xmm12, %xmm0, %xmm0
-; AVX1-NEXT: vpsrld $16, %xmm10, %xmm10
-; AVX1-NEXT: vpsrld $16, %xmm9, %xmm9
-; AVX1-NEXT: vpackusdw %xmm10, %xmm9, %xmm9
-; AVX1-NEXT: vpsrld $16, %xmm8, %xmm8
-; AVX1-NEXT: vpsrld $16, %xmm7, %xmm7
-; AVX1-NEXT: vpackusdw %xmm8, %xmm7, %xmm7
-; AVX1-NEXT: vpsrld $16, %xmm1, %xmm1
-; AVX1-NEXT: vpsrld $16, %xmm3, %xmm3
-; AVX1-NEXT: vpackusdw %xmm1, %xmm3, %xmm1
-; AVX1-NEXT: vpsrld $16, %xmm4, %xmm3
-; AVX1-NEXT: vpsrld $16, %xmm6, %xmm4
-; AVX1-NEXT: vpackusdw %xmm3, %xmm4, %xmm3
-; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm11, 16(%rsi)
-; AVX1-NEXT: vmovdqa %xmm5, 32(%rsi)
-; AVX1-NEXT: vmovdqa %xmm2, 48(%rsi)
-; AVX1-NEXT: vmovdqa %xmm3, 32(%rdx)
-; AVX1-NEXT: vmovdqa %xmm1, 48(%rdx)
-; AVX1-NEXT: vmovdqa %xmm7, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm9, 16(%rdx)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride2_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1],xmm4[2],xmm0[3],xmm4[4],xmm0[5],xmm4[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm0[1],xmm3[2],xmm0[3],xmm3[4],xmm0[5],xmm3[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm7[0],xmm0[1],xmm7[2],xmm0[3],xmm7[4],xmm0[5],xmm7[6],xmm0[7]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm9[0],xmm0[1],xmm9[2],xmm0[3],xmm9[4],xmm0[5],xmm9[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm10[0],xmm0[1],xmm10[2],xmm0[3],xmm10[4],xmm0[5],xmm10[6],xmm0[7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0],xmm0[1],xmm12[2],xmm0[3],xmm12[4],xmm0[5],xmm12[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vpackusdw %xmm4, %xmm7, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 16(%rdx)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf32:
+; AVX2-SLOW-LABEL: load_i16_stride2_vf32:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
-; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
-; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm4 = ymm5[0,2],ymm4[0,2],ymm5[4,6],ymm4[4,6]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
-; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
-; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm5 = ymm6[0,2],ymm5[0,2],ymm6[4,6],ymm5[4,6]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
-; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm3, %ymm3
; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm1, %ymm1
; AVX2-SLOW-NEXT: vpshufb %ymm7, %ymm0, %ymm0
; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm3, %ymm1
-; AVX2-SLOW-NEXT: vpshufb %ymm7, %ymm2, %ymm2
-; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3],ymm2[4,5],ymm1[6,7]
-; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX2-SLOW-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rsi)
-; AVX2-SLOW-NEXT: vmovdqa %ymm1, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rsi)
; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, 32(%rdx)
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf32:
+; AVX2-FAST-LABEL: load_i16_stride2_vf32:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm2
; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <0,1,4,5,u,u,u,u,8,9,12,13,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
-; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm5
-; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm6
; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm5 = ymm6[0,2],ymm5[0,2],ymm6[4,6],ymm5[4,6]
; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
-; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm6
-; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm4
; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm4 = ymm4[0,2],ymm6[0,2],ymm4[4,6],ymm6[4,6]
; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
-; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm3, %ymm3
; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm0, %ymm0
; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm3, %ymm1
-; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm2
-; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3],ymm2[4,5],ymm1[6,7]
-; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX2-FAST-NEXT: vmovaps %ymm4, 32(%rsi)
-; AVX2-FAST-NEXT: vmovaps %ymm5, (%rsi)
-; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm5, 32(%rsi)
; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, 32(%rdx)
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqu64 %zmm2, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm3, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <64 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride2_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <0,1,4,5,u,u,u,u,8,9,12,13,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm3, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm2, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm5 = ymm6[0,2],ymm5[0,2],ymm6[4,6],ymm5[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm1, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm4 = ymm4[0,2],ymm6[0,2],ymm4[4,6],ymm6[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride2_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-SLOW-NEXT: vpmovdw %zmm1, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-SLOW-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1],ymm2[2,3],ymm6[4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm3, %ymm5, %ymm3
+; AVX512F-SLOW-NEXT: vpshufb %ymm7, %ymm4, %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} zmm2 = zmm2[0,2,1,3,4,6,5,7]
+; AVX512F-SLOW-NEXT: vpmovdw %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, 32(%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm2, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride2_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-FAST-NEXT: vpmovdw %zmm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm3
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm6, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm3
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm3, %zmm3
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,2,9,11,4,6,13,15]
+; AVX512F-FAST-NEXT: vpermi2q %zmm2, %zmm3, %zmm4
+; AVX512F-FAST-NEXT: vpmovdw %zmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, 32(%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm4, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride2_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm3 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rdx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <64 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <32 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62>
%strided.vec1 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <32 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63>
- store <32 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i16> %strided.vec1, ptr %out.vec1, align 32
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+
+ ret void
+}
+
+define void @load_i16_stride2_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i16_stride2_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $24, %rsp
+; SSE-NEXT: movdqa 160(%rdi), %xmm11
+; SSE-NEXT: movdqa 176(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm13
+; SSE-NEXT: movdqa 80(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm9
+; SSE-NEXT: movdqa 112(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm10
+; SSE-NEXT: movdqa 16(%rdi), %xmm15
+; SSE-NEXT: movdqa 32(%rdi), %xmm8
+; SSE-NEXT: movdqa 48(%rdi), %xmm14
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm8[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm15[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm10[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm9[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm11[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa 128(%rdi), %xmm12
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm7 = xmm7[0],xmm0[0]
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa 192(%rdi), %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,2,2,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm3[0]
+; SSE-NEXT: psrad $16, %xmm15
+; SSE-NEXT: psrad $16, %xmm10
+; SSE-NEXT: packssdw %xmm15, %xmm10
+; SSE-NEXT: psrad $16, %xmm14
+; SSE-NEXT: psrad $16, %xmm8
+; SSE-NEXT: packssdw %xmm14, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrad $16, %xmm3
+; SSE-NEXT: psrad $16, %xmm13
+; SSE-NEXT: packssdw %xmm3, %xmm13
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrad $16, %xmm3
+; SSE-NEXT: psrad $16, %xmm9
+; SSE-NEXT: packssdw %xmm3, %xmm9
+; SSE-NEXT: psrad $16, %xmm4
+; SSE-NEXT: psrad $16, %xmm12
+; SSE-NEXT: packssdw %xmm4, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrad $16, %xmm3
+; SSE-NEXT: psrad $16, %xmm11
+; SSE-NEXT: packssdw %xmm3, %xmm11
+; SSE-NEXT: psrad $16, %xmm2
+; SSE-NEXT: psrad $16, %xmm0
+; SSE-NEXT: packssdw %xmm2, %xmm0
+; SSE-NEXT: psrad $16, %xmm5
+; SSE-NEXT: psrad $16, %xmm1
+; SSE-NEXT: packssdw %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm6, 96(%rsi)
+; SSE-NEXT: movdqa %xmm7, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movdqa %xmm1, 112(%rdx)
+; SSE-NEXT: movdqa %xmm0, 96(%rdx)
+; SSE-NEXT: movdqa %xmm11, 80(%rdx)
+; SSE-NEXT: movdqa %xmm12, 64(%rdx)
+; SSE-NEXT: movdqa %xmm9, 48(%rdx)
+; SSE-NEXT: movdqa %xmm13, 32(%rdx)
+; SSE-NEXT: movdqa %xmm8, 16(%rdx)
+; SSE-NEXT: movdqa %xmm10, (%rdx)
+; SSE-NEXT: addq $24, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride2_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $24, %rsp
+; AVX1-ONLY-NEXT: vpxor %xmm11, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm11[1],xmm0[2],xmm11[3],xmm0[4],xmm11[5],xmm0[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0],xmm11[1],xmm9[2],xmm11[3],xmm9[4],xmm11[5],xmm9[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm10[0],xmm11[1],xmm10[2],xmm11[3],xmm10[4],xmm11[5],xmm10[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0],xmm11[1],xmm7[2],xmm11[3],xmm7[4],xmm11[5],xmm7[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0],xmm11[1],xmm5[2],xmm11[3],xmm5[4],xmm11[5],xmm5[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm11[1],xmm4[2],xmm11[3],xmm4[4],xmm11[5],xmm4[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm8[0],xmm11[1],xmm8[2],xmm11[3],xmm8[4],xmm11[5],xmm8[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0],xmm11[1],xmm6[2],xmm11[3],xmm6[4],xmm11[5],xmm6[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm12[0],xmm11[1],xmm12[2],xmm11[3],xmm12[4],xmm11[5],xmm12[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm13[0],xmm11[1],xmm13[2],xmm11[3],xmm13[4],xmm11[5],xmm13[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0],xmm11[1],xmm15[2],xmm11[3],xmm15[4],xmm11[5],xmm15[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0],xmm11[1],xmm6[2],xmm11[3],xmm6[4],xmm11[5],xmm6[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm14, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0],xmm11[1],xmm3[2],xmm11[3],xmm3[4],xmm11[5],xmm3[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0],xmm11[1],xmm0[2],xmm11[3],xmm0[4],xmm11[5],xmm0[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm1, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0],xmm11[1],xmm8[2],xmm11[3],xmm8[4],xmm11[5],xmm8[6],xmm11[7]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm2[0],xmm11[1],xmm2[2],xmm11[3],xmm2[4],xmm11[5],xmm2[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm1, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpackusdw %xmm3, %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpackusdw %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vpackusdw %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm13, %xmm8
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm15, %xmm8
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpackusdw %xmm8, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, 112(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 80(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 80(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, 112(%rdx)
+; AVX1-ONLY-NEXT: addq $24, %rsp
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride2_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm9[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm8[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm2 = ymm7[0,2],ymm2[0,2],ymm7[4,6],ymm2[4,6]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm6[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm4[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm7 = ymm10[0,2],ymm7[0,2],ymm10[4,6],ymm7[4,6]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm5[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,2],ymm10[0,2],ymm11[4,6],ymm10[4,6]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm12[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm11 = ymm12[0,2],ymm11[0,2],ymm12[4,6],ymm11[4,6]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm9, %ymm9
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm13, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1],ymm9[2,3],ymm8[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm8[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm6, %ymm6
+; AVX2-SLOW-NEXT: vpshufb %ymm13, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],ymm6[2,3],ymm4[4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm5, %ymm5
+; AVX2-SLOW-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3],ymm3[4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,1,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-SLOW-NEXT: vmovaps %ymm11, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rsi)
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, 32(%rdx)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride2_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,4,5,u,u,u,u,8,9,12,13,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm7, %ymm10
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm2 = ymm10[0,2],ymm2[0,2],ymm10[4,6],ymm2[4,6]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm11
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,2],ymm10[0,2],ymm11[4,6],ymm10[4,6]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm6, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm5, %ymm12
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm11 = ymm12[0,2],ymm11[0,2],ymm12[4,6],ymm11[4,6]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm12
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm9 = ymm9[0,2],ymm12[0,2],ymm9[4,6],ymm12[4,6]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1],ymm8[2,3],ymm7[4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm6, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3],ymm5[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-FAST-NEXT: vmovaps %ymm9, 64(%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm11, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm10, 96(%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 64(%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 96(%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, 32(%rdx)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride2_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,4,5,u,u,u,u,8,9,12,13,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm8, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm7, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm2 = ymm10[0,2],ymm2[0,2],ymm10[4,6],ymm2[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm4, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm3, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,2],ymm10[0,2],ymm11[4,6],ymm10[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm6, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm5, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm11 = ymm12[0,2],ymm11[0,2],ymm12[4,6],ymm11[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm1, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm9 = ymm9[0,2],ymm12[0,2],ymm9[4,6],ymm12[4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm13 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1],ymm8[2,3],ymm7[4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm6, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm5, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3],ymm5[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm9, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm11, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm10, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride2_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 192(%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1],ymm4[2,3],ymm8[4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm7, %ymm7
+; AVX512F-SLOW-NEXT: vpshufb %ymm9, %ymm6, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3],ymm6[4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm6, %zmm4
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} zmm4 = zmm4[0,2,1,3,4,6,5,7]
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm6, %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpshufb %ymm9, %ymm7, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1],ymm6[2,3],ymm7[4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm7, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpshufb %ymm9, %ymm7, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1],ymm5[2,3],ymm7[4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm5, %zmm5
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} zmm5 = zmm5[0,2,1,3,4,6,5,7]
+; AVX512F-SLOW-NEXT: vpmovdw %zmm3, 32(%rsi)
+; AVX512F-SLOW-NEXT: vpmovdw %zmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vpmovdw %zmm1, 64(%rsi)
+; AVX512F-SLOW-NEXT: vpmovdw %zmm0, 96(%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm5, 64(%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm4, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride2_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm7, %zmm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm8
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm6, %zmm6
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,2,9,11,4,6,13,15]
+; AVX512F-FAST-NEXT: vpermt2q %zmm4, %zmm8, %zmm6
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm9
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm9, %ymm5
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm5, %zmm4
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm9
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm9, %ymm7
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm7, %zmm5
+; AVX512F-FAST-NEXT: vpermt2q %zmm4, %zmm8, %zmm5
+; AVX512F-FAST-NEXT: vpmovdw %zmm3, 32(%rsi)
+; AVX512F-FAST-NEXT: vpmovdw %zmm2, (%rsi)
+; AVX512F-FAST-NEXT: vpmovdw %zmm1, 64(%rsi)
+; AVX512F-FAST-NEXT: vpmovdw %zmm0, 96(%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm5, 64(%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride2_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62]
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm5
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm4, %zmm5
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm4
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63]
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm6, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm6, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rdx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <64 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62, i32 64, i32 66, i32 68, i32 70, i32 72, i32 74, i32 76, i32 78, i32 80, i32 82, i32 84, i32 86, i32 88, i32 90, i32 92, i32 94, i32 96, i32 98, i32 100, i32 102, i32 104, i32 106, i32 108, i32 110, i32 112, i32 114, i32 116, i32 118, i32 120, i32 122, i32 124, i32 126>
+ %strided.vec1 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <64 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63, i32 65, i32 67, i32 69, i32 71, i32 73, i32 75, i32 77, i32 79, i32 81, i32 83, i32 85, i32 87, i32 89, i32 91, i32 93, i32 95, i32 97, i32 99, i32 101, i32 103, i32 105, i32 107, i32 109, i32 111, i32 113, i32 115, i32 117, i32 119, i32 121, i32 123, i32 125, i32 127>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX2: {{.*}}
+; AVX2-ONLY: {{.*}}
+; AVX512BW-FAST: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512BW-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2,AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
-define void @vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
-; SSE-LABEL: vf2:
+define void @load_i16_stride3_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf2:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
; SSE-NEXT: movd %xmm0, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vmovd %xmm1, (%rsi)
-; AVX1-NEXT: vmovd %xmm2, (%rdx)
-; AVX1-NEXT: vmovd %xmm0, (%rcx)
-; AVX1-NEXT: retq
-;
-; AVX2-SLOW-LABEL: vf2:
+; AVX1-ONLY-LABEL: load_i16_stride3_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovd %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovd %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovd %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride3_vf2:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
; AVX2-SLOW-NEXT: vmovd %xmm0, (%rcx)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf2:
+; AVX2-FAST-LABEL: load_i16_stride3_vf2:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
; AVX2-FAST-NEXT: vmovd %xmm0, (%rcx)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
-; AVX512-NEXT: vmovd %xmm1, (%rsi)
-; AVX512-NEXT: vmovd %xmm2, (%rdx)
-; AVX512-NEXT: vmovd %xmm0, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <6 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride3_vf2:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[2,3,8,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm2, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm0, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride3_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovd %xmm1, (%rsi)
+; AVX512F-SLOW-NEXT: vmovd %xmm2, (%rdx)
+; AVX512F-SLOW-NEXT: vmovd %xmm0, (%rcx)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride3_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[2,3,8,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovd %xmm1, (%rsi)
+; AVX512F-FAST-NEXT: vmovd %xmm2, (%rdx)
+; AVX512F-FAST-NEXT: vmovd %xmm0, (%rcx)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride3_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, (%rcx)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride3_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[2,3,8,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vmovd %xmm1, (%rsi)
+; AVX512BW-FAST-NEXT: vmovd %xmm2, (%rdx)
+; AVX512BW-FAST-NEXT: vmovd %xmm0, (%rcx)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <6 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <6 x i16> %wide.vec, <6 x i16> poison, <2 x i32> <i32 0, i32 3>
%strided.vec1 = shufflevector <6 x i16> %wide.vec, <6 x i16> poison, <2 x i32> <i32 1, i32 4>
%strided.vec2 = shufflevector <6 x i16> %wide.vec, <6 x i16> poison, <2 x i32> <i32 2, i32 5>
- store <2 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i16> %strided.vec2, ptr %out.vec2, align 32
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
ret void
}
-define void @vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
-; SSE-LABEL: vf4:
+define void @load_i16_stride3_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: movq %xmm0, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,6,7,12,13,2,3,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,8,9,14,15,4,5,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX1-NEXT: vmovq %xmm2, (%rsi)
-; AVX1-NEXT: vmovq %xmm3, (%rdx)
-; AVX1-NEXT: vmovq %xmm0, (%rcx)
-; AVX1-NEXT: retq
-;
-; AVX2-SLOW-LABEL: vf4:
+; AVX1-ONLY-LABEL: load_i16_stride3_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,6,7,12,13,2,3,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,8,9,14,15,4,5,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovq %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride3_vf4:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-SLOW-NEXT: vmovq %xmm0, (%rcx)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf4:
+; AVX2-FAST-LABEL: load_i16_stride3_vf4:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-FAST-NEXT: vmovq %xmm0, (%rcx)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <0,3,6,9,u,u,u,u>
-; AVX512-NEXT: vmovdqa (%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX512-NEXT: vpermi2w %xmm2, %xmm1, %xmm0
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = <1,4,7,10,u,u,u,u>
-; AVX512-NEXT: vpermi2w %xmm2, %xmm1, %xmm3
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX512-NEXT: vmovq %xmm0, (%rsi)
-; AVX512-NEXT: vmovq %xmm3, (%rdx)
-; AVX512-NEXT: vmovq %xmm1, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride3_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,6,7,12,13,2,3,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,8,9,14,15,4,5,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm0, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride3_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,6,7,12,13,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,8,9,14,15,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride3_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,6,7,12,13,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,8,9,14,15,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride3_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,3,6,9,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpermi2w %xmm2, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,4,7,10,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermi2w %xmm2, %xmm1, %xmm3
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm1, (%rcx)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride3_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <0,3,6,9,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpermi2w %xmm2, %xmm1, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,4,7,10,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermi2w %xmm2, %xmm1, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <2,5,8,11,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermi2w %xmm2, %xmm1, %xmm4
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <12 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9>
%strided.vec1 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10>
%strided.vec2 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <4 x i32> <i32 2, i32 5, i32 8, i32 11>
- store <4 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i16> %strided.vec2, ptr %out.vec2, align 32
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
ret void
}
-define void @vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
-; SSE-LABEL: vf8:
+define void @load_i16_stride3_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf8:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm3
; SSE-NEXT: movdqa 16(%rdi), %xmm2
; SSE-NEXT: movdqa %xmm6, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,1,2,1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0],xmm1[1],xmm0[2,3],xmm1[4],xmm0[5,6],xmm1[7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,5],xmm3[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1],xmm1[2],xmm0[3,4],xmm1[5],xmm0[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4],xmm4[5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm4, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm0, (%rcx)
-; AVX1-NEXT: retq
-;
-; AVX2-LABEL: vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX2-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm2[2],xmm0[3,4],xmm2[5],xmm0[6,7]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3],xmm1[4],xmm3[5,6],xmm1[7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,6,7,12,13,2,3,8,9,14,15,4,5,10,11]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm1[2],xmm4[3,4],xmm1[5],xmm4[6,7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,3,8,9,14,15,4,5,10,11,0,1,6,7,12,13]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6],xmm2[7]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15]
-; AVX2-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX2-NEXT: vmovdqa %xmm4, (%rdx)
-; AVX2-NEXT: vmovdqa %xmm0, (%rcx)
-; AVX2-NEXT: retq
-;
-; AVX512-LABEL: vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = [0,3,6,9,12,15,18,21]
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = [1,4,7,10,13,16,19,22]
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm3
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = [2,5,8,11,14,17,20,23]
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm4
-; AVX512-NEXT: vmovdqa %xmm2, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm3, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm4, (%rcx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i16>, ptr %in.vec, align 32
+; AVX1-ONLY-LABEL: load_i16_stride3_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0],xmm1[1],xmm0[2,3],xmm1[4],xmm0[5,6],xmm1[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1],xmm1[2],xmm0[3,4],xmm1[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride3_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm2[2],xmm0[3,4],xmm2[5],xmm0[6,7]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3],xmm1[4],xmm3[5,6],xmm1[7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,6,7,12,13,2,3,8,9,14,15,4,5,10,11]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm1[2],xmm4[3,4],xmm1[5],xmm4[6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,3,8,9,14,15,4,5,10,11,0,1,6,7,12,13]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6],xmm2[7]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rcx)
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i16_stride3_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm2[2],xmm0[3,4],xmm2[5],xmm0[6,7]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3],xmm1[4],xmm3[5,6],xmm1[7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,6,7,12,13,2,3,8,9,14,15,4,5,10,11]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm1[2],xmm4[3,4],xmm1[5],xmm4[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,3,8,9,14,15,4,5,10,11,0,1,6,7,12,13]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6],xmm2[7]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX512F-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX512F-NEXT: vmovdqa %xmm4, (%rdx)
+; AVX512F-NEXT: vmovdqa %xmm0, (%rcx)
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride3_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = [0,3,6,9,12,15,18,21]
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = [1,4,7,10,13,16,19,22]
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm4 = [2,5,8,11,14,17,20,23]
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm4
+; AVX512BW-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %xmm3, (%rdx)
+; AVX512BW-NEXT: vmovdqa %xmm4, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <24 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <8 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21>
%strided.vec1 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <8 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22>
%strided.vec2 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <8 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23>
- store <8 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i16> %strided.vec2, ptr %out.vec2, align 32
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
ret void
}
-define void @vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
-; SSE-LABEL: vf16:
+define void @load_i16_stride3_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf16:
; SSE: # %bb.0:
; SSE-NEXT: movdqa 80(%rdi), %xmm0
; SSE-NEXT: movdqa 64(%rdi), %xmm1
; SSE-NEXT: movdqa %xmm8, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm5
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm6
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm6[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0,1,2],xmm2[3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[0,1,2,1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6],xmm4[7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2,3,4,5],xmm7[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm7, %ymm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm0[0,1],xmm1[2],xmm0[3,4],xmm1[5],xmm0[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm6[2,3,8,9,14,15,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1],xmm4[2],xmm3[3,4],xmm4[5],xmm3[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3,4],xmm8[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3],xmm0[4],xmm1[5,6],xmm0[7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[2,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3,4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2],xmm4[3,4],xmm3[5],xmm4[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4],xmm1[5,6,7]
-; AVX1-NEXT: vmovaps %ymm2, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm8, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm7, 16(%rdx)
-; AVX1-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm0, 16(%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
-;
-; AVX2-LABEL: vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %ymm0
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
-; AVX2-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm2
-; AVX2-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13,14],ymm3[15]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
-; AVX2-NEXT: vmovdqa 80(%rdi), %xmm3
-; AVX2-NEXT: vmovdqa 64(%rdi), %xmm4
-; AVX2-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1],xmm3[2],xmm4[3,4],xmm3[5],xmm4[6,7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
-; AVX2-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
-; AVX2-NEXT: vpblendw {{.*#+}} ymm5 = ymm2[0,1,2],ymm5[3,4,5,6,7],ymm2[8,9,10],ymm5[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm5 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
-; AVX2-NEXT: vpblendvb %ymm5, %ymm1, %ymm0, %ymm5
-; AVX2-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm6[2],ymm5[3,4],ymm6[5],ymm5[6,7,8,9],ymm6[10],ymm5[11,12],ymm6[13],ymm5[14,15]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0,1],xmm4[2],xmm3[3,4],xmm4[5],xmm3[6,7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
-; AVX2-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
-; AVX2-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0,1,2],ymm6[3,4,5,6,7],ymm5[8,9,10],ymm6[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,6,7,4]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
-; AVX2-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm0
-; AVX2-NEXT: vextracti128 $1, %ymm0, %xmm1
-; AVX2-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm3[1],xmm4[2,3],xmm3[4],xmm4[5,6],xmm3[7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
-; AVX2-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
-; AVX2-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-NEXT: vmovdqa %ymm2, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm5, (%rdx)
-; AVX2-NEXT: vmovdqa %ymm0, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
-;
-; AVX512-LABEL: vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa 64(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = [0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = [2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm4
-; AVX512-NEXT: vmovdqa %ymm2, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm3, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm4, (%rcx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <48 x i16>, ptr %in.vec, align 32
+; AVX1-ONLY-LABEL: load_i16_stride3_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0,1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2,3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm7, %ymm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm0[0,1],xmm1[2],xmm0[3,4],xmm1[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm6[2,3,8,9,14,15,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1],xmm4[2],xmm3[3,4],xmm4[5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3],xmm0[4],xmm1[5,6],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2],xmm4[3,4],xmm3[5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 16(%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride3_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13,14],ymm3[15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1],xmm3[2],xmm4[3,4],xmm3[5],xmm4[6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm5 = ymm2[0,1,2],ymm5[3,4,5,6,7],ymm2[8,9,10],ymm5[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, %ymm1, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm6[2],ymm5[3,4],ymm6[5],ymm5[6,7,8,9],ymm6[10],ymm5[11,12],ymm6[13],ymm5[14,15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0,1],xmm4[2],xmm3[3,4],xmm4[5],xmm3[6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0,1,2],ymm6[3,4,5,6,7],ymm5[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm3[1],xmm4[2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i16_stride3_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm2, %ymm3
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5,6],ymm4[7],ymm3[8],ymm4[9],ymm3[10,11],ymm4[12],ymm3[13,14],ymm4[15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX512F-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm6 = xmm5[0,1],xmm4[2],xmm5[3,4],xmm4[5],xmm5[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
+; AVX512F-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm6 = ymm3[0,1,2],ymm6[3,4,5,6,7],ymm3[8,9,10],ymm6[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,4,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-NEXT: vpternlogq $202, %ymm2, %ymm1, %ymm6
+; AVX512F-NEXT: vpermq {{.*#+}} ymm7 = ymm6[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0,1],ymm7[2],ymm6[3,4],ymm7[5],ymm6[6,7,8,9],ymm7[10],ymm6[11,12],ymm7[13],ymm6[14,15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm7 = xmm4[0,1],xmm5[2],xmm4[3,4],xmm5[5],xmm4[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
+; AVX512F-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm7 = ymm6[0,1,2],ymm7[3,4,5,6,7],ymm6[8,9,10],ymm7[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,6,7,4]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $202, %ymm2, %ymm1, %ymm0
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm4[1],xmm5[2,3],xmm4[4],xmm5[5,6],xmm4[7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX512F-NEXT: vmovdqa %ymm3, (%rsi)
+; AVX512F-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm0, (%rcx)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride3_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = [0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = [1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = [2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm4
+; AVX512BW-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <48 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <16 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45>
%strided.vec1 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <16 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46>
%strided.vec2 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <16 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47>
- store <16 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i16> %strided.vec2, ptr %out.vec2, align 32
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
ret void
}
-define void @vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
-; SSE-LABEL: vf32:
+define void @load_i16_stride3_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf32:
; SSE: # %bb.0:
; SSE-NEXT: subq $56, %rsp
; SSE-NEXT: movdqa 96(%rdi), %xmm5
; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 176(%rdi), %xmm14
-; SSE-NEXT: movdqa 144(%rdi), %xmm12
-; SSE-NEXT: movdqa 160(%rdi), %xmm10
-; SSE-NEXT: movdqa 80(%rdi), %xmm13
-; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa (%rdi), %xmm9
-; SSE-NEXT: movdqa 16(%rdi), %xmm8
-; SSE-NEXT: movdqa 32(%rdi), %xmm6
+; SSE-NEXT: movdqa 176(%rdi), %xmm6
; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm9
+; SSE-NEXT: movdqa 160(%rdi), %xmm8
+; SSE-NEXT: movdqa 80(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm13
+; SSE-NEXT: movdqa 16(%rdi), %xmm10
+; SSE-NEXT: movdqa 32(%rdi), %xmm14
; SSE-NEXT: movdqa 48(%rdi), %xmm0
; SSE-NEXT: movdqa 64(%rdi), %xmm11
; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,0,65535,65535,0,65535,65535,0]
; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm2[0,3,2,1,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm11[0,1,2,3,4,7,6,7]
; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[0,1,2,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[0,1,2,1]
; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,0],xmm2[2,0]
; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,0]
; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm1, %xmm2
; SSE-NEXT: pandn %xmm10, %xmm2
-; SSE-NEXT: movdqa %xmm12, %xmm3
+; SSE-NEXT: movdqa %xmm13, %xmm3
; SSE-NEXT: pand %xmm1, %xmm3
; SSE-NEXT: por %xmm2, %xmm3
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,2,1,3]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm6[0,1,2,3,4,7,6,7]
-; SSE-NEXT: movdqa %xmm6, %xmm13
+; SSE-NEXT: movdqa %xmm6, %xmm12
; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,0],xmm3[2,0]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
; SSE-NEXT: pand %xmm0, %xmm1
; SSE-NEXT: por %xmm1, %xmm7
; SSE-NEXT: movdqa %xmm15, %xmm6
-; SSE-NEXT: pandn %xmm12, %xmm6
-; SSE-NEXT: movdqa %xmm12, %xmm1
-; SSE-NEXT: movdqa %xmm15, %xmm12
-; SSE-NEXT: pandn %xmm10, %xmm12
+; SSE-NEXT: pandn %xmm13, %xmm6
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm13
+; SSE-NEXT: pandn %xmm10, %xmm13
; SSE-NEXT: pand %xmm15, %xmm1
-; SSE-NEXT: por %xmm12, %xmm1
-; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm14[0,3,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,1,0,3]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm12[0,1,2,3,4,4,5,6]
-; SSE-NEXT: movdqa %xmm0, %xmm12
-; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: por %xmm13, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm14[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm13[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: pandn %xmm2, %xmm13
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
; SSE-NEXT: pand %xmm0, %xmm1
-; SSE-NEXT: por %xmm1, %xmm12
+; SSE-NEXT: por %xmm1, %xmm13
; SSE-NEXT: movdqa %xmm15, %xmm5
; SSE-NEXT: pandn %xmm9, %xmm5
; SSE-NEXT: movdqa %xmm9, %xmm1
; SSE-NEXT: pand %xmm0, %xmm1
; SSE-NEXT: por %xmm1, %xmm9
; SSE-NEXT: movdqa %xmm15, %xmm1
-; SSE-NEXT: pandn %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm12, %xmm1
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
; SSE-NEXT: movdqa %xmm11, %xmm2
; SSE-NEXT: pand %xmm15, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[0,3,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm1[0,1,2,3,4,4,5,6]
; SSE-NEXT: movdqa %xmm0, %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,0,3,4,5,6,7]
; SSE-NEXT: pand %xmm0, %xmm2
-; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm13[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm12[0,1,2,3,4,7,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
; SSE-NEXT: pandn %xmm6, %xmm0
; SSE-NEXT: por %xmm2, %xmm0
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 32(%rsi)
; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 48(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 16(%rsi)
; SSE-NEXT: movdqa %xmm1, 32(%rdx)
-; SSE-NEXT: movdqa %xmm9, (%rdx)
-; SSE-NEXT: movdqa %xmm12, 48(%rdx)
+; SSE-NEXT: movdqa %xmm9, 48(%rdx)
+; SSE-NEXT: movdqa %xmm13, (%rdx)
; SSE-NEXT: movdqa %xmm7, 16(%rdx)
; SSE-NEXT: movdqa %xmm0, 32(%rcx)
-; SSE-NEXT: movdqa %xmm5, (%rcx)
-; SSE-NEXT: movdqa %xmm3, 48(%rcx)
+; SSE-NEXT: movdqa %xmm5, 48(%rcx)
+; SSE-NEXT: movdqa %xmm3, (%rcx)
; SSE-NEXT: movdqa %xmm4, 16(%rcx)
; SSE-NEXT: addq $56, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: pushq %rax
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
-; AVX1-NEXT: vpshufb %xmm8, %xmm2, %xmm3
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm2
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4,5,6,7]
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm6
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm7
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm6[1],xmm7[2,3],xmm6[4],xmm7[5,6],xmm6[7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm10, %xmm4, %xmm4
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm9
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm9[0,1,2,1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm5[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm4, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm5[0,1],xmm4[2],xmm5[3,4],xmm4[5],xmm5[6,7]
-; AVX1-NEXT: vpshufb %xmm8, %xmm11, %xmm12
-; AVX1-NEXT: vmovdqa (%rdi), %xmm11
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm13
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm14
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm8
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm15 = xmm8[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm15[0,1,2],xmm12[3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm11[0],xmm13[1],xmm11[2,3],xmm13[4],xmm11[5,6],xmm13[7]
-; AVX1-NEXT: vpshufb %xmm10, %xmm15, %xmm10
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm14[0,1,2,1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5],xmm15[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm12, %ymm10, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm4[0,1],xmm5[2],xmm4[3,4],xmm5[5],xmm4[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm10 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
-; AVX1-NEXT: vpshufb %xmm10, %xmm12, %xmm12
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <2,3,8,9,14,15,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm3, %xmm8, %xmm15
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm12[3,4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm11[0,1],xmm13[2],xmm11[3,4],xmm13[5],xmm11[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = <2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm1, %xmm15, %xmm15
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13>
-; AVX1-NEXT: vpshufb %xmm0, %xmm14, %xmm12
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm15[0,1,2,3,4],xmm12[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm7[0,1],xmm6[2],xmm7[3,4],xmm6[5],xmm7[6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm12, %xmm1
-; AVX1-NEXT: vpshufb %xmm0, %xmm9, %xmm0
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm1[0,1,2,3,4],xmm0[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1],xmm12[2],xmm0[3,4],xmm12[5],xmm0[6,7]
-; AVX1-NEXT: vpshufb %xmm10, %xmm1, %xmm1
-; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1],xmm7[2],xmm6[3,4],xmm7[5],xmm6[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15>
-; AVX1-NEXT: vpshufb %xmm6, %xmm9, %xmm7
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = <4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm9, %xmm3, %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm7[5,6,7]
-; AVX1-NEXT: vpshufb %xmm6, %xmm14, %xmm6
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm13[0,1],xmm11[2],xmm13[3,4],xmm11[5],xmm13[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm7, %xmm7
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3,4],xmm6[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0],xmm0[1],xmm12[2,3],xmm0[4],xmm12[5,6],xmm0[7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15>
-; AVX1-NEXT: vpshufb %xmm9, %xmm7, %xmm7
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3],xmm4[4],xmm5[5,6],xmm4[7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm4, %xmm4
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm8[2,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3,4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rsi)
-; AVX1-NEXT: vmovdqa %xmm1, 48(%rdx)
-; AVX1-NEXT: vmovdqa %xmm15, 32(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm0, (%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm0, 16(%rdx)
-; AVX1-NEXT: vmovdqa %xmm6, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm4, 16(%rcx)
-; AVX1-NEXT: vmovdqa %xmm3, 32(%rcx)
-; AVX1-NEXT: vmovdqa %xmm2, 48(%rcx)
-; AVX1-NEXT: popq %rax
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
-;
-; AVX2-LABEL: vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %ymm0
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX2-NEXT: vmovdqa 96(%rdi), %ymm3
-; AVX2-NEXT: vmovdqa 128(%rdi), %ymm4
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
-; AVX2-NEXT: vpblendvb %ymm7, %ymm3, %ymm4, %ymm2
-; AVX2-NEXT: vpermq {{.*#+}} ymm5 = ymm2[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm5[1],ymm2[2,3],ymm5[4],ymm2[5,6],ymm5[7],ymm2[8],ymm5[9],ymm2[10,11],ymm5[12],ymm2[13,14],ymm5[15]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm8 = [0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
-; AVX2-NEXT: vpshufb %ymm8, %ymm2, %ymm2
-; AVX2-NEXT: vmovdqa 176(%rdi), %xmm5
-; AVX2-NEXT: vmovdqa 160(%rdi), %xmm6
-; AVX2-NEXT: vpblendw {{.*#+}} xmm9 = xmm6[0,1],xmm5[2],xmm6[3,4],xmm5[5],xmm6[6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm10 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
-; AVX2-NEXT: vpshufb %xmm10, %xmm9, %xmm9
-; AVX2-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
-; AVX2-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0,1,2],ymm9[3,4,5,6,7],ymm2[8,9,10],ymm9[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vpblendvb %ymm7, %ymm0, %ymm1, %ymm7
-; AVX2-NEXT: vpermq {{.*#+}} ymm9 = ymm7[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm9[1],ymm7[2,3],ymm9[4],ymm7[5,6],ymm9[7],ymm7[8],ymm9[9],ymm7[10,11],ymm9[12],ymm7[13,14],ymm9[15]
-; AVX2-NEXT: vpshufb %ymm8, %ymm7, %ymm9
-; AVX2-NEXT: vmovdqa 80(%rdi), %xmm7
-; AVX2-NEXT: vmovdqa 64(%rdi), %xmm8
-; AVX2-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0,1],xmm7[2],xmm8[3,4],xmm7[5],xmm8[6,7]
-; AVX2-NEXT: vpshufb %xmm10, %xmm11, %xmm10
-; AVX2-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
-; AVX2-NEXT: vpblendw {{.*#+}} ymm10 = ymm9[0,1,2],ymm10[3,4,5,6,7],ymm9[8,9,10],ymm10[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,6,5,4,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
-; AVX2-NEXT: vpblendvb %ymm11, %ymm4, %ymm3, %ymm10
-; AVX2-NEXT: vpermq {{.*#+}} ymm12 = ymm10[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1],ymm12[2],ymm10[3,4],ymm12[5],ymm10[6,7,8,9],ymm12[10],ymm10[11,12],ymm12[13],ymm10[14,15]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm12 = [2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
-; AVX2-NEXT: vpshufb %ymm12, %ymm10, %ymm10
-; AVX2-NEXT: vpblendw {{.*#+}} xmm13 = xmm5[0,1],xmm6[2],xmm5[3,4],xmm6[5],xmm5[6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm14 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
-; AVX2-NEXT: vpshufb %xmm14, %xmm13, %xmm13
-; AVX2-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
-; AVX2-NEXT: vpblendw {{.*#+}} ymm13 = ymm10[0,1,2],ymm13[3,4,5,6,7],ymm10[8,9,10],ymm13[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,6,7,4]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
-; AVX2-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm11
-; AVX2-NEXT: vpermq {{.*#+}} ymm13 = ymm11[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1],ymm13[2],ymm11[3,4],ymm13[5],ymm11[6,7,8,9],ymm13[10],ymm11[11,12],ymm13[13],ymm11[14,15]
-; AVX2-NEXT: vpshufb %ymm12, %ymm11, %ymm11
-; AVX2-NEXT: vpblendw {{.*#+}} xmm12 = xmm7[0,1],xmm8[2],xmm7[3,4],xmm8[5],xmm7[6,7]
-; AVX2-NEXT: vpshufb %xmm14, %xmm12, %xmm12
-; AVX2-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
-; AVX2-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0,1,2],ymm12[3,4,5,6,7],ymm11[8,9,10],ymm12[11,12,13,14,15]
-; AVX2-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,5,6,7,4]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
-; AVX2-NEXT: vpblendvb %ymm12, %ymm4, %ymm3, %ymm3
-; AVX2-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm3[1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7],ymm4[8],ymm3[9,10],ymm4[11],ymm3[12,13],ymm4[14],ymm3[15]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm4 = [4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,16,17,22,23,28,29,18,19,24,25,30,31]
-; AVX2-NEXT: vpshufb %ymm4, %ymm3, %ymm3
-; AVX2-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3],xmm5[4],xmm6[5,6],xmm5[7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,0,1,6,7,12,13,2,3,8,9,14,15]
-; AVX2-NEXT: vpshufb %xmm6, %xmm5, %xmm5
-; AVX2-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
-; AVX2-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm5[5,6,7]
-; AVX2-NEXT: vpblendvb %ymm12, %ymm1, %ymm0, %ymm0
-; AVX2-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
-; AVX2-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
-; AVX2-NEXT: vpshufb %ymm4, %ymm0, %ymm0
-; AVX2-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0],xmm7[1],xmm8[2,3],xmm7[4],xmm8[5,6],xmm7[7]
-; AVX2-NEXT: vpshufb %xmm6, %xmm1, %xmm1
-; AVX2-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
-; AVX2-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-NEXT: vmovdqa %ymm9, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm2, 32(%rsi)
-; AVX2-NEXT: vmovdqa %ymm10, 32(%rdx)
-; AVX2-NEXT: vmovdqa %ymm11, (%rdx)
-; AVX2-NEXT: vmovdqa %ymm3, 32(%rcx)
-; AVX2-NEXT: vmovdqa %ymm0, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
-;
-; AVX512-LABEL: vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = <0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,u,u,u,u,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,34,37,40,43,46,49,52,55,58,61]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm3, %zmm4
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = <1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,u,u,u,u,u,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,32,35,38,41,44,47,50,53,56,59,62]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm3, %zmm5
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = <34,37,40,43,46,49,52,55,58,61,0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,33,36,39,42,45,48,51,54,57,60,63]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm3, %zmm0
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rcx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <96 x i16>, ptr %in.vec, align 32
+; AVX1-ONLY-LABEL: load_i16_stride3_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1],xmm0[2],xmm1[3,4],xmm0[5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm7[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm6, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0,1],xmm6[2],xmm8[3,4],xmm6[5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2],xmm11[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm13[0],xmm12[1],xmm13[2,3],xmm12[4],xmm13[5,6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm14, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm15[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm0[0,1],xmm1[2],xmm0[3,4],xmm1[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <2,3,8,9,14,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2],xmm11[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm4[0,1],xmm5[2],xmm4[3,4],xmm5[5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm6[0,1],xmm8[2],xmm6[3,4],xmm8[5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm10[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm13[0,1],xmm12[2],xmm13[3,4],xmm12[5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm10, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1],xmm4[2],xmm5[3,4],xmm4[5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm12[0,1],xmm13[2],xmm12[3,4],xmm13[5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $146, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3],mem[4],xmm5[5,6],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm8[0],xmm6[1],xmm8[2,3],xmm6[4],xmm8[5,6],xmm6[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm9[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm0, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 48(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, 16(%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride3_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm2, %ymm4, %ymm3
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3],ymm5[4],ymm3[5,6],ymm5[7],ymm3[8],ymm5[9],ymm3[10,11],ymm5[12],ymm3[13,14],ymm5[15]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = [0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 176(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm6[0,1],xmm5[2],xmm6[3,4],xmm5[5],xmm6[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm9, %xmm9
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0,1,2],ymm9[3,4,5,6,7],ymm3[8,9,10],ymm9[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm0, %ymm1, %ymm7
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm9 = ymm7[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm9[1],ymm7[2,3],ymm9[4],ymm7[5,6],ymm9[7],ymm7[8],ymm9[9],ymm7[10,11],ymm9[12],ymm7[13,14],ymm9[15]
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm7, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0,1],xmm7[2],xmm8[3,4],xmm7[5],xmm8[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm11, %xmm10
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm10 = ymm9[0,1,2],ymm10[3,4,5,6,7],ymm9[8,9,10],ymm10[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm4, %ymm2, %ymm10
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm12 = ymm10[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1],ymm12[2],ymm10[3,4],ymm12[5],ymm10[6,7,8,9],ymm12[10],ymm10[11,12],ymm12[13],ymm10[14,15]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = [2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX2-ONLY-NEXT: vpshufb %ymm12, %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm5[0,1],xmm6[2],xmm5[3,4],xmm6[5],xmm5[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm13 = ymm10[0,1,2],ymm13[3,4,5,6,7],ymm10[8,9,10],ymm13[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm13 = ymm11[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1],ymm13[2],ymm11[3,4],ymm13[5],ymm11[6,7,8,9],ymm13[10],ymm11[11,12],ymm13[13],ymm11[14,15]
+; AVX2-ONLY-NEXT: vpshufb %ymm12, %ymm11, %ymm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm7[0,1],xmm8[2],xmm7[3,4],xmm8[5],xmm7[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm12, %xmm12
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0,1,2],ymm12[3,4,5,6,7],ymm11[8,9,10],ymm12[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm4, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2],ymm4[3],ymm2[4,5],ymm4[6],ymm2[7],ymm4[8],ymm2[9,10],ymm4[11],ymm2[12,13],ymm4[14],ymm2[15]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = [4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,16,17,22,23,28,29,18,19,24,25,30,31]
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3],xmm5[4],xmm6[5,6],xmm5[7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0],xmm7[1],xmm8[2,3],xmm7[4],xmm8[5,6],xmm7[7]
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i16_stride3_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512F-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm5, %ymm6, %ymm1
+; AVX512F-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9],ymm1[10,11],ymm2[12],ymm1[13,14],ymm2[15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,4,5,10,11,16,17,22,23,28,29,18,19,24,25,30,31,20,21,26,27]
+; AVX512F-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm1[1],xmm2[2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm7 = ymm4[0,1,2],ymm3[3,4,5,6,7]
+; AVX512F-NEXT: vmovdqa (%rdi), %ymm8
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm9
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm9, %ymm8, %ymm3
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5,6],ymm4[7],ymm3[8],ymm4[9],ymm3[10,11],ymm4[12],ymm3[13,14],ymm4[15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm10 = ymm3[0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX512F-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512F-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm11 = xmm4[0,1],xmm3[2],xmm4[3,4],xmm3[5],xmm4[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,2,3,8,9,14,15,4,5,10,11]
+; AVX512F-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm11 = ymm10[0,1,2],ymm11[3,4,5,6,7],ymm10[8,9,10],ymm11[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,6,5,4,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm7, %zmm10, %zmm7
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm10
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm5, %ymm10
+; AVX512F-NEXT: vpermq {{.*#+}} ymm11 = ymm10[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1],ymm11[2],ymm10[3,4],ymm11[5],ymm10[6,7,8,9],ymm11[10],ymm10[11,12],ymm11[13],ymm10[14,15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[2,3,8,9,14,15,4,5,10,11,0,1,6,7,12,13,18,19,24,25,30,31,20,21,26,27,16,17,22,23,28,29]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm11 = xmm2[0,1],xmm1[2],xmm2[3,4],xmm1[5],xmm2[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4],xmm10[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm11, %ymm12
+; AVX512F-NEXT: vpternlogq $202, %ymm8, %ymm9, %ymm12
+; AVX512F-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm12 = ymm12[0,1],ymm13[2],ymm12[3,4],ymm13[5],ymm12[6,7,8,9],ymm13[10],ymm12[11,12],ymm13[13],ymm12[14,15]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm13 = xmm3[0,1],xmm4[2],xmm3[3,4],xmm4[5],xmm3[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,4,5,10,11,0,1,6,7,12,13]
+; AVX512F-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm13 = ymm12[0,1,2],ymm13[3,4,5,6,7],ymm12[8,9,10],ymm13[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,5,6,7,4]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm10, %zmm12, %zmm10
+; AVX512F-NEXT: vpternlogq $202, %ymm5, %ymm6, %ymm11
+; AVX512F-NEXT: vpermq {{.*#+}} ymm5 = ymm11[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm11[1,2],ymm5[3],ymm11[4,5],ymm5[6],ymm11[7],ymm5[8],ymm11[9,10],ymm5[11],ymm11[12,13],ymm5[14],ymm11[15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,16,17,22,23,28,29,18,19,24,25,30,31]
+; AVX512F-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX512F-NEXT: vpternlogq $202, %ymm8, %ymm9, %ymm0
+; AVX512F-NEXT: vpermq {{.*#+}} ymm8 = ymm0[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2],ymm8[3],ymm0[4,5],ymm8[6],ymm0[7],ymm8[8],ymm0[9,10],ymm8[11],ymm0[12,13],ymm8[14],ymm0[15]
+; AVX512F-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX512F-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2],xmm1[3,4],xmm2[5],xmm1[6,7]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,5,10,11,0,1,6,7,12,13,14,15,0,1,2,3]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-NEXT: vextracti32x4 $2, %zmm1, %xmm1
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm5[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rcx)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride3_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm3 = <0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,34,37,40,43,46,49,52,55,58,61]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm4
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm3 = <1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,32,35,38,41,44,47,50,53,56,59,62]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm5
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm3 = <34,37,40,43,46,49,52,55,58,61,0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm0 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,33,36,39,42,45,48,51,54,57,60,63]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <96 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <32 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93>
%strided.vec1 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <32 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94>
%strided.vec2 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <32 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95>
- store <32 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i16> %strided.vec2, ptr %out.vec2, align 32
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+
+ ret void
+}
+
+define void @load_i16_stride3_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i16_stride3_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $392, %rsp # imm = 0x188
+; SSE-NEXT: movdqa 336(%rdi), %xmm14
+; SSE-NEXT: movdqa 176(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm5
+; SSE-NEXT: movdqa 320(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 288(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 304(%rdi), %xmm10
+; SSE-NEXT: movdqa 128(%rdi), %xmm6
+; SSE-NEXT: movdqa 96(%rdi), %xmm12
+; SSE-NEXT: movdqa 112(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,0,65535,65535,0,65535,65535,0]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm7[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[0,1,2,1]
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,0],xmm1[2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm10[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,0],xmm1[2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm5[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,0],xmm1[2,0]
+; SSE-NEXT: movdqa 352(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 368(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,0],xmm3[2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm6, %xmm1
+; SSE-NEXT: movdqa (%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 32(%rdi), %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,1,2,1]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm6[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,0],xmm3[2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,0],xmm3[2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 80(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,1,2,1]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,0],xmm3[2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa 256(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa 272(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,0],xmm2[2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm15[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm15
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn %xmm5, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm14, %xmm5
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm7, %xmm14
+; SSE-NEXT: por %xmm2, %xmm14
+; SSE-NEXT: pshuflw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm14[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: pandn %xmm2, %xmm13
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: pandn %xmm10, %xmm6
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm7, %xmm10
+; SSE-NEXT: por %xmm3, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm14[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: pandn %xmm3, %xmm11
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm10[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm2, %xmm11
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pand %xmm7, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm9
+; SSE-NEXT: pandn %xmm2, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm2, %xmm9
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pandn %xmm10, %xmm3
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm3[0,1,2,3,4,4,5,6]
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pandn %xmm0, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm15, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm15
+; SSE-NEXT: pandn %xmm0, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: pand %xmm7, %xmm10
+; SSE-NEXT: por %xmm1, %xmm10
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn %xmm6, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: movdqa %xmm12, %xmm14
+; SSE-NEXT: pandn %xmm6, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm6, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm4, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm7[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: pshufhw $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,0,2]
+; SSE-NEXT: pandn %xmm7, %xmm12
+; SSE-NEXT: por %xmm6, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 32(%rsi)
+; SSE-NEXT: movdqa %xmm8, 80(%rdx)
+; SSE-NEXT: movdqa %xmm9, 16(%rdx)
+; SSE-NEXT: movdqa %xmm11, 64(%rdx)
+; SSE-NEXT: movdqa %xmm13, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rdx)
+; SSE-NEXT: movdqa %xmm12, 16(%rcx)
+; SSE-NEXT: movdqa %xmm14, (%rcx)
+; SSE-NEXT: movdqa %xmm0, 48(%rcx)
+; SSE-NEXT: movdqa %xmm1, 32(%rcx)
+; SSE-NEXT: movdqa %xmm2, 80(%rcx)
+; SSE-NEXT: movdqa %xmm3, 64(%rcx)
+; SSE-NEXT: movdqa %xmm5, 112(%rcx)
+; SSE-NEXT: movdqa %xmm15, 96(%rcx)
+; SSE-NEXT: addq $392, %rsp # imm = 0x188
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride3_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $440, %rsp # imm = 0x1B8
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm10[2],xmm0[3,4],xmm10[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm0[1],xmm3[2,3],xmm0[4],xmm3[5,6],xmm0[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,6,7,12,13,2,3,8,9,14,15,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,1,2,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm15[0,1],xmm0[2],xmm15[3,4],xmm0[5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm7[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0],xmm5[1],xmm8[2,3],xmm5[4],xmm8[5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm0[2],xmm2[3,4],xmm0[5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm0[1],xmm3[2,3],xmm0[4],xmm3[5,6],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm0[2],xmm2[3,4],xmm0[5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm9[0],xmm1[1],xmm9[2,3],xmm1[4],xmm9[5,6],xmm1[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm14[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm11, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm10[0,1],mem[2],xmm10[3,4],mem[5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <2,3,8,9,14,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $219, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm15[2],mem[3,4],xmm15[5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $219, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2],mem[3,4],xmm0[5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <2,3,8,9,14,15,4,5,10,11,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,0,1,6,7,12,13>
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm8[0,1],mem[2],xmm8[3,4],mem[5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2],xmm0[3,4],mem[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm10, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1],xmm6[2],xmm7[3,4],xmm6[5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1],xmm3[2],xmm9[3,4],xmm3[5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm14, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1],xmm13[2],xmm15[3,4],xmm13[5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2],xmm0[3,4],mem[5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,2,3,8,9,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <4,5,10,11,0,1,6,7,12,13,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm0[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $219, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm8[2],mem[3,4],xmm8[5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0,1,2,3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $219, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm9[2],mem[3,4],xmm9[5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm14, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm6[0,1],xmm7[2],xmm6[3,4],xmm7[5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0],xmm15[1],xmm13[2,3],xmm15[4],xmm13[5,6],xmm15[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,0,1,6,7,12,13,2,3,8,9,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $109, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0],xmm3[1],mem[2,3],xmm3[4],mem[5,6],xmm3[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufd $230, (%rsp), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $146, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm3[0],mem[1],xmm3[2,3],mem[4],xmm3[5,6],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $109, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0],xmm6[1],mem[2,3],xmm6[4],mem[5,6],xmm6[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vpshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 112(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm6, 80(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 48(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 16(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, 80(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, 112(%rcx)
+; AVX1-ONLY-NEXT: addq $440, %rsp # imm = 0x1B8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride3_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $168, %rsp
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm13 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm11, %ymm12, %ymm0
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm4[1],ymm0[2,3],ymm4[4],ymm0[5,6],ymm4[7],ymm0[8],ymm4[9],ymm0[10,11],ymm4[12],ymm0[13,14],ymm4[15]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm7, %ymm9, %ymm15
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm3, %ymm5, %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm12, %ymm11, %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm12, %ymm11, %ymm8
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm9, %ymm7, %ymm8
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm9, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm5, %ymm3, %ymm9
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm5, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 176(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm1, %ymm2, %ymm11
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm2, %ymm1, %ymm8
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm2, %ymm1, %ymm12
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1],xmm7[2],xmm14[3,4],xmm7[5],xmm14[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm15[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0],ymm0[1],ymm15[2,3],ymm0[4],ymm15[5,6],ymm0[7],ymm15[8],ymm0[9],ymm15[10,11],ymm0[12],ymm15[13,14],ymm0[15]
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, %ymm2
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 368(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0,1],xmm15[2],xmm6[3,4],xmm15[5],xmm6[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm10[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm10[0],ymm0[1],ymm10[2,3],ymm0[4],ymm10[5,6],ymm0[7],ymm10[8],ymm0[9],ymm10[10,11],ymm0[12],ymm10[13,14],ymm0[15]
+; AVX2-ONLY-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1],xmm10[2],xmm3[3,4],xmm10[5],xmm3[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm11[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm11[0],ymm0[1],ymm11[2,3],ymm0[4],ymm11[5,6],ymm0[7],ymm11[8],ymm0[9],ymm11[10,11],ymm0[12],ymm11[13,14],ymm0[15]
+; AVX2-ONLY-NEXT: vpshufb %ymm2, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm1[0,1],xmm2[2],xmm1[3,4],xmm2[5],xmm1[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm13, %xmm4
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm4 = ymm11[0,1,2],ymm4[3,4,5,6,7],ymm11[8,9,10],ymm4[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,6,5,4,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm4 = ymm0[0,1],ymm4[2],ymm0[3,4],ymm4[5],ymm0[6,7,8,9],ymm4[10],ymm0[11,12],ymm4[13],ymm0[14,15]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm13 = [2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1],xmm14[2],xmm7[3,4],xmm14[5],xmm7[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5,6,7],ymm4[8,9,10],ymm0[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm11[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm4 = ymm11[0,1],ymm4[2],ymm11[3,4],ymm4[5],ymm11[6,7,8,9],ymm4[10],ymm11[11,12],ymm4[13],ymm11[14,15]
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1],xmm6[2],xmm15[3,4],xmm6[5],xmm15[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm11 = ymm4[0,1,2],ymm11[3,4,5,6,7],ymm4[8,9,10],ymm11[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm11 = ymm9[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1],ymm11[2],ymm9[3,4],ymm11[5],ymm9[6,7,8,9],ymm11[10],ymm9[11,12],ymm11[13],ymm9[14,15]
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm9, %ymm9
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm10[0,1],xmm3[2],xmm10[3,4],xmm3[5],xmm10[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm11 = ymm9[0,1,2],ymm11[3,4,5,6,7],ymm9[8,9,10],ymm11[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm11 = ymm8[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0,1],ymm11[2],ymm8[3,4],ymm11[5],ymm8[6,7,8,9],ymm11[10],ymm8[11,12],ymm11[13],ymm8[14,15]
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm2[0,1],xmm1[2],xmm2[3,4],xmm1[5],xmm2[6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm5
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm5 = ymm8[0,1,2],ymm5[3,4,5,6,7],ymm8[8,9,10],ymm5[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,6,7,4]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm11[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm11[1,2],ymm8[3],ymm11[4,5],ymm8[6],ymm11[7],ymm8[8],ymm11[9,10],ymm8[11],ymm11[12,13],ymm8[14],ymm11[15]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm14[0],xmm7[1],xmm14[2,3],xmm7[4],xmm14[5,6],xmm7[7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = [4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,16,17,22,23,28,29,18,19,24,25,30,31]
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = [0,1,2,3,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm7, %xmm7
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm14[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm14[1,2],ymm8[3],ymm14[4,5],ymm8[6],ymm14[7],ymm8[8],ymm14[9,10],ymm8[11],ymm14[12,13],ymm8[14],ymm14[15]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm15[1],xmm6[2,3],xmm15[4],xmm6[5,6],xmm15[7]
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm14[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm14[1,2],ymm8[3],ymm14[4,5],ymm8[6],ymm14[7],ymm8[8],ymm14[9,10],ymm8[11],ymm14[12,13],ymm8[14],ymm14[15]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm10[1],xmm3[2,3],xmm10[4],xmm3[5,6],xmm10[7]
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm12[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm12[1,2],ymm8[3],ymm12[4,5],ymm8[6],ymm12[7],ymm8[8],ymm12[9,10],ymm8[11],ymm12[12,13],ymm8[14],ymm12[15]
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, 32(%rcx)
+; AVX2-ONLY-NEXT: addq $168, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i16_stride3_vf64:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa64 224(%rdi), %ymm20
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %ymm21
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm1
+; AVX512F-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3],ymm3[4],ymm1[5,6],ymm3[7],ymm1[8],ymm3[9],ymm1[10,11],ymm3[12],ymm1[13,14],ymm3[15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,6,7,12,13,2,3,4,5,14,15,8,9,10,11,16,17,22,23,28,29,18,19,20,21,30,31,24,25,26,27]
+; AVX512F-NEXT: vpshufb %ymm3, %ymm1, %ymm6
+; AVX512F-NEXT: vmovdqa 272(%rdi), %xmm8
+; AVX512F-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0,1],xmm8[2],xmm2[3,4],xmm8[5],xmm2[6,7]
+; AVX512F-NEXT: vmovdqa %xmm2, %xmm14
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = [4,5,14,15,0,1,2,3,8,9,14,15,4,5,10,11]
+; AVX512F-NEXT: vpshufb %xmm9, %xmm7, %xmm7
+; AVX512F-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm7 = ymm6[0,1,2],ymm7[3,4,5,6,7],ymm6[8,9,10],ymm7[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,4,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm10 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %ymm22
+; AVX512F-NEXT: vmovdqa64 352(%rdi), %ymm23
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm6
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm23, %ymm6
+; AVX512F-NEXT: vpermq {{.*#+}} ymm7 = ymm6[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0],ymm7[1],ymm6[2,3],ymm7[4],ymm6[5,6],ymm7[7],ymm6[8],ymm7[9],ymm6[10,11],ymm7[12],ymm6[13,14],ymm7[15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = [0,1,6,7,12,13,2,3,8,9,14,15,4,5,10,11,16,17,22,23,28,29,18,19,24,25,30,31,20,21,26,27]
+; AVX512F-NEXT: vpshufb %ymm11, %ymm6, %ymm12
+; AVX512F-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm13 = xmm2[0],xmm1[1],xmm2[2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512F-NEXT: vmovdqa %xmm2, %xmm4
+; AVX512F-NEXT: vmovdqa %xmm1, %xmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm15 = [0,1,6,7,12,13,2,3,8,9,14,15,12,13,14,15]
+; AVX512F-NEXT: vpshufb %xmm15, %xmm13, %xmm13
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2],ymm12[3,4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm12, %zmm10, %zmm18
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %ymm24
+; AVX512F-NEXT: vmovdqa 160(%rdi), %ymm13
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm10
+; AVX512F-NEXT: vpternlogq $202, %ymm24, %ymm13, %ymm10
+; AVX512F-NEXT: vpermq {{.*#+}} ymm12 = ymm10[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0],ymm12[1],ymm10[2,3],ymm12[4],ymm10[5,6],ymm12[7],ymm10[8],ymm12[9],ymm10[10,11],ymm12[12],ymm10[13,14],ymm12[15]
+; AVX512F-NEXT: vpshufb %ymm11, %ymm10, %ymm10
+; AVX512F-NEXT: vmovdqa 112(%rdi), %xmm11
+; AVX512F-NEXT: vmovdqa 96(%rdi), %xmm12
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm5 = xmm12[0],xmm11[1],xmm12[2,3],xmm11[4],xmm12[5,6],xmm11[7]
+; AVX512F-NEXT: vpshufb %xmm15, %xmm5, %xmm5
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2],ymm10[3,4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 (%rdi), %ymm16
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm15
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm5
+; AVX512F-NEXT: vpternlogq $202, %ymm15, %ymm16, %ymm5
+; AVX512F-NEXT: vpermq {{.*#+}} ymm10 = ymm5[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm10[1],ymm5[2,3],ymm10[4],ymm5[5,6],ymm10[7],ymm5[8],ymm10[9],ymm5[10,11],ymm10[12],ymm5[13,14],ymm10[15]
+; AVX512F-NEXT: vpshufb %ymm3, %ymm5, %ymm2
+; AVX512F-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-NEXT: vmovdqa 64(%rdi), %xmm10
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm10[0,1],xmm5[2],xmm10[3,4],xmm5[5],xmm10[6,7]
+; AVX512F-NEXT: vpshufb %xmm9, %xmm3, %xmm3
+; AVX512F-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm19
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm23, %ymm22, %ymm1
+; AVX512F-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4],ymm2[5],ymm1[6,7,8,9],ymm2[10],ymm1[11,12],ymm2[13],ymm1[14,15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,8,9,14,15,4,5,10,11,0,1,6,7,12,13,18,19,24,25,30,31,20,21,26,27,16,17,22,23,28,29]
+; AVX512F-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-NEXT: vmovdqa64 %ymm2, %ymm28
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm6[2],xmm4[3,4],xmm6[5],xmm4[6,7]
+; AVX512F-NEXT: vmovdqa64 %xmm6, %xmm25
+; AVX512F-NEXT: vmovdqa64 %xmm4, %xmm26
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,8,9,14,15,4,5,10,11,10,11,10,11,10,11]
+; AVX512F-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = [65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm1
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm4[2],ymm1[3,4],ymm4[5],ymm1[6,7,8,9],ymm4[10],ymm1[11,12],ymm4[13],ymm1[14,15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = [2,3,8,9,14,15,4,5,12,13,10,11,0,1,6,7,18,19,24,25,30,31,20,21,28,29,26,27,16,17,22,23]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512F-NEXT: vmovdqa %xmm14, %xmm7
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm14 = xmm8[0,1],xmm14[2],xmm8[3,4],xmm14[5],xmm8[6,7]
+; AVX512F-NEXT: vmovdqa64 %xmm8, %xmm27
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm2 = [4,5,4,5,4,5,4,5,10,11,0,1,6,7,12,13]
+; AVX512F-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX512F-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm14 = ymm1[0,1,2],ymm14[3,4,5,6,7],ymm1[8,9,10],ymm14[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,7,4]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm17
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm13, %ymm24, %ymm1
+; AVX512F-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm3[2],ymm1[3,4],ymm3[5],ymm1[6,7,8,9],ymm3[10],ymm1[11,12],ymm3[13],ymm1[14,15]
+; AVX512F-NEXT: vmovdqa64 %ymm28, %ymm3
+; AVX512F-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm12[0,1],xmm11[2],xmm12[3,4],xmm11[5],xmm12[6,7]
+; AVX512F-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm16, %ymm15, %ymm3
+; AVX512F-NEXT: vpermq {{.*#+}} ymm6 = ymm3[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1],ymm6[2],ymm3[3,4],ymm6[5],ymm3[6,7,8,9],ymm6[10],ymm3[11,12],ymm6[13],ymm3[14,15]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm10[2],xmm5[3,4],xmm10[5],xmm5[6,7]
+; AVX512F-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX512F-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4,5,6,7],ymm3[8,9,10],ymm2[11,12,13,14,15]
+; AVX512F-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,6,7,4]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm1
+; AVX512F-NEXT: vpternlogq $226, %ymm24, %ymm9, %ymm13
+; AVX512F-NEXT: vpermq {{.*#+}} ymm2 = ymm13[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm13[1,2],ymm2[3],ymm13[4,5],ymm2[6],ymm13[7],ymm2[8],ymm13[9,10],ymm2[11],ymm13[12,13],ymm2[14],ymm13[15]
+; AVX512F-NEXT: vpternlogq $226, %ymm16, %ymm0, %ymm15
+; AVX512F-NEXT: vpermq {{.*#+}} ymm3 = ymm15[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm15[1,2],ymm3[3],ymm15[4,5],ymm3[6],ymm15[7],ymm3[8],ymm15[9,10],ymm3[11],ymm15[12,13],ymm3[14],ymm15[15]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = [4,5,10,11,0,1,6,7,12,13,2,3,8,9,14,15,20,21,26,27,16,17,22,23,28,29,18,19,24,25,30,31]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm5 = xmm10[0],xmm5[1],xmm10[2,3],xmm5[4],xmm10[5,6],xmm5[7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,0,1,6,7,12,13,2,3,8,9,14,15]
+; AVX512F-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX512F-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm5[5,6,7]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm5 = xmm11[0,1],xmm12[2],xmm11[3,4],xmm12[5],xmm11[6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = [4,5,10,11,0,1,6,7,12,13,14,15,0,1,2,3]
+; AVX512F-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX512F-NEXT: vinserti64x4 $1, %ymm5, %zmm3, %zmm5
+; AVX512F-NEXT: vextracti32x4 $2, %zmm5, %xmm5
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm23, %ymm9
+; AVX512F-NEXT: vpermq {{.*#+}} ymm3 = ymm9[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm9[1,2],ymm3[3],ymm9[4,5],ymm3[6],ymm9[7],ymm3[8],ymm9[9,10],ymm3[11],ymm9[12,13],ymm3[14],ymm9[15]
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm0
+; AVX512F-NEXT: vpermq {{.*#+}} ymm5 = ymm0[2,3,0,1]
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2],ymm5[3],ymm0[4,5],ymm5[6],ymm0[7],ymm5[8],ymm0[9,10],ymm5[11],ymm0[12,13],ymm5[14],ymm0[15]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX512F-NEXT: vmovdqa64 %xmm27, %xmm4
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2,3],xmm4[4],xmm7[5,6],xmm4[7]
+; AVX512F-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX512F-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5,6,7]
+; AVX512F-NEXT: vmovdqa64 %xmm25, %xmm4
+; AVX512F-NEXT: vmovdqa64 %xmm26, %xmm5
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm5[2],xmm4[3,4],xmm5[5],xmm4[6,7]
+; AVX512F-NEXT: vpshufb %xmm8, %xmm4, %xmm4
+; AVX512F-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-NEXT: vextracti32x4 $2, %zmm4, %xmm4
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4],xmm3[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm19, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm18, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm17, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm2, (%rcx)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride3_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = <0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57,60,63,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm7
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm6, %zmm7
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,34,37,40,43,46,49,52,55,58,61]
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm8, %zmm7
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm6
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm8, %zmm6
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = <1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58,61,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm9
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm10 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,32,35,38,41,44,47,50,53,56,59,62]
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm10, %zmm9
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm8
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm10, %zmm8
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm10 = <34,37,40,43,46,49,52,55,58,61,0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm10, %zmm1
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,33,36,39,42,45,48,51,54,57,60,63]
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm5, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm10, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm5, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <64 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93, i32 96, i32 99, i32 102, i32 105, i32 108, i32 111, i32 114, i32 117, i32 120, i32 123, i32 126, i32 129, i32 132, i32 135, i32 138, i32 141, i32 144, i32 147, i32 150, i32 153, i32 156, i32 159, i32 162, i32 165, i32 168, i32 171, i32 174, i32 177, i32 180, i32 183, i32 186, i32 189>
+ %strided.vec1 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <64 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94, i32 97, i32 100, i32 103, i32 106, i32 109, i32 112, i32 115, i32 118, i32 121, i32 124, i32 127, i32 130, i32 133, i32 136, i32 139, i32 142, i32 145, i32 148, i32 151, i32 154, i32 157, i32 160, i32 163, i32 166, i32 169, i32 172, i32 175, i32 178, i32 181, i32 184, i32 187, i32 190>
+ %strided.vec2 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <64 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95, i32 98, i32 101, i32 104, i32 107, i32 110, i32 113, i32 116, i32 119, i32 122, i32 125, i32 128, i32 131, i32 134, i32 137, i32 140, i32 143, i32 146, i32 149, i32 152, i32 155, i32 158, i32 161, i32 164, i32 167, i32 170, i32 173, i32 176, i32 179, i32 182, i32 185, i32 188, i32 191>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2-FAST,AVX2-FAST-ALL
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2-FAST,AVX2-FAST-PERLANE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
-define void @vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
-; SSE-LABEL: vf2:
+define void @load_i16_stride4_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf2:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
; SSE-NEXT: movd %xmm0, (%r8)
; SSE-NEXT: retq
;
-; AVX-LABEL: vf2:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
-; AVX-NEXT: vpshuflw {{.*#+}} xmm2 = xmm1[0,2,2,3,4,5,6,7]
-; AVX-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
-; AVX-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,1,2,3]
-; AVX-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
-; AVX-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
-; AVX-NEXT: vmovd %xmm2, (%rsi)
-; AVX-NEXT: vmovd %xmm1, (%rdx)
-; AVX-NEXT: vmovd %xmm3, (%rcx)
-; AVX-NEXT: vmovd %xmm0, (%r8)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i16_stride4_vf2:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
+; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm1[0,2,2,3,4,5,6,7]
+; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,1,2,3]
+; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
+; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX1-NEXT: vmovd %xmm2, (%rsi)
+; AVX1-NEXT: vmovd %xmm1, (%rdx)
+; AVX1-NEXT: vmovd %xmm3, (%rcx)
+; AVX1-NEXT: vmovd %xmm0, (%r8)
+; AVX1-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpmovqw %xmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovd %xmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovd %xmm3, (%rcx)
+; AVX512F-SLOW-NEXT: vmovd %xmm2, (%r8)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[2,3,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpmovqw %xmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovd %xmm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovd %xmm3, (%rcx)
+; AVX512F-FAST-NEXT: vmovd %xmm2, (%r8)
+; AVX512F-FAST-NEXT: retq
;
-; AVX512-LABEL: vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[2,0,2,3,4,5,6,7]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpmovqw %xmm0, (%rsi)
-; AVX512-NEXT: vmovd %xmm1, (%rdx)
-; AVX512-NEXT: vmovd %xmm3, (%rcx)
-; AVX512-NEXT: vmovd %xmm2, (%r8)
-; AVX512-NEXT: retq
- %wide.vec = load <8 x i16>, ptr %in.vec, align 32
+; AVX512BW-SLOW-LABEL: load_i16_stride4_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpmovqw %xmm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, (%r8)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride4_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[2,3,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
+; AVX512BW-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpmovqw %xmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovd %xmm1, (%rdx)
+; AVX512BW-FAST-NEXT: vmovd %xmm3, (%rcx)
+; AVX512BW-FAST-NEXT: vmovd %xmm2, (%r8)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <8 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <2 x i32> <i32 0, i32 4>
%strided.vec1 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <2 x i32> <i32 1, i32 5>
%strided.vec2 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <2 x i32> <i32 2, i32 6>
%strided.vec3 = shufflevector <8 x i16> %wide.vec, <8 x i16> poison, <2 x i32> <i32 3, i32 7>
- store <2 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i16> %strided.vec3, ptr %out.vec3, align 32
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i16> %strided.vec3, ptr %out.vec3, align 64
ret void
}
-define void @vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
-; SSE-LABEL: vf4:
+define void @load_i16_stride4_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: movq %xmm0, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm0[1,2,3],xmm2[4],xmm0[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3],xmm1[4],xmm0[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
-; AVX1-NEXT: vpackusdw %xmm0, %xmm0, %xmm0
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vmovq %xmm0, (%rsi)
-; AVX1-NEXT: vmovq %xmm3, (%rdx)
-; AVX1-NEXT: vmovq %xmm4, (%rcx)
-; AVX1-NEXT: vmovq %xmm1, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride4_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm0[1,2,3],xmm2[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3],xmm1[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm1, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf4:
+; AVX2-SLOW-LABEL: load_i16_stride4_vf4:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm1
; AVX2-SLOW-NEXT: vmovq %xmm1, (%r8)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf4:
+; AVX2-FAST-LABEL: load_i16_stride4_vf4:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm1
; AVX2-FAST-NEXT: vmovq %xmm1, (%r8)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm1 = <1,5,9,13,u,u,u,u>
-; AVX512-NEXT: vmovdqa (%rdi), %xmm2
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm3
-; AVX512-NEXT: vpermi2w %xmm3, %xmm2, %xmm1
-; AVX512-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm4 = xmm3[2,0,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm5 = xmm2[2,0,2,3,4,5,6,7]
-; AVX512-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX512-NEXT: vpmovqw %ymm0, (%rsi)
-; AVX512-NEXT: vmovq %xmm1, (%rdx)
-; AVX512-NEXT: vmovq %xmm4, (%rcx)
-; AVX512-NEXT: vmovq %xmm2, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <16 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride4_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm0[1,2,3],xmm2[4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3],xmm1[4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm0, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm0, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpmovqw %ymm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%r8)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm3[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX512F-FAST-NEXT: vpmovqw %ymm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%r8)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride4_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm1 = <1,5,9,13,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512BW-NEXT: vpermi2w %xmm3, %xmm2, %xmm1
+; AVX512BW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512BW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm3[2,0,2,3,4,5,6,7]
+; AVX512BW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512BW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512BW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512BW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512BW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512BW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX512BW-NEXT: vpmovqw %ymm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm2, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <16 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <4 x i32> <i32 0, i32 4, i32 8, i32 12>
%strided.vec1 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <4 x i32> <i32 1, i32 5, i32 9, i32 13>
%strided.vec2 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <4 x i32> <i32 2, i32 6, i32 10, i32 14>
%strided.vec3 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <4 x i32> <i32 3, i32 7, i32 11, i32 15>
- store <4 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i16> %strided.vec3, ptr %out.vec3, align 32
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i16> %strided.vec3, ptr %out.vec3, align 64
ret void
}
-define void @vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
-; SSE-LABEL: vf8:
+define void @load_i16_stride4_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf8:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm2
; SSE-NEXT: movdqa 16(%rdi), %xmm3
; SSE-NEXT: movapd %xmm1, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1,2,3],xmm4[4],xmm0[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm0[1,2,3],xmm3[4],xmm0[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1,2,3],xmm2[4],xmm0[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3],xmm1[4],xmm0[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm6, %xmm0, %xmm0
-; AVX1-NEXT: vpackusdw %xmm5, %xmm0, %xmm0
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm4[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm3[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm8 = xmm1[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm5, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm6, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm1, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride4_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm0[1,2,3],xmm4[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm0[1,2,3],xmm3[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1,2,3],xmm2[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3],xmm1[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm4[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm3[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm1[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf8:
+; AVX2-SLOW-LABEL: load_i16_stride4_vf8:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf8:
+; AVX2-FAST-LABEL: load_i16_stride4_vf8:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm1 = [1,5,9,13,17,21,25,29]
-; AVX512-NEXT: vmovdqa (%rdi), %ymm2
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm3
-; AVX512-NEXT: vpermi2w %ymm3, %ymm2, %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = [2,6,10,14,18,22,26,30]
-; AVX512-NEXT: vpermi2w %ymm3, %ymm2, %ymm4
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = [3,7,11,15,19,23,27,31]
-; AVX512-NEXT: vpermi2w %ymm3, %ymm2, %ymm5
-; AVX512-NEXT: vpmovqw %zmm0, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm4, (%rcx)
-; AVX512-NEXT: vmovdqa %xmm5, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <32 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride4_vf8:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm3, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm2, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm7 = xmm3[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm8 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf8:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm3[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpmovqw %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, (%r8)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf8:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm3, %xmm5
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm2, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm3[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpmovqw %zmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, (%r8)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride4_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm1 = [1,5,9,13,17,21,25,29]
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm2, %ymm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm4 = [2,6,10,14,18,22,26,30]
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm2, %ymm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = [3,7,11,15,19,23,27,31]
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm2, %ymm5
+; AVX512BW-NEXT: vpmovqw %zmm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX512BW-NEXT: vmovdqa %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovdqa %xmm5, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <32 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28>
%strided.vec1 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29>
%strided.vec2 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30>
%strided.vec3 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31>
- store <8 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i16> %strided.vec3, ptr %out.vec3, align 32
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i16> %strided.vec3, ptr %out.vec3, align 64
ret void
}
-define void @vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
-; SSE-LABEL: vf16:
+define void @load_i16_stride4_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf16:
; SSE: # %bb.0:
; SSE-NEXT: movdqa 96(%rdi), %xmm4
; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movapd %xmm1, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpxor %xmm1, %xmm1, %xmm1
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0],xmm1[1,2,3],xmm5[4],xmm1[5,6,7]
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm6
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm6[0],xmm1[1,2,3],xmm6[4],xmm1[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm7
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0],xmm1[1,2,3],xmm7[4],xmm1[5,6,7]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm8
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0],xmm1[1,2,3],xmm8[4],xmm1[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm2, %xmm3, %xmm2
-; AVX1-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
-; AVX1-NEXT: vmovdqa (%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm9[0],xmm1[1,2,3],xmm9[4],xmm1[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm4[0],xmm1[1,2,3],xmm4[4],xmm1[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm3[0],xmm1[1,2,3],xmm3[4],xmm1[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2,3],xmm2[4],xmm1[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm11, %xmm1, %xmm1
-; AVX1-NEXT: vpackusdw %xmm10, %xmm1, %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm10 = xmm5[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm6[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm7[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm12 = xmm8[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3],xmm10[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm9[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm12 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm5[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm6[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm7[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm8[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm4[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm3[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm14 = xmm2[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm7[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm8[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm9[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm1, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm0, 16(%rsi)
-; AVX1-NEXT: vmovaps %ymm10, (%rdx)
-; AVX1-NEXT: vmovaps %ymm11, (%rcx)
-; AVX1-NEXT: vmovaps %ymm2, (%r8)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride4_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpxor %xmm1, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0],xmm1[1,2,3],xmm5[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm6[0],xmm1[1,2,3],xmm6[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0],xmm1[1,2,3],xmm7[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0],xmm1[1,2,3],xmm8[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm9[0],xmm1[1,2,3],xmm9[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm4[0],xmm1[1,2,3],xmm4[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm3[0],xmm1[1,2,3],xmm3[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2,3],xmm2[4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm11, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm5[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm6[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm7[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm8[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm9[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm5[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm6[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm7[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm8[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm4[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm3[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm14 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm7[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm8[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm9[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf16:
+; AVX2-SLOW-LABEL: load_i16_stride4_vf16:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: vf16:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: vmovdqa 64(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovdqa 96(%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm3, %xmm4
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm0, %xmm4
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm4, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,2,3,0,2,4,6]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm2, %ymm3, %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm5, %ymm4, %ymm6
-; AVX2-FAST-ALL-NEXT: vpermd %ymm1, %ymm3, %ymm7
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm8 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm7, %ymm3
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa (%rdi), %xmm3
-; AVX2-FAST-ALL-NEXT: vmovdqa 16(%rdi), %xmm6
-; AVX2-FAST-ALL-NEXT: vmovdqa 32(%rdi), %xmm9
-; AVX2-FAST-ALL-NEXT: vmovdqa 48(%rdi), %xmm10
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm11, %xmm10, %xmm12
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm11, %xmm9, %xmm11
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm12 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm12, %xmm6, %xmm13
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm12, %xmm3, %xmm12
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm12, %ymm4, %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm13 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm13, %ymm7, %ymm7
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3,4,5],ymm4[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2,3],ymm4[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,2,3,1,3,5,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm2, %ymm7, %ymm2
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm5, %ymm2, %ymm5
-; AVX2-FAST-ALL-NEXT: vpermd %ymm1, %ymm7, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm1, %ymm7
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm7 = xmm10[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm8 = xmm7[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm10 = xmm9[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm10 = xmm6[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm11 = xmm3[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm8 = xmm10[0,1],xmm8[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3],ymm5[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm12, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm13, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm7 = xmm9[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm4, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm5, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm1, (%r8)
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i16_stride4_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX2-FAST-NEXT: vpackusdw %xmm4, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,2,3,0,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm3, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm6
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm3, %ymm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm7, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm9
+; AVX2-FAST-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm10, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm9, %xmm11
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm13
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm12
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,2,3,1,3,5,7]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm7, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm5
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm1, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm10[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm7[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm9[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm6[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm3[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm10[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm9[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm5, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, (%r8)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
-; AVX2-FAST-PERLANE-LABEL: vf16:
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride4_vf16:
; AVX2-FAST-PERLANE: # %bb.0:
; AVX2-FAST-PERLANE-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
-; AVX512-LABEL: vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm0 = [0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60]
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm2
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm0
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = [2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm4
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = [3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm5
-; AVX512-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm3, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm4, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm5, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <64 x i16>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vpmovqw %ymm0, %xmm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm5[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm9
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm9[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm8[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm7[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm5[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm2[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm6[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm3[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm9[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm8[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm7[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm5[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm6[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm9[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm8[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm7[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, (%r8)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,2,2,3,0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpermd %ymm5, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <0,1,4,5,u,u,u,u,8,9,12,13,12,13,14,15,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX512F-FAST-NEXT: vpermd %ymm6, %ymm0, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm7, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = [0,2,2,3,4,6,12,14]
+; AVX512F-FAST-NEXT: vpermt2d %ymm4, %ymm8, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm4
+; AVX512F-FAST-NEXT: vpmovqw %zmm4, %xmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm11
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm13
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm11, %xmm9
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm13[0],xmm9[1],xmm13[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm10, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm4, %xmm13
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1],xmm9[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,2,3,1,3,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm5, %ymm7, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm5, %ymm1
+; AVX512F-FAST-NEXT: vpermd %ymm6, %ymm7, %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm2
+; AVX512F-FAST-NEXT: vpermt2d %ymm1, %ymm8, %ymm2
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm12[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm1[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm11[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm8[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm10[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm9[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm4[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm10[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm8[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm9[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, (%r8)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride4_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm0 = [0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60]
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = [1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = [2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = [3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm5
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <64 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60>
%strided.vec1 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <16 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61>
%strided.vec2 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <16 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62>
%strided.vec3 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <16 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63>
- store <16 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i16> %strided.vec3, ptr %out.vec3, align 32
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i16> %strided.vec3, ptr %out.vec3, align 64
ret void
}
-define void @vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
-; SSE-LABEL: vf32:
+define void @load_i16_stride4_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: subq $296, %rsp # imm = 0x128
-; SSE-NEXT: movdqa 224(%rdi), %xmm11
-; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 192(%rdi), %xmm4
+; SSE-NEXT: subq $248, %rsp
+; SSE-NEXT: movdqa 96(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm4
; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 208(%rdi), %xmm5
+; SSE-NEXT: movdqa 80(%rdi), %xmm5
; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 96(%rdi), %xmm2
+; SSE-NEXT: movdqa 160(%rdi), %xmm2
; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 112(%rdi), %xmm3
-; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa 176(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm1
; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm15[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm1[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm10[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm3[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[0,1,0,2,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm2[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm12[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm13[0,1,0,2,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm5[0,2,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
-; SSE-NEXT: movdqa 240(%rdi), %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm4[0,1,0,2,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,0,2,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm6[0],xmm0[1]
-; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa (%rdi), %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 16(%rdi), %xmm1
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm1[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
-; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm0[0,2,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm6[0],xmm11[1],xmm6[1]
-; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm5[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm10[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm9[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 48(%rdi), %xmm1
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm7[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm1
; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm1[0,1,0,2,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,1,0,2,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm11[0],xmm0[1]
-; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 144(%rdi), %xmm1
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm1[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm11[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[0,2,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
-; SSE-NEXT: movdqa 160(%rdi), %xmm2
-; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 176(%rdi), %xmm1
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm1[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm14[0,1,0,2,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm2[0,1,0,2,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
-; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
-; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm15[1,3,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm10[1,3,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[0,1,1,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm12[0,1,1,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
-; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[1,3,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[1,3,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,1,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
-; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[1,3,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm14[0,2,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[0,1,1,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm6[0,1,0,2,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 224(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
; SSE-NEXT: pshuflw $237, (%rsp), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm6[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm1[0],xmm13[1]
+; SSE-NEXT: movapd %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm10[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm9[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm14[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm4[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm2[0,1,1,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm1[0],xmm12[1]
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm3[0,1,2,0,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; SSE-NEXT: # xmm8 = mem[3,1,2,3]
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
; SSE-NEXT: # xmm7 = mem[3,1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[2,0,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm7[2,0,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = mem[3,1,2,3]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[3,1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm5[0,1,2,0,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[0,1,2,0,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
-; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm4[0],xmm2[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm6[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,1,2,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm4[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm5[0],xmm13[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm3[0],xmm13[1]
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[3,1,2,3]
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[3,1,2,3]
; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm0[2,0,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm1[2,0,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[3,1,2,3]
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
; SSE-NEXT: # xmm14 = mem[3,1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[0,1,2,0,4,5,6,7]
; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm14[0,1,2,0,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
-; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm6[0],xmm9[1]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
-; SSE-NEXT: # xmm13 = mem[3,1,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm3[0],xmm9[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm5[0],xmm9[1]
; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
; SSE-NEXT: # xmm11 = mem[3,1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm13[2,0,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[2,0,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = mem[3,1,2,3]
-; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; SSE-NEXT: # xmm4 = mem[3,1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm6[0,1,2,0,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm4[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm11[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm3[0,1,2,0,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm6[3,1,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[0,1,3,1,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
-; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
-; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,3,1,4,5,6,7]
; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm5[0],xmm1[1]
-; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
-; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm14[0,1,3,1,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm5[0],xmm7[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm11[3,1,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,1,3,1,4,5,6,7]
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm5[0],xmm4[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 32(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 48(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 16(%rsi)
-; SSE-NEXT: movapd %xmm12, (%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 32(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 48(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 16(%rdx)
-; SSE-NEXT: movapd %xmm15, 32(%rcx)
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm14[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm4[0],xmm6[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm5[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm4[0],xmm3[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movapd %xmm12, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rdx)
+; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rdx)
+; SSE-NEXT: movapd %xmm15, 48(%rcx)
; SSE-NEXT: movapd %xmm9, (%rcx)
-; SSE-NEXT: movapd %xmm2, 16(%rcx)
-; SSE-NEXT: movapd %xmm10, 48(%rcx)
-; SSE-NEXT: movapd %xmm4, 32(%r8)
-; SSE-NEXT: movapd %xmm7, (%r8)
-; SSE-NEXT: movapd %xmm1, 48(%r8)
-; SSE-NEXT: movapd %xmm3, 16(%r8)
-; SSE-NEXT: addq $296, %rsp # imm = 0x128
+; SSE-NEXT: movapd %xmm13, 16(%rcx)
+; SSE-NEXT: movapd %xmm10, 32(%rcx)
+; SSE-NEXT: movapd %xmm3, 48(%r8)
+; SSE-NEXT: movapd %xmm6, (%r8)
+; SSE-NEXT: movapd %xmm1, 32(%r8)
+; SSE-NEXT: movapd %xmm0, 16(%r8)
+; SSE-NEXT: addq $248, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $200, %rsp
-; AVX1-NEXT: vpxor %xmm6, %xmm6, %xmm6
-; AVX1-NEXT: vmovdqa 240(%rdi), %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm6[1,2,3],xmm1[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm1, %xmm9
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 224(%rdi), %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm6[1,2,3],xmm2[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm2, %xmm10
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa 208(%rdi), %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm6[1,2,3],xmm2[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm2, %xmm11
-; AVX1-NEXT: vmovdqa 192(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm6[1,2,3],xmm2[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm6[1,2,3],xmm0[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm6[1,2,3],xmm1[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm6[1,2,3],xmm1[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm12
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm12[0],xmm6[1,2,3],xmm12[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm12, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0],xmm6[1,2,3],xmm4[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm6[1,2,3],xmm5[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm8
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0],xmm6[1,2,3],xmm8[4],xmm6[5,6,7]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm3[0],xmm6[1,2,3],xmm3[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm1, %xmm7, %xmm1
-; AVX1-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm15
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm6[1,2,3],xmm2[4],xmm6[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm15[0],xmm6[1,2,3],xmm15[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm1, %xmm7, %xmm7
-; AVX1-NEXT: vmovdqa (%rdi), %xmm14
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm6[1,2,3],xmm1[4],xmm6[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0],xmm6[1,2,3],xmm14[4],xmm6[5,6,7]
-; AVX1-NEXT: vpackusdw %xmm0, %xmm6, %xmm0
-; AVX1-NEXT: vpackusdw %xmm7, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm8[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm15[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm14[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm13[0],xmm7[0],xmm13[1],xmm7[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm9[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm10, %xmm9
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm10[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
-; AVX1-NEXT: vmovdqa %xmm11, %xmm10
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm11[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm11[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm6 = mem[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm7 = mem[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm7 = mem[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm12[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm13[0],xmm7[0],xmm13[1],xmm7[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[3,1,2,3]
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
-; AVX1-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm8[3,1,2,3]
-; AVX1-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[3,1,2,3]
-; AVX1-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm4[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[3,1,2,3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm6[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm15[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[3,1,2,3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm14[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm4[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm1[0],xmm13[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm8[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm8 = mem[3,1,2,3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm8[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[3,1,2,3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm10[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm11[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm12[0],xmm1[0],xmm12[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm1[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm12 = mem[3,1,2,3]
-; AVX1-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm13 = mem[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm12[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[0,1,2,0,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX1-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm3 = mem[3,1,2,3]
-; AVX1-NEXT: vpshufd $231, (%rsp), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm3[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm2[2,0,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm1
-; AVX1-NEXT: vblendps {{.*#+}} ymm14 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX1-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm7 = mem[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm15[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm9[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm10[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm11[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm12[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm13[0,1,3,1,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm2, (%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm2, 16(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm2, 32(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm2, 48(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm2, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm2, (%rdx)
-; AVX1-NEXT: vmovaps %ymm14, 32(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm2, (%rcx)
-; AVX1-NEXT: vmovaps %ymm1, 32(%r8)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: addq $200, %rsp
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride4_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $232, %rsp
+; AVX1-ONLY-NEXT: vpxor %xmm5, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm5[1,2,3],xmm3[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm11[0],xmm5[1,2,3],xmm11[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm4[0],xmm5[1,2,3],xmm4[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm1[0],xmm5[1,2,3],xmm1[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm15[0],xmm5[1,2,3],xmm15[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm1[0],xmm5[1,2,3],xmm1[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm2[0],xmm5[1,2,3],xmm2[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm0[0],xmm5[1,2,3],xmm0[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm0[0],xmm5[1,2,3],xmm0[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0],xmm5[1,2,3],xmm0[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm13[0],xmm5[1,2,3],xmm13[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm14[0],xmm5[1,2,3],xmm14[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpackusdw %xmm7, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm0[0],xmm5[1,2,3],xmm0[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm5[1,2,3],xmm0[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0],xmm5[1,2,3],xmm9[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm8[0],xmm5[1,2,3],xmm8[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm11[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm11[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm10[0],xmm5[0],xmm10[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm15[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm1[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm10[0],xmm5[0],xmm10[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm12[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm10[0],xmm6[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm12[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm13[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm14[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm9[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm8[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm11[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm5[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm15[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm1[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm15[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd $231, (%rsp), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm6[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm4[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm3[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm11[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm13[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm14[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm7[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm8[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm3[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm15[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm6[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm11[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm13[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm8[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm9[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: addq $232, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf32:
+; AVX2-SLOW-LABEL: load_i16_stride4_vf32:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: subq $184, %rsp
; AVX2-SLOW-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: vf32:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: subq $136, %rsp
-; AVX2-FAST-ALL-NEXT: vmovdqa 192(%rdi), %ymm5
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 224(%rdi), %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 64(%rdi), %ymm10
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 96(%rdi), %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpxor %xmm0, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm1, %xmm2
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm2, %xmm3
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm2 = [0,2,2,3,0,2,4,6]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm4, %ymm2, %ymm7
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm4, %ymm7, %ymm3
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm4, %ymm8
-; AVX2-FAST-ALL-NEXT: vpermd %ymm10, %ymm2, %ymm12
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm12, %ymm4
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm1, %xmm3
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm3, %xmm1, %xmm1
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm0, %xmm3
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpackusdw %xmm1, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpermd %ymm6, %ymm2, %ymm15
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm15, %ymm1
-; AVX2-FAST-ALL-NEXT: vpermd %ymm5, %ymm2, %ymm4
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm4, %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 32(%rdi), %xmm9
-; AVX2-FAST-ALL-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm14 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm3, %xmm1
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm9, %xmm2
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
-; AVX2-FAST-ALL-NEXT: vmovdqa (%rdi), %xmm11
-; AVX2-FAST-ALL-NEXT: vmovdqa 16(%rdi), %xmm5
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm5, %xmm6
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm11, %xmm10
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm0, %ymm7, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, %ymm10
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm8 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm12, %ymm7
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 160(%rdi), %xmm13
-; AVX2-FAST-ALL-NEXT: vmovdqa 176(%rdi), %xmm6
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm6, %xmm2
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm13, %xmm12
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm12[0],xmm2[0],xmm12[1],xmm2[1]
-; AVX2-FAST-ALL-NEXT: vmovdqa 128(%rdi), %xmm12
-; AVX2-FAST-ALL-NEXT: vmovdqa 144(%rdi), %xmm14
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm14, %xmm0
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm12, %xmm1
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm15, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm4, %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm1 = [1,3,2,3,1,3,5,7]
-; AVX2-FAST-ALL-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm2 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm8 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm2, %ymm0
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm4 = ymm8[0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm9 = xmm3[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm7 = xmm4[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm9 = xmm11[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm11 = xmm5[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm15 = xmm9[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm15[0],xmm11[0],xmm15[1],xmm11[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm7 = xmm11[0,1],xmm7[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm7 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm7, %ymm11
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm15 = ymm1[0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm11 = ymm15[0,1,2,3,4,5],ymm11[6,7]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm15 = xmm6[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm0 = xmm13[0,1,2,0,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[3,1,2,3]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm15 = xmm14[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm10 = xmm12[2,0,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm15[0],xmm10[1],xmm15[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm11[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm11 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm11, %ymm8, %ymm8
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm5 = xmm9[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm10, %ymm7, %ymm3
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm11, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm3 = xmm6[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[0,1,3,1,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshuflw {{.*#+}} xmm5 = xmm12[3,1,2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, 32(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, 32(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, 32(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm1, 32(%r8)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm2, (%r8)
-; AVX2-FAST-ALL-NEXT: addq $136, %rsp
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i16_stride4_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $136, %rsp
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,2,2,3,0,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm2, %ymm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm7, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm8
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm2, %ymm12
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm12, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpackusdw %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm15
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm2, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm9
+; AVX2-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm3, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm9, %xmm2
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm11
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm5, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm11, %xmm10
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm7, %ymm6
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm12, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %xmm13
+; AVX2-FAST-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm6, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm13, %xmm12
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm12[0],xmm2[0],xmm12[1],xmm2[1]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %xmm12
+; AVX2-FAST-NEXT: vmovdqa 144(%rdi), %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm14, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm12, %xmm1
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [1,3,2,3,1,3,5,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm8[0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm3[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm11[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm5[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm9[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm15[0],xmm11[0],xmm15[1],xmm11[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm11[0,1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm7, %ymm11
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm1[0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm15[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm6[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm13[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm14[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm12[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm15[0],xmm10[1],xmm15[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm9[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm7, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm6[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm12[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%r8)
+; AVX2-FAST-NEXT: addq $136, %rsp
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
-; AVX2-FAST-PERLANE-LABEL: vf32:
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride4_vf32:
; AVX2-FAST-PERLANE: # %bb.0:
; AVX2-FAST-PERLANE-NEXT: subq $168, %rsp
; AVX2-FAST-PERLANE-NEXT: vpxor %xmm0, %xmm0, %xmm0
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
-; AVX512-LABEL: vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60]
-; AVX512-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vmovdqa64 %zmm2, %zmm5
-; AVX512-NEXT: vpermt2w %zmm3, %zmm4, %zmm5
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm4
-; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm4 = zmm4[0,1,2,3],zmm5[4,5,6,7]
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61]
-; AVX512-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vmovdqa64 %zmm2, %zmm6
-; AVX512-NEXT: vpermt2w %zmm3, %zmm5, %zmm6
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm5
-; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm5 = zmm5[0,1,2,3],zmm6[4,5,6,7]
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62]
-; AVX512-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vmovdqa64 %zmm2, %zmm7
-; AVX512-NEXT: vpermt2w %zmm3, %zmm6, %zmm7
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm6
-; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm6 = zmm6[0,1,2,3],zmm7[4,5,6,7]
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermt2w %zmm3, %zmm7, %zmm2
-; AVX512-NEXT: vpermt2w %zmm1, %zmm7, %zmm0
-; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <128 x i16>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpmovqw %ymm1, %xmm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 240(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm6[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm8[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm9[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpmovqw %zmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vpmovqw %ymm0, %xmm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm10
+; AVX512F-SLOW-NEXT: vmovdqa64 112(%rdi), %xmm24
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm24[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm0[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 96(%rdi), %xmm25
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm25[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm16 = zmm3[0,1,2,3],zmm5[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %xmm26
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm11[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm10[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 176(%rdi), %xmm18
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm18[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 160(%rdi), %xmm19
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm19[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 144(%rdi), %xmm20
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm20[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %xmm21
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm21[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1],xmm9[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm8, %zmm0, %zmm12
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm26[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm8[0],xmm4[0],xmm8[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %xmm27
+; AVX512F-SLOW-NEXT: vmovdqa64 16(%rdi), %xmm28
+; AVX512F-SLOW-NEXT: vmovdqa64 32(%rdi), %xmm22
+; AVX512F-SLOW-NEXT: vmovdqa64 48(%rdi), %xmm23
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm23[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm22[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm28[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm27[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm13[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm17 = zmm0[0,1,2,3],zmm12[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm6[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm12[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm7[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm11[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm10[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm15[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm18[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm1[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm29
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm19[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm1[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm19
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm10[0],xmm4[0],xmm10[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm20[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm10[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm21[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm11[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm18
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm24[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm25[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm26[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm23[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm3[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm22[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm5[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm12[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm13[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm28[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm12[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm27[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm15[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm13[0],xmm7[1],xmm13[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm6 = zmm6[0,1,2,3],zmm18[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm7
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm8
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm10[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm11[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm3[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm15[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %zmm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [0,2,2,3,0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa64 224(%rdi), %ymm20
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm5, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,1,4,5,u,u,u,u,8,9,12,13,12,13,14,15,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %ymm21
+; AVX512F-FAST-NEXT: vpermd %ymm21, %ymm5, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm7, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = [0,2,2,3,4,6,12,14]
+; AVX512F-FAST-NEXT: vpermt2d %ymm6, %ymm17, %ymm8
+; AVX512F-FAST-NEXT: vpmovqw %zmm4, %xmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-FAST-NEXT: vmovdqa64 96(%rdi), %ymm18
+; AVX512F-FAST-NEXT: vpermd %ymm18, %ymm5, %ymm8
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm8, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %ymm19
+; AVX512F-FAST-NEXT: vpermd %ymm19, %ymm5, %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm6, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm25
+; AVX512F-FAST-NEXT: vpermt2d %ymm11, %ymm17, %ymm5
+; AVX512F-FAST-NEXT: vpmovqw %zmm0, %xmm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm16 = zmm0[0,1,2,3],zmm4[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 176(%rdi), %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %xmm13
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm13, %xmm4
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 144(%rdi), %xmm15
+; AVX512F-FAST-NEXT: vpshufb %xmm10, %xmm15, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm11
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm11[0],xmm5[0],xmm11[1],xmm5[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm5[0,1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm22
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm11
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm14
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm7, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm14, %xmm9
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm3[0],xmm9[1],xmm3[1]
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm10, %xmm11, %xmm10
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm9[2,3]
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm8, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm23 = zmm0[0,1,2,3],zmm22[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm22 = [1,3,2,3,1,3,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm22, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm6, %ymm0
+; AVX512F-FAST-NEXT: vpermd %ymm21, %ymm22, %ymm9
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm25, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm9, %ymm8
+; AVX512F-FAST-NEXT: vpermt2d %ymm0, %ymm17, %ymm8
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm12[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm10[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm13[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm13 = xmm12[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm13 = xmm15[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm20
+; AVX512F-FAST-NEXT: vpermd %ymm18, %ymm22, %ymm15
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm15, %ymm8
+; AVX512F-FAST-NEXT: vpermd %ymm19, %ymm22, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm0
+; AVX512F-FAST-NEXT: vpermt2d %ymm8, %ymm17, %ymm0
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm7[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm11[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm3[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm8[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm11[0],xmm5[1],xmm11[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm17 = zmm0[0,1,2,3],zmm20[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm11
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm6, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm9, %ymm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm10[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm12[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm13[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm15, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm7[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm14[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm8[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm1[0,1,2,3],zmm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm23, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, (%r8)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride4_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm4, %zmm5
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm4
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm4 = zmm4[0,1,2,3],zmm5[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm6
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm5, %zmm6
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm5
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm5 = zmm5[0,1,2,3],zmm6[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm6, %zmm7
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm6
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm6 = zmm6[0,1,2,3],zmm7[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm7, %zmm2
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm7, %zmm0
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124>
%strided.vec1 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <32 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125>
%strided.vec2 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <32 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126>
%strided.vec3 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <32 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127>
- store <32 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i16> %strided.vec3, ptr %out.vec3, align 32
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i16> %strided.vec3, ptr %out.vec3, align 64
+
+ ret void
+}
+
+define void @load_i16_stride4_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i16_stride4_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $824, %rsp # imm = 0x338
+; SSE-NEXT: movdqa 352(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 336(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 288(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 304(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 224(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm14[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 480(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 496(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm10[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm8[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 160(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm6[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 384(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 416(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm2[0,1,0,2,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm14[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm1[0],xmm14[1]
+; SSE-NEXT: movapd %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm8[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm4[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm2[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm2[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm15[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,1,2,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm5[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm1[0],xmm14[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm12[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm1[0],xmm13[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm5[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm8[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[3,1,2,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm6[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm5[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm11[0],xmm7[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm3[0],xmm7[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[2,0,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm11[0,1,2,0,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm15[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm2[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm8[0],xmm1[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm5[0],xmm12[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm5[0],xmm15[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: pshuflw $116, (%rsp), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm11[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm8[0],xmm6[1]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm5[0],xmm9[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm8[0],xmm9[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 16(%rdx)
+; SSE-NEXT: movapd %xmm3, 96(%rcx)
+; SSE-NEXT: movapd %xmm7, 32(%rcx)
+; SSE-NEXT: movapd %xmm10, 112(%rcx)
+; SSE-NEXT: movapd %xmm13, 48(%rcx)
+; SSE-NEXT: movapd %xmm14, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movapd %xmm9, 112(%r8)
+; SSE-NEXT: movapd %xmm6, 96(%r8)
+; SSE-NEXT: movapd %xmm0, 80(%r8)
+; SSE-NEXT: movapd %xmm15, 64(%r8)
+; SSE-NEXT: movapd %xmm12, 48(%r8)
+; SSE-NEXT: movapd %xmm1, 32(%r8)
+; SSE-NEXT: movapd %xmm2, 16(%r8)
+; SSE-NEXT: movapd %xmm4, (%r8)
+; SSE-NEXT: addq $824, %rsp # imm = 0x338
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride4_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $824, %rsp # imm = 0x338
+; AVX1-ONLY-NEXT: vpxor %xmm7, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0],xmm7[1,2,3],xmm4[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm7[1,2,3],xmm2[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0],xmm7[1,2,3],xmm15[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0],xmm7[1,2,3],xmm13[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0],xmm7[1,2,3],xmm14[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm7[1,2,3],xmm3[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0],xmm7[1,2,3],xmm5[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm0, %xmm8, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm1[0],xmm7[1,2,3],xmm1[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm8[0],xmm7[1,2,3],xmm8[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm6[0],xmm7[1,2,3],xmm6[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm6[0],xmm7[1,2,3],xmm6[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm7[1,2,3],xmm12[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm0[0],xmm7[1,2,3],xmm0[4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpackusdw %xmm10, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpackusdw %xmm9, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm15[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm13[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm14[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm5[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm8[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm6[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm12[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm13[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm14[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm12[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm6[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm8[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm15[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm4[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm11[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm13[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm14[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm12[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[3,1,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm8[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm15[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm13[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm10[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,2,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm4[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm2[2,0,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, (%rsp), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm15[0],xmm3[0],xmm15[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm10[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm14[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,3,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm12[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm13[3,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 112(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 80(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, (%r8)
+; AVX1-ONLY-NEXT: addq $824, %rsp # imm = 0x338
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride4_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $696, %rsp # imm = 0x2B8
+; AVX2-SLOW-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-SLOW-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpackusdw %xmm0, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 272(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 304(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm10[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm11[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 496(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm13[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %xmm9
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm9[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vmovdqa 464(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm8[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 432(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX2-SLOW-NEXT: vmovdqa 400(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm6[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm4[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm4[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm15 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm15[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm10[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm14[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm10[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm11[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm10[0],xmm2[0],xmm10[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpshufd $231, (%rsp), %xmm1 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm10[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm12 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm12[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm10[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm15 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm11[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm15[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm14[0],xmm2[0],xmm14[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm13[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm9[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm8[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm5[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm7 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm7[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm6[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm3[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm0[2,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1],xmm9[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm8 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm9 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm9 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm13 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm9 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm13 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm13 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm14 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1],xmm9[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm8 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm9 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm9 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm13 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm12[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm11[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm15[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, (%rsp), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm4 = mem[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, 96(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 32(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, 64(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm14, (%r8)
+; AVX2-SLOW-NEXT: addq $696, %rsp # imm = 0x2B8
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride4_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $712, %rsp # imm = 0x2C8
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpxor %xmm1, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpackusdw %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpackusdw %xmm0, %xmm2, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,2,2,3,0,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm2, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm0, %xmm3, %xmm0
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm9
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm9, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm0, %xmm3, %xmm0
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm2, %ymm12
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm12, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm2, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm10, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm1[1,2,3],mem[4],ymm1[5,6,7],mem[8],ymm1[9,10,11],mem[12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-NEXT: vpackusdw %xmm3, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpackusdw %xmm0, %xmm1, %xmm0
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm2, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm5, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 272(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm11
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm13
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm11[0,1],xmm6[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm11
+; AVX2-FAST-NEXT: vmovdqa 48(%rdi), %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm14, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm11, %xmm8
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm8
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm13
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm15
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm15[0],xmm13[0],xmm15[1],xmm13[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vmovdqa %ymm7, %ymm15
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 176(%rdi), %xmm7
+; AVX2-FAST-NEXT: vmovdqa %xmm7, (%rsp) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm9
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 144(%rdi), %xmm9
+; AVX2-FAST-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm13
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm9[0,1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm15, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %xmm9
+; AVX2-FAST-NEXT: vmovdqa 432(%rdi), %xmm15
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm15, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %xmm7
+; AVX2-FAST-NEXT: vmovdqa 400(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm0
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm12, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm10, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [1,3,2,3,1,3,5,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <0,1,4,5,8,9,12,13,8,9,12,13,12,13,14,15,16,17,20,21,24,25,28,29,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm4, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm11[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm10[0],xmm5[0],xmm10[1],xmm5[1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm8[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm14
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm4, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm13, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm13 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm12 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm12[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm11[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm10[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm15[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm9[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[3,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm8, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpshufd $231, (%rsp), %xmm6 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm15 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm15[0],xmm3[0],xmm15[1],xmm3[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm13[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm10[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm4 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm5 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm6 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 96(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, 32(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 64(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%r8)
+; AVX2-FAST-NEXT: addq $712, %rsp # imm = 0x2C8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride4_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $696, %rsp # imm = 0x2B8
+; AVX2-FAST-PERLANE-NEXT: vpxor %xmm0, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm1, %xmm2, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm2, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = mem[0],ymm0[1,2,3],mem[4],ymm0[5,6,7],mem[8],ymm0[9,10,11],mem[12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpackusdw %xmm0, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, (%rsp) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 272(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm6, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 112(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm4, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm7, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 144(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm1, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 496(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm9, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 432(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm13, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 400(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm12[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm5 = xmm14[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, (%rsp), %xmm14 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm14 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm12 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm14[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm7 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm8 = xmm6[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm8[0],xmm2[0],xmm8[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm10[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm11[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm4 = xmm15[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm9 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm9 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm10[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm13 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm11[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm13[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm15 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm15[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm0 = xmm4[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm8 = xmm2[2,0,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm8[0],xmm3[0],xmm8[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm14[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm12[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm7[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm10[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm11[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm13[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm15[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, (%rsp), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[0,1,3,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, (%r8)
+; AVX2-FAST-PERLANE-NEXT: addq $696, %rsp # imm = 0x2B8
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride4_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: subq $520, %rsp # imm = 0x208
+; AVX512F-SLOW-NEXT: vmovdqa64 240(%rdi), %xmm16
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm16[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm6[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 224(%rdi), %xmm17
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm17[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm15
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm15[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm12[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 496(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm10[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm5[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 480(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm11[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm7[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 368(%rdi), %xmm22
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm22[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm3[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 352(%rdi), %xmm19
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm19[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 336(%rdi), %xmm23
+; AVX512F-SLOW-NEXT: vmovdqa64 448(%rdi), %xmm18
+; AVX512F-SLOW-NEXT: vmovdqa64 464(%rdi), %xmm20
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %xmm25
+; AVX512F-SLOW-NEXT: vmovdqa64 80(%rdi), %xmm29
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm13[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm1[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm9[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm12[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm31 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm29[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm25[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm30 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm7[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm28 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm20[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm18[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm27 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm26 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm23[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm14[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm16[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm17[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm21
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm0[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm15[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm29[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm25[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm25 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm11[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm10[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm20[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm18[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm1[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm11[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm20 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm22[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm19[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm23[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm14[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm0[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vpmovqw %ymm2, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vpmovqw %ymm3, %xmm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 448(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vpmovqw %ymm0, %xmm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 384(%rdi), %zmm2
+; AVX512F-SLOW-NEXT: vpmovqw %zmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vpmovqw %ymm2, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 256(%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm2[0,1,2,3],zmm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 176(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm1[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm7[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm6[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm14[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm31, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm30, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm15
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm15[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm8[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm5[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm14[0],xmm9[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm12[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm3[0,1,2,3],zmm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm28, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm27, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 432(%rdi), %xmm17
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm17[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 416(%rdi), %xmm23
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm23[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm9[0],xmm3[0],xmm9[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 400(%rdi), %xmm27
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm27[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 384(%rdi), %xmm28
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm28[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm9[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 304(%rdi), %xmm26
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm26[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 288(%rdi), %xmm31
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm31[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 272(%rdi), %xmm16
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm16[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 256(%rdi), %xmm22
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm22[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm9[0,1,2,3],zmm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm3
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm3[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm9 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm12 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm30 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[3,1,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm3[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm9 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm12 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm29 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm24
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm21
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm25, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm9 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm25 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm15[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm2[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm19
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm8[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm15[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm5[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm4[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm7[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm8[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm10[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm6 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm18 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm6 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, (%rsp), %xmm6 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm6 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm11[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm20 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm17[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm23[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm6[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm8[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm11 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm10 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm17 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm27[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm11[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm28[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm5[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm26[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm10[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm31[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm16[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm14[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm22[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm2[2,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm13[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm30, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm12 = mem[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm12
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm13
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm29, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm25, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm12
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm15[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm12[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm3[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm7 = mem[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm7[0],xmm3[0],xmm7[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm18, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm11[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm8[0],xmm5[1],xmm8[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm17, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm10[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm14[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vshufi64x2 {{.*#+}} zmm2 = zmm2[0,1,2,3],zmm5[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, 64(%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm2, 64(%r8)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm1, (%r8)
+; AVX512F-SLOW-NEXT: addq $520, %rsp # imm = 0x208
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride4_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: subq $488, %rsp # imm = 0x1E8
+; AVX512F-FAST-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 384(%rdi), %zmm2
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [0,2,2,3,0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa64 224(%rdi), %ymm28
+; AVX512F-FAST-NEXT: vpermd %ymm28, %ymm5, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm4, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,4,5,u,u,u,u,8,9,12,13,12,13,14,15,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %ymm16
+; AVX512F-FAST-NEXT: vpermd %ymm16, %ymm5, %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm6, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm27 = [0,2,2,3,4,6,12,14]
+; AVX512F-FAST-NEXT: vpermt2d %ymm7, %ymm27, %ymm8
+; AVX512F-FAST-NEXT: vpmovqw %zmm3, %xmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-FAST-NEXT: vmovdqa64 96(%rdi), %ymm25
+; AVX512F-FAST-NEXT: vpermd %ymm25, %ymm5, %ymm9
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm9, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %ymm24
+; AVX512F-FAST-NEXT: vpermd %ymm24, %ymm5, %ymm10
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm10, %ymm8
+; AVX512F-FAST-NEXT: vpermt2d %ymm7, %ymm27, %ymm8
+; AVX512F-FAST-NEXT: vpmovqw %zmm1, %xmm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm1[0,1,2,3],zmm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm12
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm12, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa 448(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm7, %ymm8
+; AVX512F-FAST-NEXT: vpermt2d %ymm3, %ymm27, %ymm8
+; AVX512F-FAST-NEXT: vpmovqw %zmm2, %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-FAST-NEXT: vmovdqa 352(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm5, %ymm8
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm8, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm8, %ymm17
+; AVX512F-FAST-NEXT: vmovdqa 320(%rdi), %ymm8
+; AVX512F-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm8, %ymm5, %ymm15
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm15, %ymm5
+; AVX512F-FAST-NEXT: vpermt2d %ymm3, %ymm27, %ymm5
+; AVX512F-FAST-NEXT: vpmovqw %zmm0, %xmm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,2,3,2,3,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm18
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm21
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [2,3,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 144(%rdi), %xmm13
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm13, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm22
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm14[0],xmm5[1],xmm14[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm8[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm20
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm19
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm4, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm14
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm14[0],xmm6[0],xmm14[1],xmm6[1]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm23
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm14[0],xmm1[0],xmm14[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm9, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm20, %ymm14
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm10, %ymm9
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm19[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 432(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 416(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa 400(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 384(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm9
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm12, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm7
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; AVX512F-FAST-NEXT: vmovdqa 272(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm17, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm15, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm1[0,1,2,3],zmm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [1,3,2,3,1,3,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm28, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vpermd %ymm16, %ymm0, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <0,1,4,5,u,u,u,u,8,9,12,13,12,13,14,15,16,17,20,21,u,u,u,u,24,25,28,29,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm7, %ymm31
+; AVX512F-FAST-NEXT: vpermt2d %ymm1, %ymm27, %ymm5
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm18[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm21[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm29
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm10[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm30
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm13[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm22[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm7, %xmm26
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm10[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm28
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vpermd %ymm25, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm22
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm7
+; AVX512F-FAST-NEXT: vpermd %ymm24, %ymm0, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm5, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512F-FAST-NEXT: vpermt2d %ymm2, %ymm27, %ymm3
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm8[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm20
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm5, %xmm24
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm23[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm5, %xmm18
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm6[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm6, %xmm19
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm2[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm2, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm17
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm3, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm16
+; AVX512F-FAST-NEXT: vpermt2d %ymm1, %ymm27, %ymm2
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm13 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm11[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm10 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm9 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm10[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm9[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm23
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm12, %ymm1
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm0
+; AVX512F-FAST-NEXT: vpermt2d %ymm1, %ymm27, %ymm0
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm5 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm8 = mem[3,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm4[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm8[2,0,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm21 = zmm0[0,1,2,3],zmm23[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,22,23,26,27,30,31>
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <2,3,6,7,10,11,14,15,14,15,10,11,12,13,14,15,18,19,22,23,26,27,30,31,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm0
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm0
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm0[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm0
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm22
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm25, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm14, %ymm23
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm2
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm3
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm3[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm3
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm14 = xmm3[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm14[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm1[0,1,2,3],zmm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm17, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm13[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm11[0],xmm2[0],xmm11[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm12, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,3,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm8[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm2[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, 64(%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, 64(%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm21, 64(%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, 64(%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512F-FAST-NEXT: addq $488, %rsp # imm = 0x1E8
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride4_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,0,4,8,12,16,20,24,28,32,36,40,44,48,52,56,60]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm9
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm10
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm8, %zmm10
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm9 = zmm10[0,1,2,3],zmm9[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm10
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm8, %zmm10
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm8 = zmm8[0,1,2,3],zmm10[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61,1,5,9,13,17,21,25,29,33,37,41,45,49,53,57,61]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm11
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm10, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm12
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm10, %zmm12
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm11 = zmm12[0,1,2,3],zmm11[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm12
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm10, %zmm12
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm10
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm10 = zmm10[0,1,2,3],zmm12[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62,2,6,10,14,18,22,26,30,34,38,42,46,50,54,58,62]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm14
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm12, %zmm14
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm13 = zmm14[0,1,2,3],zmm13[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm14
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm12, %zmm14
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm12
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm12 = zmm12[0,1,2,3],zmm14[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63,3,7,11,15,19,23,27,31,35,39,43,47,51,55,59,63]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm14, %zmm7
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm14, %zmm5
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm4 = zmm5[0,1,2,3],zmm7[4,5,6,7]
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm14, %zmm2
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm14, %zmm0
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <256 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <64 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124, i32 128, i32 132, i32 136, i32 140, i32 144, i32 148, i32 152, i32 156, i32 160, i32 164, i32 168, i32 172, i32 176, i32 180, i32 184, i32 188, i32 192, i32 196, i32 200, i32 204, i32 208, i32 212, i32 216, i32 220, i32 224, i32 228, i32 232, i32 236, i32 240, i32 244, i32 248, i32 252>
+ %strided.vec1 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <64 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125, i32 129, i32 133, i32 137, i32 141, i32 145, i32 149, i32 153, i32 157, i32 161, i32 165, i32 169, i32 173, i32 177, i32 181, i32 185, i32 189, i32 193, i32 197, i32 201, i32 205, i32 209, i32 213, i32 217, i32 221, i32 225, i32 229, i32 233, i32 237, i32 241, i32 245, i32 249, i32 253>
+ %strided.vec2 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <64 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126, i32 130, i32 134, i32 138, i32 142, i32 146, i32 150, i32 154, i32 158, i32 162, i32 166, i32 170, i32 174, i32 178, i32 182, i32 186, i32 190, i32 194, i32 198, i32 202, i32 206, i32 210, i32 214, i32 218, i32 222, i32 226, i32 230, i32 234, i32 238, i32 242, i32 246, i32 250, i32 254>
+ %strided.vec3 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <64 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127, i32 131, i32 135, i32 139, i32 143, i32 147, i32 151, i32 155, i32 159, i32 163, i32 167, i32 171, i32 175, i32 179, i32 183, i32 187, i32 191, i32 195, i32 199, i32 203, i32 207, i32 211, i32 215, i32 219, i32 223, i32 227, i32 231, i32 235, i32 239, i32 243, i32 247, i32 251, i32 255>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i16> %strided.vec3, ptr %out.vec3, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX2: {{.*}}
+; AVX2-ONLY: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2-FAST,AVX2-FAST-ALL
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2-FAST,AVX2-FAST-PERLANE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
-define void @vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
-; SSE-LABEL: vf2:
+define void @load_i16_stride5_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf2:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: movd %xmm5, (%r9)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm0, %xmm5
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
-; AVX1-NEXT: vmovd %xmm2, (%rsi)
-; AVX1-NEXT: vmovd %xmm3, (%rdx)
-; AVX1-NEXT: vmovd %xmm4, (%rcx)
-; AVX1-NEXT: vmovd %xmm5, (%r8)
-; AVX1-NEXT: vmovd %xmm0, (%r9)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride5_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovd %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovd %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovd %xmm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovd %xmm5, (%r8)
+; AVX1-ONLY-NEXT: vmovd %xmm0, (%r9)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf2:
+; AVX2-SLOW-LABEL: load_i16_stride5_vf2:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-SLOW-NEXT: vmovd %xmm1, (%r9)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf2:
+; AVX2-FAST-LABEL: load_i16_stride5_vf2:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-FAST-NEXT: vmovd %xmm1, (%r9)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[3,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpsrlq $48, %xmm0, %xmm0
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX512-NEXT: vpbroadcastw 8(%rdi), %xmm5
-; AVX512-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
-; AVX512-NEXT: vmovd %xmm2, (%rsi)
-; AVX512-NEXT: vmovd %xmm3, (%rdx)
-; AVX512-NEXT: vmovd %xmm4, (%rcx)
-; AVX512-NEXT: vmovd %xmm0, (%r8)
-; AVX512-NEXT: vmovd %xmm1, (%r9)
-; AVX512-NEXT: retq
- %wide.vec = load <10 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf2:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[4,5,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 8(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm0, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovd %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovd %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovd %xmm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovd %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovd %xmm1, (%r9)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[4,5,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovd %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovd %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovd %xmm4, (%rcx)
+; AVX512F-FAST-NEXT: vmovd %xmm0, (%r8)
+; AVX512F-FAST-NEXT: vmovd %xmm1, (%r9)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride5_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[3,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, (%r9)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride5_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[4,5,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovd %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovd %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovd %xmm4, (%rcx)
+; AVX512BW-FAST-NEXT: vmovd %xmm0, (%r8)
+; AVX512BW-FAST-NEXT: vmovd %xmm1, (%r9)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <10 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <10 x i16> %wide.vec, <10 x i16> poison, <2 x i32> <i32 0, i32 5>
%strided.vec1 = shufflevector <10 x i16> %wide.vec, <10 x i16> poison, <2 x i32> <i32 1, i32 6>
%strided.vec3 = shufflevector <10 x i16> %wide.vec, <10 x i16> poison, <2 x i32> <i32 3, i32 8>
%strided.vec4 = shufflevector <10 x i16> %wide.vec, <10 x i16> poison, <2 x i32> <i32 4, i32 9>
- store <2 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <2 x i16> %strided.vec4, ptr %out.vec4, align 32
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i16> %strided.vec4, ptr %out.vec4, align 64
ret void
}
-define void @vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
-; SSE-LABEL: vf4:
+define void @load_i16_stride5_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm2
; SSE-NEXT: movdqa 16(%rdi), %xmm3
; SSE-NEXT: movq %xmm7, (%r9)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = mem[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm3
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
-; AVX1-NEXT: vpsrlq $48, %xmm2, %xmm4
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,1,4,5,8,9,2,3,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,4,5,8,9,6,7,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,10,11,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,2,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5],xmm2[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm3[3],xmm1[4,5,6,7]
-; AVX1-NEXT: vmovq %xmm0, (%rsi)
-; AVX1-NEXT: vmovq %xmm4, (%rdx)
-; AVX1-NEXT: vmovq %xmm5, (%rcx)
-; AVX1-NEXT: vmovq %xmm6, (%r8)
-; AVX1-NEXT: vmovq %xmm1, (%r9)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride5_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm4
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,1,4,5,8,9,2,3,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,4,5,8,9,6,7,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,10,11,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,2,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm3[3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm1, (%r9)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf4:
+; AVX2-SLOW-LABEL: load_i16_stride5_vf4:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-SLOW-NEXT: vmovq %xmm0, (%r9)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf4:
+; AVX2-FAST-LABEL: load_i16_stride5_vf4:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
; AVX2-FAST-NEXT: vmovq %xmm0, (%r9)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa (%rdi), %xmm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = <0,5,10,15,u,u,u,u>
-; AVX512-NEXT: vpermi2w 16(%rdi), %xmm2, %xmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <1,6,11,16,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = <2,7,12,17,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm4
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = <3,8,13,18,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm5
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm6 = <4,9,14,19,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm6
-; AVX512-NEXT: vmovq %xmm3, (%rsi)
-; AVX512-NEXT: vmovq %xmm2, (%rdx)
-; AVX512-NEXT: vmovq %xmm4, (%rcx)
-; AVX512-NEXT: vmovq %xmm5, (%r8)
-; AVX512-NEXT: vmovq %xmm6, (%r9)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <20 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[4,5,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm0[1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,3,12,13,6,7,0,1,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0],xmm0[1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm1[2],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[4,5,14,15,8,9,2,3,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0,1],xmm2[2],xmm0[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm1[0],xmm6[1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,4,5,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm4, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm5, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm6, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm0, (%r9)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm0, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm4
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $2, %eax, %xmm4, %xmm1
+; AVX512F-SLOW-NEXT: vmovd %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0],xmm0[1,2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm4[2],xmm5[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[4,5,14,15,8,9,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0,1],xmm2[2],xmm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm4[0],xmm6[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm5, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm6, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%r9)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %eax, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vmovd %xmm2, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0],xmm0[1,2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm4[2],xmm5[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[4,5,14,15,8,9,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0,1],xmm2[2],xmm0[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm4[0],xmm6[1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2],xmm4[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm6, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%r9)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride5_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = <1,6,11,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vpermw %zmm1, %zmm0, %zmm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,5,10,u,u,u,u,u>
+; AVX512BW-NEXT: vpermw %zmm1, %zmm2, %zmm1
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-NEXT: vpextrw $7, %xmm2, %eax
+; AVX512BW-NEXT: vpinsrw $3, %eax, %xmm1, %xmm1
+; AVX512BW-NEXT: vpinsrw $3, 32(%rdi), %xmm0, %xmm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = <2,7,12,17,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm4, %ymm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = <3,8,13,18,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm4, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = <4,9,14,19,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm3, %ymm4, %ymm6
+; AVX512BW-NEXT: vmovq %xmm1, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm0, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm2, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-NEXT: vmovq %xmm6, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <20 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <20 x i16> %wide.vec, <20 x i16> poison, <4 x i32> <i32 0, i32 5, i32 10, i32 15>
%strided.vec1 = shufflevector <20 x i16> %wide.vec, <20 x i16> poison, <4 x i32> <i32 1, i32 6, i32 11, i32 16>
%strided.vec3 = shufflevector <20 x i16> %wide.vec, <20 x i16> poison, <4 x i32> <i32 3, i32 8, i32 13, i32 18>
%strided.vec4 = shufflevector <20 x i16> %wide.vec, <20 x i16> poison, <4 x i32> <i32 4, i32 9, i32 14, i32 19>
- store <4 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <4 x i16> %strided.vec4, ptr %out.vec4, align 32
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i16> %strided.vec4, ptr %out.vec4, align 64
ret void
}
-define void @vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
-; SSE-LABEL: vf8:
+define void @load_i16_stride5_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf8:
; SSE: # %bb.0:
; SSE-NEXT: movdqa 64(%rdi), %xmm5
; SSE-NEXT: movdqa (%rdi), %xmm1
; SSE-NEXT: movaps %xmm2, (%r9)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[0,1,0,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm2[4],xmm4[5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm0[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm5
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[0,1,0,1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm6[7]
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm6
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0,1],xmm3[2,3],xmm2[4,5],xmm3[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,0,1,10,11,4,5,14,15,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3,4,5,6,7]
-; AVX1-NEXT: vpsllq $48, %xmm5, %xmm7
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,6],xmm7[7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm7 = xmm7[2],xmm1[2],xmm7[3],xmm1[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,2,3,12,13,6,7,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm8[3,4,5],xmm7[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm5[0,1,2,0]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm8[6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[6,7,0,1,10,11,u,u,u,u,u,u,12,13,14,15]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1,2,3],xmm3[4,5],xmm2[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[2,2,2,2,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,4,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm5[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,5,6]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm9[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5],xmm1[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,u,u,u,u,u,u,12,13,14,15]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3,4,5],xmm0[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
-; AVX1-NEXT: vmovdqa %xmm4, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm6, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm7, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm8, (%r8)
-; AVX1-NEXT: vmovdqa %xmm0, (%r9)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride5_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm2[4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm6[7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0,1],xmm3[2,3],xmm2[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,0,1,10,11,4,5,14,15,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,6],xmm7[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm7 = xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,2,3,12,13,6,7,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm8[3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm5[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[6,7,0,1,10,11,u,u,u,u,u,u,12,13,14,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1,2,3],xmm3[4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm5[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,u,u,u,u,u,u,12,13,14,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%r9)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf8:
+; AVX2-SLOW-LABEL: load_i16_stride5_vf8:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf8:
+; AVX2-FAST-LABEL: load_i16_stride5_vf8:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <4,9,14,u,u,u,u,u>
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vpermw %zmm1, %zmm0, %zmm0
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <3,8,13,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm2, %zmm4
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <2,7,12,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm2, %zmm5
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <1,6,11,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm2, %zmm6
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <0,5,10,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm2, %zmm1
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX512-NEXT: vpextrw $7, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $3, %eax, %xmm1, %xmm1
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX512-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6,7]
-; AVX512-NEXT: vmovdqa 48(%rdi), %xmm1
-; AVX512-NEXT: vpextrw $1, %xmm1, %eax
-; AVX512-NEXT: vpinsrw $5, %eax, %xmm3, %xmm3
-; AVX512-NEXT: vpblendw {{.*#+}} xmm7 = xmm3[0,1,2,3,4,5],xmm1[6],xmm3[7]
-; AVX512-NEXT: vmovdqa 64(%rdi), %xmm3
-; AVX512-NEXT: vpextrw $3, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $7, %eax, %xmm7, %xmm7
-; AVX512-NEXT: vmovd %xmm2, %eax
-; AVX512-NEXT: vpinsrw $3, %eax, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $5, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $4, %eax, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $2, %xmm1, %eax
-; AVX512-NEXT: vpinsrw $5, %eax, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $7, %xmm1, %eax
-; AVX512-NEXT: vpinsrw $6, %eax, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $4, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $7, %eax, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $1, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $3, %eax, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $6, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $4, %eax, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $3, %xmm1, %eax
-; AVX512-NEXT: vpinsrw $5, %eax, %xmm5, %xmm5
-; AVX512-NEXT: vmovd %xmm3, %eax
-; AVX512-NEXT: vpinsrw $6, %eax, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $5, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $7, %eax, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $2, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $3, %eax, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $7, %xmm2, %eax
-; AVX512-NEXT: vpinsrw $4, %eax, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $4, %xmm1, %eax
-; AVX512-NEXT: vpinsrw $5, %eax, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $1, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $6, %eax, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $6, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $7, %eax, %xmm4, %xmm4
-; AVX512-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
-; AVX512-NEXT: vmovd %xmm1, %eax
-; AVX512-NEXT: vpinsrw $4, %eax, %xmm0, %xmm0
-; AVX512-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5],xmm0[6,7]
-; AVX512-NEXT: vpextrw $2, %xmm3, %eax
-; AVX512-NEXT: vpinsrw $6, %eax, %xmm0, %xmm0
-; AVX512-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm3[7]
-; AVX512-NEXT: vmovdqa %xmm7, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm6, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm5, (%rcx)
-; AVX512-NEXT: vmovdqa %xmm4, (%r8)
-; AVX512-NEXT: vmovdqa %xmm0, (%r9)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <40 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf8:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7,8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13],ymm1[14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1,2,3],xmm2[4,5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,10,11,4,5,14,15,8,9,2,3,12,13,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 70(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10],ymm0[11],ymm1[12,13],ymm0[14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3],xmm3[4,5,6],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[2,3,12,13,6,7,0,1,10,11,4,5,14,15,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpsllq $48, %xmm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm1[0,1],ymm0[2],ymm1[3],ymm0[4],ymm1[5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11],ymm0[12],ymm1[13,14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3,4],xmm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm4[u,u,u,u,u,u,u,u,u,u,u,u,0,1,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[u,u,u,u,u,u,u,u,u,u,u,u,2,3,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10,11],ymm0[12],ymm1[13],ymm0[14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,u,u,u,u,u,u,u,u,u,u,4,5,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf8:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm3, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm3, %xmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm2[2],xmm4[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm1[4],xmm4[5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $5, %eax, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3,4,5],xmm0[6],xmm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $7, %eax, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm3, %eax
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vmovd %edi, %xmm6
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $2, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $4, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $5, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $6, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $7, %eax, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm3, %eax
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vmovd %edi, %xmm7
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $2, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $4, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $5, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $6, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $7, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vmovd %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vmovd %edi, %xmm8
+; AVX512F-SLOW-NEXT: vpinsrw $1, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $2, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $3, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $4, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $5, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $6, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $7, %eax, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm3, %eax
+; AVX512F-SLOW-NEXT: vmovd %eax, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm2, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $2, %eax, %xmm3, %xmm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $4, %eax, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5],xmm1[6,7]
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpinsrw $6, %eax, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%r9)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf8:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,1,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm2[2],xmm4[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm2, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm1[4],xmm4[5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $5, %eax, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3,4,5],xmm0[6],xmm4[7]
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $7, %eax, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm2, %eax
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vmovd %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $4, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $5, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $6, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $7, %eax, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm2, %eax
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[4,5,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $4, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $5, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $6, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $7, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm2, %eax
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-FAST-NEXT: vmovd %edi, %xmm8
+; AVX512F-FAST-NEXT: vpinsrw $1, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm2, %eax
+; AVX512F-FAST-NEXT: vpinsrw $2, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $3, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512F-FAST-NEXT: vpinsrw $4, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $5, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $6, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $7, %eax, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm3, %eax
+; AVX512F-FAST-NEXT: vmovd %eax, %xmm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm2, %eax
+; AVX512F-FAST-NEXT: vpinsrw $2, %eax, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovd %xmm0, %eax
+; AVX512F-FAST-NEXT: vpinsrw $4, %eax, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5],xmm1[6,7]
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrw $6, %eax, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%r9)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride5_vf8:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <4,9,14,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <3,8,13,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm2, %zmm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <2,7,12,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm2, %zmm5
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <1,6,11,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm2, %zmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,5,10,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm2, %zmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %eax, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %eax, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm3[0,1,2,3,4,5],xmm1[6],xmm3[7]
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %eax, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %eax, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %eax, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %eax, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %eax, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %eax, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %eax, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm2, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %eax, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %eax, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %eax, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %eax, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %eax, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5],xmm0[6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %eax, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm3[7]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%r9)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride5_vf8:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <4,9,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <3,8,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm4
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <2,7,12,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <1,6,11,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm6
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <0,5,10,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm7, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $3, %eax, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0,1,2,3],xmm1[4],xmm0[5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $5, %eax, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm2[0,1,2,3,4,5],xmm0[6],xmm2[7]
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $7, %eax, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $3, %eax, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $4, %eax, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $5, %eax, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $6, %eax, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $7, %eax, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $3, %eax, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $4, %eax, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $5, %eax, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $6, %eax, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $7, %eax, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm7, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $2, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $3, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm1, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $4, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $5, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $6, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $7, %eax, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm7, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $2, %eax, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3],xmm3[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovd %xmm0, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $4, %eax, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5],xmm1[6,7]
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm2, %eax
+; AVX512BW-FAST-NEXT: vpinsrw $6, %eax, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm2[7]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%r9)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <40 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <40 x i16> %wide.vec, <40 x i16> poison, <8 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35>
%strided.vec1 = shufflevector <40 x i16> %wide.vec, <40 x i16> poison, <8 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36>
%strided.vec3 = shufflevector <40 x i16> %wide.vec, <40 x i16> poison, <8 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38>
%strided.vec4 = shufflevector <40 x i16> %wide.vec, <40 x i16> poison, <8 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39>
- store <8 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <8 x i16> %strided.vec4, ptr %out.vec4, align 32
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i16> %strided.vec4, ptr %out.vec4, align 64
ret void
}
-define void @vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
-; SSE-LABEL: vf16:
+define void @load_i16_stride5_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf16:
; SSE: # %bb.0:
; SSE-NEXT: pushq %rax
; SSE-NEXT: movdqa 144(%rdi), %xmm13
; SSE-NEXT: popq %rax
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm0
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm1
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm2[1],xmm1[1]
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm8
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm7
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0,1],xmm8[2,3],xmm7[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,u,u,2,3,12,13,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm3[0,1,2,3,4],xmm4[5,6,7]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm5
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm6
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm6[0,1,0,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm5[4],xmm9[5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm4[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm12 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1,2,3],xmm9[4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
-; AVX1-NEXT: vandps %ymm11, %ymm9, %ymm12
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm9
-; AVX1-NEXT: vpermilps {{.*#+}} xmm13 = xmm9[0,1,0,1]
-; AVX1-NEXT: vandnps %ymm13, %ymm11, %ymm13
-; AVX1-NEXT: vorps %ymm13, %ymm12, %ymm12
-; AVX1-NEXT: vinsertf128 $1, %xmm10, %ymm12, %ymm10
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,3,0,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,5,5,5,5]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm7[0,1,2,3],xmm8[4,5],xmm7[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,u,4,5,14,15,8,9]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4],xmm13[5,6,7]
-; AVX1-NEXT: vpsllq $48, %xmm9, %xmm13
-; AVX1-NEXT: vandnps %ymm13, %ymm11, %ymm13
-; AVX1-NEXT: vpsrlq $48, %xmm4, %xmm14
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm3[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm5[0,1],xmm6[2,3],xmm5[4,5],xmm6[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,u,u,u,u,0,1,10,11,4,5,14,15,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4,5,6,7]
-; AVX1-NEXT: vandps %ymm11, %ymm14, %ymm11
-; AVX1-NEXT: vorps %ymm13, %ymm11, %ymm11
-; AVX1-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm1[0,1,2,3],xmm0[4,5],xmm1[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,8,9,2,3,12,13,12,13,u,u,u,u]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm8[0,1],xmm7[2,3],xmm8[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,u,6,7,0,1,10,11]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4],xmm13[5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm3[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm13[2],xmm4[2],xmm13[3],xmm4[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm5[0,1],xmm6[2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,2,3,12,13,6,7,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2],xmm14[3,4,5],xmm13[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm14 = xmm9[0,1,2,0]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5],xmm14[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm12, %ymm13, %ymm12
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,0,1,10,11,4,5,14,15,u,u,u,u,u,u]
-; AVX1-NEXT: vpsrlq $48, %xmm2, %xmm14
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0],xmm13[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm8[0,1,2,3],xmm7[4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,u,u,u,8,9,2,3,12,13]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4],xmm14[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm4[0,1],xmm3[2,3],xmm4[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm5[0,1,2,3],xmm6[4,5],xmm5[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[2,2,2,2,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,7,4,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4,5],xmm14[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm9[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,6]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5],xmm15[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm13, %ymm14, %ymm13
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,2,1,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm7[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm3[4,5],xmm4[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm9[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
-; AVX1-NEXT: vmovaps %ymm10, (%rsi)
-; AVX1-NEXT: vmovaps %ymm11, (%rdx)
-; AVX1-NEXT: vmovaps %ymm12, (%rcx)
-; AVX1-NEXT: vmovaps %ymm13, (%r8)
-; AVX1-NEXT: vmovaps %ymm0, (%r9)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride5_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0,1],xmm8[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,u,u,2,3,12,13,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm3[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm6[0,1,0,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm5[4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm4[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm3[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm11, %ymm9, %ymm12
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm9[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm11, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm13, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm12, %ymm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm7[0,1,2,3],xmm8[4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,u,4,5,14,15,8,9]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4],xmm13[5,6,7]
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm9, %xmm13
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm11, %ymm13
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm14
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm5[0,1],xmm6[2,3],xmm5[4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,u,u,u,u,0,1,10,11,4,5,14,15,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm11, %ymm14, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm13, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm1[0,1,2,3],xmm0[4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,8,9,2,3,12,13,12,13,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm8[0,1],xmm7[2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,u,6,7,0,1,10,11]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4],xmm13[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm3[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm5[0,1],xmm6[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,2,3,12,13,6,7,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2],xmm14[3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm9[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm13, %ymm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm0[0,1],xmm1[2,3],xmm0[4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,0,1,10,11,4,5,14,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0],xmm13[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm8[0,1,2,3],xmm7[4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,u,u,u,8,9,2,3,12,13]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4],xmm14[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm4[0,1],xmm3[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm5[0,1,2,3],xmm6[4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm9[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm14, %ymm13
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm3[4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm9[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf16:
+; AVX2-SLOW-LABEL: load_i16_stride5_vf16:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm2
; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm3
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: vf16:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: vmovdqa 128(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovdqa (%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovdqa 32(%rdi), %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqa 64(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovdqa 96(%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm5 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5],ymm4[6],ymm3[7,8],ymm4[9],ymm3[10,11],ymm4[12],ymm3[13],ymm4[14],ymm3[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm5, %xmm6
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm6[1,2,3],xmm5[4,5],xmm6[6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm6 = ymm1[0],ymm2[1,2],ymm1[3],ymm2[4],ymm1[5],ymm2[6,7],ymm1[8],ymm2[9,10],ymm1[11],ymm2[12],ymm1[13],ymm2[14,15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,0,2,4,6,1,3]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm6, %ymm7, %ymm6
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[0,1,6,7,8,9,14,15,4,5,14,15,4,5,2,3,16,17,22,23,24,25,30,31,20,21,30,31,20,21,18,19]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm5, %ymm6, %ymm5
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,0,3,5,u>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm6, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm7, %ymm6, %ymm6
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm6 = ymm4[0],ymm3[1],ymm4[2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10],ymm3[11],ymm4[12,13],ymm3[14],ymm4[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm6, %xmm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm9[2,3],xmm6[4,5,6],xmm9[7]
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5],ymm1[6],ymm2[7,8],ymm1[9],ymm2[10,11],ymm1[12],ymm2[13],ymm1[14],ymm2[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = <2,u,u,u,4,7,1,6>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm9, %ymm10, %ymm9
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[2,3,4,5,10,11,0,1,14,15,2,3,12,13,0,1,18,19,20,21,26,27,16,17,30,31,18,19,28,29,16,17]
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm6, %ymm9, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,1,3,6,u>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm8, %ymm9
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm9, %ymm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm6[0,1,2,3,4],ymm9[5,6,7],ymm6[8,9,10,11,12],ymm9[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm4[0,1],ymm3[2],ymm4[3],ymm3[4],ymm4[5,6],ymm3[7],ymm4[8,9],ymm3[10],ymm4[11],ymm3[12],ymm4[13,14],ymm3[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm9, %xmm10
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4],xmm9[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5],ymm2[6],ymm1[7,8],ymm2[9],ymm1[10,11],ymm2[12],ymm1[13],ymm2[14],ymm1[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm11 = <0,2,u,u,5,7,2,4>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm10, %ymm11, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [1,4,6,0,1,4,6,0]
-; AVX2-FAST-ALL-NEXT: # ymm10 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm7, %ymm10, %ymm7
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm7 = ymm9[0,1,2,3,4],ymm7[5,6,7],ymm9[8,9,10,11,12],ymm7[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0],ymm4[1,2],ymm3[3],ymm4[4],ymm3[5],ymm4[6,7],ymm3[8],ymm4[9,10],ymm3[11],ymm4[12],ymm3[13],ymm4[14,15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm9, %xmm10
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2],xmm9[3]
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm2[0],ymm1[1],ymm2[2],ymm1[3],ymm2[4,5],ymm1[6],ymm2[7,8],ymm1[9],ymm2[10],ymm1[11],ymm2[12,13],ymm1[14],ymm2[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm11 = <0,3,u,u,5,0,2,7>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm10, %ymm11, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [2,4,7,0,2,4,7,0]
-; AVX2-FAST-ALL-NEXT: # ymm10 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm10, %ymm8
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm3, %xmm4
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3],ymm1[4],ymm2[5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11],ymm1[12],ymm2[13,14],ymm1[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm2 = <1,3,u,u,6,0,3,5>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm1, %ymm2, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,0,2,5,7>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm2, %ymm0
-; AVX2-FAST-ALL-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm5, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm6, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm7, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm8, (%r8)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, (%r9)
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i16_stride5_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5],ymm4[6],ymm3[7,8],ymm4[9],ymm3[10,11],ymm4[12],ymm3[13],ymm4[14],ymm3[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm6[1,2,3],xmm5[4,5],xmm6[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm1[0],ymm2[1,2],ymm1[3],ymm2[4],ymm1[5],ymm2[6,7],ymm1[8],ymm2[9,10],ymm1[11],ymm2[12],ymm1[13],ymm2[14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,0,2,4,6,1,3]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm7, %ymm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[0,1,6,7,8,9,14,15,4,5,14,15,4,5,2,3,16,17,22,23,24,25,30,31,20,21,30,31,20,21,18,19]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm5, %ymm6, %ymm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,0,3,5,u>
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm4[0],ymm3[1],ymm4[2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10],ymm3[11],ymm4[12,13],ymm3[14],ymm4[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm9[2,3],xmm6[4,5,6],xmm9[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5],ymm1[6],ymm2[7,8],ymm1[9],ymm2[10,11],ymm1[12],ymm2[13],ymm1[14],ymm2[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <2,u,u,u,4,7,1,6>
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm10, %ymm9
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[2,3,4,5,10,11,0,1,14,15,2,3,12,13,0,1,18,19,20,21,26,27,16,17,30,31,18,19,28,29,16,17]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm6, %ymm9, %ymm6
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,1,3,6,u>
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm8, %ymm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm6[0,1,2,3,4],ymm9[5,6,7],ymm6[8,9,10,11,12],ymm9[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm4[0,1],ymm3[2],ymm4[3],ymm3[4],ymm4[5,6],ymm3[7],ymm4[8,9],ymm3[10],ymm4[11],ymm3[12],ymm4[13,14],ymm3[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4],xmm9[5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5],ymm2[6],ymm1[7,8],ymm2[9],ymm1[10,11],ymm2[12],ymm1[13],ymm2[14],ymm1[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <0,2,u,u,5,7,2,4>
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [1,4,6,0,1,4,6,0]
+; AVX2-FAST-NEXT: # ymm10 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm9[0,1,2,3,4],ymm7[5,6,7],ymm9[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0],ymm4[1,2],ymm3[3],ymm4[4],ymm3[5],ymm4[6,7],ymm3[8],ymm4[9,10],ymm3[11],ymm4[12],ymm3[13],ymm4[14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2],xmm9[3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm2[0],ymm1[1],ymm2[2],ymm1[3],ymm2[4,5],ymm1[6],ymm2[7,8],ymm1[9],ymm2[10],ymm1[11],ymm2[12,13],ymm1[14],ymm2[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <0,3,u,u,5,0,2,7>
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [2,4,7,0,2,4,7,0]
+; AVX2-FAST-NEXT: # ymm10 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm10, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3],ymm1[4],ymm2[5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11],ymm1[12],ymm2[13,14],ymm1[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <1,3,u,u,6,0,3,5>
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,0,2,5,7>
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX2-FAST-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm8, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
-; AVX2-FAST-PERLANE-LABEL: vf16:
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf16:
; AVX2-FAST-PERLANE: # %bb.0:
; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm2
; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm3
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
-; AVX512-LABEL: vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa 128(%rdi), %ymm0
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm2
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <0,5,10,15,20,25,30,35,40,45,50,55,60,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
-; AVX512-NEXT: vpermi2w %ymm0, %ymm3, %ymm4
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <1,6,11,16,21,26,31,36,41,46,51,56,61,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
-; AVX512-NEXT: vpermi2w %ymm0, %ymm3, %ymm5
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <34,39,44,49,54,59,0,5,10,15,20,25,30,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm2, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
-; AVX512-NEXT: vpermi2w %ymm0, %ymm3, %ymm6
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <35,40,45,50,55,60,1,6,11,16,21,26,31,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm2, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
-; AVX512-NEXT: vpermi2w %ymm0, %ymm3, %ymm7
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <4,9,14,19,24,29,34,39,44,49,54,59,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
-; AVX512-NEXT: vpermi2w %ymm0, %ymm3, %ymm1
-; AVX512-NEXT: vmovdqa %ymm4, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm5, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm6, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm7, (%r8)
-; AVX512-NEXT: vmovdqa %ymm1, (%r9)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <80 x i16>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5],ymm4[6],ymm5[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[6,7,16,17,26,27,20,21,30,31,24,25],zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5],ymm3[6],ymm2[7,8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13],ymm3[14],ymm2[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm6[1,2,3],xmm5[4,5],xmm6[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[0,1,10,11,4,5,14,15,8,9,2,3,12,13],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm4, %ymm5, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm4[0],xmm6[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u,u,2,3,12,13,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm5[0,1,2,3,4],ymm7[5,6,7],ymm5[8,9,10,11,12],ymm7[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10,11],ymm0[12],ymm1[13],ymm0[14],ymm1[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm8[5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[8,9,18,19,28,29,22,23,16,17,26,27],zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0],ymm2[1],ymm3[2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10],ymm2[11],ymm3[12,13],ymm2[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm9[2,3],xmm8[4,5,6],xmm9[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[2,3,12,13,6,7,0,1,10,11,4,5,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm7, %ymm8, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm4[0,1],xmm6[2],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,u,u,u,u,4,5,14,15,8,9]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm7[0,1,2,3,4],ymm8[5,6,7],ymm7[8,9,10,11,12],ymm8[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0,1],ymm2[2],ymm3[3],ymm2[4],ymm3[5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11],ymm2[12],ymm3[13,14],ymm2[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4],xmm8[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7,8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13],ymm1[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm9[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,0,1,10,11,20,21,30,31,24,25,18,19,28,29,26,27,16,17,26,27]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2],ymm9[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,u,u,u,u,6,7,0,1,10,11]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm8[0,1,2,3,4],ymm9[5,6,7],ymm8[8,9,10,11,12],ymm9[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0],ymm3[1,2],ymm2[3],ymm3[4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10],ymm2[11],ymm3[12],ymm2[13],ymm3[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2],xmm9[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10],ymm0[11],ymm1[12,13],ymm0[14],ymm1[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm10[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4],ymm10[5],ymm11[6],ymm10[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm6[0,1],xmm4[2],xmm6[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm9[0,1,2,3,4],ymm10[5,6,7],ymm9[8,9,10,11,12],ymm10[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10,11],ymm2[12],ymm3[13],ymm2[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3],ymm0[4],ymm1[5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11],ymm0[12],ymm1[13,14],ymm0[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,4,5,14,15,24,25,18,19,28,29,22,23,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm4[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <1,u,u,u,4,6,1,3>
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm5, %ymm4
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[2,3,16,17,22,23,24,25,30,31,20,21],zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5],ymm3[6],ymm2[7,8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13],ymm3[14],ymm2[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm6[1,2,3],xmm5[4,5],xmm6[6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[0,1,10,11,4,5,14,15,8,9,2,3,12,13],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm4, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,0,3,5,u>
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10,11],ymm0[12],ymm1[13],ymm0[14],ymm1[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <2,u,u,u,4,7,1,6>
+; AVX512F-FAST-NEXT: vpermd %ymm6, %ymm8, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[0,1,18,19,20,21,26,27,16,17,30,31],zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0],ymm2[1],ymm3[2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10],ymm2[11],ymm3[12,13],ymm2[14],ymm3[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm9[2,3],xmm8[4,5,6],xmm9[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[2,3,12,13,6,7,0,1,10,11,4,5,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm6, %ymm8, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,1,3,6,u>
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm8, %ymm9
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm9, %ymm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm6[0,1,2,3,4],ymm9[5,6,7],ymm6[8,9,10,11,12],ymm9[13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0,1],ymm2[2],ymm3[3],ymm2[4],ymm3[5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11],ymm2[12],ymm3[13,14],ymm2[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4],xmm9[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7,8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13],ymm1[14],ymm0[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <0,2,u,u,5,7,2,4>
+; AVX512F-FAST-NEXT: vpermd %ymm10, %ymm11, %ymm10
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [1,4,6,0,1,4,6,0]
+; AVX512F-FAST-NEXT: # ymm10 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm10, %ymm10
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm9[0,1,2,3,4],ymm7[5,6,7],ymm9[8,9,10,11,12],ymm7[13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0],ymm3[1,2],ymm2[3],ymm3[4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10],ymm2[11],ymm3[12],ymm2[13],ymm3[14,15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2],xmm9[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10],ymm0[11],ymm1[12,13],ymm0[14],ymm1[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <0,3,u,u,5,0,2,7>
+; AVX512F-FAST-NEXT: vpermd %ymm10, %ymm11, %ymm10
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm10 = [2,4,7,0,2,4,7,0]
+; AVX512F-FAST-NEXT: # ymm10 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm10, %ymm10
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm10, %ymm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10,11],ymm2[12],ymm3[13],ymm2[14],ymm3[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3],ymm0[4],ymm1[5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11],ymm0[12],ymm1[13,14],ymm0[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <1,3,u,u,6,0,3,5>
+; AVX512F-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,0,2,5,7>
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,u,u,u,u,24,25,30,31,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,2,3,4,5,12,14]
+; AVX512F-FAST-NEXT: vpermi2d %ymm1, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm8, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%r9)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride5_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <0,5,10,15,20,25,30,35,40,45,50,55,60,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm2, %ymm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <1,6,11,16,21,26,31,36,41,46,51,56,61,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm2, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <34,39,44,49,54,59,0,5,10,15,20,25,30,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm2, %ymm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <35,40,45,50,55,60,1,6,11,16,21,26,31,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm2, %ymm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <4,9,14,19,24,29,34,39,44,49,54,59,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm0 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm2, %ymm0
+; AVX512BW-NEXT: vmovdqa %ymm3, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <80 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <80 x i16> %wide.vec, <80 x i16> poison, <16 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75>
%strided.vec1 = shufflevector <80 x i16> %wide.vec, <80 x i16> poison, <16 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76>
%strided.vec3 = shufflevector <80 x i16> %wide.vec, <80 x i16> poison, <16 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78>
%strided.vec4 = shufflevector <80 x i16> %wide.vec, <80 x i16> poison, <16 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79>
- store <16 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <16 x i16> %strided.vec4, ptr %out.vec4, align 32
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i16> %strided.vec4, ptr %out.vec4, align 64
ret void
}
-define void @vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
-; SSE-LABEL: vf32:
+define void @load_i16_stride5_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: subq $424, %rsp # imm = 0x1A8
-; SSE-NEXT: movdqa 304(%rdi), %xmm4
-; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 240(%rdi), %xmm8
-; SSE-NEXT: movdqa 256(%rdi), %xmm12
-; SSE-NEXT: movdqa 288(%rdi), %xmm6
-; SSE-NEXT: movdqa 272(%rdi), %xmm11
-; SSE-NEXT: movdqa %xmm11, (%rsp) # 16-byte Spill
-; SSE-NEXT: movdqa 144(%rdi), %xmm7
-; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 80(%rdi), %xmm5
-; SSE-NEXT: movdqa 96(%rdi), %xmm9
-; SSE-NEXT: movdqa 128(%rdi), %xmm3
+; SSE-NEXT: subq $392, %rsp # imm = 0x188
+; SSE-NEXT: movdqa 304(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm12
+; SSE-NEXT: movdqa 256(%rdi), %xmm9
+; SSE-NEXT: movdqa 288(%rdi), %xmm7
+; SSE-NEXT: movdqa 272(%rdi), %xmm5
+; SSE-NEXT: movdqa 64(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm11
+; SSE-NEXT: movdqa 16(%rdi), %xmm10
+; SSE-NEXT: movdqa 32(%rdi), %xmm13
+; SSE-NEXT: movdqa 48(%rdi), %xmm3
; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 112(%rdi), %xmm2
-; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,65535,0,65535,65535,65535]
; SSE-NEXT: movdqa %xmm0, %xmm1
-; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm13, %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,1,0,3]
; SSE-NEXT: pand %xmm0, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[3,1,2,3]
-; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[3,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm15
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[0,2,2,3]
-; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,2,2,3]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm2[2,3]
; SSE-NEXT: movaps {{.*#+}} xmm10 = [65535,65535,65535,65535,65535,65535,65535,0]
-; SSE-NEXT: andps %xmm10, %xmm3
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[0,1,0,1]
+; SSE-NEXT: andps %xmm10, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,1,0,1]
; SSE-NEXT: movaps %xmm10, %xmm2
; SSE-NEXT: pandn %xmm1, %xmm2
-; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm0, %xmm1
-; SSE-NEXT: pandn %xmm11, %xmm1
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[0,1,0,3]
-; SSE-NEXT: movdqa %xmm6, %xmm7
-; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,1,0,3]
; SSE-NEXT: pand %xmm0, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[3,1,2,3]
-; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[3,1,2,3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[0,2,2,3]
-; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[0,2,2,3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm2[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[0,1,0,1]
; SSE-NEXT: movaps %xmm10, %xmm2
; SSE-NEXT: andnps %xmm1, %xmm2
-; SSE-NEXT: movdqa 32(%rdi), %xmm4
-; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: andps %xmm10, %xmm3
-; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: movdqa 192(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: andps %xmm10, %xmm4
+; SSE-NEXT: orps %xmm4, %xmm2
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm0, %xmm1
-; SSE-NEXT: pandn %xmm4, %xmm1
-; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
; SSE-NEXT: pand %xmm0, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa 176(%rdi), %xmm3
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[3,1,2,3]
; SSE-NEXT: movdqa %xmm3, %xmm6
; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; SSE-NEXT: movdqa (%rdi), %xmm4
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,2,2,3]
-; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
-; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa 160(%rdi), %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm2[2,3]
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
; SSE-NEXT: movaps %xmm10, %xmm2
; SSE-NEXT: andnps %xmm1, %xmm2
-; SSE-NEXT: andps %xmm10, %xmm3
-; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: andps %xmm10, %xmm4
+; SSE-NEXT: orps %xmm4, %xmm2
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 208(%rdi), %xmm2
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,0,3]
-; SSE-NEXT: movdqa %xmm2, %xmm14
+; SSE-NEXT: movdqa 128(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
; SSE-NEXT: pand %xmm0, %xmm1
-; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa 112(%rdi), %xmm2
; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pandn %xmm2, %xmm0
; SSE-NEXT: por %xmm1, %xmm0
-; SSE-NEXT: movdqa 176(%rdi), %xmm2
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[3,1,2,3]
-; SSE-NEXT: movdqa %xmm2, %xmm13
-; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
-; SSE-NEXT: movdqa 160(%rdi), %xmm15
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[0,2,2,3]
-; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,2,2,3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,3]
-; SSE-NEXT: movdqa 224(%rdi), %xmm0
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
; SSE-NEXT: movaps %xmm10, %xmm1
; SSE-NEXT: andps %xmm10, %xmm2
; SSE-NEXT: orps %xmm2, %xmm1
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: psrlq $48, %xmm9
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,3,2,3]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,2,3,4,5,6,7]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
; SSE-NEXT: movdqa {{.*#+}} xmm0 = [0,0,0,65535,65535,65535,65535,65535]
; SSE-NEXT: movdqa %xmm0, %xmm2
; SSE-NEXT: pandn %xmm1, %xmm2
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[1,3,2,3]
-; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,7,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
; SSE-NEXT: movdqa %xmm11, %xmm2
; SSE-NEXT: psllq $48, %xmm2
-; SSE-NEXT: movaps %xmm10, %xmm3
-; SSE-NEXT: andnps %xmm2, %xmm3
+; SSE-NEXT: movaps %xmm10, %xmm4
+; SSE-NEXT: andnps %xmm2, %xmm4
; SSE-NEXT: pand %xmm10, %xmm1
-; SSE-NEXT: orps %xmm1, %xmm3
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: orps %xmm1, %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm1
; SSE-NEXT: psrlq $48, %xmm1
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
; SSE-NEXT: movdqa %xmm0, %xmm1
; SSE-NEXT: pandn %xmm2, %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[1,3,2,3]
-; SSE-NEXT: pshufd $232, (%rsp), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm4[0,1,2,3,7,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,0,0,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,6,4,7]
; SSE-NEXT: pand %xmm0, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm1
; SSE-NEXT: psllq $48, %xmm1
-; SSE-NEXT: movdqa %xmm10, %xmm3
-; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
; SSE-NEXT: pand %xmm10, %xmm2
-; SSE-NEXT: por %xmm2, %xmm3
-; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm6, %xmm1
; SSE-NEXT: psrlq $48, %xmm1
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
; SSE-NEXT: movdqa %xmm0, %xmm1
; SSE-NEXT: pandn %xmm2, %xmm1
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[1,3,2,3]
-; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm4[0,1,2,3,7,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,0,0,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,6,4,7]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
; SSE-NEXT: movdqa %xmm7, %xmm1
; SSE-NEXT: psllq $48, %xmm1
-; SSE-NEXT: movdqa %xmm10, %xmm3
-; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
; SSE-NEXT: pand %xmm10, %xmm2
-; SSE-NEXT: por %xmm2, %xmm3
-; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
; SSE-NEXT: psrlq $48, %xmm1
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
-; SSE-NEXT: movdqa %xmm14, %xmm4
-; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[1,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,7,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
; SSE-NEXT: pandn %xmm1, %xmm10
; SSE-NEXT: por %xmm0, %xmm10
; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm9, %xmm0
-; SSE-NEXT: movdqa %xmm9, %xmm14
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm0
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm13[0,0]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm13[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
-; SSE-NEXT: movaps {{.*#+}} xmm9 = [65535,65535,65535,0,0,0,65535,65535]
-; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movaps {{.*#+}} xmm4 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movaps %xmm4, %xmm1
; SSE-NEXT: andnps %xmm0, %xmm1
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,1,1,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm10[2],xmm2[3],xmm10[3]
-; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: pand %xmm4, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,1,2,0]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps (%rsp), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm15[0,0]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm15[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
-; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movaps %xmm4, %xmm1
; SSE-NEXT: andnps %xmm0, %xmm1
; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[0,1,1,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm11[2],xmm2[3],xmm11[3]
-; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pand %xmm4, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,1,2,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,1,2,0]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm5, %xmm0
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm1[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[2,3]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm11[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm11[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
-; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movaps %xmm4, %xmm1
; SSE-NEXT: andnps %xmm0, %xmm1
-; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = mem[0,1,1,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[0,1,1,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm5[2],xmm2[3],xmm5[3]
-; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pand %xmm4, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[0,1,2,0]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm12[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm12[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,0,1,3]
-; SSE-NEXT: movaps %xmm9, %xmm1
-; SSE-NEXT: andnps %xmm4, %xmm1
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[0,1,1,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm1[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[2,0],xmm1[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,0,1,3]
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: andnps %xmm5, %xmm1
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,1,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
-; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
-; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; SSE-NEXT: pand %xmm4, %xmm2
; SSE-NEXT: por %xmm1, %xmm2
-; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm5[0,1,2,3,6,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[0,1,2,0]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[2,2,2,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm1
; SSE-NEXT: pandn %xmm0, %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm10[0,2,2,3]
-; SSE-NEXT: movdqa %xmm10, %xmm6
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm10[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
; SSE-NEXT: por %xmm1, %xmm0
; SSE-NEXT: movdqa %xmm0, %xmm2
-; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[2,0],xmm13[3,0]
-; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm13[3,0]
+; SSE-NEXT: movaps %xmm4, %xmm0
; SSE-NEXT: andnps %xmm13, %xmm0
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,1],xmm14[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,1],xmm6[0,2]
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,7,4,6,7]
; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[0,1,0,3]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm15[2,2,2,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm1
; SSE-NEXT: pandn %xmm0, %xmm1
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm0[1,0,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm8
-; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm4, %xmm9
+; SSE-NEXT: por %xmm1, %xmm9
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm15[3,0]
-; SSE-NEXT: movaps %xmm9, %xmm1
-; SSE-NEXT: andnps %xmm15, %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: pandn %xmm15, %xmm10
; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,1],xmm0[0,2]
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm15[0,1,2,3,7,4,6,7]
-; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,1,0,3]
-; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,5,6]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm3[2,0]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[2,2,2,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm9, %xmm15
-; SSE-NEXT: pandn %xmm0, %xmm15
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
-; SSE-NEXT: movdqa %xmm5, %xmm7
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm1[2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm5[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,3,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm0[1,0,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm5
-; SSE-NEXT: por %xmm15, %xmm5
-; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm12[1,1,1,1]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,2,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm10[3,0]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm1[0,2]
-; SSE-NEXT: movaps %xmm6, %xmm3
-; SSE-NEXT: movdqa %xmm2, %xmm1
-; SSE-NEXT: movdqa %xmm11, %xmm6
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm11[3,0]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm1[0,2]
-; SSE-NEXT: movdqa %xmm12, %xmm1
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm13[3,0]
-; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,1],xmm1[0,2]
-; SSE-NEXT: movdqa %xmm7, %xmm1
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm7[3,0]
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm4[0,2]
-; SSE-NEXT: movaps %xmm1, %xmm2
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; SSE-NEXT: movaps %xmm10, %xmm1
-; SSE-NEXT: movdqa %xmm14, %xmm11
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm14[3,0]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm11[3,0]
+; SSE-NEXT: movdqa %xmm4, %xmm15
+; SSE-NEXT: pandn %xmm11, %xmm15
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm11[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm1[2,0]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm2[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[0,3,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm0[1,0,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm15
-; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm3[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm4, %xmm12
+; SSE-NEXT: por %xmm1, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm8[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm0[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[2,0],xmm5[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm14[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm3[0,2]
+; SSE-NEXT: movaps %xmm2, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm11[3,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm0[2,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm14
-; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm6[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm0
-; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm13[0,1,2,3,4,6,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,2,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[2,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm12
-; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm5[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm14[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm4, %xmm14
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm3[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,2,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[2,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm9, %xmm13
-; SSE-NEXT: movdqa %xmm9, %xmm6
-; SSE-NEXT: movdqa %xmm9, %xmm2
-; SSE-NEXT: pandn %xmm11, %xmm9
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm1[0,2]
-; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm11[0,1,2,3,7,4,6,7]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm7[0,1,0,3]
+; SSE-NEXT: pand %xmm4, %xmm13
+; SSE-NEXT: pandn %xmm11, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm2[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm11[0,1,2,3,7,4,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm5[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,5,6]
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[3,1],xmm1[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm11[2,0]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[2,2,2,2,4,5,6,7]
-; SSE-NEXT: pandn %xmm1, %xmm6
-; SSE-NEXT: por %xmm6, %xmm15
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; SSE-NEXT: movaps %xmm11, %xmm1
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[3,0]
-; SSE-NEXT: pandn %xmm3, %xmm2
-; SSE-NEXT: movaps %xmm3, %xmm6
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm1[0,2]
-; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm6[0,1,2,3,7,4,6,7]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,1,0,3]
-; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,5,6]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[3,1],xmm3[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,1],xmm6[2,0]
-; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
-; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,2,2,3]
-; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = mem[0,1,1,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[3,1],xmm3[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm6[2,0]
-; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,2,2,3]
-; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; SSE-NEXT: # xmm4 = mem[0,1,1,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[3,1],xmm3[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,0]
-; SSE-NEXT: por %xmm2, %xmm12
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,2,2,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[0,1,1,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[0,1,0,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm1[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm2[2,0]
-; SSE-NEXT: por %xmm13, %xmm9
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[0,2,2,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,1,1,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm1[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm2[2,0]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, (%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rcx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, (%rcx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rcx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%rcx)
-; SSE-NEXT: movaps %xmm15, 32(%r8)
-; SSE-NEXT: movaps %xmm5, (%r8)
-; SSE-NEXT: movaps %xmm8, 48(%r8)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%r8)
-; SSE-NEXT: movaps %xmm9, (%r9)
-; SSE-NEXT: movaps %xmm12, 32(%r9)
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[3,1],xmm2[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm11[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[3,1],xmm2[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm8[2,0]
+; SSE-NEXT: por %xmm10, %xmm0
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm2[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm3[2,0]
+; SSE-NEXT: por %xmm15, %xmm14
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm2[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm3[2,0]
+; SSE-NEXT: por %xmm13, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,2,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm2[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,0]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rcx)
+; SSE-NEXT: movaps %xmm12, 16(%r8)
+; SSE-NEXT: movaps %xmm6, 32(%r8)
+; SSE-NEXT: movaps %xmm9, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%r8)
+; SSE-NEXT: movaps %xmm4, 16(%r9)
+; SSE-NEXT: movaps %xmm14, 32(%r9)
; SSE-NEXT: movaps %xmm0, 48(%r9)
-; SSE-NEXT: movaps %xmm14, 16(%r9)
-; SSE-NEXT: addq $424, %rsp # imm = 0x1A8
+; SSE-NEXT: movaps %xmm1, (%r9)
+; SSE-NEXT: addq $392, %rsp # imm = 0x188
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $424, %rsp # imm = 0x1A8
-; AVX1-NEXT: vmovdqa 304(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 288(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa 256(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vmovdqa 272(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
-; AVX1-NEXT: vmovdqa 240(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm0[5,6,7]
-; AVX1-NEXT: vmovdqa 208(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
-; AVX1-NEXT: vmovdqa 192(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4],xmm0[5,6,7]
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
-; AVX1-NEXT: vandps %ymm5, %ymm3, %ymm3
-; AVX1-NEXT: vmovaps 224(%rdi), %xmm0
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm0[0,1,0,1]
-; AVX1-NEXT: vandnps %ymm4, %ymm5, %ymm4
-; AVX1-NEXT: vmovaps %ymm5, %ymm9
-; AVX1-NEXT: vorps %ymm4, %ymm3, %ymm3
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm12
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm15
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm15[0,1],xmm12[2,3],xmm15[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm8
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm8[0,1,1,3]
-; AVX1-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm5
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm5[1]
-; AVX1-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm6
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm6[0,2,2,3]
-; AVX1-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm2[0,1,2,3,4],xmm1[5,6,7]
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[3,1,2,3]
-; AVX1-NEXT: vmovdqa %xmm2, %xmm7
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm1[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[0,2,2,3]
-; AVX1-NEXT: vmovdqa %xmm1, %xmm13
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[0,1,0,3]
-; AVX1-NEXT: vmovdqa %xmm1, %xmm3
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm2[4],xmm11[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm11[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm9, %ymm0
-; AVX1-NEXT: vandps %ymm4, %ymm9, %ymm11
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm1
-; AVX1-NEXT: vpermilps {{.*#+}} xmm9 = xmm1[0,1,0,1]
-; AVX1-NEXT: vmovaps %xmm1, %xmm14
-; AVX1-NEXT: vandnps %ymm9, %ymm0, %ymm9
-; AVX1-NEXT: vorps %ymm9, %ymm11, %ymm9
-; AVX1-NEXT: vinsertf128 $1, %xmm10, %ymm9, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1],xmm8[2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,3,0,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm6[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1],xmm0[2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm12, %xmm11
-; AVX1-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa %xmm15, %xmm4
-; AVX1-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm15[0,1,2,3],xmm12[4,5],xmm15[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
-; AVX1-NEXT: vpshufb %xmm5, %xmm9, %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm9[5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm13[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm7, %xmm8
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1],xmm3[2,3],xmm2[4,5],xmm3[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,0,1,0,1,0,1,10,11,4,5,14,15,6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm9, %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm3 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
-; AVX1-NEXT: vandps %ymm3, %ymm8, %ymm8
-; AVX1-NEXT: vpsllq $48, %xmm14, %xmm9
-; AVX1-NEXT: vmovdqa %xmm14, %xmm2
-; AVX1-NEXT: vmovaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vandnps %ymm9, %ymm3, %ymm9
-; AVX1-NEXT: vorps %ymm9, %ymm8, %ymm8
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm8, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa (%rsp), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2,3],xmm14[4,5],xmm7[6,7]
-; AVX1-NEXT: vpshufb %xmm5, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm8 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm8 = mem[0,1],xmm15[2,3],mem[4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,3,0,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm3[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm8[0,1,2,3,4],xmm0[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm12[0,1],xmm13[2,3],xmm12[4,5],xmm13[6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm8, %xmm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm6[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,2,2,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm10, %xmm9
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0,1,2],xmm1[3,4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm9 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
-; AVX1-NEXT: vandps %ymm1, %ymm9, %ymm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vpsllq $48, %xmm5, %xmm8
-; AVX1-NEXT: vandnps %ymm8, %ymm9, %ymm5
-; AVX1-NEXT: vorps %ymm5, %ymm1, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5],mem[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,8,9,2,3,12,13,12,13,12,13,12,13>
-; AVX1-NEXT: vpshufb %xmm1, %xmm0, %xmm0
-; AVX1-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = mem[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm11[0,1],xmm4[2,3],xmm11[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
-; AVX1-NEXT: vpshufb %xmm8, %xmm5, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm5[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = xmm4[0,1],mem[2,3],xmm4[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [2,3,2,3,2,3,2,3,12,13,6,7,12,13,14,15]
-; AVX1-NEXT: vpshufb %xmm9, %xmm5, %xmm5
-; AVX1-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm11 = mem[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm11 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm11 = xmm11[2],mem[2],xmm11[3],mem[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm11[0,1,2],xmm5[3,4,5],xmm11[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm2[0,1,2,0]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm11[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm5, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa %xmm7, %xmm11
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1],xmm7[2,3],xmm14[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm8, %xmm0, %xmm2
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1,2,3],xmm15[4,5],xmm0[6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm5, %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm1[0,1,2,3,4],xmm2[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1],xmm13[2,3],xmm12[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
-; AVX1-NEXT: vmovdqa %xmm10, %xmm9
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm10[2],xmm5[3],xmm10[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1,2],xmm1[3,4,5],xmm5[6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm10[0,1,2,0]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,6,5]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm5[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm7, %ymm1, %ymm1
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm15[0,1],xmm0[2,3],xmm15[4,5],xmm0[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,1,10,11,4,5,14,15,14,15,14,15,14,15>
-; AVX1-NEXT: vpshufb %xmm1, %xmm5, %xmm0
-; AVX1-NEXT: vpsrlq $48, %xmm3, %xmm5
-; AVX1-NEXT: vmovdqa %xmm3, %xmm15
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0],xmm0[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm14[0,1,2,3],xmm11[4,5],xmm14[6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
-; AVX1-NEXT: vpshufb %xmm8, %xmm5, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm5[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1],xmm6[2,3],xmm9[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [6,7,0,1,10,11,10,11,8,9,10,11,12,13,14,15]
-; AVX1-NEXT: vpshufb %xmm9, %xmm5, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm13[4,5],xmm12[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[2,2,2,2,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,4,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm11[3,4,5],xmm5[6,7]
-; AVX1-NEXT: vmovdqa %xmm10, %xmm7
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm10[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,5,6]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm11[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm5, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3],xmm2[4,5],xmm4[6,7]
-; AVX1-NEXT: vpshufb %xmm8, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm3[0,1],xmm8[2,3],xmm3[4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm5, %xmm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm11, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0],xmm1[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1],xmm13[2,3],xmm14[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm12[0,1,2,3],xmm10[4,5],xmm12[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[2,2,2,2,4,5,6,7]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,4,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm5[3,4,5],xmm1[6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm9[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,5,6]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm5[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm2[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[0,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm11[2,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm8[0],xmm5[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm14[0,1,2,3],xmm13[4,5],xmm14[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = [8,9,2,3,12,13,12,13,8,9,12,13,12,13,14,15]
-; AVX1-NEXT: vpshufb %xmm3, %xmm5, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2],xmm2[3,4,5],xmm5[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm4[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm1
-; AVX1-NEXT: vpshufd $231, (%rsp), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
-; AVX1-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
-; AVX1-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[0,3,2,3]
-; AVX1-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = xmm4[0,1,2],mem[3],xmm4[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm15[2,3,2,3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[0,1,2,3],xmm6[4,5],mem[6,7]
-; AVX1-NEXT: vpshufb %xmm3, %xmm4, %xmm3
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[1,1,1,1]
-; AVX1-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = mem[0,2,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3,4,5],xmm3[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm7[0,1,1,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm4[6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm2
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%r8)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vmovaps %ymm2, 32(%r9)
-; AVX1-NEXT: vmovaps %ymm1, (%r9)
-; AVX1-NEXT: addq $424, %rsp # imm = 0x1A8
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride5_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $424, %rsp # imm = 0x1A8
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm10[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm9[0,2,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,2,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm14 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm13[0,1],xmm2[2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm11[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm14, %ymm0
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm8 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm8, %ymm14, %ymm8
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1],xmm10[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm10[0,1,2,3],xmm12[4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm7[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm7, %xmm9
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm9[0],xmm4[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1],xmm3[2,3],xmm2[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,0,1,0,1,0,1,10,11,4,5,14,15,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm9[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm14, %ymm12
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm14, %xmm9
+; AVX1-ONLY-NEXT: vandnps %ymm9, %ymm12, %ymm9
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm9, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm13[0,1,2,3],mem[4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm15[0,1],xmm13[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm12[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm8[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm15[0,1],xmm11[2,3],xmm15[4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm8 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm11, %xmm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm8, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm5[0,1,2,3],xmm6[4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,8,9,2,3,12,13,12,13,12,13,12,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm8[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1],xmm10[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [2,3,2,3,2,3,2,3,12,13,6,7,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm9[2],xmm7[2],xmm9[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm9[0,1,2],xmm4[3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm14[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1],xmm3[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1,2,3],xmm13[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm12[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm15[0,1],xmm13[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm12[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm10[2],xmm4[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2],xmm1[3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm11[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm0[2,3],xmm5[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,1,10,11,4,5,14,15,14,15,14,15,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0],xmm0[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm9[0,1,2,3],xmm3[4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm10[0,1],xmm12[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [6,7,0,1,10,11,10,11,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm15[0,1,2,3],xmm13[4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm9[3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm11[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm11[0,1,2,3],xmm9[4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm2[2,3],xmm5[4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm1[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1],xmm8[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3],xmm0[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm4[3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm14[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm1, %ymm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm11[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm2[3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0,1,2,3],xmm8[4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = [8,9,2,3,12,13,12,13,8,9,12,13,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm5[3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm14[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0,1,2],mem[3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0],xmm5[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,2,3],xmm12[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm15[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm13[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2],xmm2[3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: addq $424, %rsp # imm = 0x1A8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf32:
+; AVX2-SLOW-LABEL: load_i16_stride5_vf32:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: subq $280, %rsp # imm = 0x118
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm1
; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rsi)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rdx)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm0, (%rdx)
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: vf32:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: subq $264, %rsp # imm = 0x108
-; AVX2-FAST-ALL-NEXT: vmovdqa 224(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovdqa 256(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovdqa 192(%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovdqa 160(%rdi), %ymm14
-; AVX2-FAST-ALL-NEXT: vmovdqa (%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vmovdqa 32(%rdi), %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqa 64(%rdi), %ymm5
-; AVX2-FAST-ALL-NEXT: vmovdqa 96(%rdi), %ymm7
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm8 = ymm5[0],ymm7[1,2],ymm5[3],ymm7[4],ymm5[5],ymm7[6,7],ymm5[8],ymm7[9,10],ymm5[11],ymm7[12],ymm5[13],ymm7[14,15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm5, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm5, (%rsp) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = [1,3,0,2,4,6,1,3]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm8, %ymm10, %ymm8
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm11 = [0,1,6,7,8,9,14,15,4,5,14,15,4,5,2,3,16,17,22,23,24,25,30,31,20,21,30,31,20,21,18,19]
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm11, %ymm8, %ymm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm8 = ymm2[0],ymm4[1],ymm2[2,3],ymm4[4],ymm2[5],ymm4[6],ymm2[7,8],ymm4[9],ymm2[10,11],ymm4[12],ymm2[13],ymm4[14],ymm2[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm4, %ymm5
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm2, %ymm15
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm8, %xmm12
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm12[1,2,3],xmm8[4,5],xmm12[6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm12, %xmm8, %xmm13
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm13, %ymm9, %ymm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0],ymm3[1],ymm14[2,3],ymm3[4],ymm14[5],ymm3[6],ymm14[7,8],ymm3[9],ymm14[10,11],ymm3[12],ymm14[13],ymm3[14],ymm14[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm14, %ymm4
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm13, %xmm14
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm14[1,2,3],xmm13[4,5],xmm14[6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm12, %xmm13, %xmm12
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm13 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, %ymm2
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm11, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm12, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm11 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5],ymm6[6],ymm7[7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13],ymm6[14],ymm7[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm12 = <2,u,u,u,4,7,1,6>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm12, %ymm11
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm14 = [2,3,4,5,10,11,0,1,14,15,2,3,12,13,0,1,18,19,20,21,26,27,16,17,30,31,18,19,28,29,16,17]
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm14, %ymm11, %ymm11
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm13 = ymm5[0],ymm15[1],ymm5[2],ymm15[3],ymm5[4,5],ymm15[6],ymm5[7,8],ymm15[9],ymm5[10],ymm15[11],ymm5[12,13],ymm15[14],ymm5[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm15, %ymm6
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm13, %xmm15
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm15[2,3],xmm13[4,5,6],xmm15[7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm15 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm15, %xmm13, %xmm13
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm13, %ymm11, %ymm0
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm11 = ymm3[0],ymm4[1],ymm3[2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7,8],ymm4[9],ymm3[10],ymm4[11],ymm3[12,13],ymm4[14],ymm3[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm3, %ymm4
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm11, %xmm13
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm13[2,3],xmm11[4,5,6],xmm13[7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm15, %xmm11, %xmm11
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm13 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5],ymm2[6],ymm1[7,8],ymm2[9],ymm1[10,11],ymm2[12],ymm1[13],ymm2[14],ymm1[15]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm12, %ymm12
-; AVX2-FAST-ALL-NEXT: vmovdqa 128(%rdi), %ymm13
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm14, %ymm12, %ymm12
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm14 = [0,3,1,3,0,3,5,7]
-; AVX2-FAST-ALL-NEXT: vpblendvb %ymm8, %ymm11, %ymm12, %ymm12
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm14, %ymm8
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm15, %ymm8, %ymm8
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa 288(%rdi), %ymm11
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm14, %ymm8
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm15, %ymm8, %ymm8
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7],ymm10[8,9,10,11,12],ymm8[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm9 = [1,3,2,3,1,3,6,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm9, %ymm10
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm1, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm0[0,1,2,3,4],ymm10[5,6,7],ymm0[8,9,10,11,12],ymm10[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm9, %ymm0
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm1, %ymm0, %ymm0
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5,6,7],ymm12[8,9,10,11,12],ymm0[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm6, %ymm8
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1],ymm6[2],ymm5[3],ymm6[4],ymm5[5,6],ymm6[7],ymm5[8,9],ymm6[10],ymm5[11],ymm6[12],ymm5[13,14],ymm6[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm5, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm0, %xmm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3,4],xmm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0],ymm7[1],ymm3[2,3],ymm7[4],ymm3[5],ymm7[6],ymm3[7,8],ymm7[9],ymm3[10,11],ymm7[12],ymm3[13],ymm7[14],ymm3[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm14 = <0,2,u,u,5,7,2,4>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm9, %ymm14, %ymm9
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm2, %ymm9, %ymm9
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm1 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm9[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [1,4,6,0,1,4,6,0]
-; AVX2-FAST-ALL-NEXT: # ymm9 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm9, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm15, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm0[0,1,2,3,4],ymm10[5,6,7],ymm0[8,9,10,11,12],ymm10[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm4, %ymm5
-; AVX2-FAST-ALL-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm4[0,1],ymm0[2],ymm4[3],ymm0[4],ymm4[5,6],ymm0[7],ymm4[8,9],ymm0[10],ymm4[11],ymm0[12],ymm4[13,14],ymm0[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm10, %xmm12
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm12[3,4],xmm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm1, %xmm10, %xmm1
-; AVX2-FAST-ALL-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm10 = ymm4[0],ymm12[1],ymm4[2,3],ymm12[4],ymm4[5],ymm12[6],ymm4[7,8],ymm12[9],ymm4[10,11],ymm12[12],ymm4[13],ymm12[14],ymm4[15]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm10, %ymm14, %ymm10
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm2, %ymm10, %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm9, %ymm2
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm15, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0],ymm6[1,2],ymm8[3],ymm6[4],ymm8[5],ymm6[6,7],ymm8[8],ymm6[9,10],ymm8[11],ymm6[12],ymm8[13],ymm6[14,15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm8, %ymm15
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm1, %xmm2
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm2 = ymm7[0],ymm3[1],ymm7[2],ymm3[3],ymm7[4,5],ymm3[6],ymm7[7,8],ymm3[9],ymm7[10],ymm3[11],ymm7[12,13],ymm3[14],ymm7[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm10 = <0,3,u,u,5,0,2,7>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm2, %ymm10, %ymm2
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm14 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm1, %xmm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [2,4,7,0,2,4,7,0]
-; AVX2-FAST-ALL-NEXT: # ymm2 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm2, %ymm9
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm6, %ymm9, %ymm9
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm9 = ymm1[0,1,2,3,4],ymm9[5,6,7],ymm1[8,9,10,11,12],ymm9[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm5[1,2],ymm0[3],ymm5[4],ymm0[5],ymm5[6,7],ymm0[8],ymm5[9,10],ymm0[11],ymm5[12],ymm0[13],ymm5[14,15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm5, %ymm9
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm1, %xmm0
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm14, %xmm0, %xmm0
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = ymm12[0],ymm4[1],ymm12[2],ymm4[3],ymm12[4,5],ymm4[6],ymm12[7,8],ymm4[9],ymm12[10],ymm4[11],ymm12[12,13],ymm4[14],ymm12[15]
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm4, %ymm14
-; AVX2-FAST-ALL-NEXT: vpermd %ymm1, %ymm10, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm8, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm2, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm6, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0,1],ymm3[2],ymm7[3],ymm3[4],ymm7[5,6],ymm3[7],ymm7[8,9],ymm3[10],ymm7[11],ymm3[12],ymm7[13,14],ymm3[15]
-; AVX2-FAST-ALL-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm1 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: # ymm1 = mem[0],ymm15[1],mem[2,3],ymm15[4],mem[5],ymm15[6],mem[7,8],ymm15[9],mem[10,11],ymm15[12],mem[13],ymm15[14],mem[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm1, %xmm2
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm2 = <1,3,u,u,6,0,3,5>
-; AVX2-FAST-ALL-NEXT: vpermd %ymm0, %ymm2, %ymm0
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm4, %ymm0, %ymm0
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} xmm5 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm5, %xmm1, %xmm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm1 = [0,2,1,3,0,2,5,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm13, %ymm1, %ymm6
-; AVX2-FAST-ALL-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm7, %ymm6, %ymm6
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm3 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: # ymm3 = ymm9[0],mem[1],ymm9[2,3],mem[4],ymm9[5],mem[6],ymm9[7,8],mem[9],ymm9[10,11],mem[12],ymm9[13],mem[14],ymm9[15]
-; AVX2-FAST-ALL-NEXT: vextracti128 $1, %ymm3, %xmm6
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3,4],xmm6[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpshufb %xmm5, %xmm3, %xmm3
-; AVX2-FAST-ALL-NEXT: vpblendw {{.*#+}} ymm5 = ymm12[0,1],ymm14[2],ymm12[3],ymm14[4],ymm12[5,6],ymm14[7],ymm12[8,9],ymm14[10],ymm12[11],ymm14[12],ymm12[13,14],ymm14[15]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm5, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm4, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vpermd %ymm11, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpshufb %ymm7, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, 32(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, 32(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, 32(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm10, 32(%r8)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%r8)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm1, 32(%r9)
-; AVX2-FAST-ALL-NEXT: vmovdqa %ymm0, (%r9)
-; AVX2-FAST-ALL-NEXT: addq $264, %rsp # imm = 0x108
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i16_stride5_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm5[0],ymm7[1,2],ymm5[3],ymm7[4],ymm5[5],ymm7[6,7],ymm5[8],ymm7[9,10],ymm5[11],ymm7[12],ymm5[13],ymm7[14,15]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm5, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = [1,3,0,2,4,6,1,3]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm10, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [0,1,6,7,8,9,14,15,4,5,14,15,4,5,2,3,16,17,22,23,24,25,30,31,20,21,30,31,20,21,18,19]
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm8, %ymm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm2[0],ymm4[1],ymm2[2,3],ymm4[4],ymm2[5],ymm4[6],ymm2[7,8],ymm4[9],ymm2[10,11],ymm4[12],ymm2[13],ymm4[14],ymm2[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm15
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm12[1,2,3],xmm8[4,5],xmm12[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm13
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm13, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0],ymm3[1],ymm14[2,3],ymm3[4],ymm14[5],ymm3[6],ymm14[7,8],ymm3[9],ymm14[10,11],ymm3[12],ymm14[13],ymm3[14],ymm14[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm14, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm14[1,2,3],xmm13[4,5],xmm14[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm13, %xmm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm12, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5],ymm6[6],ymm7[7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13],ymm6[14],ymm7[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <2,u,u,u,4,7,1,6>
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm12, %ymm11
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [2,3,4,5,10,11,0,1,14,15,2,3,12,13,0,1,18,19,20,21,26,27,16,17,30,31,18,19,28,29,16,17]
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm5[0],ymm15[1],ymm5[2],ymm15[3],ymm5[4,5],ymm15[6],ymm5[7,8],ymm15[9],ymm5[10],ymm15[11],ymm5[12,13],ymm15[14],ymm5[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm15, %ymm6
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm15[2,3],xmm13[4,5,6],xmm15[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm13
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm13, %ymm11, %ymm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm3[0],ymm4[1],ymm3[2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7,8],ymm4[9],ymm3[10],ymm4[11],ymm3[12,13],ymm4[14],ymm3[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm4
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm13[2,3],xmm11[4,5,6],xmm13[7]
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm11, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5],ymm2[6],ymm1[7,8],ymm2[9],ymm1[10,11],ymm2[12],ymm1[13],ymm2[14],ymm1[15]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm12, %ymm12
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [0,3,1,3,0,3,5,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm11, %ymm12, %ymm12
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm14, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm11
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm14, %ymm8
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7],ymm10[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [1,3,2,3,1,3,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm9, %ymm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm0[0,1,2,3,4],ymm10[5,6,7],ymm0[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm9, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5,6,7],ymm12[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1],ymm6[2],ymm5[3],ymm6[4],ymm5[5,6],ymm6[7],ymm5[8,9],ymm6[10],ymm5[11],ymm6[12],ymm5[13,14],ymm6[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3,4],xmm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm3[0],ymm7[1],ymm3[2,3],ymm7[4],ymm3[5],ymm7[6],ymm3[7,8],ymm7[9],ymm3[10,11],ymm7[12],ymm3[13],ymm7[14],ymm3[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <0,2,u,u,5,7,2,4>
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm14, %ymm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23>
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm9[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [1,4,6,0,1,4,6,0]
+; AVX2-FAST-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm9, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm0[0,1,2,3,4],ymm10[5,6,7],ymm0[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm4[0,1],ymm0[2],ymm4[3],ymm0[4],ymm4[5,6],ymm0[7],ymm4[8,9],ymm0[10],ymm4[11],ymm0[12],ymm4[13,14],ymm0[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm12[3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm10, %xmm1
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm4[0],ymm12[1],ymm4[2,3],ymm12[4],ymm4[5],ymm12[6],ymm4[7,8],ymm12[9],ymm4[10,11],ymm12[12],ymm4[13],ymm12[14],ymm4[15]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm14, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm10, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm9, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0],ymm6[1,2],ymm8[3],ymm6[4],ymm8[5],ymm6[6,7],ymm8[8],ymm6[9,10],ymm8[11],ymm6[12],ymm8[13],ymm6[14,15]
+; AVX2-FAST-NEXT: vmovdqa %ymm8, %ymm15
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm7[0],ymm3[1],ymm7[2],ymm3[3],ymm7[4,5],ymm3[6],ymm7[7,8],ymm3[9],ymm7[10],ymm3[11],ymm7[12,13],ymm3[14],ymm7[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <0,3,u,u,5,0,2,7>
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm10, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [2,4,7,0,2,4,7,0]
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm2, %ymm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm1[0,1,2,3,4],ymm9[5,6,7],ymm1[8,9,10,11,12],ymm9[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm5[1,2],ymm0[3],ymm5[4],ymm0[5],ymm5[6,7],ymm0[8],ymm5[9,10],ymm0[11],ymm5[12],ymm0[13],ymm5[14,15]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm9
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm12[0],ymm4[1],ymm12[2],ymm4[3],ymm12[4,5],ymm4[6],ymm12[7,8],ymm4[9],ymm12[10],ymm4[11],ymm12[12,13],ymm4[14],ymm12[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm14
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0,1],ymm3[2],ymm7[3],ymm3[4],ymm7[5,6],ymm3[7],ymm7[8,9],ymm3[10],ymm7[11],ymm3[12],ymm7[13,14],ymm3[15]
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0],ymm15[1],mem[2,3],ymm15[4],mem[5],ymm15[6],mem[7,8],ymm15[9],mem[10,11],ymm15[12],mem[13],ymm15[14],mem[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <1,3,u,u,6,0,3,5>
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,2,1,3,0,2,5,7]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = ymm9[0],mem[1],ymm9[2,3],mem[4],ymm9[5],mem[6],ymm9[7,8],mem[9],ymm9[10,11],mem[12],ymm9[13],mem[14],ymm9[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3,4],xmm6[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm12[0,1],ymm14[2],ymm12[3],ymm14[4],ymm12[5,6],ymm14[7],ymm12[8,9],ymm14[10],ymm12[11],ymm14[12],ymm12[13,14],ymm14[15]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm10, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-FAST-NEXT: addq $264, %rsp # imm = 0x108
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
-; AVX2-FAST-PERLANE-LABEL: vf32:
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf32:
; AVX2-FAST-PERLANE: # %bb.0:
; AVX2-FAST-PERLANE-NEXT: subq $264, %rsp # imm = 0x108
; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm5
-; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm10
; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm11
; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm6
; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm2
; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6],ymm1[7]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = [0,1,10,11,4,5,14,15,8,9,10,11,4,5,6,7,16,17,26,27,20,21,30,31,24,25,26,27,20,21,22,23]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = [0,1,10,11,4,5,14,15,8,9,10,11,4,5,6,7,16,17,26,27,20,21,30,31,24,25,26,27,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm0, %ymm0
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm2[1],ymm7[2,3],ymm2[4],ymm7[5],ymm2[6],ymm7[7,8],ymm2[9],ymm7[10,11],ymm2[12],ymm7[13],ymm2[14],ymm7[15]
; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm14
-; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm10
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm10[1,2,3],xmm1[4,5],xmm10[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm1, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm9[1,2,3],xmm1[4,5],xmm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm1, %xmm12
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm12, %ymm0, %ymm7
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0],ymm6[1,2],ymm11[3],ymm6[4],ymm11[5],ymm6[6,7],ymm11[8],ymm6[9,10],ymm11[11],ymm6[12],ymm11[13],ymm6[14,15]
; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm15
; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm13[5],ymm12[6],ymm13[7]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm12, %ymm9
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm5[0],ymm8[1],ymm5[2,3],ymm8[4],ymm5[5],ymm8[6],ymm5[7,8],ymm8[9],ymm5[10,11],ymm8[12],ymm5[13],ymm8[14],ymm5[15]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm12, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm5[0],ymm10[1],ymm5[2,3],ymm10[4],ymm5[5],ymm10[6],ymm5[7,8],ymm10[9],ymm5[10,11],ymm10[12],ymm5[13],ymm10[14],ymm5[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1,2,3],xmm12[4,5],xmm13[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm12, %xmm10
-; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm10, %ymm9, %ymm12
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
-; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm10 = ymm9[2,3,0,1]
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5],ymm9[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm10 = [2,3,12,13,6,7,0,1,10,11,6,7,8,9,8,9,18,19,28,29,22,23,16,17,26,27,22,23,24,25,24,25]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm9, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm12, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm9, %ymm8, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm9 = ymm8[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm9[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = [2,3,12,13,6,7,0,1,10,11,6,7,8,9,8,9,18,19,28,29,22,23,16,17,26,27,22,23,24,25,24,25]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm8, %ymm8
; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0],ymm2[1],ymm14[2],ymm2[3],ymm14[4,5],ymm2[6],ymm14[7,8],ymm2[9],ymm14[10],ymm2[11],ymm14[12,13],ymm2[14],ymm14[15]
; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm14, %ymm3
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm14[2,3],xmm13[4,5,6],xmm14[7]
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm13, %xmm13
-; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm13, %ymm9, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm13, %ymm8, %ymm13
; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, %ymm6
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm15[0],ymm11[1],ymm15[2,3],ymm11[4],ymm15[5],ymm11[6],ymm15[7,8],ymm11[9],ymm15[10,11],ymm11[12],ymm15[13],ymm11[14],ymm15[15]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm15, %ymm8
-; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm15 = ymm9[2,3,0,1]
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm15[5],ymm9[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm9, %ymm15
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0],ymm5[1],ymm0[2],ymm5[3],ymm0[4,5],ymm5[6],ymm0[7,8],ymm5[9],ymm0[10],ymm5[11],ymm0[12,13],ymm5[14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm15[0],ymm11[1],ymm15[2,3],ymm11[4],ymm15[5],ymm11[6],ymm15[7,8],ymm11[9],ymm15[10,11],ymm11[12],ymm15[13],ymm11[14],ymm15[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm15, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm15 = ymm8[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm15[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm8, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm0[0],ymm5[1],ymm0[2],ymm5[3],ymm0[4,5],ymm5[6],ymm0[7,8],ymm5[9],ymm0[10],ymm5[11],ymm0[12,13],ymm5[14],ymm0[15]
; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm10
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm9[0,1],xmm10[2,3],xmm9[4,5,6],xmm10[7]
-; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm9
-; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm10, %xmm14
-; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm8[0,1],xmm9[2,3],xmm8[4,5,6],xmm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm9, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm9
; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm14, %ymm15, %ymm14
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0],xmm8[1],xmm9[2,3]
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm1, %xmm1
; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5,6,7],ymm12[8,9,10,11,12],ymm11[13,14,15]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm10[0,1],xmm9[2],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm9[0,1],xmm8[2],xmm9[3]
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm11, %xmm11
; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm12, %xmm12
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2],ymm11[3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm12 = xmm9[0],xmm10[1],xmm9[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm12 = xmm8[0],xmm9[1],xmm8[2,3]
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm12
; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0,1,2,3,4],ymm12[5,6,7],ymm11[8,9,10,11,12],ymm12[13,14,15]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm6[0],ymm8[1],ymm6[2,3],ymm8[4],ymm6[5],ymm8[6],ymm6[7,8],ymm8[9],ymm6[10,11],ymm8[12],ymm6[13],ymm8[14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm6[0],ymm10[1],ymm6[2,3],ymm10[4],ymm6[5],ymm10[6],ymm6[7,8],ymm10[9],ymm6[10,11],ymm10[12],ymm6[13],ymm10[14],ymm6[15]
; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm11 = ymm12[2,3,0,1]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4,5],ymm11[6],ymm12[7]
; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm11, %ymm11
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm12, %xmm12
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2],ymm11[3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm12 = xmm9[0,1],xmm10[2],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm12 = xmm8[0,1],xmm9[2],xmm8[3]
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm12
; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0,1,2,3,4],ymm12[5,6,7],ymm11[8,9,10,11,12],ymm12[13,14,15]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm8[0],ymm6[1],ymm8[2],ymm6[3],ymm8[4,5],ymm6[6],ymm8[7,8],ymm6[9],ymm8[10],ymm6[11],ymm8[12,13],ymm6[14],ymm8[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm10[0],ymm6[1],ymm10[2],ymm6[3],ymm10[4,5],ymm6[6],ymm10[7,8],ymm6[9],ymm10[10],ymm6[11],ymm10[12,13],ymm6[14],ymm10[15]
; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm15 = ymm12[2,3,0,1]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm15[4],ymm12[5],ymm15[6],ymm12[7]
; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm12, %ymm12
; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = [0,1,2,3,0,1,10,11,8,9,10,11,12,13,14,15]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm1, %xmm1
; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0,1],ymm6[2],ymm8[3],ymm6[4],ymm8[5,6],ymm6[7],ymm8[8,9],ymm6[10],ymm8[11],ymm6[12],ymm8[13,14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm10[0,1],ymm6[2],ymm10[3],ymm6[4],ymm10[5,6],ymm6[7],ymm10[8,9],ymm6[10],ymm10[11],ymm6[12],ymm10[13,14],ymm6[15]
; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm6 = ymm1[2,3,0,1]
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4],ymm1[5,6],ymm6[7]
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm3
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm2
-; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm10, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm9, %xmm3
; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rsi)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rdx)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rdx)
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
-; AVX512-LABEL: vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm4
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11,16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11]
-; AVX512-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm3, %zmm5
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,35,40,45,50,55,60,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm6
-; AVX512-NEXT: movl $67100672, %eax # imm = 0x3FFE000
-; AVX512-NEXT: kmovd %eax, %k1
-; AVX512-NEXT: vmovdqu16 %zmm5, %zmm6 {%k1}
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,34,39,44,49,54,59]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm6, %zmm5
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44,49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44]
-; AVX512-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm3, %zmm4, %zmm6
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <1,6,11,16,21,26,31,36,41,46,51,56,61,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm7
-; AVX512-NEXT: vmovdqu16 %zmm6, %zmm7 {%k1}
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,35,40,45,50,55,60]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm7, %zmm6
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45,50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm3, %zmm4, %zmm7
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <34,39,44,49,54,59,0,5,10,15,20,25,30,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm2, %zmm8
-; AVX512-NEXT: vmovdqu16 %zmm7, %zmm8 {%k1}
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,36,41,46,51,56,61]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm8, %zmm7
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14,19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm3, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <35,40,45,50,55,60,1,6,11,16,21,26,31,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm1, %zmm2, %zmm9
-; AVX512-NEXT: movl $33546240, %eax # imm = 0x1FFE000
-; AVX512-NEXT: kmovd %eax, %k1
-; AVX512-NEXT: vmovdqu16 %zmm8, %zmm9 {%k1}
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,32,37,42,47,52,57,62]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm9, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <4,9,14,19,24,29,34,39,44,49,54,59,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm1, %zmm9
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15,20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15]
-; AVX512-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm3, %zmm1
-; AVX512-NEXT: movb $7, %al
-; AVX512-NEXT: kmovd %eax, %k1
-; AVX512-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
-; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,33,38,43,48,53,58,63]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm2
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm7, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%r8)
-; AVX512-NEXT: vmovdqu64 %zmm2, (%r9)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <160 x i16>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa 288(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1],ymm0[2],ymm1[3],ymm0[4],ymm1[5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11],ymm0[12],ymm1[13,14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4],xmm2[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %ymm8
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm8[0],ymm7[1],ymm8[2,3],ymm7[4],ymm8[5],ymm7[6],ymm8[7,8],ymm7[9],ymm8[10,11],ymm7[12],ymm8[13],ymm7[14],ymm8[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0],ymm3[1,2],ymm4[3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[u,u,u,u,u,u,u,u,8,9,2,3,12,13,6,7,16,17,26,27,26,27,30,31,24,25,18,19,28,29,22,23]
+; AVX512F-SLOW-NEXT: vmovdqa 176(%rdi), %xmm9
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm10[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm2[0],ymm3[1,2],ymm2[3],ymm3[4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10],ymm2[11],ymm3[12],ymm2[13],ymm3[14,15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm12[5],ymm11[6],ymm12[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm11[6,7,16,17,26,27,20,21,30,31,24,25],zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm5[0],ymm6[1],ymm5[2,3],ymm6[4],ymm5[5],ymm6[6],ymm5[7,8],ymm6[9],ymm5[10,11],ymm6[12],ymm5[13],ymm6[14],ymm5[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1,2,3],xmm12[4,5],xmm13[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,10,11,4,5,14,15,8,9,2,3,12,13],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm11, %ymm12, %ymm13
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm12
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm11[0],xmm12[1],xmm11[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,u,u,u,2,3,12,13,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm15
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm13, %zmm17, %zmm15
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm15, %zmm16
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm7[0],ymm8[1],ymm7[2,3],ymm8[4],ymm7[5],ymm8[6],ymm7[7,8],ymm8[9],ymm7[10,11],ymm8[12],ymm7[13],ymm8[14],ymm7[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0],ymm15[1],ymm13[2],ymm15[3],ymm13[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[2,3,12,13,0,1,0,1,10,11,4,5,14,15,8,9,18,19,28,29,16,17,16,17,26,27,20,21,30,31,24,25]
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm9, %xmm15
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm10[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm13[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm15[0],xmm13[1],xmm15[2],xmm13[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,6,7,0,1,10,11,4,5,14,15,8,9]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm13[5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10,11],ymm2[12],ymm3[13],ymm2[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm15 = ymm13[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4],ymm15[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm13 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[8,9,18,19,28,29,22,23,16,17,26,27],zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm6[0],ymm5[1],ymm6[2],ymm5[3],ymm6[4,5],ymm5[6],ymm6[7,8],ymm5[9],ymm6[10],ymm5[11],ymm6[12,13],ymm5[14],ymm6[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1],xmm14[2,3],xmm15[4,5,6],xmm14[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[2,3,12,13,6,7,0,1,10,11,4,5,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm14[u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm13, %ymm14, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm11[0,1],xmm12[2],xmm11[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,u,u,u,4,5,14,15,8,9]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm13, %zmm17, %zmm14
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm14, %zmm18
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm8[0],ymm7[1],ymm8[2],ymm7[3],ymm8[4,5],ymm7[6],ymm8[7,8],ymm7[9],ymm8[10],ymm7[11],ymm8[12,13],ymm7[14],ymm8[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm14[1],ymm4[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[4,5,14,15,12,13,2,3,12,13,6,7,0,1,10,11,20,21,30,31,28,29,18,19,28,29,22,23,16,17,26,27]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm10[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm14 = xmm14[2],xmm9[2],xmm14[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm4[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10,11],ymm0[12],ymm1[13],ymm0[14],ymm1[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2],xmm14[3,4],xmm15[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,8,9,2,3,12,13,6,7,0,1,10,11]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm14[5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm6[0,1],ymm5[2],ymm6[3],ymm5[4],ymm6[5,6],ymm5[7],ymm6[8,9],ymm5[10],ymm6[11],ymm5[12],ymm6[13,14],ymm5[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4],xmm14[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5],ymm3[6],ymm2[7,8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13],ymm3[14],ymm2[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm15[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm15[0,1,2,3,4,5],ymm13[6],ymm15[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,0,1,10,11,20,21,30,31,24,25,18,19,28,29,26,27,16,17,26,27]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2],ymm13[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm12[0],xmm11[1],xmm12[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,u,u,u,6,7,0,1,10,11]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm13, %zmm17, %zmm14
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm14, %zmm17
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm8[0,1],ymm7[2],ymm8[3],ymm7[4],ymm8[5,6],ymm7[7],ymm8[8,9],ymm7[10],ymm8[11],ymm7[12],ymm8[13,14],ymm7[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],ymm13[2],ymm4[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[6,7,6,7,8,9,4,5,14,15,8,9,2,3,12,13,22,23,22,23,24,25,20,21,30,31,24,25,18,19,28,29]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm9[0],xmm10[1],xmm9[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2],xmm4[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm12[0,1],xmm11[2],xmm12[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,u,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm13, %zmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm5[0],ymm6[1,2],ymm5[3],ymm6[4],ymm5[5],ymm6[6,7],ymm5[8],ymm6[9,10],ymm5[11],ymm6[12],ymm5[13],ymm6[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm15[0],xmm13[1],xmm15[2],xmm13[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm3[0],ymm2[1],ymm3[2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7,8],ymm2[9],ymm3[10],ymm2[11],ymm3[12,13],ymm2[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm15[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3],ymm14[4],ymm15[5],ymm14[6],ymm15[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2],ymm14[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm4, %zmm13
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm13, %ymm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7,8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13],ymm1[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1,2,3],xmm14[4,5],xmm15[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,0,1,10,11,4,5,14,15,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm4[0],ymm14[1,2,3,4,5,6,7],ymm4[8],ymm14[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm13, %zmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm8[1,2],ymm7[3],ymm8[4],ymm7[5],ymm8[6,7],ymm7[8],ymm8[9,10],ymm7[11],ymm8[12],ymm7[13],ymm8[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0],ymm7[1],ymm8[2],ymm7[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[8,9,14,15,4,5,6,7,0,1,10,11,4,5,14,15,24,25,30,31,20,21,22,23,16,17,26,27,20,21,30,31]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm10[2],xmm9[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm7[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm12[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,2,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm11[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,0,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm8, %zmm7
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5],ymm5[6],ymm6[7,8],ymm5[9],ymm6[10,11],ymm5[12],ymm6[13],ymm5[14],ymm6[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3],ymm2[4],ymm3[5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11],ymm2[12],ymm3[13,14],ymm2[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4],ymm2[5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,4,5,14,15,24,25,18,19,28,29,22,23,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm2[3,4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: movb $7, %al
+; AVX512F-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm2, %zmm0, %zmm7 {%k1}
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm7, %ymm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10],ymm0[11],ymm1[12,13],ymm0[14],ymm1[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6],xmm1[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,2,3,12,13,6,7,0,1,10,11,4,5,14,15]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm7, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm18, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm4, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa 176(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm2[4,5,14,15,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm3[0,1,10,11,8,9,10,11,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm5[0],ymm4[1],ymm5[2,3],ymm4[4],ymm5[5],ymm4[6],ymm5[7,8],ymm4[9],ymm5[10,11],ymm4[12],ymm5[13],ymm4[14],ymm5[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <2,4,7,1,4,6,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm6, %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,8,9,14,15,0,1,6,7,16,17,22,23,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <8,9,3,2,4,u,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %ymm0, %ymm1, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm1[0,1],ymm0[2],ymm1[3],ymm0[4],ymm1[5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11],ymm0[12],ymm1[13,14],ymm0[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm8[3,4],xmm7[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm10
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm11
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm9[1,2],ymm8[3],ymm9[4],ymm8[5],ymm9[6,7],ymm8[8],ymm9[9,10],ymm8[11],ymm9[12],ymm8[13],ymm9[14,15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <1,u,u,u,4,6,1,3>
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm12, %ymm7
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[2,3,16,17,22,23,24,25,30,31,20,21],zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm10[0],ymm11[1],ymm10[2,3],ymm11[4],ymm10[5],ymm11[6],ymm10[7,8],ymm11[9],ymm10[10,11],ymm11[12],ymm10[13],ymm11[14],ymm10[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1,2,3],xmm12[4,5],xmm13[6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,10,11,4,5,14,15,8,9,2,3,12,13],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm7, %ymm12, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <0,3,1,u,0,3,5,u>
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm13, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm15 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm12, %zmm15, %zmm14
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm14, %zmm16
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm9[0],ymm8[1],ymm9[2,3],ymm8[4],ymm9[5],ymm8[6],ymm9[7,8],ymm8[9],ymm9[10,11],ymm8[12],ymm9[13],ymm8[14],ymm9[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <2,u,u,u,4,7,1,6>
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm14, %ymm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[0,1,18,19,20,21,26,27,16,17,30,31],zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm11[0],ymm10[1],ymm11[2],ymm10[3],ymm11[4,5],ymm10[6],ymm11[7,8],ymm10[9],ymm11[10],ymm10[11],ymm11[12,13],ymm10[14],ymm11[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6],xmm6[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[2,3,12,13,6,7,0,1,10,11,4,5,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm6, %ymm12, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <1,3,2,u,1,3,6,u>
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm12, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [0,1,6,7,4,5,6,7,8,9,0,1,6,7,8,9,16,17,22,23,20,21,22,23,24,25,16,17,22,23,24,25]
+; AVX512F-FAST-NEXT: vpshufb %ymm14, %ymm12, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm14, %ymm19
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm6, %zmm15, %zmm12
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm2, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm4[0],ymm5[1],ymm4[2,3],ymm5[4],ymm4[5],ymm5[6],ymm4[7,8],ymm5[9],ymm4[10,11],ymm5[12],ymm4[13],ymm5[14],ymm4[15]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <0,2,5,7,4,7,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm14, %ymm17, %ymm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[2,3,4,5,4,5,0,1,6,7,8,9,14,15,4,5,18,19,20,21,20,21,16,17,22,23,24,25,30,31,20,21]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm14[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX512F-FAST-NEXT: vbroadcasti32x4 {{.*#+}} ymm17 = [1,4,6,3,1,4,6,3]
+; AVX512F-FAST-NEXT: # ymm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-FAST-NEXT: vpermd %ymm14, %ymm17, %ymm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,16,17,30,31,24,25]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm14[5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm12, %zmm17
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10,11],ymm0[12],ymm1[13],ymm0[14],ymm1[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1,2],xmm6[3,4],xmm14[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,8,9,2,3,12,13,6,7,0,1,10,11]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,u,u,u,u,u,4,5,14,15,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm14 = xmm14[2],xmm2[2],xmm14[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm5[0],ymm4[1],ymm5[2],ymm4[3],ymm5[4,5],ymm4[6],ymm5[7,8],ymm4[9],ymm5[10],ymm4[11],ymm5[12,13],ymm4[14],ymm5[15]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <0,3,5,2,5,7,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm18, %ymm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,6,7,2,3,2,3,4,5,10,11,0,1,14,15,16,17,22,23,18,19,18,19,20,21,26,27,16,17,30,31]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm12[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0,1,2,3,4],ymm6[5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0,1],ymm10[2],ymm11[3],ymm10[4],ymm11[5,6],ymm10[7],ymm11[8,9],ymm10[10],ymm11[11],ymm10[12],ymm11[13,14],ymm10[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2],xmm14[3,4],xmm12[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm8[0],ymm9[1],ymm8[2,3],ymm9[4],ymm8[5],ymm9[6],ymm8[7,8],ymm9[9],ymm8[10,11],ymm9[12],ymm8[13],ymm9[14],ymm8[15]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <0,2,u,u,5,7,2,4>
+; AVX512F-FAST-NEXT: vpermd %ymm14, %ymm18, %ymm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2],ymm14[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm14 = [1,4,6,0,1,4,6,0]
+; AVX512F-FAST-NEXT: # ymm14 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm14, %ymm13
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm12, %zmm15, %zmm13
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm13, %zmm13
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm10[0],ymm11[1,2],ymm10[3],ymm11[4],ymm10[5],ymm11[6,7],ymm10[8],ymm11[9,10],ymm10[11],ymm11[12],ymm10[13],ymm11[14,15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm12[0],xmm6[1],xmm12[2],xmm6[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm9[0],ymm8[1],ymm9[2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7,8],ymm8[9],ymm9[10],ymm8[11],ymm9[12,13],ymm8[14],ymm9[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <0,3,u,u,5,0,2,7>
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm14, %ymm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm2[0],xmm3[1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm5[0,1],ymm4[2],ymm5[3],ymm4[4],ymm5[5,6],ymm4[7],ymm5[8,9],ymm4[10],ymm5[11],ymm4[12],ymm5[13,14],ymm4[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <1,3,6,0,5,u,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm14, %ymm15, %ymm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[2,3,2,3,4,5,0,1,6,7,8,9,14,15,4,5,18,19,18,19,20,21,16,17,22,23,24,25,30,31,20,21]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2],xmm14[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm14 = [2,4,7,0,2,4,7,0]
+; AVX512F-FAST-NEXT: # ymm14 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm15
+; AVX512F-FAST-NEXT: vpshufb %ymm15, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm12, %zmm14, %zmm12
+; AVX512F-FAST-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm6, %zmm12
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm12, %ymm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7,8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13],ymm1[14],ymm0[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1,2,3],xmm14[4,5],xmm15[6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,0,1,10,11,4,5,14,15,8,9,2,3,12,13]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm6[0],ymm14[1,2,3,4,5,6,7],ymm6[8],ymm14[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm12, %zmm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5],ymm10[6],ymm11[7,8],ymm10[9],ymm11[10,11],ymm10[12],ymm11[13],ymm10[14],ymm11[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3,4],xmm11[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[8,9,2,3,12,13,6,7,0,1,10,11,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1],ymm8[2],ymm9[3],ymm8[4],ymm9[5,6],ymm8[7],ymm9[8,9],ymm8[10],ymm9[11],ymm8[12],ymm9[13,14],ymm8[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <1,3,u,u,6,0,3,5>
+; AVX512F-FAST-NEXT: vpermd %ymm8, %ymm9, %ymm8
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2],ymm8[3,4,5],ymm10[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm5[1,2],ymm4[3],ymm5[4],ymm4[5],ymm5[6,7],ymm4[8],ymm5[9,10],ymm4[11],ymm5[12],ymm4[13],ymm5[14,15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <1,4,6,3,6,u,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm4, %ymm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,2,3,4,5,10,11,0,1,14,15,16,17,18,19,20,21,18,19,20,21,26,27,16,17,30,31]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,1,3,0,2,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[0,1,6,7,4,5,6,7,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-FAST-NEXT: movb $7, %al
+; AVX512F-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm8, %zmm0, %zmm2 {%k1}
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm2, %ymm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7,8],ymm0[9],ymm1[10],ymm0[11],ymm1[12,13],ymm0[14],ymm1[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6],xmm1[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,2,3,12,13,6,7,0,1,10,11,4,5,14,15]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm13, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm6, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride5_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11,16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,35,40,45,50,55,60,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm6
+; AVX512BW-NEXT: movl $67100672, %eax # imm = 0x3FFE000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm5, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,34,39,44,49,54,59]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm6, %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44,49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm4, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <1,6,11,16,21,26,31,36,41,46,51,56,61,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm7
+; AVX512BW-NEXT: vmovdqu16 %zmm6, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,35,40,45,50,55,60]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm7, %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45,50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm4, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <34,39,44,49,54,59,0,5,10,15,20,25,30,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm2, %zmm8
+; AVX512BW-NEXT: vmovdqu16 %zmm7, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,36,41,46,51,56,61]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm8, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14,19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <35,40,45,50,55,60,1,6,11,16,21,26,31,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm2, %zmm9
+; AVX512BW-NEXT: movl $33546240, %eax # imm = 0x1FFE000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,32,37,42,47,52,57,62]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm9, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <4,9,14,19,24,29,34,39,44,49,54,59,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm1, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15,20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm1
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,33,38,43,48,53,58,63]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <160 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <160 x i16> %wide.vec, <160 x i16> poison, <32 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155>
%strided.vec1 = shufflevector <160 x i16> %wide.vec, <160 x i16> poison, <32 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156>
%strided.vec3 = shufflevector <160 x i16> %wide.vec, <160 x i16> poison, <32 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158>
%strided.vec4 = shufflevector <160 x i16> %wide.vec, <160 x i16> poison, <32 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159>
- store <32 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <32 x i16> %strided.vec4, ptr %out.vec4, align 32
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i16> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i16_stride5_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i16_stride5_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1000, %rsp # imm = 0x3E8
+; SSE-NEXT: movdqa 544(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 480(%rdi), %xmm10
+; SSE-NEXT: movdqa 496(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 528(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 512(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm7
+; SSE-NEXT: movdqa 160(%rdi), %xmm6
+; SSE-NEXT: movdqa 176(%rdi), %xmm9
+; SSE-NEXT: movdqa 208(%rdi), %xmm12
+; SSE-NEXT: movdqa 192(%rdi), %xmm13
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[0,1,0,3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[3,1,2,3]
+; SSE-NEXT: movdqa %xmm9, %xmm14
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm6[0,2,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
+; SSE-NEXT: movaps {{.*#+}} xmm6 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: andps %xmm6, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[0,1,0,1]
+; SSE-NEXT: movdqa %xmm7, %xmm9
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm10[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: andnps %xmm1, %xmm2
+; SSE-NEXT: movdqa 272(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: andps %xmm6, %xmm3
+; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa 288(%rdi), %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm11[0,1,0,3]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 256(%rdi), %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[3,1,2,3]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa 240(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[0,2,2,3]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
+; SSE-NEXT: movdqa 304(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: andnps %xmm1, %xmm2
+; SSE-NEXT: andps %xmm6, %xmm3
+; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 592(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa 608(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 576(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa 560(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3]
+; SSE-NEXT: movdqa 624(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: andnps %xmm1, %xmm2
+; SSE-NEXT: andps %xmm6, %xmm3
+; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa (%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,3]
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: andnps %xmm1, %xmm3
+; SSE-NEXT: andps %xmm6, %xmm4
+; SSE-NEXT: orps %xmm4, %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa 368(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa 336(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa 320(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,3]
+; SSE-NEXT: movdqa 384(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: andnps %xmm1, %xmm2
+; SSE-NEXT: andps %xmm6, %xmm4
+; SSE-NEXT: orps %xmm4, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: movdqa 128(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm1[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa 80(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm4[2,3]
+; SSE-NEXT: movdqa 144(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm1
+; SSE-NEXT: andnps %xmm3, %xmm1
+; SSE-NEXT: andps %xmm6, %xmm5
+; SSE-NEXT: orps %xmm5, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,1,0,3]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa 432(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa 416(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[3,1,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa 400(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm0[2,3]
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: movaps %xmm6, %xmm1
+; SSE-NEXT: andnps %xmm0, %xmm1
+; SSE-NEXT: andps %xmm6, %xmm4
+; SSE-NEXT: orps %xmm4, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm15[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm13[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: psllq $48, %xmm4
+; SSE-NEXT: movaps %xmm6, %xmm1
+; SSE-NEXT: andnps %xmm4, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm3
+; SSE-NEXT: orps %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm11[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm11[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm10[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,6,4,7]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: psllq $48, %xmm3
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps {{.*#+}} xmm15 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: por %xmm3, %xmm5
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd $36, (%rsp), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[2,0],xmm3[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm13, %xmm3
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: por %xmm3, %xmm5
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[2,0],xmm3[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm8, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm11[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pand %xmm15, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm10[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm12[2],xmm1[3],xmm12[3]
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm12[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm12[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm9[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm9[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm5[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm5[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm1[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,0,1,3]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm13[2],xmm4[3],xmm13[3]
+; SSE-NEXT: pand %xmm15, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: movaps %xmm6, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm5[3,0]
+; SSE-NEXT: movaps %xmm15, %xmm0
+; SSE-NEXT: andnps %xmm5, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm7[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm5[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[3,0]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm1, %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm12[3,0]
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: andnps %xmm12, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm12[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm9[3,0]
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: andnps %xmm9, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm9[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: andnps %xmm1, %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm11[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm10
+; SSE-NEXT: por %xmm1, %xmm10
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm15, %xmm2
+; SSE-NEXT: andnps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,1],xmm1[2,0]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm9
+; SSE-NEXT: por %xmm1, %xmm9
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm4[3,0]
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm12
+; SSE-NEXT: pandn %xmm4, %xmm12
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: pshufd $196, (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm1[2,0]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[2,2,2,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm0[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm7[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm1[0,2]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm1[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm1[0,2]
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm2[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[2,0],xmm11[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm14[0,2]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm6[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm0[0,2]
+; SSE-NEXT: movdqa %xmm5, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm5[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm4[0,2]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm13[3,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm7[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm7
+; SSE-NEXT: pshufhw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: pshufhw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: pshufhw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: pshufhw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm11[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm14[2,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm15, %xmm14
+; SSE-NEXT: pandn %xmm13, %xmm15
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,1],xmm4[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm13[0,1,2,3,7,4,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,5,6]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm13[2,0]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm13[2,0]
+; SSE-NEXT: por %xmm12, %xmm0
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd $212, (%rsp), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,0]
+; SSE-NEXT: por %xmm14, %xmm15
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm11[0,1,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,4,7]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[3,1],xmm4[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,1],xmm12[2,0]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rcx)
+; SSE-NEXT: movaps %xmm8, 112(%r8)
+; SSE-NEXT: movaps %xmm9, 96(%r8)
+; SSE-NEXT: movaps %xmm10, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%r8)
+; SSE-NEXT: movaps %xmm15, 112(%r9)
+; SSE-NEXT: movaps %xmm0, 96(%r9)
+; SSE-NEXT: movaps %xmm1, 80(%r9)
+; SSE-NEXT: movaps %xmm2, 64(%r9)
+; SSE-NEXT: movaps %xmm3, 48(%r9)
+; SSE-NEXT: movaps %xmm5, 32(%r9)
+; SSE-NEXT: movaps %xmm6, 16(%r9)
+; SSE-NEXT: movaps %xmm7, (%r9)
+; SSE-NEXT: addq $1000, %rsp # imm = 0x3E8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride5_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1032, %rsp # imm = 0x408
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm8[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm7[0,2,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm6, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 592(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 560(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 624(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm3[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm9[4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm6, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm3[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm6, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm13[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm14[4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm11 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm6, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0,1],xmm8[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1,2,3],xmm12[4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm12[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm11[0],xmm15[0],xmm11[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1],xmm10[2,3],xmm7[4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,0,1,0,1,0,1,10,11,4,5,14,15,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vandnps %ymm15, %ymm6, %ymm15
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm15, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm2[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpblendw $204, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm9[0,1],mem[2,3],xmm9[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm15[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vandnps %ymm15, %ymm6, %ymm15
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm15, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm9[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm5[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $236, (%rsp), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1],xmm3[2,3],mem[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm15[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vandnps %ymm15, %ymm6, %ymm15
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm15, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1,2,3],mem[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm13[0,1],mem[2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1],xmm13[2,3],xmm14[4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm11[0],xmm2[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $48, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm6, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3],xmm8[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,8,9,2,3,12,13,12,13,12,13,12,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm8[0,1],mem[2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm7[0,1],xmm10[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,2,3,2,3,2,3,12,13,6,7,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm12[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[2],mem[2],xmm15[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1,2],xmm11[3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm14[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3],xmm12[4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0,1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm7[0,1],mem[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm11[0,1],mem[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[2],mem[2],xmm15[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1,2],xmm11[3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vpshufd $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3],xmm9[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0,1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm5[0,1],mem[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,1],xmm3[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpshufd $212, (%rsp), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm15[2],xmm4[2],xmm15[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1,2],xmm11[3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vpshufd $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0,1],xmm4[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm9[0,1,2,3],mem[4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1],xmm13[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm13[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufd $36, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,0]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1],xmm0[2,3],mem[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,0,1,10,11,4,5,14,15,14,15,14,15,14,15]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm8[0,1,2,3],mem[4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [6,7,0,1,10,11,10,11,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm8[0,1,2,3],mem[4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm15[3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm14[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0,1],xmm10[2,3],xmm12[4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,0,1,10,11,4,5,14,15,14,15,14,15,14,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm8, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0],xmm6[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm7[0,1,2,3],xmm8[4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm7[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm10[0,1,2,3],xmm14[4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm15[3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1],xmm9[2,3],mem[4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0],xmm6[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm3[0,1,2,3],xmm4[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm4[0,1],xmm13[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm3[0,1,2,3],xmm5[4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm15[3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm13[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm11, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[0,1,2,3],mem[4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1],xmm6[2,3],mem[4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0],xmm0[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, (%rsp), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0,1,2,3],mem[4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,2,2,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,4,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,5,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0,1,2],mem[3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[0,1,2,3],mem[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,2,3,12,13,12,13,8,9,12,13,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm6[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm8[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[0,1,2],mem[3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm15[0],xmm6[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0,1,2,3],xmm7[4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm10[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm14[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm15[0],xmm11[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm11[3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm6, %ymm1
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm11[0],xmm6[0],xmm11[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = xmm11[0,1,2],mem[3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm10[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm4[0,1,2,3],mem[4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm13[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0,1,2],mem[3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm5[1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, (%rsp), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0,1,2,3],mem[4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,2,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm5[3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,1,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: addq $1032, %rsp # imm = 0x408
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride5_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1064, %rsp # imm = 0x428
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 512(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 544(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vmovdqa 576(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,10,11,4,5,14,15,8,9,10,11,4,5,6,7,16,17,26,27,20,21,30,31,24,25,26,27,20,21,22,23]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm5[0],ymm2[1],ymm5[2,3],ymm2[4],ymm5[5],ymm2[6],ymm5[7,8],ymm2[9],ymm5[10,11],ymm2[12],ymm5[13],ymm2[14],ymm5[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3],xmm2[4,5],xmm3[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm3, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0],ymm9[1,2],ymm13[3],ymm9[4],ymm13[5],ymm9[6,7],ymm13[8],ymm9[9,10],ymm13[11],ymm9[12],ymm13[13],ymm9[14,15]
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5],ymm4[6],ymm6[7,8],ymm4[9],ymm6[10,11],ymm4[12],ymm6[13],ymm4[14],ymm6[15]
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm15
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm6[1,2,3],xmm3[4,5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm3, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm5[1,2],ymm8[3],ymm5[4],ymm8[5],ymm5[6,7],ymm8[8],ymm5[9,10],ymm8[11],ymm5[12],ymm8[13],ymm5[14,15]
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0],ymm11[1],ymm12[2,3],ymm11[4],ymm12[5],ymm11[6],ymm12[7,8],ymm11[9],ymm12[10,11],ymm11[12],ymm12[13],ymm11[14],ymm12[15]
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm6[1,2,3],xmm3[4,5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm3, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm4[1,2],ymm0[3],ymm4[4],ymm0[5],ymm4[6,7],ymm0[8],ymm4[9,10],ymm0[11],ymm4[12],ymm0[13],ymm4[14,15]
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm10
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm4[1],ymm1[2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7,8],ymm4[9],ymm1[10,11],ymm4[12],ymm1[13],ymm4[14],ymm1[15]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm3[1,2,3],xmm1[4,5],xmm3[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5],mem[6],ymm0[7,8],mem[9],ymm0[10,11],mem[12],ymm0[13],mem[14],ymm0[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2],mem[3],ymm1[4,5],mem[6],ymm1[7,8],mem[9],ymm1[10],mem[11],ymm1[12,13],mem[14],ymm1[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6],xmm2[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,12,13,6,7,0,1,10,11,6,7,8,9,8,9,18,19,28,29,22,23,16,17,26,27,22,23,24,25,24,25]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm13[1],ymm9[2,3],ymm13[4],ymm9[5],ymm13[6],ymm9[7,8],ymm13[9],ymm9[10,11],ymm13[12],ymm9[13],ymm13[14],ymm9[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm15[1],ymm7[2],ymm15[3],ymm7[4,5],ymm15[6],ymm7[7,8],ymm15[9],ymm7[10],ymm15[11],ymm7[12,13],ymm15[14],ymm7[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm9
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm9[2,3],xmm1[4,5,6],xmm9[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm1, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm8[1],ymm5[2,3],ymm8[4],ymm5[5],ymm8[6],ymm5[7,8],ymm8[9],ymm5[10,11],ymm8[12],ymm5[13],ymm8[14],ymm5[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm9 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm9[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm11[0],ymm12[1],ymm11[2],ymm12[3],ymm11[4,5],ymm12[6],ymm11[7,8],ymm12[9],ymm11[10],ymm12[11],ymm11[12,13],ymm12[14],ymm11[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm11[2,3],xmm9[4,5,6],xmm11[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm9, %xmm9
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm9, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = ymm10[0],mem[1],ymm10[2,3],mem[4],ymm10[5],mem[6],ymm10[7,8],mem[9],ymm10[10,11],mem[12],ymm10[13],mem[14],ymm10[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm9[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm11[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm9, %ymm2
+; AVX2-SLOW-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = ymm4[0],mem[1],ymm4[2],mem[3],ymm4[4,5],mem[6],ymm4[7,8],mem[9],ymm4[10],mem[11],ymm4[12,13],mem[14],ymm4[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm11[2,3],xmm9[4,5,6],xmm11[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm9, %xmm6
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm6, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 304(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm0[0],xmm4[1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm2[0,1,2,3,4],ymm6[5,6,7],ymm2[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 624(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 608(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, %xmm12
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, %xmm10
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm11
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm2[0,1,2,3,4],ymm11[5,6,7],ymm2[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 464(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, %xmm9
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm13
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm2[0,1,2,3,4],ymm13[5,6,7],ymm2[8,9,10,11,12],ymm13[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 144(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1,2,3,4],ymm0[5,6,7],ymm8[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm15, %xmm13
+; AVX2-SLOW-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm15[0,1],xmm4[2],xmm15[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5,6,7],ymm4[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm12[2],xmm10[3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, %xmm12
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0,1,2,3,4],ymm0[5,6,7],ymm7[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1],xmm9[2],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7],ymm3[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm5[2],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0],ymm5[1],ymm15[2,3],ymm5[4],ymm15[5],ymm5[6],ymm15[7,8],ymm5[9],ymm15[10,11],ymm5[12],ymm15[13],ymm5[14],ymm15[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm11[0,1],ymm6[2],ymm11[3],ymm6[4],ymm11[5,6],ymm6[7],ymm11[8,9],ymm6[10],ymm11[11],ymm6[12],ymm11[13,14],ymm6[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2],xmm3[3,4],xmm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,10,11,20,21,30,31,24,25,18,19,28,29,26,27,16,17,26,27>
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm0[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm9[0],ymm10[1],ymm9[2,3],ymm10[4],ymm9[5],ymm10[6],ymm9[7,8],ymm10[9],ymm9[10,11],ymm10[12],ymm9[13],ymm10[14],ymm9[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = ymm13[0,1],mem[2],ymm13[3],mem[4],ymm13[5,6],mem[7],ymm13[8,9],mem[10],ymm13[11],mem[12],ymm13[13,14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm8[3,4],xmm7[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm2[0],xmm12[1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm14[0],mem[1],ymm14[2,3],mem[4],ymm14[5],mem[6],ymm14[7,8],mem[9],ymm14[10,11],mem[12],ymm14[13],mem[14],ymm14[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = ymm12[0,1],mem[2],ymm12[3],mem[4],ymm12[5,6],mem[7],ymm12[8,9],mem[10],ymm12[11],mem[12],ymm12[13,14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm8[3,4],xmm7[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $13, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm7 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm7 = mem[0],xmm4[1],mem[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm3[0],mem[1],ymm3[2,3],mem[4],ymm3[5],mem[6],ymm3[7,8],mem[9],ymm3[10,11],mem[12],ymm3[13],mem[14],ymm3[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = ymm8[0,1],mem[2],ymm8[3],mem[4],ymm8[5,6],mem[7],ymm8[8,9],mem[10],ymm8[11],mem[12],ymm8[13,14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm7[3,4],xmm4[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $13, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[0],xmm3[1],mem[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm15[1],ymm5[2],ymm15[3],ymm5[4,5],ymm15[6],ymm5[7,8],ymm15[9],ymm5[10],ymm15[11],ymm5[12,13],ymm15[14],ymm5[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0],ymm11[1,2],ymm6[3],ymm11[4],ymm6[5],ymm11[6,7],ymm6[8],ymm11[9,10],ymm6[11],ymm11[12],ymm6[13],ymm11[14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29>
+; AVX2-SLOW-NEXT: vpshufb %ymm11, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm6[2],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm10[0],ymm9[1],ymm10[2],ymm9[3],ymm10[4,5],ymm9[6],ymm10[7,8],ymm9[9],ymm10[10],ymm9[11],ymm10[12,13],ymm9[14],ymm10[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm9[0],ymm13[1,2],ymm9[3],ymm13[4],ymm9[5],ymm13[6,7],ymm9[8],ymm13[9,10],ymm9[11],ymm13[12],ymm9[13],ymm13[14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1],xmm15[2],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm10[0],ymm14[1],ymm10[2],ymm14[3],ymm10[4,5],ymm14[6],ymm10[7,8],ymm14[9],ymm10[10],ymm14[11],ymm10[12,13],ymm14[14],ymm10[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-SLOW-NEXT: vpblendw $41, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0],ymm12[1,2],mem[3],ymm12[4],mem[5],ymm12[6,7],mem[8],ymm12[9,10],mem[11],ymm12[12],mem[13],ymm12[14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $4, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm4 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm4 = xmm13[0,1],mem[2],xmm13[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm12[0],mem[1],ymm12[2],mem[3],ymm12[4,5],mem[6],ymm12[7,8],mem[9],ymm12[10],mem[11],ymm12[12,13],mem[14],ymm12[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm14[0],ymm8[1,2],ymm14[3],ymm8[4],ymm14[5],ymm8[6,7],ymm14[8],ymm8[9,10],ymm14[11],ymm8[12],ymm14[13],ymm8[14,15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm11[0,1],xmm7[2],xmm11[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6],ymm0[7],mem[8,9],ymm0[10],mem[11],ymm0[12],mem[13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5],mem[6],ymm1[7,8],mem[9],ymm1[10,11],mem[12],ymm1[13],mem[14],ymm1[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3,4],xmm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,4,5,14,15,24,25,18,19,28,29,22,23,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm1[0,1],mem[2],ymm1[3],mem[4],ymm1[5,6],mem[7],ymm1[8,9],mem[10],ymm1[11],mem[12],ymm1[13,14],mem[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4],ymm1[5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0],ymm9[1],mem[2,3],ymm9[4],mem[5],ymm9[6],mem[7,8],ymm9[9],mem[10,11],ymm9[12],mem[13],ymm9[14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3,4],xmm4[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm15[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm10[0,1],mem[2],ymm10[3],mem[4],ymm10[5,6],mem[7],ymm10[8,9],mem[10],ymm10[11],mem[12],ymm10[13,14],mem[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4],ymm2[5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0],ymm4[1],mem[2,3],ymm4[4],mem[5],ymm4[6],mem[7,8],ymm4[9],mem[10,11],ymm4[12],mem[13],ymm4[14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3,4],xmm5[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2],ymm2[3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm13[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = mem[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = ymm12[0,1],mem[2],ymm12[3],mem[4],ymm12[5,6],mem[7],ymm12[8,9],mem[10],ymm12[11],mem[12],ymm12[13,14],mem[15]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0],ymm14[1],mem[2,3],ymm14[4],mem[5],ymm14[6],mem[7,8],ymm14[9],mem[10,11],ymm14[12],mem[13],ymm14[14],mem[15]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3,4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm11[3,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, (%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, 64(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, 96(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 32(%r9)
+; AVX2-SLOW-NEXT: addq $1064, %rsp # imm = 0x428
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride5_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1000, %rsp # imm = 0x3E8
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 544(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovdqa 576(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 512(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm10
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm13
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm13[1],ymm0[2,3],ymm13[4],ymm0[5],ymm13[6],ymm0[7,8],ymm13[9],ymm0[10,11],ymm13[12],ymm0[13],ymm13[14],ymm0[15]
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1,2,3],xmm0[4,5],xmm1[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0],ymm14[1,2],ymm12[3],ymm14[4],ymm12[5],ymm14[6,7],ymm12[8],ymm14[9,10],ymm12[11],ymm14[12],ymm12[13],ymm14[14,15]
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,0,2,4,6,1,3]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm11
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,6,7,8,9,14,15,4,5,14,15,4,5,2,3,16,17,22,23,24,25,30,31,20,21,30,31,20,21,18,19]
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm0, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm10[0],ymm9[1],ymm10[2,3],ymm9[4],ymm10[5],ymm9[6],ymm10[7,8],ymm9[9],ymm10[10,11],ymm9[12],ymm10[13],ymm9[14],ymm10[15]
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1,2,3],xmm0[4,5],xmm3[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm7[0],ymm5[1,2],ymm7[3],ymm5[4],ymm7[5],ymm5[6,7],ymm7[8],ymm5[9,10],ymm7[11],ymm5[12],ymm7[13],ymm5[14,15]
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm7, %ymm15
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm11, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm11, %ymm7
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm0, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0],ymm3[1],ymm6[2,3],ymm3[4],ymm6[5],ymm3[6],ymm6[7,8],ymm3[9],ymm6[10,11],ymm3[12],ymm6[13],ymm3[14],ymm6[15]
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1,2,3],xmm0[4,5],xmm3[6,7]
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm6[0],ymm3[1,2],ymm6[3],ymm3[4],ymm6[5],ymm3[6,7],ymm6[8],ymm3[9,10],ymm6[11],ymm3[12],ymm6[13],ymm3[14,15]
+; AVX2-FAST-NEXT: vmovdqa %ymm7, %ymm6
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm7, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm0, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm4[1],ymm0[2,3],ymm4[4],ymm0[5],ymm4[6],ymm0[7,8],ymm4[9],ymm0[10,11],ymm4[12],ymm0[13],ymm4[14],ymm0[15]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1,2,3],xmm0[4,5],xmm3[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2],ymm3[3],ymm1[4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10],ymm3[11],ymm1[12],ymm3[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm6, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm0, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = ymm13[0],mem[1],ymm13[2],mem[3],ymm13[4,5],mem[6],ymm13[7,8],mem[9],ymm13[10],mem[11],ymm13[12,13],mem[14],ymm13[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6],xmm1[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm14[0],ymm12[1],ymm14[2,3],ymm12[4],ymm14[5],ymm12[6],ymm14[7,8],ymm12[9],ymm14[10,11],ymm12[12],ymm14[13],ymm12[14],ymm14[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <2,u,u,u,4,7,1,6>
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [2,3,4,5,10,11,0,1,14,15,2,3,12,13,0,1,18,19,20,21,26,27,16,17,30,31,18,19,28,29,16,17]
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm1, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm9[0],ymm10[1],ymm9[2],ymm10[3],ymm9[4,5],ymm10[6],ymm9[7,8],ymm10[9],ymm9[10],ymm10[11],ymm9[12,13],ymm10[14],ymm9[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm10[2,3],xmm1[4,5,6],xmm10[7]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm5[0],ymm15[1],ymm5[2,3],ymm15[4],ymm5[5],ymm15[6],ymm5[7,8],ymm15[9],ymm5[10,11],ymm15[12],ymm5[13],ymm15[14],ymm5[15]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm12, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm1, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm8[0],ymm11[1],ymm8[2],ymm11[3],ymm8[4,5],ymm11[6],ymm8[7,8],ymm11[9],ymm8[10],ymm11[11],ymm8[12,13],ymm11[14],ymm8[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3],xmm10[4,5,6],xmm11[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm14[0],ymm15[1],ymm14[2,3],ymm15[4],ymm14[5],ymm15[6],ymm14[7,8],ymm15[9],ymm14[10,11],ymm15[12],ymm14[13],ymm15[14],ymm14[15]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm12, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = ymm4[0],mem[1],ymm4[2],mem[3],ymm4[4,5],mem[6],ymm4[7,8],mem[9],ymm4[10],mem[11],ymm4[12,13],mem[14],ymm4[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm11[0,1],xmm8[2,3],xmm11[4,5,6],xmm8[7]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm8, %xmm4
+; AVX2-FAST-NEXT: vpblendw $173, (%rsp), %ymm3, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[0],ymm3[1],mem[2,3],ymm3[4],mem[5],ymm3[6],mem[7,8],ymm3[9],mem[10,11],ymm3[12],mem[13],ymm3[14],mem[15]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm12, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm4, %ymm0, %ymm11
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,3,1,3,0,3,5,7]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm8[0,1,2,3,4],ymm3[5,6,7],ymm8[8,9,10,11,12],ymm3[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 608(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm4, %ymm8
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0,1,2,3,4],ymm8[5,6,7],ymm3[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm4, %ymm8
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0,1,2,3,4],ymm8[5,6,7],ymm3[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5,6,7],ymm6[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [1,3,2,3,1,3,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm6, %ymm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm2[0,1,2,3,4],ymm7[5,6,7],ymm2[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm6, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm6, %ymm1
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm10[0,1,2,3,4],ymm1[5,6,7],ymm10[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm6, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm11[0,1,2,3,4],ymm1[5,6,7],ymm11[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm5[0,1],ymm12[2],ymm5[3],ymm12[4],ymm5[5,6],ymm12[7],ymm5[8,9],ymm12[10],ymm5[11],ymm12[12],ymm5[13,14],ymm12[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4],xmm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = mem[0],ymm2[1],mem[2,3],ymm2[4],mem[5],ymm2[6],mem[7,8],ymm2[9],mem[10,11],ymm2[12],mem[13],ymm2[14],mem[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <0,2,u,u,5,7,2,4>
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [1,4,6,0,1,4,6,0]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm10[0,1,2,3,4],ymm11[5,6,7],ymm10[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6],ymm0[7],mem[8,9],ymm0[10],mem[11],ymm0[12],mem[13,14],ymm0[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm11[3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = mem[0],ymm3[1],mem[2,3],ymm3[4],mem[5],ymm3[6],mem[7,8],ymm3[9],mem[10,11],ymm3[12],mem[13],ymm3[14],mem[15]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm2, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2],ymm11[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm1, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm10[0,1,2,3,4],ymm11[5,6,7],ymm10[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm8[0,1],mem[2],ymm8[3],mem[4],ymm8[5,6],mem[7],ymm8[8,9],mem[10],ymm8[11],mem[12],ymm8[13,14],mem[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm11[3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm15[0],ymm14[1],ymm15[2,3],ymm14[4],ymm15[5],ymm14[6],ymm15[7,8],ymm14[9],ymm15[10,11],ymm14[12],ymm15[13],ymm14[14],ymm15[15]
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm2, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2],ymm11[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm10[0,1,2,3,4],ymm11[5,6,7],ymm10[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm4[0,1],mem[2],ymm4[3],mem[4],ymm4[5,6],mem[7],ymm4[8,9],mem[10],ymm4[11],mem[12],ymm4[13,14],mem[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm11[3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm10, %xmm7
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5],ymm0[6],mem[7,8],ymm0[9],mem[10,11],ymm0[12],mem[13],ymm0[14],mem[15]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7],ymm2[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0],ymm5[1,2],ymm12[3],ymm5[4],ymm12[5],ymm5[6,7],ymm12[8],ymm5[9,10],ymm12[11],ymm5[12],ymm12[13],ymm5[14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm0[1],xmm1[2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm12[0],ymm11[1],ymm12[2],ymm11[3],ymm12[4,5],ymm11[6],ymm12[7,8],ymm11[9],ymm12[10],ymm11[11],ymm12[12,13],ymm11[14],ymm12[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <0,3,u,u,5,0,2,7>
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm6
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1,2],ymm6[3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [2,4,7,0,2,4,7,0]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm6[0,1,2,3,4],ymm10[5,6,7],ymm6[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0],ymm14[1,2],ymm9[3],ymm14[4],ymm9[5],ymm14[6,7],ymm9[8],ymm14[9,10],ymm9[11],ymm14[12],ymm9[13],ymm14[14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0],xmm6[1],xmm10[2],xmm6[3]
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm3[0],ymm15[1],ymm3[2],ymm15[3],ymm3[4,5],ymm15[6],ymm3[7,8],ymm15[9],ymm3[10],ymm15[11],ymm3[12,13],ymm15[14],ymm3[15]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm2, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm13, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm1, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm6[0,1,2,3,4],ymm10[5,6,7],ymm6[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendw $41, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = mem[0],ymm8[1,2],mem[3],ymm8[4],mem[5],ymm8[6,7],mem[8],ymm8[9,10],mem[11],ymm8[12],mem[13],ymm8[14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0],xmm6[1],xmm10[2],xmm6[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $181, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = mem[0],ymm8[1],mem[2],ymm8[3],mem[4,5],ymm8[6],mem[7,8],ymm8[9],mem[10],ymm8[11],mem[12,13],ymm8[14],mem[15]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm2, %ymm10
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm6[0,1,2,3,4],ymm10[5,6,7],ymm6[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0],ymm4[1,2],ymm5[3],ymm4[4],ymm5[5],ymm4[6,7],ymm5[8],ymm4[9,10],ymm5[11],ymm4[12],ymm5[13],ymm4[14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0],xmm6[1],xmm10[2],xmm6[3]
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm4[0],ymm10[1],ymm4[2],ymm10[3],ymm4[4,5],ymm10[6],ymm4[7,8],ymm10[9],ymm4[10],ymm10[11],ymm4[12,13],ymm10[14],ymm4[15]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5],ymm0[6],mem[7,8],ymm0[9],mem[10,11],ymm0[12],mem[13],ymm0[14],mem[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm12[0,1],ymm11[2],ymm12[3],ymm11[4],ymm12[5,6],ymm11[7],ymm12[8,9],ymm11[10],ymm12[11],ymm11[12],ymm12[13,14],ymm11[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <1,3,u,u,6,0,3,5>
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm7, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,6,7,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,2,1,3,0,2,5,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm14[0],ymm9[1],ymm14[2,3],ymm9[4],ymm14[5],ymm9[6],ymm14[7,8],ymm9[9],ymm14[10,11],ymm9[12],ymm14[13],ymm9[14],ymm14[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm11[0,1,2],xmm2[3,4],xmm11[5,6,7]
+; AVX2-FAST-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = mem[0,1],ymm15[2],mem[3],ymm15[4],mem[5,6],ymm15[7],mem[8,9],ymm15[10],mem[11],ymm15[12],mem[13,14],ymm15[15]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm7, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm11[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm6, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0],ymm5[1],mem[2,3],ymm5[4],mem[5],ymm5[6],mem[7,8],ymm5[9],mem[10,11],ymm5[12],mem[13],ymm5[14],mem[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm11[0,1,2],xmm3[3,4],xmm11[5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm4[0,1],ymm10[2],ymm4[3],ymm10[4],ymm4[5,6],ymm10[7],ymm4[8,9],ymm10[10],ymm4[11],ymm10[12],ymm4[13,14],ymm10[15]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm7, %ymm11
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm11[3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm6, %ymm8
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[0,1],ymm4[2],mem[3],ymm4[4],mem[5,6],ymm4[7],mem[8,9],ymm4[10],mem[11],ymm4[12],mem[13,14],ymm4[15]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = ymm4[0],mem[1],ymm4[2,3],mem[4],ymm4[5],mem[6],ymm4[7,8],mem[9],ymm4[10,11],mem[12],ymm4[13],mem[14],ymm4[15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2],xmm8[3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2],ymm7[3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm6, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 64(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 96(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 64(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, 96(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%r9)
+; AVX2-FAST-NEXT: addq $1000, %rsp # imm = 0x3E8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride5_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1080, %rsp # imm = 0x438
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 512(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 544(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 576(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10],ymm0[11],ymm1[12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,10,11,4,5,14,15,8,9,10,11,4,5,6,7,16,17,26,27,20,21,30,31,24,25,26,27,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm5[0],ymm2[1],ymm5[2,3],ymm2[4],ymm5[5],ymm2[6],ymm5[7,8],ymm2[9],ymm5[10,11],ymm2[12],ymm5[13],ymm2[14],ymm5[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3],xmm2[4,5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,10,11,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm3, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0],ymm14[1,2],ymm7[3],ymm14[4],ymm7[5],ymm14[6,7],ymm7[8],ymm14[9,10],ymm7[11],ymm14[12],ymm7[13],ymm14[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm6[0],ymm8[1],ymm6[2,3],ymm8[4],ymm6[5],ymm8[6],ymm6[7,8],ymm8[9],ymm6[10,11],ymm8[12],ymm6[13],ymm8[14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm6[1,2,3],xmm3[4,5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm3, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0],ymm4[1,2],ymm12[3],ymm4[4],ymm12[5],ymm4[6,7],ymm12[8],ymm4[9,10],ymm12[11],ymm4[12],ymm12[13],ymm4[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5],ymm10[6],ymm11[7,8],ymm10[9],ymm11[10,11],ymm10[12],ymm11[13],ymm10[14],ymm11[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm6[1,2,3],xmm3[4,5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm3, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm9[1,2],ymm5[3],ymm9[4],ymm5[5],ymm9[6,7],ymm5[8],ymm9[9,10],ymm5[11],ymm9[12],ymm5[13],ymm9[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm4[1],ymm7[2,3],ymm4[4],ymm7[5],ymm4[6],ymm7[7,8],ymm4[9],ymm7[10,11],ymm4[12],ymm7[13],ymm4[14],ymm7[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm3[1,2,3],xmm1[4,5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5],mem[6],ymm0[7,8],mem[9],ymm0[10,11],mem[12],ymm0[13],mem[14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2],mem[3],ymm1[4,5],mem[6],ymm1[7,8],mem[9],ymm1[10],mem[11],ymm1[12,13],mem[14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,12,13,6,7,0,1,10,11,6,7,8,9,8,9,18,19,28,29,22,23,16,17,26,27,22,23,24,25,24,25]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,12,13,6,7,0,1,10,11,4,5,14,15,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm14[0],ymm13[1],ymm14[2,3],ymm13[4],ymm14[5],ymm13[6],ymm14[7,8],ymm13[9],ymm14[10,11],ymm13[12],ymm14[13],ymm13[14],ymm14[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $74, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm8[0],mem[1],ymm8[2],mem[3],ymm8[4,5],mem[6],ymm8[7,8],mem[9],ymm8[10],mem[11],ymm8[12,13],mem[14],ymm8[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm8[2,3],xmm1[4,5,6],xmm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0],ymm12[1],mem[2,3],ymm12[4],mem[5],ymm12[6],mem[7,8],ymm12[9],mem[10,11],ymm12[12],mem[13],ymm12[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm8 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm8[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm11[1],ymm10[2],ymm11[3],ymm10[4,5],ymm11[6],ymm10[7,8],ymm11[9],ymm10[10],ymm11[11],ymm10[12,13],ymm11[14],ymm10[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm12[2,3],xmm8[4,5,6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm8, %ymm0, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm5[1],ymm9[2,3],ymm5[4],ymm9[5],ymm5[6],ymm9[7,8],ymm5[9],ymm9[10,11],ymm5[12],ymm9[13],ymm5[14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm12 = ymm8[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm12[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm8, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm4[0],ymm7[1],ymm4[2],ymm7[3],ymm4[4,5],ymm7[6],ymm4[7,8],ymm7[9],ymm4[10],ymm7[11],ymm4[12,13],ymm7[14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm12[2,3],xmm8[4,5,6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm6, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0],xmm1[1],xmm10[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm2[0,1,2,3,4],ymm6[5,6,7],ymm2[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 624(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 608(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm12 = xmm7[0],xmm13[1],xmm7[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm12, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm2[0,1,2,3,4],ymm12[5,6,7],ymm2[8,9,10,11,12],ymm12[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 464(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm14 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm14 = ymm2[0,1,2,3,4],ymm14[5,6,7],ymm2[8,9,10,11,12],ymm14[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 144(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5,6,7],ymm4[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm1[2],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm7[0,1],xmm13[2],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1],xmm8[2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0,1,2,3,4],ymm0[5,6,7],ymm15[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm5[2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7],ymm3[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm2[1],ymm5[2,3],ymm2[4],ymm5[5],ymm2[6],ymm5[7,8],ymm2[9],ymm5[10,11],ymm2[12],ymm5[13],ymm2[14],ymm5[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0,1],ymm11[2],ymm6[3],ymm11[4],ymm6[5,6],ymm11[7],ymm6[8,9],ymm11[10],ymm6[11],ymm11[12],ymm6[13,14],ymm11[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2],xmm3[3,4],xmm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,10,11,20,21,30,31,24,25,18,19,28,29,26,27,16,17,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm0[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm7 = xmm4[0],xmm10[1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm8[0],mem[1],ymm8[2,3],mem[4],ymm8[5],mem[6],ymm8[7,8],mem[9],ymm8[10,11],mem[12],ymm8[13],mem[14],ymm8[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = ymm10[0,1],mem[2],ymm10[3],mem[4],ymm10[5,6],mem[7],ymm10[8,9],mem[10],ymm10[11],mem[12],ymm10[13,14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm9[3,4],xmm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm7 = xmm14[0],xmm12[1],xmm14[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm15[0],mem[1],ymm15[2,3],mem[4],ymm15[5],mem[6],ymm15[7,8],mem[9],ymm15[10,11],mem[12],ymm15[13],mem[14],ymm15[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm12[0,1],ymm13[2],ymm12[3],ymm13[4],ymm12[5,6],ymm13[7],ymm12[8,9],ymm13[10],ymm12[11],ymm13[12],ymm12[13,14],ymm13[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm9[3,4],xmm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $13, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm7 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm7 = mem[0],xmm4[1],mem[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0,1,2,3,4],ymm7[5,6,7],ymm3[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm9[0],ymm14[1],ymm9[2,3],ymm14[4],ymm9[5],ymm14[6],ymm9[7,8],ymm14[9],ymm9[10,11],ymm14[12],ymm9[13],ymm14[14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = ymm1[0,1],mem[2],ymm1[3],mem[4],ymm1[5,6],mem[7],ymm1[8,9],mem[10],ymm1[11],mem[12],ymm1[13,14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm7[3,4],xmm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[4,5,14,15,8,9,2,3,12,13,6,7,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm5[1],ymm2[2],ymm5[3],ymm2[4,5],ymm5[6],ymm2[7,8],ymm5[9],ymm2[10],ymm5[11],ymm2[12,13],ymm5[14],ymm2[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm11[0],ymm6[1,2],ymm11[3],ymm6[4],ymm11[5],ymm6[6,7],ymm11[8],ymm6[9,10],ymm11[11],ymm6[12],ymm11[13],ymm6[14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <6,7,0,1,10,11,4,5,14,15,8,9,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm6[2],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw $181, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0],ymm8[1],mem[2],ymm8[3],mem[4,5],ymm8[6],mem[7,8],ymm8[9],mem[10],ymm8[11],mem[12,13],ymm8[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $41, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0],ymm10[1,2],mem[3],ymm10[4],mem[5],ymm10[6,7],mem[8],ymm10[9,10],mem[11],ymm10[12],mem[13],ymm10[14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $4, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = xmm4[0,1],mem[2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0],ymm15[1],ymm8[2],ymm15[3],ymm8[4,5],ymm15[6],ymm8[7,8],ymm15[9],ymm8[10],ymm15[11],ymm8[12,13],ymm15[14],ymm8[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm13[0],ymm12[1,2],ymm13[3],ymm12[4],ymm13[5],ymm12[6,7],ymm13[8],ymm12[9,10],ymm13[11],ymm12[12],ymm13[13],ymm12[14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm13[0,1],xmm12[2],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm14[0],ymm9[1],ymm14[2],ymm9[3],ymm14[4,5],ymm9[6],ymm14[7,8],ymm9[9],ymm14[10],ymm9[11],ymm14[12,13],ymm9[14],ymm14[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $214, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = ymm14[0],mem[1,2],ymm14[3],mem[4],ymm14[5],mem[6,7],ymm14[8],mem[9,10],ymm14[11],mem[12],ymm14[13],mem[14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0,1],xmm7[2],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6],ymm0[7],mem[8,9],ymm0[10],mem[11],ymm0[12],mem[13,14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0],ymm11[1],mem[2,3],ymm11[4],mem[5],ymm11[6],mem[7,8],ymm11[9],mem[10,11],ymm11[12],mem[13],ymm11[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3,4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,4,5,14,15,24,25,18,19,28,29,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = [12,13,14,15,4,5,14,15,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm5, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,0,1,10,11,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3],ymm1[4],mem[5,6],ymm1[7],mem[8,9],ymm1[10],mem[11],ymm1[12],mem[13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4],ymm1[5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0],ymm4[1],mem[2,3],ymm4[4],mem[5],ymm4[6],mem[7,8],ymm4[9],mem[10,11],ymm4[12],mem[13],ymm4[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3,4],xmm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm8[0,1],ymm15[2],ymm8[3],ymm15[4],ymm8[5,6],ymm15[7],ymm8[8,9],ymm15[10],ymm8[11],ymm15[12],ymm8[13,14],ymm15[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0],ymm5[1],mem[2,3],ymm5[4],mem[5],ymm5[6],mem[7,8],ymm5[9],mem[10,11],ymm5[12],mem[13],ymm5[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2],ymm4[3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm10, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $148, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm5[0,1],mem[2],ymm5[3],mem[4],ymm5[5,6],mem[7],ymm5[8,9],mem[10],ymm5[11],mem[12],ymm5[13,14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4],ymm5[5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm5, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw $173, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0],ymm14[1],mem[2,3],ymm14[4],mem[5],ymm14[6],mem[7,8],ymm14[9],mem[10,11],ymm14[12],mem[13],ymm14[14],mem[15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, 64(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, 96(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: addq $1080, %rsp # imm = 0x438
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride5_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: subq $488, %rsp # imm = 0x1E8
+; AVX512F-SLOW-NEXT: vmovdqa 384(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm2[1,2],ymm1[3],ymm2[4],ymm1[5],ymm2[6,7],ymm1[8],ymm2[9,10],ymm1[11],ymm2[12],ymm1[13],ymm2[14,15]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, %ymm6
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,6,7,16,17,26,27,20,21,30,31,24,25,128,128,128,128,128,128]
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm1, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 352(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5],ymm3[6],ymm4[7,8],ymm3[9],ymm4[10,11],ymm3[12],ymm4[13],ymm3[14],ymm4[15]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX512F-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0],xmm3[1,2,3],xmm1[4,5],xmm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <0,1,10,11,4,5,14,15,8,9,2,3,12,13,128,128,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX512F-SLOW-NEXT: vporq %ymm2, %ymm3, %ymm23
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa64 224(%rdi), %ymm20
+; AVX512F-SLOW-NEXT: vmovdqa64 176(%rdi), %xmm19
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm8
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm9
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm10[1,2],ymm3[3],ymm10[4],ymm3[5],ymm10[6,7],ymm3[8],ymm10[9,10],ymm3[11],ymm10[12],ymm3[13],ymm10[14,15]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm10, %ymm11
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, %ymm10
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm8[0],ymm9[1],ymm8[2,3],ymm9[4],ymm8[5],ymm9[6],ymm8[7,8],ymm9[9],ymm8[10,11],ymm9[12],ymm8[13],ymm9[14],ymm8[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1,2,3],xmm2[4,5],xmm3[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm1, %ymm2, %ymm1
+; AVX512F-SLOW-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5],ymm5[6],ymm6[7,8],ymm5[9],ymm6[10,11],ymm5[12],ymm6[13],ymm5[14],ymm6[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,8,9,18,19,28,29,22,23,16,17,26,27,128,128,128,128,128,128]
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm1, %ymm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0],ymm7[1],ymm4[2],ymm7[3],ymm4[4,5],ymm7[6],ymm4[7,8],ymm7[9],ymm4[10],ymm7[11],ymm4[12,13],ymm7[14],ymm4[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1],xmm3[2,3],xmm1[4,5,6],xmm3[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <2,3,12,13,6,7,0,1,10,11,4,5,14,15,128,128,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX512F-SLOW-NEXT: vpor %ymm2, %ymm3, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5],ymm10[6],ymm11[7,8],ymm10[9],ymm11[10,11],ymm10[12],ymm11[13],ymm10[14],ymm11[15]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm9[0],ymm8[1],ymm9[2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7,8],ymm8[9],ymm9[10],ymm8[11],ymm9[12,13],ymm8[14],ymm9[15]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm8, (%rsp) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6],xmm3[7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm1, %ymm2, %ymm1
+; AVX512F-SLOW-NEXT: vporq %ymm0, %ymm1, %ymm29
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm20, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm12[2],ymm0[3],ymm12[4],ymm0[5,6],ymm12[7],ymm0[8,9],ymm12[10],ymm0[11],ymm12[12],ymm0[13,14],ymm12[15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm12, %ymm22
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[6,7,6,7,8,9,4,5,14,15,8,9,2,3,12,13,22,23,22,23,24,25,20,21,30,31,24,25,18,19,28,29]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm14[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm14, %xmm21
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm7[2],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm11[0],ymm10[1],ymm11[2],ymm10[3],ymm11[4,5],ymm10[6],ymm11[7,8],ymm10[9],ymm11[10],ymm10[11],ymm11[12,13],ymm10[14],ymm11[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4],ymm1[5],ymm2[6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm8[0],ymm9[1,2],ymm8[3],ymm9[4],ymm8[5],ymm9[6,7],ymm8[8],ymm9[9,10],ymm8[11],ymm9[12],ymm8[13],ymm9[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[6,7,0,1,10,11,4,5,14,15,14,15,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[6,7,0,1,10,11,4,5,14,15,8,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 256(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 288(%rdi), %ymm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm12[1],ymm3[2,3],ymm12[4],ymm3[5],ymm12[6],ymm3[7,8],ymm12[9],ymm3[10,11],ymm12[12],ymm3[13],ymm12[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, %ymm15
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1,2,3],xmm2[4,5],xmm3[6,7]
+; AVX512F-SLOW-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm2[0,1,0,1,10,11,4,5,14,15,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm1, %ymm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 464(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm11[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 448(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm8[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, %xmm10
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,2,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm7[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0],xmm11[1],xmm8[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [6,7,2,3,4,5,6,7,6,7,2,3,12,13,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vinserti32x4 $1, %xmm0, %ymm0, %ymm24
+; AVX512F-SLOW-NEXT: vmovdqa 576(%rdi), %ymm13
+; AVX512F-SLOW-NEXT: vmovdqa 608(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm13[2],ymm1[3],ymm13[4],ymm1[5,6],ymm13[7],ymm1[8,9],ymm13[10],ymm1[11],ymm13[12],ymm1[13,14],ymm13[15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm17
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2],xmm1[3,4],xmm0[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 544(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm5[0],ymm2[1],ymm5[2,3],ymm2[4],ymm5[5],ymm2[6],ymm5[7,8],ymm2[9],ymm5[10,11],ymm2[12],ymm5[13],ymm2[14],ymm5[15]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, %ymm6
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0],ymm1[1,2],ymm2[3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 496(%rdi), %xmm16
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm16[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm1[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 480(%rdi), %xmm18
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm18[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,8,9,2,3,12,13,6,7,16,17,26,27,26,27,30,31,24,25,18,19,28,29,22,23>
+; AVX512F-SLOW-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm2[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [12,13,14,15,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm25 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm23, %zmm25, %zmm24
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm24, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %ymm15, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa %ymm12, %ymm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0,1],ymm15[2],ymm12[3],ymm15[4],ymm12[5,6],ymm15[7],ymm12[8,9],ymm15[10],ymm12[11],ymm15[12],ymm12[13,14],ymm15[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm15[3,4],xmm0[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm22, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm20, %ymm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm12[1],ymm3[2,3],ymm12[4],ymm3[5],ymm12[6],ymm3[7,8],ymm12[9],ymm3[10,11],ymm12[12],ymm3[13],ymm12[14],ymm3[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0],ymm2[1,2],ymm15[3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm19[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[2,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm24
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm21[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1],ymm2[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm7[0],xmm10[1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm20
+; AVX512F-SLOW-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm2 # 64-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, %xmm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0,1],xmm11[2],xmm8[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,8,9,4,5,14,15,8,9]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa %ymm5, %ymm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5],ymm5[6],ymm6[7,8],ymm5[9],ymm6[10,11],ymm5[12],ymm6[13],ymm5[14],ymm6[15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm6, %ymm23
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0],ymm14[1],ymm11[2],ymm14[3],ymm11[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm18[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm16, %xmm15
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = [2,3,12,13,0,1,0,1,10,11,4,5,14,15,8,9,18,19,28,29,16,17,16,17,26,27,20,21,30,31,24,25]
+; AVX512F-SLOW-NEXT: vpshufb %ymm15, %ymm11, %ymm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm11[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm17, %ymm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm13[0],ymm6[1,2],ymm13[3],ymm6[4],ymm13[5],ymm6[6,7],ymm13[8],ymm6[9,10],ymm13[11],ymm6[12],ymm13[13],ymm6[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0],xmm14[1],xmm13[2],xmm14[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = [0,1,2,3,6,7,0,1,10,11,4,5,14,15,8,9]
+; AVX512F-SLOW-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm13[5,6,7]
+; AVX512F-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm0 # 64-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0],ymm3[1],ymm12[2,3],ymm3[4],ymm12[5],ymm3[6],ymm12[7,8],ymm3[9],ymm12[10,11],ymm3[12],ymm12[13],ymm3[14],ymm12[15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm3, %ymm22
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm12, %ymm26
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm11[1],ymm0[2],ymm11[3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm21[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[1,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm3
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm19, %xmm13
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm13[0],xmm11[1],xmm13[1]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm1[0],ymm4[1,2],ymm1[3],ymm4[4],ymm1[5],ymm4[6,7],ymm1[8],ymm4[9,10],ymm1[11],ymm4[12],ymm1[13],ymm4[14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm28
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm13[0],xmm11[1],xmm13[2],xmm11[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm14, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm11[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0,1],xmm10[2],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm10, %xmm19
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm29, %zmm25, %zmm2
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm4[1],ymm1[2,3],ymm4[4],ymm1[5],ymm4[6],ymm1[7,8],ymm4[9],ymm1[10,11],ymm4[12],ymm1[13],ymm4[14],ymm1[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm0[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm10[0,1],ymm14[2],ymm10[3],ymm14[4],ymm10[5,6],ymm14[7],ymm10[8,9],ymm14[10],ymm10[11],ymm14[12],ymm10[13,14],ymm14[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm11[3,4],xmm2[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = [4,5,14,15,8,9,2,3,12,13,10,11,0,1,10,11,20,21,30,31,24,25,18,19,28,29,26,27,16,17,26,27]
+; AVX512F-SLOW-NEXT: vpshufb %ymm11, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,5,14,15,8,9,2,3,12,13,6,7,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm7[0],xmm8[1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm21
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,6,7,4,5,6,7,8,9,6,7,0,1,10,11]
+; AVX512F-SLOW-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm31
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm25, %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm23, %ymm8
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm8[1],ymm9[2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7,8],ymm8[9],ymm9[10],ymm8[11],ymm9[12,13],ymm8[14],ymm9[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm15[1],ymm0[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = [4,5,14,15,12,13,2,3,12,13,6,7,0,1,10,11,20,21,30,31,28,29,18,19,28,29,22,23,16,17,26,27]
+; AVX512F-SLOW-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm18[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm12 = xmm12[2],xmm16[2],xmm12[3],xmm16[3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2],xmm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5],ymm5[6],ymm6[7,8],ymm5[9],ymm6[10,11],ymm5[12],ymm6[13],ymm5[14],ymm6[15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm5, %ymm29
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2],xmm12[3,4],xmm13[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = [0,1,2,3,8,9,2,3,12,13,6,7,0,1,10,11]
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm12[5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm30
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1],ymm0[2],ymm2[3],ymm0[4,5],ymm2[6],ymm0[7,8],ymm2[9],ymm0[10],ymm2[11],ymm0[12,13],ymm2[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm2[1],ymm0[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm24[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm23
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm0[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5],mem[6],ymm2[7,8],mem[9],ymm2[10,11],mem[12],ymm2[13],mem[14],ymm2[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm12[6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm11, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw $148, (%rsp), %ymm3, %ymm11 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm11 = ymm3[0,1],mem[2],ymm3[3],mem[4],ymm3[5,6],mem[7],ymm3[8,9],mem[10],ymm3[11],mem[12],ymm3[13,14],mem[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm12[3,4],xmm11[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[4,5,14,15,8,9,2,3,12,13,6,7,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2],ymm2[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm25, %zmm11
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm27, %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm28, %ymm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5],ymm3[6],ymm2[7,8],ymm3[9],ymm2[10,11],ymm3[12],ymm2[13],ymm3[14],ymm2[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm11, %zmm25
+; AVX512F-SLOW-NEXT: vmovdqa %ymm4, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, %ymm13
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm1[1],ymm4[2],ymm1[3],ymm4[4,5],ymm1[6],ymm4[7,8],ymm1[9],ymm4[10],ymm1[11],ymm4[12,13],ymm1[14],ymm4[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4],ymm2[5],ymm3[6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[6,7,0,1,10,11,4,5,14,15,14,15,2,3,12,13,22,23,16,17,26,27,20,21,30,31,30,31,18,19,28,29]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm14[0],ymm10[1,2],ymm14[3],ymm10[4],ymm14[5],ymm10[6,7],ymm14[8],ymm10[9,10],ymm14[11],ymm10[12],ymm14[13],ymm10[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm11[0],xmm3[1],xmm11[2],xmm3[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[6,7,0,1,10,11,4,5,14,15,8,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm9, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, %ymm5
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm9[0,1],ymm8[2],ymm9[3],ymm8[4],ymm9[5,6],ymm8[7],ymm9[8,9],ymm8[10],ymm9[11],ymm8[12],ymm9[13,14],ymm8[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm11[2],ymm3[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[6,7,6,7,8,9,4,5,14,15,8,9,2,3,12,13,22,23,22,23,24,25,20,21,30,31,24,25,18,19,28,29]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0],xmm8[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm3[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm7[0,1],xmm0[2],xmm7[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,6,7,8,9,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm9, %zmm3
+; AVX512F-SLOW-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm2, %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm17, %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm29, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm7[1],ymm0[2,3],ymm7[4],ymm0[5],ymm7[6],ymm0[7,8],ymm7[9],ymm0[10,11],ymm7[12],ymm0[13],ymm7[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm9[1,2,3],xmm2[4,5],xmm9[6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,0,1,10,11,4,5,14,15,8,9,2,3,12,13]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm3, %ymm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm9[0],ymm2[1,2,3,4,5,6,7],ymm9[8],ymm2[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0,1],ymm13[2],ymm12[3],ymm13[4],ymm12[5,6],ymm13[7],ymm12[8,9],ymm13[10],ymm12[11],ymm13[12],ymm12[13,14],ymm13[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm9 = ymm3[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4],ymm3[5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm10[0],ymm14[1],ymm10[2,3],ymm14[4],ymm10[5],ymm14[6],ymm10[7,8],ymm14[9],ymm10[10,11],ymm14[12],ymm10[13],ymm14[14],ymm10[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2],xmm9[3,4],xmm10[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = [8,9,2,3,12,13,6,7,4,5,6,7,4,5,14,15,24,25,18,19,28,29,22,23,20,21,22,23,20,21,30,31]
+; AVX512F-SLOW-NEXT: vpshufb %ymm10, %ymm3, %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm11, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2],ymm3[3,4,5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm4[1,2],ymm5[3],ymm4[4],ymm5[5],ymm4[6,7],ymm5[8],ymm4[9,10],ymm5[11],ymm4[12],ymm5[13],ymm4[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0],ymm5[1],ymm6[2],ymm5[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm8[2],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = [8,9,14,15,4,5,6,7,0,1,10,11,4,5,14,15,24,25,30,31,20,21,22,23,16,17,26,27,20,21,30,31]
+; AVX512F-SLOW-NEXT: vpshufb %ymm4, %ymm5, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm5[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm5, %zmm1
+; AVX512F-SLOW-NEXT: movb $7, %al
+; AVX512F-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm3, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm7[0],ymm0[1],ymm7[2],ymm0[3],ymm7[4,5],ymm0[6],ymm7[7,8],ymm0[9],ymm7[10],ymm0[11],ymm7[12,13],ymm0[14],ymm7[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm5[2,3],xmm3[4,5,6],xmm5[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = [6,7,2,3,12,13,6,7,0,1,10,11,4,5,14,15]
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm1, %ymm7
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm7[0],ymm3[1,2,3,4,5,6,7],ymm7[8],ymm3[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm26, %ymm3
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm0[1,2],ymm3[3],ymm0[4],ymm3[5],ymm0[6,7],ymm3[8],ymm0[9,10],ymm3[11],ymm0[12],ymm3[13],ymm0[14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0],ymm3[1],ymm7[2],ymm3[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm0[2],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm3[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm4, %zmm3
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw $107, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm4 = mem[0,1],ymm0[2],mem[3],ymm0[4],mem[5,6],ymm0[7],mem[8,9],ymm0[10],mem[11],ymm0[12],mem[13,14],ymm0[15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm4[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4],ymm4[5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm10, %ymm4, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vpblendw $82, (%rsp), %ymm0, %ymm6 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm6 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5],mem[6],ymm0[7,8],mem[9],ymm0[10,11],mem[12],ymm0[13],mem[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3,4],xmm7[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm11, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2],ymm4[3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm4, %zmm0, %zmm3 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm28, %ymm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm0[0],ymm4[1],ymm0[2],ymm4[3],ymm0[4,5],ymm4[6],ymm0[7,8],ymm4[9],ymm0[10],ymm4[11],ymm0[12,13],ymm4[14],ymm0[15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm6[2,3],xmm4[4,5,6],xmm6[7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vextracti64x4 $1, %zmm3, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm5[0],ymm4[1,2,3,4,5,6,7],ymm5[8],ymm4[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm3, %zmm3
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, 64(%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, 64(%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm30, 64(%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm25, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm2, 64(%r8)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm1, 64(%r9)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm3, (%r9)
+; AVX512F-SLOW-NEXT: addq $488, %rsp # imm = 0x1E8
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride5_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: subq $520, %rsp # imm = 0x208
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [4,5,14,15,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 496(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,10,11,8,9,10,11,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa 480(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa 512(%rdi), %ymm8
+; AVX512F-FAST-NEXT: vmovdqa 544(%rdi), %ymm9
+; AVX512F-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 576(%rdi), %ymm6
+; AVX512F-FAST-NEXT: vmovdqa 608(%rdi), %ymm11
+; AVX512F-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 352(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 320(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, (%rsp) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5],ymm4[6],ymm3[7,8],ymm4[9],ymm3[10,11],ymm4[12],ymm3[13],ymm4[14],ymm3[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm18
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0],xmm4[1,2,3],xmm3[4,5],xmm4[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,1,10,11,4,5,14,15,8,9,2,3,12,13,128,128,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 384(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vmovdqa 416(%rdi), %ymm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm7[0],ymm10[1,2],ymm7[3],ymm10[4],ymm7[5],ymm10[6,7],ymm7[8],ymm10[9,10],ymm7[11],ymm10[12],ymm7[13],ymm10[14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm10, %ymm29
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm7, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,3,0,2,4,6,1,3]
+; AVX512F-FAST-NEXT: vpermd %ymm5, %ymm7, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,2,3,16,17,22,23,24,25,30,31,20,21,128,128,128,128,128,128]
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vpor %ymm5, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm11[0,1],ymm6[2],ymm11[3],ymm6[4],ymm11[5,6],ymm6[7],ymm11[8,9],ymm6[10],ymm11[11],ymm6[12],ymm11[13,14],ymm6[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm6, %ymm30
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3,4],xmm5[5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0],ymm8[1],ymm9[2,3],ymm8[4],ymm9[5],ymm8[6],ymm9[7,8],ymm8[9],ymm9[10,11],ymm8[12],ymm9[13],ymm8[14],ymm9[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm8, %ymm28
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <2,4,7,1,4,6,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm6, %ymm17, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,8,9,14,15,0,1,6,7,16,17,22,23,20,21,22,23,24,25,30,31,16,17,22,23>
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = [8,9,3,2,4,5,7,6]
+; AVX512F-FAST-NEXT: vpermt2d %ymm2, %ymm19, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [12,13,14,15,4,5,14,15,8,9,2,3,12,13,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = [0,3,1,3,0,3,5,7]
+; AVX512F-FAST-NEXT: vmovdqa64 448(%rdi), %ymm27
+; AVX512F-FAST-NEXT: vpermd %ymm27, %ymm21, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm25 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm4, %zmm25, %zmm6
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm6, %zmm4
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 176(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm16
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm20 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm15
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm15[0],ymm4[1,2],ymm15[3],ymm4[4],ymm15[5],ymm4[6,7],ymm15[8],ymm4[9,10],ymm15[11],ymm4[12],ymm15[13],ymm4[14,15]
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, %ymm6
+; AVX512F-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm7, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm0[0],ymm5[1],ymm0[2,3],ymm5[4],ymm0[5],ymm5[6],ymm0[7,8],ymm5[9],ymm0[10,11],ymm5[12],ymm0[13],ymm5[14],ymm0[15]
+; AVX512F-FAST-NEXT: vmovdqa %ymm5, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm10
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1,2,3],xmm4[4,5],xmm5[6,7]
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm3
+; AVX512F-FAST-NEXT: vpor %ymm1, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm14
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm12
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0],ymm14[1],ymm12[2,3],ymm14[4],ymm12[5],ymm14[6],ymm12[7,8],ymm14[9],ymm12[10,11],ymm14[12],ymm12[13],ymm14[14],ymm12[15]
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm17, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1],ymm4[2],ymm5[3],ymm4[4],ymm5[5,6],ymm4[7],ymm5[8,9],ymm4[10],ymm5[11],ymm4[12],ymm5[13,14],ymm4[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3,4],xmm0[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d %ymm20, %ymm19, %ymm3
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %ymm20
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm21, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm1, %zmm25, %zmm2
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0],ymm10[1],ymm7[2],ymm10[3],ymm7[4,5],ymm10[6],ymm7[7,8],ymm10[9],ymm7[10],ymm10[11],ymm7[12,13],ymm10[14],ymm7[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm10, %ymm31
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm7, %ymm26
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6],xmm1[7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm22 = <2,u,u,u,4,7,1,6>
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0],ymm15[1],ymm6[2,3],ymm15[4],ymm6[5],ymm15[6],ymm6[7,8],ymm15[9],ymm6[10,11],ymm15[12],ymm6[13],ymm15[14],ymm6[15]
+; AVX512F-FAST-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm22, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,18,19,20,21,26,27,16,17,30,31,128,128,128,128,128,128]
+; AVX512F-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <2,3,12,13,6,7,0,1,10,11,4,5,14,15,128,128,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vporq %ymm3, %ymm0, %ymm19
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm13, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm13, %xmm17
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <2,3,12,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm11
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm11, %xmm9
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = <0,2,5,7,4,7,u,u>
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm14[0],ymm12[1],ymm14[2,3],ymm12[4],ymm14[5],ymm12[6],ymm14[7,8],ymm12[9],ymm14[10,11],ymm12[12],ymm14[13],ymm12[14],ymm14[15]
+; AVX512F-FAST-NEXT: vmovdqa %ymm12, %ymm7
+; AVX512F-FAST-NEXT: vpermd %ymm0, %ymm21, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,4,5,4,5,0,1,6,7,8,9,14,15,4,5,18,19,20,21,20,21,16,17,22,23,24,25,30,31,20,21]
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm8, %ymm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm8[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [1,4,6,3,1,4,6,3]
+; AVX512F-FAST-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm4[0],ymm5[1,2],ymm4[3],ymm5[4],ymm4[5],ymm5[6,7],ymm4[8],ymm5[9,10],ymm4[11],ymm5[12],ymm4[13],ymm5[14,15]
+; AVX512F-FAST-NEXT: vmovdqa %ymm5, %ymm12
+; AVX512F-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512F-FAST-NEXT: vpermd %ymm13, %ymm9, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,2,3,2,3,4,5,10,11,0,1,14,15,8,9,16,17,18,19,18,19,20,21,26,27,16,17,30,31,24,25]
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm13, %ymm13
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm13[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [1,3,2,3,1,3,6,7]
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm16, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [0,1,6,7,4,5,6,7,8,9,0,1,6,7,8,9,16,17,22,23,20,21,22,23,24,25,16,17,22,23,24,25]
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm19, %zmm25, %zmm0
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm4
+; AVX512F-FAST-NEXT: vpblendw $74, (%rsp), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = ymm4[0],mem[1],ymm4[2],mem[3],ymm4[4,5],mem[6],ymm4[7,8],mem[9],ymm4[10],mem[11],ymm4[12,13],mem[14],ymm4[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm8[2,3],xmm0[4,5,6],xmm8[7]
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm10[0],ymm8[1],ymm10[2,3],ymm8[4],ymm10[5],ymm8[6],ymm10[7,8],ymm8[9],ymm10[10,11],ymm8[12],ymm10[13],ymm8[14],ymm10[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm19
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm23
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm22, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpor %ymm4, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm6
+; AVX512F-FAST-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm4 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm4 = ymm6[0],mem[1],ymm6[2,3],mem[4],ymm6[5],mem[6],ymm6[7,8],mem[9],ymm6[10,11],mem[12],ymm6[13],mem[14],ymm6[15]
+; AVX512F-FAST-NEXT: vpermd %ymm4, %ymm21, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm4, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm29, %xmm4
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm4
+; AVX512F-FAST-NEXT: vmovdqu64 %ymm30, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm6[1,2],ymm4[3],ymm6[4],ymm4[5],ymm6[6,7],ymm4[8],ymm6[9,10],ymm4[11],ymm6[12],ymm4[13],ymm6[14,15]
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm9, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX512F-FAST-NEXT: vpermd %ymm27, %ymm16, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm0, %zmm25, %zmm2
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0],ymm5[1],ymm12[2,3],ymm5[4],ymm12[5],ymm5[6],ymm12[7,8],ymm5[9],ymm12[10,11],ymm5[12],ymm12[13],ymm5[14],ymm12[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm22
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,4,5,14,15,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm11, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm11, %xmm30
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm1[2],xmm17[2],xmm1[3],xmm17[3]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm24 = <0,3,5,2,5,7,u,u>
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm14[1],ymm7[2],ymm14[3],ymm7[4,5],ymm14[6],ymm7[7,8],ymm14[9],ymm7[10],ymm14[11],ymm7[12,13],ymm14[14],ymm7[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm7, %ymm16
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm24, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,6,7,2,3,2,3,4,5,10,11,0,1,14,15,16,17,22,23,18,19,18,19,20,21,26,27,16,17,30,31]
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm5[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,8,9,2,3,12,13,6,7,0,1,10,11]
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm21
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm8[2],ymm0[3],ymm8[4],ymm0[5,6],ymm8[7],ymm0[8,9],ymm8[10],ymm0[11],ymm8[12],ymm0[13,14],ymm8[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0,1,2],xmm8[3,4],xmm0[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm26 = <0,2,u,u,5,7,2,4>
+; AVX512F-FAST-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = ymm15[0],mem[1],ymm15[2,3],mem[4],ymm15[5],mem[6],ymm15[7,8],mem[9],ymm15[10,11],mem[12],ymm15[13],mem[14],ymm15[15]
+; AVX512F-FAST-NEXT: vpermd %ymm0, %ymm26, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,1,6,7,8,9,14,15,4,5,6,7,0,1,6,7,16,17,22,23,24,25,30,31,20,21,22,23,16,17,22,23]
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm13, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [4,5,14,15,8,9,2,3,12,13,6,7,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2],ymm13[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm13 = [1,4,6,0,1,4,6,0]
+; AVX512F-FAST-NEXT: # ymm13 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm13, %ymm15
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = [4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512F-FAST-NEXT: vpshufb %ymm12, %ymm15, %ymm15
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm8, %zmm25, %zmm15
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm15, %zmm3
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5],ymm4[6],ymm6[7,8],ymm4[9],ymm6[10,11],ymm4[12],ymm6[13],ymm4[14],ymm6[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0,1,2],xmm3[3,4],xmm8[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm6
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm8[0],ymm6[1],ymm8[2],ymm6[3],ymm8[4,5],ymm6[6],ymm8[7,8],ymm6[9],ymm8[10],ymm6[11],ymm8[12,13],ymm6[14],ymm8[15]
+; AVX512F-FAST-NEXT: vpermd %ymm5, %ymm24, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm5, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm10
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm29[2],xmm2[3],xmm29[3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm1[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm15 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm15[2],ymm3[3],ymm15[4],ymm3[5,6],ymm15[7],ymm3[8,9],ymm15[10],ymm3[11],ymm15[12],ymm3[13,14],ymm15[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm29
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4],xmm2[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0],ymm4[1],ymm5[2,3],ymm4[4],ymm5[5],ymm4[6],ymm5[7,8],ymm4[9],ymm5[10,11],ymm4[12],ymm5[13],ymm4[14],ymm5[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm28
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm19
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm26, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm3, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %ymm27, %ymm13, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm0, %zmm25, %zmm2
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm13
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm13[0],xmm7[1],xmm13[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <6,7,0,1,10,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <1,3,6,0,5,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, %ymm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1],ymm14[2],ymm9[3],ymm14[4],ymm9[5,6],ymm14[7],ymm9[8,9],ymm14[10],ymm9[11],ymm14[12],ymm9[13,14],ymm14[15]
+; AVX512F-FAST-NEXT: vpermd %ymm0, %ymm17, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [2,3,2,3,4,5,0,1,6,7,8,9,14,15,4,5,18,19,18,19,20,21,16,17,22,23,24,25,30,31,20,21]
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm4[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm4 = [2,4,7,0,2,4,7,0]
+; AVX512F-FAST-NEXT: # ymm4 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm4, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,6,7,4,5,6,7,8,9,0,1,6,7,8,9,16,17,22,23,20,21,22,23,24,25,16,17,22,23,24,25]
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm5
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm5, %zmm24
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0],xmm11[1],xmm10[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm11, %xmm16
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm30
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm8[0,1],ymm6[2],ymm8[3],ymm6[4],ymm8[5,6],ymm6[7],ymm8[8,9],ymm6[10],ymm8[11],ymm6[12],ymm8[13,14],ymm6[15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm8, %ymm18
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm6, %ymm23
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm17, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm0[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %ymm27, %ymm4, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm25
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm13[0,1],xmm7[2],xmm13[3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm14[0],ymm9[1,2],ymm14[3],ymm9[4],ymm14[5],ymm9[6,7],ymm14[8],ymm9[9,10],ymm14[11],ymm9[12],ymm14[13],ymm9[14,15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,2,3,12,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <1,4,6,3,6,u,u,u>
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm4, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,2,3,4,5,2,3,4,5,10,11,0,1,14,15,16,17,18,19,20,21,18,19,20,21,26,27,16,17,30,31]
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm26 = [0,2,1,3,0,2,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm26, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,6,7,4,5,6,7,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31]
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm6, %zmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0],ymm7[1,2],ymm5[3],ymm7[4],ymm5[5],ymm7[6,7],ymm5[8],ymm7[9,10],ymm5[11],ymm7[12],ymm5[13],ymm7[14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm17
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm7[0],xmm3[1],xmm7[2],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <0,3,u,u,5,0,2,7>
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm5[0],ymm10[1],ymm5[2],ymm10[3],ymm5[4,5],ymm10[6],ymm5[7,8],ymm10[9],ymm5[10],ymm10[11],ymm5[12,13],ymm10[14],ymm5[15]
+; AVX512F-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [2,3,4,5,10,11,0,1,14,15,14,15,2,3,4,5,18,19,20,21,26,27,16,17,30,31,30,31,18,19,20,21]
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,0,1,10,11,4,5,14,15,8,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm8 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm3, %zmm8, %zmm24
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm3
+; AVX512F-FAST-NEXT: vpblendw $82, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = ymm3[0],mem[1],ymm3[2,3],mem[4],ymm3[5],mem[6],ymm3[7,8],mem[9],ymm3[10,11],mem[12],ymm3[13],mem[14],ymm3[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm13
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm3[0],xmm13[1,2,3],xmm3[4,5],xmm13[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,0,1,10,11,4,5,14,15,8,9,2,3,12,13]
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm31
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm24, %ymm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0],ymm13[1,2,3,4,5,6,7],ymm14[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm13, %zmm24, %zmm20
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm12
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm12[1,2],ymm15[3],ymm12[4],ymm15[5],ymm12[6,7],ymm15[8],ymm12[9,10],ymm15[11],ymm12[12],ymm15[13],ymm12[14,15]
+; AVX512F-FAST-NEXT: vmovdqa %ymm15, %ymm13
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2],xmm14[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm14, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm15
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm3[1],ymm15[2],ymm3[3],ymm15[4,5],ymm3[6],ymm15[7,8],ymm3[9],ymm15[10],ymm3[11],ymm15[12,13],ymm3[14],ymm15[15]
+; AVX512F-FAST-NEXT: vpermd %ymm14, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm7, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpternlogq $184, %zmm7, %zmm8, %zmm25
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2],xmm8[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm7
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm8[1,2],ymm7[3],ymm8[4],ymm7[5],ymm8[6,7],ymm7[8],ymm8[9,10],ymm7[11],ymm8[12],ymm7[13],ymm8[14,15]
+; AVX512F-FAST-NEXT: vpermd %ymm7, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %ymm27, %ymm26, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm9[0],ymm11[1],ymm9[2,3],ymm11[4],ymm9[5],ymm11[6],ymm9[7,8],ymm11[9],ymm9[10,11],ymm11[12],ymm9[13],ymm11[14],ymm9[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1,2,3],xmm1[4,5],xmm2[6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm25, %ymm2
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm25, %zmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm5[0,1],ymm10[2],ymm5[3],ymm10[4],ymm5[5,6],ymm10[7],ymm5[8,9],ymm10[10],ymm5[11],ymm10[12],ymm5[13,14],ymm10[15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <1,3,u,u,6,0,3,5>
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm14, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,6,7,8,9,14,15,0,1,6,7,0,1,6,7,16,17,22,23,24,25,30,31,16,17,22,23,16,17,22,23]
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm17, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm7[0],ymm5[1],ymm7[2,3],ymm5[4],ymm7[5],ymm5[6],ymm7[7,8],ymm5[9],ymm7[10,11],ymm5[12],ymm7[13],ymm5[14],ymm7[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2],xmm5[3,4],xmm7[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [8,9,2,3,12,13,6,7,0,1,10,11,0,1,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm2[3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: movb $7, %al
+; AVX512F-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm2, %zmm0, %zmm6 {%k1}
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm6, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm5
+; AVX512F-FAST-NEXT: vpblendw $181, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm5 = mem[0],ymm5[1],mem[2],ymm5[3],mem[4,5],ymm5[6],mem[7,8],ymm5[9],mem[10],ymm5[11],mem[12,13],ymm5[14],mem[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm8[2,3],xmm5[4,5,6],xmm8[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [6,7,2,3,12,13,6,7,0,1,10,11,4,5,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm2[0],ymm5[1,2,3,4,5,6,7],ymm2[8],ymm5[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm6, %zmm2
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm12[0],ymm13[1],ymm12[2,3],ymm13[4],ymm12[5],ymm13[6],ymm12[7,8],ymm13[9],ymm12[10,11],ymm13[12],ymm12[13],ymm13[14],ymm12[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm15[0,1],ymm3[2],ymm15[3],ymm3[4],ymm15[5,6],ymm3[7],ymm15[8,9],ymm3[10],ymm15[11],ymm3[12],ymm15[13,14],ymm3[15]
+; AVX512F-FAST-NEXT: vpermd %ymm6, %ymm14, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm3, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm11[0],ymm9[1],ymm11[2],ymm9[3],ymm11[4,5],ymm9[6],ymm11[7,8],ymm9[9],ymm11[10],ymm9[11],ymm11[12,13],ymm9[14],ymm11[15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3],xmm3[4,5,6],xmm4[7]
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vextracti64x4 $1, %zmm0, %ymm4
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm3[1,2,3,4,5,6,7],ymm4[8],ymm3[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, 64(%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm20, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512F-FAST-NEXT: addq $520, %rsp # imm = 0x208
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride5_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11,16,21,26,31,36,41,46,51,56,61,0,0,0,1,6,11]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,35,40,45,50,55,60,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm8
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm6, %zmm8
+; AVX512BW-NEXT: movl $67100672, %eax # imm = 0x3FFE000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm13, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm13 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,34,39,44,49,54,59]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm13, %zmm8
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm0, %zmm12
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm6
+; AVX512BW-NEXT: vmovdqu16 %zmm12, %zmm6 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm13, %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44,49,54,59,0,5,10,15,20,25,30,0,0,0,34,39,44]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = <1,6,11,16,21,26,31,36,41,46,51,56,61,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqu16 %zmm15, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,35,40,45,50,55,60]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm15, %zmm13
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm5, %zmm14
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm12
+; AVX512BW-NEXT: vmovdqu16 %zmm14, %zmm12 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm15, %zmm12
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45,50,55,60,1,6,11,16,21,26,31,0,0,0,35,40,45]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <34,39,44,49,54,59,0,5,10,15,20,25,30,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqu16 %zmm17, %zmm15 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,36,41,46,51,56,61]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm17, %zmm15
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm5, %zmm16
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm4, %zmm14
+; AVX512BW-NEXT: vmovdqu16 %zmm16, %zmm14 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm17, %zmm14
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14,19,24,29,34,39,44,49,54,59,0,0,0,0,4,9,14]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <35,40,45,50,55,60,1,6,11,16,21,26,31,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm18, %zmm19
+; AVX512BW-NEXT: movl $33546240, %eax # imm = 0x1FFE000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm17, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,32,37,42,47,52,57,62]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm17, %zmm19
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm0, %zmm16
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm4, %zmm18
+; AVX512BW-NEXT: vmovdqu16 %zmm16, %zmm18 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm17, %zmm18
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <4,9,14,19,24,29,34,39,44,49,54,59,u,u,u,u>
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm16, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15,20,25,30,35,40,45,50,55,60,0,0,0,0,5,10,15]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm11, %zmm1
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm9 = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,33,38,43,48,53,58,63]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm9, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm11, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm4, %zmm16, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm0 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm9, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <320 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <320 x i16> %wide.vec, <320 x i16> poison, <64 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155, i32 160, i32 165, i32 170, i32 175, i32 180, i32 185, i32 190, i32 195, i32 200, i32 205, i32 210, i32 215, i32 220, i32 225, i32 230, i32 235, i32 240, i32 245, i32 250, i32 255, i32 260, i32 265, i32 270, i32 275, i32 280, i32 285, i32 290, i32 295, i32 300, i32 305, i32 310, i32 315>
+ %strided.vec1 = shufflevector <320 x i16> %wide.vec, <320 x i16> poison, <64 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156, i32 161, i32 166, i32 171, i32 176, i32 181, i32 186, i32 191, i32 196, i32 201, i32 206, i32 211, i32 216, i32 221, i32 226, i32 231, i32 236, i32 241, i32 246, i32 251, i32 256, i32 261, i32 266, i32 271, i32 276, i32 281, i32 286, i32 291, i32 296, i32 301, i32 306, i32 311, i32 316>
+ %strided.vec2 = shufflevector <320 x i16> %wide.vec, <320 x i16> poison, <64 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77, i32 82, i32 87, i32 92, i32 97, i32 102, i32 107, i32 112, i32 117, i32 122, i32 127, i32 132, i32 137, i32 142, i32 147, i32 152, i32 157, i32 162, i32 167, i32 172, i32 177, i32 182, i32 187, i32 192, i32 197, i32 202, i32 207, i32 212, i32 217, i32 222, i32 227, i32 232, i32 237, i32 242, i32 247, i32 252, i32 257, i32 262, i32 267, i32 272, i32 277, i32 282, i32 287, i32 292, i32 297, i32 302, i32 307, i32 312, i32 317>
+ %strided.vec3 = shufflevector <320 x i16> %wide.vec, <320 x i16> poison, <64 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158, i32 163, i32 168, i32 173, i32 178, i32 183, i32 188, i32 193, i32 198, i32 203, i32 208, i32 213, i32 218, i32 223, i32 228, i32 233, i32 238, i32 243, i32 248, i32 253, i32 258, i32 263, i32 268, i32 273, i32 278, i32 283, i32 288, i32 293, i32 298, i32 303, i32 308, i32 313, i32 318>
+ %strided.vec4 = shufflevector <320 x i16> %wide.vec, <320 x i16> poison, <64 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159, i32 164, i32 169, i32 174, i32 179, i32 184, i32 189, i32 194, i32 199, i32 204, i32 209, i32 214, i32 219, i32 224, i32 229, i32 234, i32 239, i32 244, i32 249, i32 254, i32 259, i32 264, i32 269, i32 274, i32 279, i32 284, i32 289, i32 294, i32 299, i32 304, i32 309, i32 314, i32 319>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i16> %strided.vec4, ptr %out.vec4, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-ONLY: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2-FAST
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
-define void @vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
-; SSE-LABEL: vf2:
+define void @load_i16_stride6_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf2:
; SSE: # %bb.0:
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movd %xmm0, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[1,1,1,1]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm6 = xmm1[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm1
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovd %xmm3, (%rsi)
-; AVX1-NEXT: vmovd %xmm2, (%rdx)
-; AVX1-NEXT: vmovd %xmm4, (%rcx)
-; AVX1-NEXT: vmovd %xmm5, (%r8)
-; AVX1-NEXT: vmovd %xmm6, (%r9)
-; AVX1-NEXT: vmovd %xmm0, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride6_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovd %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovd %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovd %xmm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovd %xmm5, (%r8)
+; AVX1-ONLY-NEXT: vmovd %xmm6, (%r9)
+; AVX1-ONLY-NEXT: vmovd %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf2:
+; AVX2-SLOW-LABEL: load_i16_stride6_vf2:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vmovd %xmm0, (%rax)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf2:
+; AVX2-FAST-LABEL: load_i16_stride6_vf2:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vmovd %xmm0, (%rax)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpbroadcastw 4(%rdi), %xmm4
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
-; AVX512-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
-; AVX512-NEXT: vpbroadcastw 20(%rdi), %xmm6
-; AVX512-NEXT: vpbroadcastw 8(%rdi), %xmm7
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX512-NEXT: vpsrlq $48, %xmm1, %xmm1
-; AVX512-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX512-NEXT: vmovd %xmm3, (%rsi)
-; AVX512-NEXT: vmovd %xmm2, (%rdx)
-; AVX512-NEXT: vmovd %xmm4, (%rcx)
-; AVX512-NEXT: vmovd %xmm5, (%r8)
-; AVX512-NEXT: vmovd %xmm6, (%r9)
-; AVX512-NEXT: vmovd %xmm0, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf2:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 4(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 20(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm2, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm5, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm6, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride6_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpbroadcastw 4(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpbroadcastw 20(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovd %xmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovd %xmm2, (%rdx)
+; AVX512F-SLOW-NEXT: vmovd %xmm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovd %xmm5, (%r8)
+; AVX512F-SLOW-NEXT: vmovd %xmm6, (%r9)
+; AVX512F-SLOW-NEXT: vmovd %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride6_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpbroadcastw 4(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpbroadcastw 20(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovd %xmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovd %xmm2, (%rdx)
+; AVX512F-FAST-NEXT: vmovd %xmm4, (%rcx)
+; AVX512F-FAST-NEXT: vmovd %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovd %xmm6, (%r9)
+; AVX512F-FAST-NEXT: vmovd %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride6_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpbroadcastw 4(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpbroadcastw 20(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm5, (%r8)
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, (%r9)
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride6_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512BW-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm2[0,2,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpbroadcastw 4(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <3,9,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermi2w %xmm1, %xmm0, %xmm5
+; AVX512BW-FAST-NEXT: vpbroadcastw 20(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512BW-FAST-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovd %xmm3, (%rsi)
+; AVX512BW-FAST-NEXT: vmovd %xmm2, (%rdx)
+; AVX512BW-FAST-NEXT: vmovd %xmm4, (%rcx)
+; AVX512BW-FAST-NEXT: vmovd %xmm5, (%r8)
+; AVX512BW-FAST-NEXT: vmovd %xmm6, (%r9)
+; AVX512BW-FAST-NEXT: vmovd %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <12 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <2 x i32> <i32 0, i32 6>
%strided.vec1 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <2 x i32> <i32 1, i32 7>
%strided.vec4 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <2 x i32> <i32 4, i32 10>
%strided.vec5 = shufflevector <12 x i16> %wide.vec, <12 x i16> poison, <2 x i32> <i32 5, i32 11>
- store <2 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <2 x i16> %strided.vec4, ptr %out.vec4, align 32
- store <2 x i16> %strided.vec5, ptr %out.vec5, align 32
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i16> %strided.vec5, ptr %out.vec5, align 64
ret void
}
-define void @vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
-; SSE-LABEL: vf4:
+define void @load_i16_stride6_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: movq %xmm0, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
-; AVX1-NEXT: vpsrld $16, %xmm1, %xmm5
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3],xmm3[4,5,6,7]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm5 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm6[4,5,0,1,12,13,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2],xmm5[3],xmm7[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[2,2,3,3]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,2,3,14,15,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3],xmm6[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm8 = xmm2[0,2,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm1
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[1,3,2,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX1-NEXT: vmovq %xmm4, (%rsi)
-; AVX1-NEXT: vmovq %xmm3, (%rdx)
-; AVX1-NEXT: vmovq %xmm5, (%rcx)
-; AVX1-NEXT: vmovq %xmm6, (%r8)
-; AVX1-NEXT: vmovq %xmm7, (%r9)
-; AVX1-NEXT: vmovq %xmm0, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride6_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm5
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm6[4,5,0,1,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2],xmm5[3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[2,2,3,3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[6,7,2,3,14,15,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm2[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[1,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf4:
+; AVX2-SLOW-LABEL: load_i16_stride6_vf4:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-SLOW-NEXT: vmovq %xmm0, (%rax)
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf4:
+; AVX2-FAST-LABEL: load_i16_stride6_vf4:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
; AVX2-FAST-NEXT: vmovq %xmm0, (%rax)
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = <0,6,12,18,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = <1,7,13,19,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm3
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = <2,8,14,20,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm4
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = <3,9,15,21,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm5
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm6 = <4,10,16,22,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm6
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm7 = <5,11,17,23,u,u,u,u>
-; AVX512-NEXT: vpermi2w %ymm1, %ymm0, %ymm7
-; AVX512-NEXT: vmovq %xmm2, (%rsi)
-; AVX512-NEXT: vmovq %xmm3, (%rdx)
-; AVX512-NEXT: vmovq %xmm4, (%rcx)
-; AVX512-NEXT: vmovq %xmm5, (%r8)
-; AVX512-NEXT: vmovq %xmm6, (%r9)
-; AVX512-NEXT: vmovq %xmm7, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,12,13,8,9,4,5,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpsrld $16, %xmm1, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[u,u,u,u,u,u,u,u,2,3,14,15,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm2[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0],xmm5[1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[4,5,0,1,12,13,8,9,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[6,7,2,3,14,15,10,11,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[8,9,4,5,0,1,12,13,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[10,11,6,7,2,3,14,15,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm4, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm6, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm5, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride6_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,12,13,8,9,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [4,1,10,7]
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vpermi2d %ymm2, %ymm4, %ymm1
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm1[4,5,0,1,12,13,8,9,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[6,7,2,3,14,15,10,11,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = [0,13,10,3]
+; AVX512F-SLOW-NEXT: vpermi2d %ymm4, %ymm2, %ymm6
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[8,9,4,5,0,1,12,13,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[10,11,6,7,2,3,14,15,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm5, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%r9)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride6_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,12,13,8,9,4,5,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,2,3,14,15,12,13,14,15]
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [4,1,10,7]
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpermi2d %ymm2, %ymm4, %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm1[4,5,0,1,12,13,8,9,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[6,7,2,3,14,15,10,11,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [0,13,10,3]
+; AVX512F-FAST-NEXT: vpermi2d %ymm4, %ymm2, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[8,9,4,5,0,1,12,13,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[10,11,6,7,2,3,14,15,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%r9)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride6_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,6,12,18,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,7,13,19,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm4 = <2,8,14,20,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = <3,9,15,21,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = <4,10,16,22,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm7 = <5,11,17,23,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm7
+; AVX512BW-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-NEXT: vmovq %xmm6, (%r9)
+; AVX512BW-NEXT: vmovq %xmm7, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <24 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <4 x i32> <i32 0, i32 6, i32 12, i32 18>
%strided.vec1 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <4 x i32> <i32 1, i32 7, i32 13, i32 19>
%strided.vec4 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <4 x i32> <i32 4, i32 10, i32 16, i32 22>
%strided.vec5 = shufflevector <24 x i16> %wide.vec, <24 x i16> poison, <4 x i32> <i32 5, i32 11, i32 17, i32 23>
- store <4 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <4 x i16> %strided.vec4, ptr %out.vec4, align 32
- store <4 x i16> %strided.vec5, ptr %out.vec5, align 32
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i16> %strided.vec5, ptr %out.vec5, align 64
ret void
}
-define void @vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
-; SSE-LABEL: vf8:
+define void @load_i16_stride6_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf8:
; SSE: # %bb.0:
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
; SSE-NEXT: movdqa 64(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm10, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm1
-; AVX1-NEXT: vpsrlq $16, %xmm4, %xmm3
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm7[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm8[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2],xmm3[3,4,5],xmm5[6,7]
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm5
-; AVX1-NEXT: vpslld $16, %xmm5, %xmm9
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm6
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm10 = xmm6[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm9[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[1,1,1,1]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
-; AVX1-NEXT: vpsrld $16, %xmm2, %xmm9
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm8[2],xmm9[2],xmm8[3],xmm9[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm6[2,2,3,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1],xmm8[2],xmm5[2],xmm8[3],xmm5[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm9 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm8 = xmm9[0],xmm8[0]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1],xmm0[2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[4,5,0,1,12,13,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2],xmm8[3,4],xmm10[5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm6[0,1,2,3],xmm5[4,5],xmm6[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u,u,u,u,u,u,u,0,1,12,13,8,9]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm11[5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm11
-; AVX1-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm11 = xmm12[0],xmm11[0]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,2,3,14,15,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm11[3,4],xmm9[5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,2,3,14,15,10,11]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm10[5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm0[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm4[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,u,u,u,u,u,4,5,0,1,12,13]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3,4],xmm6[5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm2, %xmm2
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
-; AVX1-NEXT: vpsrld $16, %xmm1, %xmm1
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm4[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm2[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3,4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,u,u,u,6,7,2,3,14,15]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm7, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm8, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm9, (%r8)
-; AVX1-NEXT: vmovdqa %xmm6, (%r9)
-; AVX1-NEXT: vmovdqa %xmm0, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride6_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm7[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm8[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2],xmm3[3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpslld $16, %xmm5, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm6[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm6[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1],xmm8[2],xmm5[2],xmm8[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm9 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm8 = xmm9[0],xmm8[0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1],xmm0[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[4,5,0,1,12,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2],xmm8[3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm6[0,1,2,3],xmm5[4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u,u,u,u,u,u,u,0,1,12,13,8,9]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm11 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,2,3,14,15,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm11[3,4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,2,3,14,15,10,11]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm4[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,u,u,u,u,u,4,5,0,1,12,13]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm4[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,u,u,u,6,7,2,3,14,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%r9)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf8:
+; AVX2-SLOW-LABEL: load_i16_stride6_vf8:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf8:
+; AVX2-FAST-LABEL: load_i16_stride6_vf8:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm2
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <3,9,15,u,u,u,u,u>
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vpermw %zmm1, %zmm0, %zmm4
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <2,8,14,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm0, %zmm5
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <1,7,13,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm0, %zmm6
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = <0,6,12,u,u,u,u,u>
-; AVX512-NEXT: vpermw %zmm1, %zmm0, %zmm2
-; AVX512-NEXT: vmovdqa (%rdi), %xmm7
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm8
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 48(%rdi), %xmm0
-; AVX512-NEXT: vpextrw $2, %xmm1, %r10d
-; AVX512-NEXT: vpinsrw $3, %r10d, %xmm2, %xmm2
-; AVX512-NEXT: vmovd %xmm0, %r10d
-; AVX512-NEXT: vpinsrw $4, %r10d, %xmm2, %xmm2
-; AVX512-NEXT: vpextrw $6, %xmm0, %r10d
-; AVX512-NEXT: vpinsrw $5, %r10d, %xmm2, %xmm2
-; AVX512-NEXT: vmovdqa 64(%rdi), %xmm3
-; AVX512-NEXT: vpextrw $4, %xmm3, %r10d
-; AVX512-NEXT: vpinsrw $6, %r10d, %xmm2, %xmm9
-; AVX512-NEXT: vmovdqa 80(%rdi), %xmm2
-; AVX512-NEXT: vpextrw $2, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm1[3],xmm6[4,5,6,7]
-; AVX512-NEXT: vpextrw $1, %xmm0, %edi
-; AVX512-NEXT: vpinsrw $4, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $7, %xmm0, %edi
-; AVX512-NEXT: vpinsrw $5, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $5, %xmm3, %edi
-; AVX512-NEXT: vpinsrw $6, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $3, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $7, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrw $4, %xmm1, %edi
-; AVX512-NEXT: vpinsrw $3, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $2, %xmm0, %edi
-; AVX512-NEXT: vpinsrw $4, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vmovd %xmm3, %edi
-; AVX512-NEXT: vpinsrw $5, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm3[6],xmm5[7]
-; AVX512-NEXT: vpextrw $4, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $7, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpextrw $5, %xmm1, %edi
-; AVX512-NEXT: vpinsrw $3, %edi, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $3, %xmm0, %edi
-; AVX512-NEXT: vpinsrw $4, %edi, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $1, %xmm3, %edi
-; AVX512-NEXT: vpinsrw $5, %edi, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $7, %xmm3, %edi
-; AVX512-NEXT: vpinsrw $6, %edi, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $5, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $7, %edi, %xmm4, %xmm4
-; AVX512-NEXT: vpextrw $2, %xmm8, %edi
-; AVX512-NEXT: vpextrw $4, %xmm7, %r10d
-; AVX512-NEXT: vmovd %r10d, %xmm10
-; AVX512-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vmovd %xmm1, %edi
-; AVX512-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrw $6, %xmm1, %edi
-; AVX512-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm0[4],xmm10[5,6,7]
-; AVX512-NEXT: vpextrw $2, %xmm3, %edi
-; AVX512-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vmovd %xmm2, %edi
-; AVX512-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrw $6, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrw $3, %xmm8, %edi
-; AVX512-NEXT: vpextrw $5, %xmm7, %r10d
-; AVX512-NEXT: vmovd %r10d, %xmm7
-; AVX512-NEXT: vpinsrw $1, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrw $1, %xmm1, %edi
-; AVX512-NEXT: vpinsrw $2, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrw $7, %xmm1, %edi
-; AVX512-NEXT: vpinsrw $3, %edi, %xmm7, %xmm1
-; AVX512-NEXT: vpextrw $5, %xmm0, %edi
-; AVX512-NEXT: vpinsrw $4, %edi, %xmm1, %xmm0
-; AVX512-NEXT: vpextrw $3, %xmm3, %edi
-; AVX512-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrw $1, %xmm2, %edi
-; AVX512-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm2[7]
-; AVX512-NEXT: vmovdqa %xmm9, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm6, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm5, (%rcx)
-; AVX512-NEXT: vmovdqa %xmm4, (%r8)
-; AVX512-NEXT: vmovdqa %xmm10, (%r9)
-; AVX512-NEXT: vmovdqa %xmm0, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <48 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf8:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpslld $16, %xmm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpsrldq {{.*#+}} xmm5 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0],ymm4[1],ymm2[2,3],ymm4[4],ymm2[5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm8[2],xmm6[3],xmm8[4,5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 74(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm7[2],xmm5[3],xmm7[4,5],xmm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm7 = xmm6[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm8 = xmm7[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm6[u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm9[1,2],xmm8[3],xmm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm9 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[u,u,u,u,u,u,u,u,u,u,0,1,12,13,8,9]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1,2],xmm7[3],xmm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm9[u,u,u,u,u,u,u,u,u,u,2,3,14,15,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm7 = xmm4[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm2[8,9,u,u,0,1,12,13,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0],xmm7[1],xmm9[2,3],xmm7[4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[u,u,u,u,u,u,u,u,u,u,4,5,0,1,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1,2,3,4],xmm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[10,11,u,u,2,3,14,15,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm4[1],xmm2[2,3],xmm4[4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u,6,7,2,3,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride6_vf8:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $1, %r10d, %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $2, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm1, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $3, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $4, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $5, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm5, %r10d
+; AVX512F-SLOW-NEXT: vpinsrw $6, %r10d, %xmm4, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm7
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm1[3],xmm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm8
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm5[6],xmm8[7]
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vmovd %edi, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm10
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm0[4],xmm10[5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm2
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm1, %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride6_vf8:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm3, %r10d
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[0,1,12,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm1, %r10d
+; AVX512F-FAST-NEXT: vpinsrw $3, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vmovd %xmm0, %r10d
+; AVX512F-FAST-NEXT: vpinsrw $4, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm0, %r10d
+; AVX512F-FAST-NEXT: vpinsrw $5, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm5, %r10d
+; AVX512F-FAST-NEXT: vpinsrw $6, %r10d, %xmm4, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm2[2,3,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm1[3],xmm7[4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vmovd %r10d, %xmm8
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm5[6],xmm8[7]
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm2, %edi
+; AVX512F-FAST-NEXT: vmovd %edi, %xmm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vmovd %r10d, %xmm10
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm0[4],xmm10[5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vmovd %r10d, %xmm2
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride6_vf8:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <3,9,15,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <2,8,14,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <1,7,13,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,6,12,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm2
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm1, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %r10d, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %r10d, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %r10d, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %r10d, %xmm2, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm1[3],xmm6[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm3[6],xmm5[7]
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm8, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm7, %r10d
+; AVX512BW-SLOW-NEXT: vmovd %r10d, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm0[4],xmm10[5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm8, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm7, %r10d
+; AVX512BW-SLOW-NEXT: vmovd %r10d, %xmm7
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm7, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm2[7]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride6_vf8:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <5,11,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <4,10,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm1, %zmm1
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <3,9,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm6
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <2,8,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm7
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,7,13,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <0,6,12,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm2, %r10d
+; AVX512BW-FAST-NEXT: vpinsrw $3, %r10d, %xmm3, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovd %xmm3, %r10d
+; AVX512BW-FAST-NEXT: vpinsrw $4, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm3, %r10d
+; AVX512BW-FAST-NEXT: vpinsrw $5, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm5, %r10d
+; AVX512BW-FAST-NEXT: vpinsrw $6, %r10d, %xmm4, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm4, %r10d
+; AVX512BW-FAST-NEXT: vpinsrw $7, %r10d, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm2[3],xmm8[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm10, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm5[6],xmm7[7]
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm10, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4],xmm1[5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm6, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <48 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <8 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42>
%strided.vec1 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <8 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43>
%strided.vec4 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <8 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46>
%strided.vec5 = shufflevector <48 x i16> %wide.vec, <48 x i16> poison, <8 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47>
- store <8 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <8 x i16> %strided.vec4, ptr %out.vec4, align 32
- store <8 x i16> %strided.vec5, ptr %out.vec5, align 32
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i16> %strided.vec5, ptr %out.vec5, align 64
ret void
}
-define void @vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
-; SSE-LABEL: vf16:
+define void @load_i16_stride6_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf16:
; SSE: # %bb.0:
; SSE-NEXT: subq $104, %rsp
; SSE-NEXT: movdqa 112(%rdi), %xmm8
; SSE-NEXT: addq $104, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $104, %rsp
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm0[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm1
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovdqa %xmm1, %xmm7
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpslld $16, %xmm1, %xmm2
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm4
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm3 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm5
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm6
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm8
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrlq $16, %xmm8, %xmm0
-; AVX1-NEXT: vpshufd {{.*#+}} xmm15 = xmm2[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm10 = xmm15[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm2[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm11[2],xmm6[2],xmm11[3],xmm6[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3,4,5],xmm11[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm10[0,1,2],ymm5[3,4,5],ymm10[6,7]
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm10
-; AVX1-NEXT: vpslld $16, %xmm10, %xmm5
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm11
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm12 = xmm11[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3]
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm12
-; AVX1-NEXT: vpsrlq $16, %xmm12, %xmm0
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm14[6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm14 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm3, %ymm14, %ymm3
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vandnps %ymm0, %ymm14, %ymm0
-; AVX1-NEXT: vorps %ymm0, %ymm3, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrld $16, %xmm7, %xmm3
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
-; AVX1-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[2,2,3,3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm3, %ymm0
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm3 = xmm15[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[1,1,1,1]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrld $16, %xmm6, %xmm9
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm9[2],xmm2[3],xmm9[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4,5],xmm2[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm11[2,2,3,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
-; AVX1-NEXT: vandps %ymm0, %ymm14, %ymm0
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
-; AVX1-NEXT: vandnps %ymm1, %ymm14, %ymm1
-; AVX1-NEXT: vorps %ymm1, %ymm0, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm1 = xmm8[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = [4,5,0,1,12,13,14,15,8,9,10,11,12,13,14,15]
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = xmm6[0,1],mem[2,3],xmm6[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm5, %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3,4],xmm3[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm1, %xmm3, %xmm1
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,8,9,0,1,12,13,8,9]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm4[0,1,2,3],xmm13[4,5],xmm4[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm15, %xmm13
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm13, %ymm1
-; AVX1-NEXT: vmovaps {{.*#+}} ymm13 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
-; AVX1-NEXT: vandnps %ymm0, %ymm13, %ymm0
-; AVX1-NEXT: vandps %ymm1, %ymm13, %ymm1
-; AVX1-NEXT: vorps %ymm0, %ymm1, %ymm0
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm7 = xmm12[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm7[0],xmm1[0]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm11[0,1,2,3],xmm10[4,5],xmm11[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm7, %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3,4],xmm9[5,6,7]
-; AVX1-NEXT: vandps %ymm0, %ymm14, %ymm0
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
-; AVX1-NEXT: vandnps %ymm1, %ymm14, %ymm1
-; AVX1-NEXT: vorps %ymm1, %ymm0, %ymm0
-; AVX1-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX1-NEXT: vmovdqa %xmm2, %xmm0
-; AVX1-NEXT: vpsrlq $48, %xmm2, %xmm1
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm9[0],xmm1[0]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [6,7,2,3,14,15,14,15,8,9,10,11,12,13,14,15]
-; AVX1-NEXT: vpshufb %xmm9, %xmm5, %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm3, %xmm2
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,4,5,6,7,14,15,2,3,14,15,10,11]
-; AVX1-NEXT: vpshufb %xmm3, %xmm15, %xmm9
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm9, %ymm2
-; AVX1-NEXT: vandnps %ymm1, %ymm13, %ymm1
-; AVX1-NEXT: vandps %ymm2, %ymm13, %ymm2
-; AVX1-NEXT: vorps %ymm1, %ymm2, %ymm1
-; AVX1-NEXT: vpsrlq $48, %xmm4, %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm12[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm9[0],xmm2[0]
-; AVX1-NEXT: vpshufb %xmm3, %xmm7, %xmm3
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
-; AVX1-NEXT: vandps %ymm1, %ymm14, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
-; AVX1-NEXT: vandnps %ymm2, %ymm14, %ymm2
-; AVX1-NEXT: vorps %ymm2, %ymm1, %ymm14
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,4,5,4,5,6,7,0,1,4,5,0,1,12,13]
-; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm7
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm7, %ymm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm7 = xmm4[1,1,1,1]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm15[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1],xmm9[2],xmm7[2],xmm9[3],xmm7[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm9 = xmm8[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm9[1],xmm0[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3,4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm9 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
-; AVX1-NEXT: vandnps %ymm1, %ymm9, %ymm1
-; AVX1-NEXT: vandps %ymm7, %ymm9, %ymm7
-; AVX1-NEXT: vorps %ymm1, %ymm7, %ymm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm10[0,1],xmm11[2,3],xmm10[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm3, %xmm7, %xmm3
-; AVX1-NEXT: vpshufd {{.*#+}} xmm10 = xmm12[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm11 = xmm10[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm12[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm11[0,1,2,3,4],xmm3[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm5, %xmm3
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm11 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1],xmm11[2],xmm3[2],xmm11[3],xmm3[3]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,2,3,4,5,6,7,6,7,6,7,2,3,14,15]
-; AVX1-NEXT: vpshufb %xmm11, %xmm2, %xmm2
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm2
-; AVX1-NEXT: vpsrlq $48, %xmm4, %xmm3
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm4 = xmm15[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
-; AVX1-NEXT: vpsrld $16, %xmm0, %xmm4
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm6 = xmm8[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm6[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3,4,5,6,7]
-; AVX1-NEXT: vandnps %ymm2, %ymm9, %ymm2
-; AVX1-NEXT: vandps %ymm3, %ymm9, %ymm3
-; AVX1-NEXT: vorps %ymm2, %ymm3, %ymm2
-; AVX1-NEXT: vpshufb %xmm11, %xmm7, %xmm3
-; AVX1-NEXT: vpsrld $16, %xmm12, %xmm4
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm10[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm5[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3,4],xmm3[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rcx)
-; AVX1-NEXT: vmovaps %ymm14, (%r8)
-; AVX1-NEXT: vmovaps %ymm1, (%r9)
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps %ymm2, (%rax)
-; AVX1-NEXT: addq $104, %rsp
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride6_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $104, %rsp
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm5
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm15[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm2[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm11[2],xmm6[2],xmm11[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm10[0,1,2],ymm5[3,4,5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpslld $16, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm12 = xmm11[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm14 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm14, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm15[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm6, %xmm9
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm9[2],xmm2[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm11[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm14, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm8[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [4,5,0,1,12,13,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm6[0,1],mem[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,8,9,0,1,12,13,8,9]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm4[0,1,2,3],xmm13[4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm15, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm13 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm13, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm7 = xmm12[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm7[0],xmm1[0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm11[0,1,2,3],xmm10[4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm9
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3,4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm14, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm9[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [6,7,2,3,14,15,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,4,5,6,7,14,15,2,3,14,15,10,11]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm9, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm13, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm9[0],xmm2[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm14, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,4,5,4,5,6,7,0,1,4,5,0,1,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm7, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm4[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm15[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1],xmm9[2],xmm7[2],xmm9[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm8[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm9 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm9, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm9, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm7, %ymm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm10[0,1],xmm11[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm12[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm10[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm11[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm11 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1],xmm11[2],xmm3[2],xmm11[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,2,3,4,5,6,7,6,7,6,7,2,3,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm15[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm8[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm6[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm9, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm9, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm10[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: addq $104, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf16:
+; AVX2-SLOW-LABEL: load_i16_stride6_vf16:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf16:
+; AVX2-FAST-LABEL: load_i16_stride6_vf16:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm3
; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm3
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm0 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
-; AVX512-NEXT: # ymm0 = mem[0,1,0,1]
-; AVX512-NEXT: vmovdqa 160(%rdi), %ymm4
-; AVX512-NEXT: vmovdqa 128(%rdi), %ymm5
-; AVX512-NEXT: vpermi2w %ymm4, %ymm5, %ymm0
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm1 = <0,6,12,18,24,30,36,42,48,54,60,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm2, %zmm1
-; AVX512-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
-; AVX512-NEXT: # ymm1 = mem[0,1,0,1]
-; AVX512-NEXT: vpermi2w %ymm4, %ymm5, %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <1,7,13,19,25,31,37,43,49,55,61,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm2, %zmm6
-; AVX512-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0,1,2],ymm1[3,4,5,6,7],ymm6[8,9,10],ymm1[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
-; AVX512-NEXT: # ymm6 = mem[0,1,0,1]
-; AVX512-NEXT: vpermi2w %ymm5, %ymm4, %ymm6
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <34,40,46,52,58,0,6,12,18,24,30,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm3, %zmm7
-; AVX512-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3,4,5,6,7],ymm7[8,9,10],ymm6[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm7 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
-; AVX512-NEXT: # ymm7 = mem[0,1,0,1]
-; AVX512-NEXT: vpermi2w %ymm5, %ymm4, %ymm7
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <35,41,47,53,59,1,7,13,19,25,31,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm2, %zmm3, %zmm8
-; AVX512-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0,1,2],ymm7[3,4,5,6,7],ymm8[8,9,10],ymm7[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
-; AVX512-NEXT: # ymm8 = mem[0,1,0,1]
-; AVX512-NEXT: vpermi2w %ymm4, %ymm5, %ymm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <4,10,16,22,28,34,40,46,52,58,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm2, %zmm9
-; AVX512-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7]
-; AVX512-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
-; AVX512-NEXT: # ymm9 = mem[0,1,0,1]
-; AVX512-NEXT: vpermi2w %ymm4, %ymm5, %ymm9
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <5,11,17,23,29,35,41,47,53,59,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm2, %zmm4
-; AVX512-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4],ymm9[5,6,7]
-; AVX512-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm1, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm6, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm7, (%r8)
-; AVX512-NEXT: vmovdqa %ymm8, (%r9)
-; AVX512-NEXT: vmovdqa %ymm2, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <96 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf16:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm8[u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm9[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4,5],xmm6[6],xmm7[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm2[2,3],ymm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm11 = ymm6[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm12 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm2[0,1],ymm5[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm5 = ymm7[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm2 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm12[2],ymm2[3,4,5,6],ymm12[7],ymm2[8,9],ymm12[10],ymm2[11,12,13,14],ymm12[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm15[2],xmm13[3],xmm15[4,5],xmm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1,2],ymm2[3,4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm10 = ymm2[0,1,2],ymm10[3,4,5,6,7],ymm2[8,9,10],ymm10[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3],xmm9[4,5],xmm8[6],xmm9[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} ymm9 = ymm11[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm9[2],ymm5[3,4,5,6],ymm9[7],ymm5[8,9],ymm9[10],ymm5[11,12,13,14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm12[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm10 = xmm14[u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm10[2],xmm9[3],xmm10[4,5],xmm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2],ymm5[3,4,5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm5[0,1,2],ymm8[3,4,5,6,7],ymm5[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm10 = xmm9[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm11 = xmm8[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm11[0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm10[4],xmm8[5,6],xmm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm10 = ymm7[4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm12 = ymm6[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm13 = ymm12[u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0],ymm13[1,2,3,4],ymm10[5,6],ymm13[7],ymm10[8],ymm13[9,10,11,12],ymm10[13,14],ymm13[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1],ymm4[2],ymm3[3,4],ymm4[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm15 = xmm14[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm13[u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm15[0],xmm2[1,2],xmm15[3],xmm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0,1,2],ymm8[3,4,5,6,7],ymm10[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm2 = xmm9[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm11[2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm9[0,1,2,3],xmm2[4],xmm9[5,6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm9 = ymm7[6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm10 = ymm12[u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0],ymm10[1,2,3,4],ymm9[5,6],ymm10[7],ymm9[8],ymm10[9,10,11,12],ymm9[13,14],ymm10[15]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm9[0,1,2],ymm2[3,4,5,6,7],ymm9[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm10 = xmm14[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1,2],xmm10[3],xmm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm7[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm7 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm10 = ymm6[u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm10[1,2,3,4],ymm7[5],ymm10[6,7],ymm7[8],ymm10[9,10,11,12],ymm7[13],ymm10[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm10 = xmm4[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3],xmm10[4],xmm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm10, %ymm7, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm1 = ymm2[2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm2 = ymm6[u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5],ymm2[6,7],ymm1[8],ymm2[9,10,11,12],ymm1[13],ymm2[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3],xmm2[4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4],xmm4[5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4],xmm0[5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride6_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1],ymm0[2],ymm3[3,4],ymm0[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm8[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm6[2,2,2,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,2,2]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm7[3],xmm1[4,5],xmm7[6],xmm1[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm2[2,3],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm1[0,2,2,1,4,6,6,5]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-SLOW-NEXT: vinserti128 $1, 96(%rdi), %ymm2, %ymm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm7[0,3,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,2,4,5,6,6]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm10[2],ymm2[3,4,5,6],ymm10[7],ymm2[8,9],ymm10[10],ymm2[11,12,13,14],ymm10[15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0],ymm5[1],ymm4[2,3],ymm5[4],ymm4[5,6],ymm5[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm13
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[0,2,0,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1],xmm14[2],xmm12[3],xmm14[4,5],xmm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1,2],ymm2[3,4,5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0,1,2],ymm9[3,4,5,6,7],ymm2[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm2, %ymm16
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm1[2,1,2,1,6,5,6,5]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,5,5,5]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3],xmm8[4,5],xmm6[6],xmm8[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm9[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm11[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1],ymm8[2],ymm9[3,4,5,6],ymm8[7],ymm9[8,9],ymm8[10],ymm9[11,12,13,14],ymm8[15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm13[u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1],xmm9[2],xmm10[3],xmm9[4,5],xmm10[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4,5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm8[0,1,2],ymm6[3,4,5,6,7],ymm8[8,9,10],ymm6[11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm7[1,1,0,3,5,5,4,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm9[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm10[1,2,3,4],ymm8[5,6],ymm10[7],ymm8[8],ymm10[9,10,11,12],ymm8[13,14],ymm10[15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1],ymm3[2],ymm0[3,4],ymm3[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,2,1]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm11[0,1,2,3,6,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,0,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm10[0,0,0,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4],xmm13[5,6],xmm12[7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm4[0,1],ymm5[2],ymm4[3,4],ymm5[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[2,1,2,3]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,3,2,1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm13[0,0,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,3,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm14[2,1,2,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm15[1,2],xmm2[3],xmm15[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm8[0,1,2],ymm12[3,4,5,6,7],ymm8[8,9,10],ymm12[11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm8[5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm7[6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm9[1,2,3,4],ymm2[5,6],ymm9[7],ymm2[8],ymm9[9,10,11,12],ymm2[13,14],ymm9[15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm11[0,1,2,3,7,5,6,5]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,1,1,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,7,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4],xmm10[5,6],xmm9[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0,1,2],ymm9[3,4,5,6,7],ymm2[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm14[3,1,2,1,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm13[0,1,3,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,7,7,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1,2],xmm10[3],xmm11[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[2,1,2,1,6,5,6,5]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm10[0],ymm2[1,2,3,4],ymm10[5],ymm2[6,7],ymm10[8],ymm2[9,10,11,12],ymm10[13],ymm2[14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2],ymm5[3,4],ymm4[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm5[2,2,2,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm4[8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3],xmm10[4],xmm11[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-SLOW-NEXT: vpternlogq $226, %ymm2, %ymm11, %ymm10
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm0[1],ymm3[2,3],ymm0[4],ymm3[5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm0[0,1,0,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,6,6,6,6]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm12[0,1,2,3],xmm3[4],xmm12[5],xmm3[6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2,3,4],ymm3[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,1,0,3,5,5,4,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[0,1,3,3,4,5,7,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm1[1,2,3,4],ymm7[5],ymm1[6,7],ymm7[8],ymm1[9,10,11,12],ymm7[13],ymm1[14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[1,1,2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512F-SLOW-NEXT: vpternlogq $226, %ymm1, %ymm11, %ymm4
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,3,3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm16, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride6_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm8
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4,5],xmm6[6],xmm7[7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm9
+; AVX512F-FAST-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm2[2,3],mem[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm6[2,1,2,1,6,5,6,5]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vinserti128 $1, 96(%rdi), %ymm2, %ymm7
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm7[0,3,2,3,4,7,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm11[2],ymm2[3,4,5,6],ymm11[7],ymm2[8,9],ymm11[10],ymm2[11,12,13,14],ymm11[15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5,6],ymm4[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm11[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[2,1,0,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm15[2],xmm13[3],xmm15[4,5],xmm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1,2],ymm2[3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0,1,2],ymm9[3,4,5,6,7],ymm2[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm16
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm8[0,1,2],xmm5[3],xmm8[4,5],xmm5[6],xmm8[7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm10[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1],ymm8[2],ymm9[3,4,5,6],ymm8[7],ymm9[8,9],ymm8[10],ymm9[11,12,13,14],ymm8[15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm11[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm14[u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm10[2],xmm9[3],xmm10[4,5],xmm9[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4,5],ymm9[6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm8[0,1,2],ymm5[3,4,5,6,7],ymm8[8,9,10],ymm5[11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm7[4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm6[0,3,2,3,4,7,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm9[u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm10[1,2,3,4],ymm8[5,6],ymm10[7],ymm8[8],ymm10[9,10,11,12],ymm8[13,14],ymm10[15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,2,1]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} xmm12 = xmm11[0,1,2,3,6,5,6,4]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,0,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm10[0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4],xmm13[5,6],xmm12[7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm8[0,1,2],ymm12[3,4,5,6,7],ymm8[8,9,10],ymm12[11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1],ymm4[2],ymm3[3,4],ymm4[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[2,1,2,3]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm15 = xmm14[2,1,2,0,4,5,6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,3,2,1]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm13[u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm15[0],xmm2[1,2],xmm15[3],xmm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm8[5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm7[6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm9[1,2,3,4],ymm2[5,6],ymm9[7],ymm2[8],ymm9[9,10,11,12],ymm2[13,14],ymm9[15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} xmm9 = xmm11[0,1,2,3,7,5,6,5]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4],xmm10[5,6],xmm9[7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0,1,2],ymm9[3,4,5,6,7],ymm2[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm14[3,1,2,1,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1,2],xmm10[3],xmm11[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm7[2,1,2,1,6,5,6,5]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,0,3,4,5,4,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,8,9,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm10[1,2,3,4],ymm7[5],ymm10[6,7],ymm7[8],ymm10[9,10,11,12],ymm7[13],ymm10[14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm4[2,2,2,2,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3],xmm10[4],xmm11[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-FAST-NEXT: vpternlogq $226, %ymm7, %ymm11, %ymm10
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0,1,2,3],xmm7[4],xmm12[5],xmm7[6,7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1,2,3,4],ymm7[5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,10,11,14,15,u,u,22,23,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm6[1,2,3,4],ymm2[5],ymm6[6,7],ymm2[8],ymm6[9,10,11,12],ymm2[13],ymm6[14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX512F-FAST-NEXT: vpternlogq $226, %ymm2, %ymm11, %ymm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm7, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride6_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm0 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
+; AVX512BW-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX512BW-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm5, %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm1 = <0,6,12,18,24,30,36,42,48,54,60,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm1
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
+; AVX512BW-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm5, %ymm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <1,7,13,19,25,31,37,43,49,55,61,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm6
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0,1,2],ymm1[3,4,5,6,7],ymm6[8,9,10],ymm1[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
+; AVX512BW-NEXT: # ymm6 = mem[0,1,0,1]
+; AVX512BW-NEXT: vpermi2w %ymm5, %ymm4, %ymm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <34,40,46,52,58,0,6,12,18,24,30,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm7
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3,4,5,6,7],ymm7[8,9,10],ymm6[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm7 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
+; AVX512BW-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX512BW-NEXT: vpermi2w %ymm5, %ymm4, %ymm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <35,41,47,53,59,1,7,13,19,25,31,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm8
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0,1,2],ymm7[3,4,5,6,7],ymm8[8,9,10],ymm7[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
+; AVX512BW-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm5, %ymm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <4,10,16,22,28,34,40,46,52,58,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7]
+; AVX512BW-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
+; AVX512BW-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX512BW-NEXT: vpermi2w %ymm4, %ymm5, %ymm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <5,11,17,23,29,35,41,47,53,59,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4],ymm9[5,6,7]
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512BW-NEXT: vmovdqa %ymm2, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <96 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <16 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90>
%strided.vec1 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <16 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91>
%strided.vec4 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <16 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94>
%strided.vec5 = shufflevector <96 x i16> %wide.vec, <96 x i16> poison, <16 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95>
- store <16 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <16 x i16> %strided.vec4, ptr %out.vec4, align 32
- store <16 x i16> %strided.vec5, ptr %out.vec5, align 32
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i16> %strided.vec5, ptr %out.vec5, align 64
ret void
}
-define void @vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
-; SSE-LABEL: vf32:
+define void @load_i16_stride6_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: subq $456, %rsp # imm = 0x1C8
-; SSE-NEXT: movdqa 208(%rdi), %xmm9
-; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 224(%rdi), %xmm7
-; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 64(%rdi), %xmm2
-; SSE-NEXT: movdqa 80(%rdi), %xmm10
-; SSE-NEXT: movdqa (%rdi), %xmm3
+; SSE-NEXT: subq $472, %rsp # imm = 0x1D8
+; SSE-NEXT: movdqa 304(%rdi), %xmm8
+; SSE-NEXT: movdqa 320(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm2
+; SSE-NEXT: movdqa 272(%rdi), %xmm10
+; SSE-NEXT: movdqa 208(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm3
; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 16(%rdi), %xmm14
-; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: movdqa 224(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 48(%rdi), %xmm5
-; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
-; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,0,0,0,65535,65535]
-; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm1
; SSE-NEXT: pandn %xmm0, %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[0,1,0,3]
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm14[2],xmm0[3],xmm14[3]
-; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; SSE-NEXT: pand %xmm7, %xmm0
; SSE-NEXT: por %xmm1, %xmm0
; SSE-NEXT: movdqa %xmm0, %xmm1
; SSE-NEXT: movdqa %xmm2, %xmm11
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm10, %xmm0
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[3,0]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm10[0,0]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm10[2,3]
; SSE-NEXT: pslld $16, %xmm10
; SSE-NEXT: psrldq {{.*#+}} xmm11 = xmm11[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm5[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[3,1],xmm0[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm11[2,0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,1,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: movdqa %xmm7, %xmm1
; SSE-NEXT: pandn %xmm0, %xmm1
-; SSE-NEXT: movdqa 192(%rdi), %xmm0
+; SSE-NEXT: movdqa 288(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
-; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
-; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm9[2],xmm0[3],xmm9[3]
-; SSE-NEXT: pand %xmm8, %xmm0
-; SSE-NEXT: movdqa %xmm8, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm7[0,1,2,3,4,6,6,7]
+; SSE-NEXT: movdqa %xmm8, %xmm6
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; SSE-NEXT: pand %xmm10, %xmm0
; SSE-NEXT: por %xmm1, %xmm0
; SSE-NEXT: movdqa %xmm0, %xmm1
-; SSE-NEXT: movdqa 256(%rdi), %xmm4
-; SSE-NEXT: movdqa 272(%rdi), %xmm0
+; SSE-NEXT: movdqa 352(%rdi), %xmm4
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[2,2,3,3]
; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
; SSE-NEXT: movdqa %xmm0, %xmm3
; SSE-NEXT: pslld $16, %xmm0
; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
-; SSE-NEXT: movdqa 240(%rdi), %xmm0
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm3
; SSE-NEXT: pandn %xmm0, %xmm3
-; SSE-NEXT: movdqa 112(%rdi), %xmm12
-; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa (%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm12[2],xmm0[3],xmm12[3]
-; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm10, %xmm0
; SSE-NEXT: por %xmm3, %xmm0
; SSE-NEXT: movdqa %xmm0, %xmm1
-; SSE-NEXT: movdqa 160(%rdi), %xmm4
-; SSE-NEXT: movdqa 176(%rdi), %xmm0
+; SSE-NEXT: movdqa 64(%rdi), %xmm4
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm4[2,2,3,3]
; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1],xmm13[2],xmm0[2],xmm13[3],xmm0[3]
; SSE-NEXT: movdqa %xmm0, %xmm3
; SSE-NEXT: pslld $16, %xmm0
; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
-; SSE-NEXT: movdqa 144(%rdi), %xmm0
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,0,2,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[0,1,0,2,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 320(%rdi), %xmm0
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
-; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm3
; SSE-NEXT: pandn %xmm0, %xmm3
-; SSE-NEXT: movdqa 304(%rdi), %xmm15
-; SSE-NEXT: movdqa 288(%rdi), %xmm0
+; SSE-NEXT: movdqa 112(%rdi), %xmm15
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,0,3]
-; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm5[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,4,6,6,7]
; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
-; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
; SSE-NEXT: por %xmm3, %xmm0
-; SSE-NEXT: movdqa %xmm0, %xmm4
-; SSE-NEXT: movdqa 352(%rdi), %xmm0
-; SSE-NEXT: movdqa 368(%rdi), %xmm11
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[2,2,3,3]
+; SSE-NEXT: movdqa 160(%rdi), %xmm1
+; SSE-NEXT: movdqa 176(%rdi), %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,2,3,3]
; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm11[0],xmm3[1],xmm11[1],xmm3[2],xmm11[2],xmm3[3],xmm11[3]
-; SSE-NEXT: movdqa %xmm11, %xmm8
-; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[2,0],xmm0[3,0]
-; SSE-NEXT: movdqa %xmm0, %xmm9
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm11[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm11[2,3]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm1[3,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm9
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm11[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm11[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pslld $16, %xmm11
; SSE-NEXT: psrldq {{.*#+}} xmm9 = xmm9[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1],xmm9[2],xmm11[2],xmm9[3],xmm11[3]
-; SSE-NEXT: movdqa 336(%rdi), %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm1[0,1,0,2,4,5,6,7]
+; SSE-NEXT: movdqa 144(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm4[0,1,0,2,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[3,1],xmm11[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm9[2,0]
-; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm14, %xmm4
-; SSE-NEXT: movdqa %xmm14, %xmm9
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm9[2,0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm9
; SSE-NEXT: psrld $16, %xmm9
-; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = mem[0,1,2,3,5,7,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
; SSE-NEXT: movdqa %xmm10, %xmm9
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: pandn %xmm14, %xmm9
-; SSE-NEXT: pand %xmm10, %xmm0
-; SSE-NEXT: por %xmm9, %xmm0
-; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm6[0,1,1,3,4,5,6,7]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[3,1],xmm9[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,0]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: pand %xmm10, %xmm11
+; SSE-NEXT: por %xmm9, %xmm11
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm9[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm0[2,0]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movdqa %xmm6, %xmm0
; SSE-NEXT: psrld $16, %xmm0
-; SSE-NEXT: pshufhw $237, (%rsp), %xmm11 # 16-byte Folded Reload
-; SSE-NEXT: # xmm11 = mem[0,1,2,3,5,7,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm7[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm0[2],xmm9[3],xmm0[3]
; SSE-NEXT: movdqa %xmm10, %xmm0
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: pandn %xmm9, %xmm0
-; SSE-NEXT: pand %xmm10, %xmm11
-; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm0[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm2[2,0]
-; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: psrld $16, %xmm12
-; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = mem[0,1,2,3,5,7,6,7]
-; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm2[2,0]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm0[2],xmm14[3],xmm0[3]
; SSE-NEXT: movdqa %xmm10, %xmm0
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; SSE-NEXT: pandn %xmm11, %xmm0
-; SSE-NEXT: pand %xmm10, %xmm2
-; SSE-NEXT: por %xmm0, %xmm2
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm9, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm12[0,1,1,3,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[3,1],xmm0[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm13[2,0]
-; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm13[2,0]
+; SSE-NEXT: movdqa %xmm15, %xmm12
; SSE-NEXT: movdqa %xmm15, %xmm0
; SSE-NEXT: psrld $16, %xmm0
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,5,7,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,5,7,6,7]
; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
; SSE-NEXT: pand %xmm10, %xmm2
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; SSE-NEXT: pandn %xmm7, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pandn %xmm15, %xmm10
; SSE-NEXT: por %xmm2, %xmm10
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,1,3,4,5,6,7]
; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,1],xmm3[2,0]
; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm14, %xmm13
-; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm11
+; SSE-NEXT: movdqa %xmm1, %xmm0
; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
; SSE-NEXT: punpcklqdq {{.*#+}} xmm0 = xmm0[0],xmm1[0]
; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,65535,0,0,65535,65535,65535]
-; SSE-NEXT: movdqa %xmm1, %xmm2
-; SSE-NEXT: pandn %xmm0, %xmm2
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm4[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm4[2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm5[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm5[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm0[1,0,2,3,4,5,6,7]
; SSE-NEXT: pand %xmm1, %xmm4
-; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: shufps $132, (%rsp), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,4,6,5,4]
-; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,65535,65535,0,0,0]
-; SSE-NEXT: movdqa %xmm12, %xmm5
-; SSE-NEXT: pandn %xmm2, %xmm5
-; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: pand %xmm0, %xmm4
; SSE-NEXT: por %xmm4, %xmm5
-; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm9, %xmm2
-; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm9[1,1,1,1]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm2 = xmm2[0],xmm4[0]
+; SSE-NEXT: movdqa %xmm5, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm7, %xmm13
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm4[0]
; SSE-NEXT: movdqa %xmm1, %xmm4
-; SSE-NEXT: pandn %xmm2, %xmm4
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm6[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[2,0],xmm6[2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm5[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,0,2,3,4,5,6,7]
-; SSE-NEXT: pand %xmm1, %xmm2
-; SSE-NEXT: por %xmm4, %xmm2
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm6[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm6[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm1, %xmm5
+; SSE-NEXT: por %xmm4, %xmm5
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,0]
; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,5,4]
-; SSE-NEXT: movdqa %xmm12, %xmm6
+; SSE-NEXT: movdqa %xmm0, %xmm6
; SSE-NEXT: pandn %xmm4, %xmm6
-; SSE-NEXT: pand %xmm12, %xmm2
-; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pand %xmm0, %xmm5
+; SSE-NEXT: por %xmm5, %xmm6
; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm7, %xmm2
-; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[1,1,1,1]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm2 = xmm2[0],xmm4[0]
-; SSE-NEXT: movdqa %xmm1, %xmm4
-; SSE-NEXT: pandn %xmm2, %xmm4
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm15[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm15[2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm9[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm4 = xmm4[0],xmm5[0]
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm6[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm6[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm4[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,0,2,3,4,5,6,7]
; SSE-NEXT: pand %xmm1, %xmm6
-; SSE-NEXT: por %xmm4, %xmm6
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm8[0,2]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,6,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,0]
-; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,5,4]
-; SSE-NEXT: movdqa %xmm12, %xmm7
-; SSE-NEXT: pandn %xmm4, %xmm7
-; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm5, %xmm6
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: pand %xmm0, %xmm6
; SSE-NEXT: por %xmm6, %xmm7
; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm11, %xmm7
-; SSE-NEXT: movdqa %xmm11, %xmm4
-; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm11[1,1,1,1]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm4 = xmm4[0],xmm6[0]
+; SSE-NEXT: movdqa %xmm15, %xmm5
+; SSE-NEXT: psrldq {{.*#+}} xmm5 = xmm5[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm7[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm5 = xmm5[0],xmm6[0]
; SSE-NEXT: movdqa %xmm1, %xmm6
-; SSE-NEXT: pandn %xmm4, %xmm6
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm0[0,0]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm0[2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm4[0,2,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[1,0,2,3,4,5,6,7]
-; SSE-NEXT: pand %xmm1, %xmm8
-; SSE-NEXT: por %xmm6, %xmm8
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
-; SSE-NEXT: # xmm15 = xmm15[0,1],mem[0,2]
-; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm15[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pandn %xmm5, %xmm6
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm12[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[2,0],xmm12[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm1, %xmm12
+; SSE-NEXT: por %xmm6, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,0]
; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,5,4]
-; SSE-NEXT: movdqa %xmm12, %xmm0
-; SSE-NEXT: pandn %xmm6, %xmm0
-; SSE-NEXT: pand %xmm12, %xmm8
-; SSE-NEXT: por %xmm8, %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm10, %xmm6
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: pandn %xmm6, %xmm8
+; SSE-NEXT: pand %xmm0, %xmm12
+; SSE-NEXT: por %xmm12, %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm6
; SSE-NEXT: psrlq $48, %xmm6
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm13[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm11[2,2,3,3]
; SSE-NEXT: punpcklqdq {{.*#+}} xmm8 = xmm8[0],xmm6[0]
; SSE-NEXT: movdqa %xmm1, %xmm6
; SSE-NEXT: pandn %xmm8, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: pandn %xmm6, %xmm8
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm2, %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm13[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm10[0]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm2
; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
; SSE-NEXT: pand %xmm1, %xmm3
-; SSE-NEXT: por %xmm6, %xmm3
-; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = mem[0,1,2,3,7,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
-; SSE-NEXT: movdqa %xmm12, %xmm0
-; SSE-NEXT: pandn %xmm6, %xmm0
-; SSE-NEXT: pand %xmm12, %xmm3
-; SSE-NEXT: por %xmm3, %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm0, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: psrlq $48, %xmm9
-; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = mem[2,2,3,3]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm9[0]
-; SSE-NEXT: movdqa %xmm1, %xmm3
-; SSE-NEXT: pandn %xmm6, %xmm3
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm1, %xmm5
-; SSE-NEXT: por %xmm3, %xmm5
-; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
-; SSE-NEXT: # xmm3 = mem[0,1,2,3,7,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,2]
-; SSE-NEXT: movdqa %xmm12, %xmm0
-; SSE-NEXT: pandn %xmm3, %xmm0
-; SSE-NEXT: pand %xmm12, %xmm5
-; SSE-NEXT: por %xmm5, %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm11, %xmm9
-; SSE-NEXT: movdqa %xmm11, %xmm3
-; SSE-NEXT: psrlq $48, %xmm3
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm7[2,2,3,3]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm5 = xmm5[0],xmm3[0]
-; SSE-NEXT: movdqa %xmm1, %xmm3
-; SSE-NEXT: pandn %xmm5, %xmm3
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,3,3,4,5,6,7]
-; SSE-NEXT: pand %xmm1, %xmm4
-; SSE-NEXT: por %xmm3, %xmm4
-; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm15[0,1,2,3,7,5,6,7]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,2]
-; SSE-NEXT: movdqa %xmm12, %xmm11
-; SSE-NEXT: pandn %xmm3, %xmm11
-; SSE-NEXT: pand %xmm12, %xmm4
-; SSE-NEXT: por %xmm4, %xmm11
-; SSE-NEXT: psrlq $48, %xmm14
-; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; SSE-NEXT: # xmm4 = mem[2,2,3,3]
-; SSE-NEXT: punpcklqdq {{.*#+}} xmm4 = xmm4[0],xmm14[0]
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm9[0]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm1, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm0, %xmm11
+; SSE-NEXT: pandn %xmm2, %xmm11
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm3, %xmm11
+; SSE-NEXT: psrlq $48, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm15[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm7[0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm5[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,3,3,4,5,6,7]
; SSE-NEXT: pand %xmm1, %xmm2
-; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
; SSE-NEXT: por %xmm2, %xmm1
; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
-; SSE-NEXT: movdqa %xmm12, %xmm7
-; SSE-NEXT: pandn %xmm2, %xmm7
-; SSE-NEXT: pand %xmm12, %xmm1
-; SSE-NEXT: por %xmm1, %xmm7
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[1,1,1,1]
-; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = mem[2,3,2,3]
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: pandn %xmm2, %xmm9
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm1, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[2,3,2,3]
; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm8[0,1,2,3,4,5,4,6]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm10[1]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm12[1]
; SSE-NEXT: movss {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm14[0,2,2,3,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm12[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
-; SSE-NEXT: movdqa %xmm12, %xmm6
-; SSE-NEXT: pandn %xmm2, %xmm6
-; SSE-NEXT: andps %xmm12, %xmm3
-; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: andps %xmm0, %xmm3
+; SSE-NEXT: por %xmm3, %xmm7
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[1,1,1,1]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[2,3,2,3]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
-; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; SSE-NEXT: # xmm1 = mem[0,1,0,3]
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm13[0,1,2,3,4,5,4,6]
; SSE-NEXT: punpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = xmm2[1],mem[1]
; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
-; SSE-NEXT: movdqa %xmm12, %xmm5
-; SSE-NEXT: pandn %xmm3, %xmm5
-; SSE-NEXT: andps %xmm12, %xmm2
-; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm0, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: andps %xmm0, %xmm2
+; SSE-NEXT: por %xmm2, %xmm6
; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[0,1,0,3]
; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,5,4,6]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
+; SSE-NEXT: punpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[1],mem[1]
; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5,4,6]
-; SSE-NEXT: movdqa %xmm12, %xmm4
-; SSE-NEXT: pandn %xmm1, %xmm4
-; SSE-NEXT: andps %xmm12, %xmm2
-; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: andps %xmm0, %xmm2
+; SSE-NEXT: por %xmm2, %xmm5
; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[0,2,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
-; SSE-NEXT: movdqa %xmm12, %xmm3
+; SSE-NEXT: movdqa %xmm0, %xmm3
; SSE-NEXT: pandn %xmm2, %xmm3
-; SSE-NEXT: andps %xmm12, %xmm1
+; SSE-NEXT: andps %xmm0, %xmm1
; SSE-NEXT: por %xmm1, %xmm3
-; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: psrlq $48, %xmm10
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
-; SSE-NEXT: psrld $16, %xmm10
+; SSE-NEXT: psrld $16, %xmm1
; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,4,5,5,7]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm10[1]
-; SSE-NEXT: movss {{.*#+}} xmm2 = xmm1[0],xmm2[1,2,3]
-; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm14[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm1[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm4[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm1[0,1,2,3,4,4,5,7]
-; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm0, %xmm1
; SSE-NEXT: pandn %xmm8, %xmm1
-; SSE-NEXT: andps %xmm12, %xmm2
+; SSE-NEXT: andps %xmm0, %xmm2
; SSE-NEXT: por %xmm2, %xmm1
; SSE-NEXT: psrlq $48, %xmm15
-; SSE-NEXT: psrldq {{.*#+}} xmm13 = xmm13[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: psrld $16, %xmm9
-; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = mem[0,1,2,3,4,5,5,7]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
-; SSE-NEXT: movss {{.*#+}} xmm2 = xmm13[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm8
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm13[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm8[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm4[0],xmm2[1,2,3]
; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,5,7]
-; SSE-NEXT: movdqa %xmm12, %xmm15
+; SSE-NEXT: movdqa %xmm0, %xmm15
; SSE-NEXT: pandn %xmm8, %xmm15
-; SSE-NEXT: andps %xmm12, %xmm2
+; SSE-NEXT: andps %xmm0, %xmm2
; SSE-NEXT: por %xmm2, %xmm15
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm4
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
-; SSE-NEXT: movdqa %xmm2, %xmm8
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: psrld $16, %xmm9
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm8
; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[0,1,2,3,4,5,5,7]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
-; SSE-NEXT: movss {{.*#+}} xmm2 = xmm8[0],xmm2[1,2,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm8[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm4[0],xmm2[1,2,3]
; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,5,7]
-; SSE-NEXT: movdqa %xmm12, %xmm13
-; SSE-NEXT: pandn %xmm8, %xmm13
-; SSE-NEXT: andps %xmm12, %xmm2
-; SSE-NEXT: por %xmm2, %xmm13
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: psrlq $48, %xmm8
+; SSE-NEXT: movdqa %xmm0, %xmm12
+; SSE-NEXT: pandn %xmm8, %xmm12
+; SSE-NEXT: andps %xmm0, %xmm2
+; SSE-NEXT: por %xmm2, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm4
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3]
-; SSE-NEXT: movdqa %xmm2, %xmm8
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: psrld $16, %xmm9
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm8
; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[0,1,2,3,4,5,5,7]
-; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
-; SSE-NEXT: movss {{.*#+}} xmm2 = xmm8[0],xmm2[1,2,3]
-; SSE-NEXT: andps %xmm12, %xmm2
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm8[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm4[0],xmm2[1,2,3]
+; SSE-NEXT: andps %xmm0, %xmm2
; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,5,7]
-; SSE-NEXT: pandn %xmm8, %xmm12
-; SSE-NEXT: por %xmm2, %xmm12
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 16(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 32(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps %xmm14, (%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 48(%rdx)
-; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 16(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 32(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, (%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 16(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 48(%rcx)
+; SSE-NEXT: movaps %xmm2, (%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rcx)
+; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
; SSE-NEXT: movaps %xmm2, 32(%rcx)
+; SSE-NEXT: movdqa %xmm9, 16(%r8)
+; SSE-NEXT: movdqa %xmm11, (%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, (%rcx)
-; SSE-NEXT: movdqa %xmm7, 48(%r8)
-; SSE-NEXT: movdqa %xmm11, 16(%r8)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 32(%r8)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, (%r8)
-; SSE-NEXT: movdqa %xmm3, 48(%r9)
-; SSE-NEXT: movdqa %xmm4, 16(%r9)
-; SSE-NEXT: movdqa %xmm5, 32(%r9)
-; SSE-NEXT: movdqa %xmm6, (%r9)
+; SSE-NEXT: movaps %xmm2, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%r8)
+; SSE-NEXT: movdqa %xmm3, 16(%r9)
+; SSE-NEXT: movdqa %xmm5, (%r9)
+; SSE-NEXT: movdqa %xmm6, 48(%r9)
+; SSE-NEXT: movdqa %xmm7, 32(%r9)
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; SSE-NEXT: movdqa %xmm12, 48(%rax)
-; SSE-NEXT: movdqa %xmm13, 16(%rax)
-; SSE-NEXT: movdqa %xmm15, 32(%rax)
-; SSE-NEXT: movdqa %xmm1, (%rax)
-; SSE-NEXT: addq $456, %rsp # imm = 0x1C8
+; SSE-NEXT: movdqa %xmm0, 16(%rax)
+; SSE-NEXT: movdqa %xmm12, (%rax)
+; SSE-NEXT: movdqa %xmm15, 48(%rax)
+; SSE-NEXT: movdqa %xmm1, 32(%rax)
+; SSE-NEXT: addq $472, %rsp # imm = 0x1D8
; SSE-NEXT: retq
;
-; AVX1-LABEL: vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $536, %rsp # imm = 0x218
-; AVX1-NEXT: vmovdqa 288(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vmovdqa 304(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovdqa 272(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpslld $16, %xmm1, %xmm1
-; AVX1-NEXT: vmovdqa 256(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm1
-; AVX1-NEXT: vmovdqa 224(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrlq $16, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa 240(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
-; AVX1-NEXT: vmovdqa 192(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vmovdqa 208(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5],xmm3[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
-; AVX1-NEXT: vmovdqa 368(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpslld $16, %xmm0, %xmm2
-; AVX1-NEXT: vmovdqa 352(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm3 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
-; AVX1-NEXT: vmovdqa 320(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrlq $16, %xmm0, %xmm4
-; AVX1-NEXT: vmovdqa 336(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm5 = xmm0[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3,4,5],xmm2[6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm0, %ymm1, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
-; AVX1-NEXT: vandnps %ymm2, %ymm0, %ymm2
-; AVX1-NEXT: vorps %ymm2, %ymm1, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm11
-; AVX1-NEXT: vpslld $16, %xmm11, %xmm1
-; AVX1-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm10
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm2 = xmm10[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm1[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm13
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm13[2],xmm4[3],xmm13[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm5
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm8
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrlq $16, %xmm8, %xmm4
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm6 = xmm2[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm12
-; AVX1-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm9 = xmm4[0,1,2,3,4,6,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm9[2],xmm12[2],xmm9[3],xmm12[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2],xmm6[3,4,5],xmm9[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2],ymm5[3,4,5],ymm6[6,7]
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm14
-; AVX1-NEXT: vpslld $16, %xmm14, %xmm6
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm7
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm9 = xmm7[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm3
-; AVX1-NEXT: vpsrlq $16, %xmm3, %xmm9
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm15 = xmm0[0,1,0,2,4,5,6,7]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm15[0],xmm9[0],xmm15[1],xmm9[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2,3,4,5],xmm6[6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm9 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm5, %ymm9, %ymm5
-; AVX1-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
-; AVX1-NEXT: vandnps %ymm6, %ymm9, %ymm6
-; AVX1-NEXT: vorps %ymm6, %ymm5, %ymm5
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrld $16, %xmm13, %xmm5
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm10[2,2,3,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm11[0],xmm5[1],xmm11[1],xmm5[2],xmm11[2],xmm5[3],xmm11[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm5, %ymm1
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm8[1,1,1,1]
-; AVX1-NEXT: vmovdqa %xmm8, %xmm10
-; AVX1-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa %xmm12, %xmm9
-; AVX1-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpsrld $16, %xmm12, %xmm5
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3,4,5],xmm4[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
-; AVX1-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[1,1,1,1]
-; AVX1-NEXT: vmovdqa %xmm3, %xmm15
-; AVX1-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[2,2,3,3]
-; AVX1-NEXT: vmovdqa %xmm14, %xmm8
-; AVX1-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm14[0],xmm2[1],xmm14[1],xmm2[2],xmm14[2],xmm2[3],xmm14[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm2[6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm2, %ymm1, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vandnps %ymm0, %ymm2, %ymm0
-; AVX1-NEXT: vmovaps %ymm2, %ymm3
-; AVX1-NEXT: vorps %ymm0, %ymm1, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm0 = mem[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm1, %xmm1
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm1 = xmm7[2,2,3,3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
-; AVX1-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[0,1,2,3,5,7,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm14, %xmm4
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
-; AVX1-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[1,1,1,1]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[2,2,3,3]
-; AVX1-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1],xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
-; AVX1-NEXT: vandps %ymm3, %ymm0, %ymm0
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
-; AVX1-NEXT: vandnps %ymm1, %ymm3, %ymm1
-; AVX1-NEXT: vorps %ymm1, %ymm0, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm0 = mem[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm1 = xmm10[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = [4,5,0,1,12,13,14,15,8,9,10,11,12,13,14,15]
-; AVX1-NEXT: vpblendw $12, (%rsp), %xmm9, %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = xmm9[0,1],mem[2,3],xmm9[4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb %xmm0, %xmm2, %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm11 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm11 = xmm13[0,1],mem[2,3],xmm13[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm0, %xmm11, %xmm2
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,8,9,0,1,12,13,8,9]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm13 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm13 = mem[0,1,2,3],xmm3[4,5],mem[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm13, %xmm3
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm2
-; AVX1-NEXT: vmovaps {{.*#+}} ymm3 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
-; AVX1-NEXT: vandnps %ymm1, %ymm3, %ymm1
-; AVX1-NEXT: vandps %ymm3, %ymm2, %ymm2
-; AVX1-NEXT: vorps %ymm1, %ymm2, %ymm1
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm4 = xmm15[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm4[0],xmm2[0]
-; AVX1-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[0,1,2,3],xmm8[4,5],mem[6,7]
-; AVX1-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb %xmm9, %xmm4, %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3,4],xmm4[5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm4 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm4, %ymm1, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
-; AVX1-NEXT: vandnps %ymm2, %ymm4, %ymm2
-; AVX1-NEXT: vorps %ymm2, %ymm1, %ymm1
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[1,1,1,1]
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm2 = xmm12[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm2[0],xmm1[0]
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = xmm14[0,1],mem[2,3],xmm14[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm0, %xmm4, %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm15 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm0, %xmm2, %xmm0
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1,2,3],xmm6[4,5],xmm7[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm14
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm14, %ymm0
-; AVX1-NEXT: vandnps %ymm15, %ymm3, %ymm14
-; AVX1-NEXT: vandps %ymm3, %ymm0, %ymm0
-; AVX1-NEXT: vorps %ymm0, %ymm14, %ymm14
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm15 = xmm8[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm15 = xmm15[0],xmm0[0]
-; AVX1-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm0 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm0 = xmm5[0,1,2,3],mem[4,5],xmm5[6,7]
-; AVX1-NEXT: vpshufb %xmm9, %xmm0, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm15[3,4],xmm5[5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm6 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm6, %ymm14, %ymm14
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
-; AVX1-NEXT: vandnps %ymm5, %ymm6, %ymm5
-; AVX1-NEXT: vorps %ymm5, %ymm14, %ymm5
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm15, %xmm5
-; AVX1-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm14 = mem[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm5 = xmm14[0],xmm5[0]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm14 = [6,7,2,3,14,15,14,15,8,9,10,11,12,13,14,15]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; AVX1-NEXT: vpshufb %xmm14, %xmm6, %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3,4],xmm9[5,6,7]
-; AVX1-NEXT: vpshufb %xmm14, %xmm11, %xmm7
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,14,15,2,3,14,15,10,11]
-; AVX1-NEXT: vpshufb %xmm9, %xmm13, %xmm13
-; AVX1-NEXT: vinsertf128 $1, %xmm7, %ymm13, %ymm7
-; AVX1-NEXT: vandnps %ymm5, %ymm3, %ymm5
-; AVX1-NEXT: vandps %ymm3, %ymm7, %ymm7
-; AVX1-NEXT: vorps %ymm5, %ymm7, %ymm5
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm11, %xmm7
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm13 = xmm12[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm7 = xmm13[0],xmm7[0]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; AVX1-NEXT: vpshufb %xmm9, %xmm6, %xmm6
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm7[3,4],xmm6[5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm7, %ymm5, %ymm5
-; AVX1-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
-; AVX1-NEXT: vandnps %ymm6, %ymm7, %ymm6
-; AVX1-NEXT: vorps %ymm6, %ymm5, %ymm5
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm13, %xmm5
-; AVX1-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm6 = mem[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm5 = xmm6[0],xmm5[0]
-; AVX1-NEXT: vpshufb %xmm14, %xmm4, %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm5[3,4],xmm4[5,6,7]
-; AVX1-NEXT: vpshufb %xmm14, %xmm2, %xmm2
-; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm1
-; AVX1-NEXT: vinsertf128 $1, %xmm2, %ymm1, %ymm1
-; AVX1-NEXT: vandnps %ymm4, %ymm3, %ymm2
-; AVX1-NEXT: vandps %ymm3, %ymm1, %ymm1
-; AVX1-NEXT: vorps %ymm2, %ymm1, %ymm1
-; AVX1-NEXT: vmovdqa %xmm10, %xmm14
-; AVX1-NEXT: vpsrlq $48, %xmm10, %xmm2
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm8[2,2,3,3]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
-; AVX1-NEXT: vpshufb %xmm9, %xmm0, %xmm0
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3,4],xmm0[5,6,7]
-; AVX1-NEXT: vandps %ymm7, %ymm1, %ymm1
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vandnps %ymm0, %ymm7, %ymm0
-; AVX1-NEXT: vorps %ymm0, %ymm1, %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = mem[1,1,1,1]
-; AVX1-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm6 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,4,5,4,5,6,7,0,1,4,5,0,1,12,13]
-; AVX1-NEXT: vpshufb %xmm3, %xmm6, %xmm2
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm1
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm2 = mem[1,1,1,1]
-; AVX1-NEXT: vpshufd $238, (%rsp), %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = mem[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
-; AVX1-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm7 = mem[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm4 = xmm7[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm4[1],xmm15[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0,1],xmm4[2,3,4,5,6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
-; AVX1-NEXT: vandnps %ymm1, %ymm2, %ymm1
-; AVX1-NEXT: vandps %ymm2, %ymm4, %ymm4
-; AVX1-NEXT: vorps %ymm1, %ymm4, %ymm1
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm5 = xmm12[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm8 = xmm5[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm8 = xmm8[1],xmm11[1]
-; AVX1-NEXT: vpshufb %xmm3, %xmm4, %xmm9
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm9[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm9 = xmm15[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm8 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm8 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm3, %xmm8, %xmm10
-; AVX1-NEXT: vinsertf128 $1, %xmm9, %ymm10, %ymm9
-; AVX1-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm10 = mem[1,1,1,1]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpshufd {{.*#+}} xmm11 = xmm0[2,3,2,3]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
-; AVX1-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm10 = mem[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm12 = xmm10[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm12 = xmm12[1],xmm13[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm12[2,3,4,5,6,7]
-; AVX1-NEXT: vandnps %ymm9, %ymm2, %ymm9
-; AVX1-NEXT: vandps %ymm2, %ymm11, %ymm11
-; AVX1-NEXT: vorps %ymm9, %ymm11, %ymm11
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; AVX1-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm9 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm9 = mem[0,1],xmm9[2,3],mem[4,5,6,7]
-; AVX1-NEXT: vpshufb %xmm3, %xmm9, %xmm3
-; AVX1-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm13 = mem[0,1,0,3]
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm12 = xmm13[0,1,2,3,4,5,4,6]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm12 = xmm12[1],xmm14[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm12[0,1,2,3,4],xmm3[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm11[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm11, %xmm11
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm12 = xmm12[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,2,3,4,5,6,7,6,7,6,7,2,3,14,15]
-; AVX1-NEXT: vpshufb %xmm11, %xmm6, %xmm6
-; AVX1-NEXT: vinsertf128 $1, %xmm12, %ymm6, %ymm6
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm12, %xmm12
-; AVX1-NEXT: vmovdqa (%rsp), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm14 = xmm14[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm14, %xmm14
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm7 = xmm7[1],xmm14[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3,4,5,6,7]
-; AVX1-NEXT: vandnps %ymm6, %ymm2, %ymm6
-; AVX1-NEXT: vandps %ymm2, %ymm7, %ymm7
-; AVX1-NEXT: vorps %ymm6, %ymm7, %ymm6
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm7, %xmm7
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm5[1],xmm7[1]
-; AVX1-NEXT: vpshufb %xmm11, %xmm4, %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4],xmm4[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5,6,7]
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm5
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm6 = xmm15[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
-; AVX1-NEXT: vpshufb %xmm11, %xmm8, %xmm6
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm6, %ymm5
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vpsrlq $48, %xmm1, %xmm6
-; AVX1-NEXT: vpsrldq {{.*#+}} xmm7 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm0, %xmm7
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm8 = xmm10[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm7 = xmm8[1],xmm7[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3,4,5,6,7]
-; AVX1-NEXT: vandnps %ymm5, %ymm2, %ymm5
-; AVX1-NEXT: vandps %ymm2, %ymm6, %ymm2
-; AVX1-NEXT: vorps %ymm5, %ymm2, %ymm2
-; AVX1-NEXT: vpshufb %xmm11, %xmm9, %xmm5
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; AVX1-NEXT: vpsrld $16, %xmm0, %xmm6
-; AVX1-NEXT: vpshufhw {{.*#+}} xmm7 = xmm13[0,1,2,3,4,5,5,7]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm7[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4],xmm5[5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm5[5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vmovaps %ymm3, 32(%r9)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%r9)
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps %ymm2, 32(%rax)
-; AVX1-NEXT: vmovaps %ymm4, (%rax)
-; AVX1-NEXT: addq $536, %rsp # imm = 0x218
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i16_stride6_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $536, %rsp # imm = 0x218
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm12[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm6[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpslld $16, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm13[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm3[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm10[2],xmm1[2],xmm10[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0,1,2],xmm2[3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm1[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm14, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1],xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm10[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm7[0],xmm2[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm8[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm15, %xmm8
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm7 = xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0,1,2],xmm2[3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm6[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm11[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm11[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm6, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm5[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm9[0],xmm2[1],xmm9[1],xmm2[2],xmm9[2],xmm2[3],xmm9[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm13[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1],xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm6, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm10[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = [4,5,0,1,12,13,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = xmm15[0,1],mem[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm14[0,1],mem[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,8,9,0,1,12,13,8,9]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3],xmm6[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm1 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm1, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm14[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm7 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm7 = xmm7[0],xmm5[0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm11[0,1,2,3],xmm8[4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm1, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm6, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm7 = xmm13[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm7 = xmm7[0],xmm6[0]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm9[0,1],mem[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0,1,2],xmm7[3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, (%rsp), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm7[0,1],mem[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,2,3],xmm8[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm15, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm9 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm9, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm9, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm15 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm15 = xmm15[0],xmm0[0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3],xmm12[4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm15[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm3 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm11[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,2,3,14,15,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0,1,2],xmm2[3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [0,1,2,3,4,5,6,7,14,15,2,3,14,15,10,11]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm9, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm9, %ymm3
+; AVX1-ONLY-NEXT: vmovaps %ymm9, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm4[0],xmm3[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm4 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vmovaps %ymm4, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm12, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm12, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm4[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,4,5,4,5,6,7,0,1,4,5,0,1,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm3, %ymm1
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm15, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm15, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm3, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm9[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm6[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm7 = xmm7[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm14[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, (%rsp), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm8[0],xmm10[1],xmm8[1],xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm8[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm9, %ymm15, %ymm9
+; AVX1-ONLY-NEXT: vandps %ymm15, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm9, %ymm10, %ymm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm12[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm12 = xmm9[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm12 = xmm12[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm12[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm11[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm12 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [6,7,2,3,4,5,6,7,6,7,6,7,2,3,14,15]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm13 = xmm13[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm5[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm12[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm15, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm15, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm5[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm6 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm8[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm15, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm15, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm9[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX1-ONLY-NEXT: addq $536, %rsp # imm = 0x218
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-SLOW-LABEL: vf32:
+; AVX2-SLOW-LABEL: load_i16_stride6_vf32:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: subq $520, %rsp # imm = 0x208
; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm9
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-LABEL: vf32:
+; AVX2-FAST-LABEL: load_i16_stride6_vf32:
; AVX2-FAST: # %bb.0:
; AVX2-FAST-NEXT: subq $552, %rsp # imm = 0x228
; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm0
; AVX2-FAST-NEXT: vzeroupper
; AVX2-FAST-NEXT: retq
;
-; AVX512-LABEL: vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm1
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm7
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm4, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <0,6,12,18,24,30,36,42,48,54,60,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm5, %zmm3, %zmm6
-; AVX512-NEXT: movl $4192256, %edi # imm = 0x3FF800
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqu16 %zmm8, %zmm6 {%k1}
-; AVX512-NEXT: movw $-2048, %di # imm = 0xF800
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa32 %zmm7, %zmm6 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm2, %zmm4, %zmm9
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <1,7,13,19,25,31,37,43,49,55,61,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm5, %zmm3, %zmm7
-; AVX512-NEXT: vmovdqu16 %zmm9, %zmm7 {%k1}
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm7 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm10 = <34,40,46,52,58,0,6,12,18,24,30,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm5, %zmm10
-; AVX512-NEXT: movl $2095104, %edi # imm = 0x1FF800
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqu16 %zmm9, %zmm10 {%k2}
-; AVX512-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqu16 %zmm8, %zmm10 {%k1}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm11 = <35,41,47,53,59,1,7,13,19,25,31,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm3, %zmm5, %zmm11
-; AVX512-NEXT: vmovdqu16 %zmm9, %zmm11 {%k2}
-; AVX512-NEXT: vmovdqu16 %zmm8, %zmm11 {%k1}
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <4,10,16,22,28,34,40,46,52,58,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm5, %zmm3, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
-; AVX512-NEXT: movw $31, %di
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm9 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
-; AVX512-NEXT: vmovdqu16 %zmm8, %zmm9 {%k1}
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <5,11,17,23,29,35,41,47,53,59,u,u,u,u,u,u>
-; AVX512-NEXT: vpermi2w %zmm5, %zmm3, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31]
-; AVX512-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm4, %zmm2, %zmm3
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm3 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31]
-; AVX512-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
-; AVX512-NEXT: vmovdqu16 %zmm2, %zmm3 {%k1}
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm7, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm10, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm11, (%r8)
-; AVX512-NEXT: vmovdqu64 %zmm9, (%r9)
-; AVX512-NEXT: vmovdqu64 %zmm3, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <192 x i16>, ptr %in.vec, align 32
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $552, %rsp # imm = 0x228
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm2[2,3],ymm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm2[0,1],ymm3[0,1]
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm12 = ymm1[2,3],ymm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm7[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm1, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm3 = ymm5[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm8[2],ymm11[3,4],ymm8[5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm2, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm10 = xmm8[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm0[0],xmm10[1],xmm0[2,3],xmm10[4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm10, %ymm9, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm12, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm9 = ymm12[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm9, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm13 = ymm13[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm10 = ymm13[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm10[0],ymm4[1,2,3,4],ymm10[5],ymm4[6,7],ymm10[8],ymm4[9,10,11,12],ymm10[13],ymm4[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm6[0,1],ymm10[2],ymm6[3,4],ymm10[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm12, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm14[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm15[0],xmm6[1],xmm15[2,3],xmm6[4],xmm15[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm6, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm8[1],xmm2[2,3],xmm8[4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm13, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm9, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5],ymm2[6,7],ymm1[8],ymm2[9,10,11,12],ymm1[13],ymm2[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3],xmm2[4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm7[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm3, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm5[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm6 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0,1],ymm1[2],ymm6[3,4,5,6],ymm1[7],ymm6[8,9],ymm1[10],ymm6[11,12,13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, (%rsp), %ymm11, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm8 = mem[0],ymm11[1],mem[2,3],ymm11[4],mem[5,6],ymm11[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm14 = xmm12[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm14, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1],xmm13[2],xmm12[3],xmm13[4,5],xmm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2],ymm1[3,4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm5, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm12[3],xmm11[4,5],xmm12[6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm1[0,1,2],ymm11[3,4,5,6,7],ymm1[8,9,10],ymm11[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm11 = ymm0[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm11, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm7[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm12 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0,1],ymm1[2],ymm12[3,4,5,6],ymm1[7],ymm12[8,9],ymm1[10],ymm12[11,12,13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = ymm10[0],mem[1],ymm10[2,3],mem[4],ymm10[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm12, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm4 = xmm10[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm4, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm15[0,1],xmm10[2],xmm15[3],xmm10[4,5],xmm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2],ymm3[3,4,5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm6[2],ymm1[3,4],ymm6[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm13[0,1,2],xmm6[3],xmm13[4,5],xmm6[6],xmm13[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm3[0,1,2],ymm6[3,4,5,6,7],ymm3[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} ymm11 = ymm11[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm11[2],ymm2[3,4,5,6],ymm11[7],ymm2[8,9],ymm11[10],ymm2[11,12,13,14],ymm11[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm12[0,1],xmm4[2],xmm12[3],xmm4[4,5],xmm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2],ymm2[3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4,5],xmm0[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7],ymm2[8,9,10],ymm0[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm4[2],xmm2[3],xmm4[4,5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1],ymm5[2],ymm4[3,4,5,6],ymm5[7],ymm4[8,9],ymm5[10],ymm4[11,12,13,14],ymm5[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm4[3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7],ymm2[8,9,10],ymm0[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm7, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm4, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm6[1,2,3,4],ymm5[5,6],ymm6[7],ymm5[8],ymm6[9,10,11,12],ymm5[13,14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1],ymm15[2],ymm10[3,4],ymm15[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm8 = xmm6[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm9 = xmm6[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm12 = xmm9[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3],xmm12[4],xmm6[5,6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm13, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm12[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1,2],xmm3[3],xmm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5,6,7],ymm5[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm10, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm3[1,2,3,4],ymm0[5,6],ymm3[7],ymm0[8],ymm3[9,10,11,12],ymm0[13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1],ymm15[2],mem[3,4],ymm15[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm5, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm11 = xmm3[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3],xmm11[4],xmm7[5,6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, (%rsp), %ymm2, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm11 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm11, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm2, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm11[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm14[1,2],xmm6[3],xmm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm0[0,1,2],ymm7[3,4,5,6,7],ymm0[8,9,10],ymm7[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm7, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm7[0],ymm4[1,2,3,4],ymm7[5,6],ymm4[7],ymm7[8],ymm4[9,10,11,12],ymm7[13,14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm9[4],xmm8[5,6],xmm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm13, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1,2],xmm12[3],xmm13[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm4[0,1,2],ymm8[3,4,5,6,7],ymm4[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm12[0,1,2,3,4],xmm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm10, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0],ymm1[1,2,3,4],ymm6[5,6],ymm1[7],ymm6[8],ymm1[9,10,11,12],ymm6[13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3],xmm3[4],xmm5[5,6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm5 = xmm11[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0],xmm2[1,2],xmm5[3],xmm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0,1,2],ymm3[3,4,5,6,7],ymm1[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm15[0],mem[1],ymm15[2,3],mem[4],ymm15[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm3, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm2, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm8[0,1,2,3],xmm6[4],xmm8[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = mem[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm8 = mem[0],ymm8[1],mem[2,3],ymm8[4],mem[5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm9, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2,3],xmm5[4],xmm7[5],xmm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm9, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm7[0,1,2,3],xmm3[4],xmm7[5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $552, %rsp # imm = 0x228
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i16_stride6_vf32:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: pushq %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0],ymm0[1],ymm14[2,3],ymm0[4],ymm14[5,6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm0, %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2],xmm0[3],xmm1[4,5],xmm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1],ymm5[2],ymm7[3,4],ymm5[5],ymm7[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm7, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm5, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm9[3],xmm7[4,5],xmm9[6],xmm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm7, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm4[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm7[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm7, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, 96(%rdi), %ymm4, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm4[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm10[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[0,1,2,2,4,5,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm4[0,1],ymm0[2],ymm4[3,4,5,6],ymm0[7],ymm4[8,9],ymm0[10],ymm4[11,12,13,14],ymm0[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0],ymm4[1],ymm12[2,3],ymm4[4],ymm12[5,6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm12, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm9[2],xmm2[3],xmm9[4,5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm7[3,4,5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vshufi64x2 {{.*#+}} ymm22 = ymm2[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm22[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, 288(%rdi), %ymm2, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm9[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm9, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1],ymm7[2],ymm9[3,4,5,6],ymm7[7],ymm9[8,9],ymm7[10],ymm9[11,12,13,14],ymm7[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 352(%rdi), %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm13[0,1],ymm12[2],ymm13[3,4],ymm12[5],ymm13[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm13, %ymm28
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm12, %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm13, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm7[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm15[3],xmm8[4,5],xmm15[6],xmm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4,5,6,7],ymm9[8,9,10],ymm8[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm8, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm9, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm6[2],xmm3[3],xmm6[4,5],xmm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1,2],xmm1[3],xmm5[4,5],xmm1[6],xmm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm21
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm11, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm11[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1],ymm1[2],ymm3[3,4,5,6],ymm1[7],ymm3[8,9],ymm1[10],ymm3[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm4, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm3[2],xmm0[3],xmm3[4,5],xmm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm13, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm7[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm22[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm0, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1],ymm0[2],ymm14[3,4],ymm0[5],ymm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm14, %ymm31
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm0[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm11[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm14[2],ymm1[3,4],ymm14[5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm7[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm17
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm19[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm5[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm30
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm10[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm26, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2],xmm2[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm20[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm22[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm4[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm1, %xmm16
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm3[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm16[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm2[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm13[4],xmm1[5,6],xmm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm16
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm17, %zmm0, %zmm15
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm15, %zmm17, %zmm16
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm9[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm11[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm9[1,2],xmm1[3],xmm9[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2,3],xmm7[4],xmm8[5,6],xmm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm7, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm10[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm19, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm8, %ymm10, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm9[0],ymm7[1,2,3,4],ymm9[5,6],ymm7[7],ymm9[8],ymm7[9,10,11,12],ymm9[13,14],ymm7[15]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm23, %zmm0, %zmm19
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm18, %zmm0, %zmm23
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm6[1,2],xmm5[3],xmm6[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm7[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm8, %ymm13, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm4[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0],ymm4[1,2,3,4],ymm6[5,6],ymm4[7],ymm6[8],ymm4[9,10,11,12],ymm6[13,14],ymm4[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5,6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm1, %zmm0, %zmm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5,6,7],ymm4[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm20
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm5, %zmm17, %zmm20
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm31, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4],ymm2[5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm2[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm4[1],ymm14[2,3],ymm4[4],ymm14[5,6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm7, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm5, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm30, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm3[u,u,u,u,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm10[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm6[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm9[0],ymm5[1,2,3,4],ymm9[5],ymm5[6,7],ymm9[8],ymm5[9,10,11,12],ymm9[13],ymm5[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm26, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm11[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3],xmm9[4],xmm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm24 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm5, %ymm24, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: movw $31, %ax
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm25 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm13[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm22[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm13 = ymm5[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm14[0],ymm13[1,2,3,4],ymm14[5],ymm13[6,7],ymm14[8],ymm13[9,10,11,12],ymm14[13],ymm13[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm9[0],ymm13[1],ymm9[2,3],ymm13[4],ymm9[5,6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm13, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm14[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3],xmm8[4],xmm9[5],xmm8[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm15[0,1,2,3,4],ymm8[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm8, %zmm0, %zmm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm7[4],xmm4[5],xmm7[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm4, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm30[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm6[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0],ymm4[1,2,3,4],ymm6[5],ymm4[6,7],ymm6[8],ymm4[9,10,11,12],ymm6[13],ymm4[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm9, %xmm10, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm11[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3],xmm7[4],xmm6[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm4, %ymm24, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm6, %zmm1 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm5[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm4[1,2,3,4],ymm0[5],ymm4[6,7],ymm0[8],ymm4[9,10,11,12],ymm0[13],ymm4[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm14[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4],xmm4[5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm4 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm19, %zmm4 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm21, %zmm2, %zmm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm23, %zmm12 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm12, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm25, %zmm17, %zmm8
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm17, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm16, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm20, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm8, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: popq %rax
+; AVX512F-ONLY-SLOW-NEXT: vzeroupper
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i16_stride6_vf32:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: subq $136, %rsp
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm16
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm17
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm9, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2],xmm1[3],xmm2[4,5],xmm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm27
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4,5],xmm6[6],xmm7[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm6, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, 96(%rdi), %ymm5, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <0,1,4,5,u,u,6,7,8,9,8,9,8,9,u,u,16,17,20,21,u,u,22,23,24,25,24,25,24,25,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm6, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vshufi64x2 {{.*#+}} ymm22 = ymm5[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm22[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm1[0,1],ymm7[2],ymm1[3,4,5,6],ymm7[7],ymm1[8,9],ymm7[10],ymm1[11,12,13,14],ymm7[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6],ymm2[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm28
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm29
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm3[2],xmm0[3],xmm3[4,5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm12[3,4,5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, 288(%rdi), %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm18
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm2[u,u,u,u,8,9,u,u,u,u,u,u,u,u,4,5,u,u,u,u,24,25,u,u,u,u,u,u,u,u,20,21]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm2, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 320(%rdi), %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1],ymm0[2],ymm12[3,4],ymm0[5],ymm12[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm12, %ymm30
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm31
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm2, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm11, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2],xmm0[3],xmm14[4,5],xmm0[6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm13, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm13[2],xmm1[3],xmm13[4,5],xmm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm10, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2],xmm8[3],xmm10[4,5],xmm8[6],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm8, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,3,6,7,u,u,6,7,10,11,10,11,10,11,u,u,18,19,22,23,u,u,22,23,26,27,26,27,26,27,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm6, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0,1],ymm5[2],ymm6[3,4,5,6],ymm5[7],ymm6[8,9],ymm5[10],ymm6[11,12,13,14],ymm5[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm7, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm4[2],xmm0[3],xmm4[4,5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm5[3,4,5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, (%rsp) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm15[u,u,u,u,10,11,u,u,u,u,u,u,u,u,6,7,u,u,u,u,26,27,u,u,u,u,u,u,u,u,22,23]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm15, %ymm19
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6],ymm1[7],ymm0[8,9],ymm1[10],ymm0[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm11, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm16, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm17, %ymm16
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm17, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm7[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1,2],xmm0[3],xmm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm26, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm1[2],ymm3[3,4],ymm1[5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm4[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm10[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm3, %zmm17
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm20, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm0, %ymm15, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm22[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm3[0],ymm6[1,2,3,4],ymm3[5,6],ymm6[7],ymm3[8],ymm6[9,10,11,12],ymm3[13,14],ymm6[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm29, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm1[2],ymm3[3,4],ymm1[5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm6[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm14[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm14[1,2],xmm11[3],xmm14[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4],xmm13[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm18, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm0, %ymm8, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm19[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0],ymm9[1,2,3,4],ymm13[5,6],ymm9[7],ymm13[8],ymm9[9,10,11,12],ymm13[13,14],ymm9[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm30, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm31, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1],ymm0[2],ymm9[3,4],ymm0[5],ymm9[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm9, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm14[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm14 = xmm12[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm14[4],xmm0[5,6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0,1,2],ymm0[3,4,5,6,7],ymm13[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm17, %zmm0, %zmm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm11, %zmm17, %zmm18
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0],xmm2[1,2],xmm7[3],xmm2[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm10[4],xmm5[5,6],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm5, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm10, %ymm15, %ymm11
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm11[0],ymm4[1,2,3,4],ymm11[5,6],ymm4[7],ymm11[8],ymm4[9,10,11,12],ymm11[13,14],ymm4[15]
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0],xmm3[1,2],xmm6[3],xmm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm4[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm21, %zmm0, %zmm21
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm23, %zmm0, %zmm23
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm10, %ymm8, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm8, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0],ymm1[1,2,3,4],ymm4[5,6],ymm1[7],ymm4[8],ymm1[9,10,11,12],ymm4[13,14],ymm1[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm12[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5,6],xmm5[7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm2, %zmm0, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm20
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm3, %zmm17, %zmm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm6, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm9, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm3, %xmm16
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm7[0,1,2,3],xmm2[4],xmm7[5],xmm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm24
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm15[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm22[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm13, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm1[1,2,3,4],ymm8[5],ymm1[6,7],ymm8[8],ymm1[9,10,11,12],ymm8[13],ymm1[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm29, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0,1],ymm3[2],ymm1[3,4],ymm3[5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm10, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm14 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm14[1],xmm0[2,3],xmm14[4],xmm0[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm22 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm8, %ymm22, %ymm0
+; AVX512F-ONLY-FAST-NEXT: movw $31, %ax
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm0, %zmm24 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm19[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm15, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm25[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4],ymm8[5],ymm7[6,7],ymm8[8],ymm7[9,10,11,12],ymm8[13],ymm7[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm30, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm31, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm0[0],ymm3[1],ymm0[2,3],ymm3[4],ymm0[5,6],ymm3[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm11 = xmm14[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm16, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2,3],xmm0[4],xmm14[5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4],ymm0[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm13, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm13[1,2,3,4],ymm2[5],ymm13[6,7],ymm2[8],ymm13[9,10,11,12],ymm2[13],ymm13[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0],xmm1[1],xmm10[2,3],xmm1[4],xmm10[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm2, %ymm22, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm12, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3],xmm2[4],xmm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm6, %xmm9, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1,2,3],xmm5[4],xmm9[5],xmm5[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm5, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm1, %zmm2 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm4, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm15, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm4[1,2,3,4],ymm1[5],ymm4[6,7],ymm1[8],ymm4[9,10,11,12],ymm1[13],ymm4[14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm8, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm6, %xmm11, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm3 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm4 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm21, %zmm4 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 (%rsp), %zmm4 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm4 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm23, %zmm4 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm4, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm24, %zmm17, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm2, %zmm17, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm20, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-FAST-NEXT: addq $136, %rsp
+; AVX512F-ONLY-FAST-NEXT: vzeroupper
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i16_stride6_vf32:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa 192(%rdi), %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0],ymm0[1],ymm12[2,3],ymm0[4],ymm12[5,6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm20
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm0
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2],xmm0[3],xmm2[4,5],xmm0[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %ymm10
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm17
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm21
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm7
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm9, %xmm7, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm15[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm5[3],xmm4[4,5],xmm5[6],xmm4[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm4, %zmm16
+; AVX512DQ-SLOW-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm2[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm3[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm11
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, 96(%rdi), %ymm2, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm2[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm2, %ymm22
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm8[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,2,4,5,6,6]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm0[2],ymm2[3,4,5,6],ymm0[7],ymm2[8,9],ymm0[10],ymm2[11,12,13,14],ymm0[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0],ymm0[1],ymm10[2,3],ymm0[4],ymm10[5,6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm10, %ymm24
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm5[2],xmm1[3],xmm5[4,5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0,1,2],ymm2[3,4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vshufi64x2 {{.*#+}} ymm18 = ymm1[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm18[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, 288(%rdi), %ymm1, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm27
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm5[2],ymm1[3,4,5,6],ymm5[7],ymm1[8,9],ymm5[10],ymm1[11,12,13,14],ymm5[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1],ymm1[2],ymm13[3,4],ymm1[5],ymm13[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm13, %ymm25
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm26
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm9, %xmm1, %xmm9
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm5[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm13[3],xmm9[4,5],xmm13[6],xmm9[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0,1,2],ymm9[3,4,5,6,7],ymm0[8,9,10],ymm9[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm9 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm16, %zmm9, %zmm10
+; AVX512DQ-SLOW-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm10 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm13
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm13[2],xmm6[3],xmm13[4,5],xmm6[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm13, %xmm7, %xmm7
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm15[3],xmm7[4,5],xmm15[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm7, %zmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm11[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm8[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0,1],ymm7[2],ymm8[3,4,5,6],ymm7[7],ymm8[8,9],ymm7[10],ymm8[11,12,13,14],ymm7[15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1],xmm0[2],xmm3[3],xmm0[4,5],xmm3[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm0[0,1,2],ymm7[3,4,5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm13, %xmm1, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm18[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm6, %zmm9, %zmm7
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm7 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm20, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm0[2],ymm12[3,4],ymm0[5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm12, %ymm29
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm0[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm15[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm5[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm17, %ymm12
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm12[2],ymm1[3,4],ymm12[5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm3[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm2[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm4[4],xmm1[5,6],xmm4[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm16
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm22[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm11[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm11, %ymm28
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm8[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm24, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm1[2],ymm4[3,4],ymm1[5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm1[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm4[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm14[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm1[1,2],xmm6[3],xmm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm27[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm18[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm1[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0],ymm6[1,2,3,4],ymm0[5,6],ymm6[7],ymm0[8],ymm6[9,10,11,12],ymm0[13,14],ymm6[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2],ymm6[3,4],ymm0[5],ymm6[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm0[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm6[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3],xmm10[4],xmm11[5,6],xmm10[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm9[0,1,2],ymm10[3,4,5,6,7],ymm9[8,9,10],ymm10[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm19
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm9 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm16, %zmm9, %zmm13
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm13, %zmm17, %zmm19
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm15[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm10[1,2],xmm5[3],xmm10[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5,6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm8[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm10
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm5, %ymm10, %ymm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm8[0],ymm3[1,2,3,4],ymm8[5,6],ymm3[7],ymm8[8],ymm3[9,10,11,12],ymm8[13,14],ymm3[15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm14[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm8[0],xmm4[1,2],xmm8[3],xmm4[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4],xmm3[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm14
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm5, %ymm14, %ymm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0],ymm1[1,2,3,4],ymm4[5,6],ymm1[7],ymm4[8],ymm1[9,10,11,12],ymm4[13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm6[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm4[4],xmm0[5,6],xmm4[7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm2, %zmm9, %zmm3
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm16
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm17, %zmm16
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm20, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm29, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm4[1],xmm2[2,3],xmm4[4],xmm2[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0],ymm2[1],ymm12[2,3],ymm2[4],ymm12[5,6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm2[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm6, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm8[4],xmm5[5],xmm8[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm5, %zmm21
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm4
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm22[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm8[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm9[0],ymm5[1,2,3,4],ymm9[5],ymm5[6,7],ymm9[8],ymm5[9,10,11,12],ymm9[13],ymm5[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm9
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm24, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm10[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm13[1],xmm3[2,3],xmm13[4],xmm3[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm20 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm5, %ymm20, %ymm3
+; AVX512DQ-SLOW-NEXT: movw $31, %ax
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm3, %zmm0, %zmm21 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm27[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm18[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm12[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm13 = ymm3[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm13[0],ymm5[1,2,3,4],ymm13[5],ymm5[6,7],ymm13[8],ymm5[9,10,11,12],ymm13[13],ymm5[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm13[1],ymm5[2,3],ymm13[4],ymm5[5,6],ymm13[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm13, %xmm11
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm5[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0,1,2,3],xmm11[4],xmm14[5],xmm11[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm15[0,1,2,3,4],ymm11[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm11
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3],xmm1[4],xmm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm6[4],xmm2[5],xmm6[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm28[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm8[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0],ymm2[1,2,3,4],ymm6[5],ymm2[6,7],ymm6[8],ymm2[9,10,11,12],ymm6[13],ymm2[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm9, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm10[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm8[1],xmm6[2,3],xmm8[4],xmm6[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm2, %ymm20, %ymm6
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm6, %zmm0, %zmm0 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm3[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm12[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10,11,12],ymm2[13],ymm3[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm5[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4],xmm3[5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm7, (%rdx)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm21, %zmm17, %zmm11
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm17, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm16, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm11, (%r9)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512DQ-SLOW-NEXT: vzeroupper
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i16_stride6_vf32:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: pushq %rax
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm2, %ymm17
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm19
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm3[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm14, %xmm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm3[2],xmm1[3],xmm3[4,5],xmm1[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX512DQ-FAST-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm6[0,1],ymm4[2],ymm6[3,4],ymm4[5],ymm6[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm6, %ymm23
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm24
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm15, %xmm4
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm15, %xmm11
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm11, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1,2],xmm4[3],xmm6[4,5],xmm4[6],xmm6[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm4, %zmm16
+; AVX512DQ-FAST-NEXT: vinserti128 $1, 96(%rdi), %ymm3, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm22
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <0,1,4,5,u,u,6,7,8,9,8,9,8,9,u,u,16,17,20,21,u,u,22,23,24,25,24,25,24,25,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm8, %ymm1
+; AVX512DQ-FAST-NEXT: vshufi64x2 {{.*#+}} ymm18 = ymm3[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm18[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0],ymm3[1],ymm1[2,3],ymm3[4],ymm1[5,6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm3, %ymm25
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm26
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2],xmm0[3],xmm2[4,5],xmm0[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1,2],ymm10[3,4,5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vinserti128 $1, 288(%rdi), %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm20
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm1
+; AVX512DQ-FAST-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm2[u,u,u,u,8,9,u,u,u,u,u,u,u,u,4,5,u,u,u,u,24,25,u,u,u,u,u,u,u,u,20,21]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm2, %ymm21
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX512DQ-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1],ymm0[2],ymm13[3,4],ymm0[5],ymm13[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm13, %ymm27
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm28
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm0
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0,1,2],xmm0[3],xmm12[4,5],xmm0[6],xmm12[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm16, %zmm1, %zmm10
+; AVX512DQ-FAST-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm10 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm14, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm14[2],xmm5[3],xmm14[4,5],xmm5[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm11, %xmm11
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm15[3],xmm11[4,5],xmm15[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm11, %zmm11
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <2,3,6,7,u,u,6,7,10,11,10,11,10,11,u,u,18,19,22,23,u,u,22,23,26,27,26,27,26,27,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm15, %ymm8, %ymm5
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm7[2],ymm5[3,4,5,6],ymm7[7],ymm5[8,9],ymm7[10],ymm5[11,12,13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm4[2],xmm0[3],xmm4[4,5],xmm0[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2],ymm5[3,4,5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm5[u,u,u,u,10,11,u,u,u,u,u,u,u,u,6,7,u,u,u,u,26,27,u,u,u,u,u,u,u,u,22,23]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm3[2],ymm0[3,4,5,6],ymm3[7],ymm0[8,9],ymm3[10],ymm0[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm9, %xmm3
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm11, %zmm1, %zmm4
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3],xmm3[4,5],xmm1[6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm4 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm17, %ymm21
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm19, %ymm30
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm17, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm19, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm2, %xmm31
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm8[u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm10, %xmm2, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm4[4],xmm1[5,6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm16
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm15
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm15, %ymm4
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm18[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm13, %ymm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm4[0],ymm11[1,2,3,4],ymm4[5,6],ymm11[7],ymm4[8],ymm11[9,10,11,12],ymm4[13,14],ymm11[15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm25, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm26, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],ymm0[2],ymm4[3,4],ymm0[5],ymm4[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm4[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm14[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm12[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm12[1,2],xmm9[3],xmm12[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm11[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm20, %ymm6
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm6, %ymm11
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm5[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm5, %ymm29
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm1, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0],ymm7[1,2,3,4],ymm11[5,6],ymm7[7],ymm11[8],ymm7[9,10,11,12],ymm11[13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm28, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1],ymm0[2],ymm7[3,4],ymm0[5],ymm7[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm7, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm10, %xmm7, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm12[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm12 = xmm10[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm12[4],xmm0[5,6],xmm12[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm11[0,1,2],ymm0[3,4,5,6,7],ymm11[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm19
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm16, %zmm0, %zmm9
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm9, %zmm17, %zmm19
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm31, %xmm5
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm5[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1,2],xmm9[3],xmm8[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm2, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm13, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm12
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm12, %ymm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm11[0],ymm5[1,2,3,4],ymm11[5,6],ymm5[7],ymm11[8],ymm5[9,10,11,12],ymm11[13,14],ymm5[15]
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm14[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm11[0],xmm4[1,2],xmm11[3],xmm4[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4],xmm5[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm6, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm20, %ymm22
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5,6],ymm1[7],ymm3[8],ymm1[9,10,11,12],ymm3[13,14],ymm1[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm7, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm10[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm5[4],xmm3[5,6],xmm5[7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm2, %zmm0, %zmm4
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm16
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm4, %zmm17, %zmm16
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm15
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm15[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm24, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm10
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm10, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm7, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4],xmm5[5],xmm2[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm20
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm12[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm11 = ymm18[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm11, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3,4],ymm6[5],ymm5[6,7],ymm6[8],ymm5[9,10,11,12],ymm6[13],ymm5[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm25, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm26, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0,1],ymm6[2],ymm3[3,4],ymm6[5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm6
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm8, %xmm0
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm0[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm12[1],xmm6[2,3],xmm12[4],xmm6[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm5, %ymm18, %ymm6
+; AVX512DQ-FAST-NEXT: movw $31, %ax
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm6, %zmm0, %zmm20 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm29[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm13, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm22[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm3[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3,4],ymm6[5],ymm5[6,7],ymm6[8],ymm5[9,10,11,12],ymm6[13],ymm5[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm27, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm28, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0],ymm6[1],ymm1[2,3],ymm6[4],ymm1[5,6],ymm6[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm12, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm6, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm12, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm14[0,1,2,3],xmm9[4],xmm14[5],xmm9[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm9[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm11, %ymm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm11[1,2,3,4],ymm2[5],ymm11[6,7],ymm2[8],ymm11[9,10,11,12],ymm2[13],ymm11[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm8[0],xmm0[1],xmm8[2,3],xmm0[4],xmm8[5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm2, %ymm18, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm15, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0,1,2,3],xmm4[4],xmm7[5],xmm4[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm4, %zmm1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm13, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm3[1,2,3,4],ymm0[5],ymm3[6,7],ymm0[8],ymm3[9,10,11,12],ymm0[13],ymm3[14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm12, %xmm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5],xmm2[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm20, %zmm17, %zmm5
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm17, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm16, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm5, (%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512DQ-FAST-NEXT: popq %rax
+; AVX512DQ-FAST-NEXT: vzeroupper
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride6_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm4, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,6,12,18,24,30,36,42,48,54,60,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm6
+; AVX512BW-NEXT: movl $4192256, %edi # imm = 0x3FF800
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm6 {%k1}
+; AVX512BW-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm7, %zmm6 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm4, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <1,7,13,19,25,31,37,43,49,55,61,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm7 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <34,40,46,52,58,0,6,12,18,24,30,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm10
+; AVX512BW-NEXT: movl $2095104, %edi # imm = 0x1FF800
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm10 {%k2}
+; AVX512BW-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm10 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <35,41,47,53,59,1,7,13,19,25,31,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm11
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm11 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm11 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <4,10,16,22,28,34,40,46,52,58,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm2, %zmm9
+; AVX512BW-NEXT: movw $31, %di
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <5,11,17,23,29,35,41,47,53,59,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm2, %zmm3
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm3 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqu16 %zmm2, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i16>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <32 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186>
%strided.vec1 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <32 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187>
%strided.vec4 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <32 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190>
%strided.vec5 = shufflevector <192 x i16> %wide.vec, <192 x i16> poison, <32 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191>
- store <32 x i16> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i16> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i16> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i16> %strided.vec3, ptr %out.vec3, align 32
- store <32 x i16> %strided.vec4, ptr %out.vec4, align 32
- store <32 x i16> %strided.vec5, ptr %out.vec5, align 32
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i16> %strided.vec5, ptr %out.vec5, align 64
+
+ ret void
+}
+
+define void @load_i16_stride6_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i16_stride6_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1128, %rsp # imm = 0x468
+; SSE-NEXT: movdqa 592(%rdi), %xmm7
+; SSE-NEXT: movdqa 608(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm3
+; SSE-NEXT: movdqa 272(%rdi), %xmm0
+; SSE-NEXT: movdqa 208(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,0,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 576(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa 640(%rdi), %xmm3
+; SSE-NEXT: movdqa 656(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm1[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm1[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm1
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa 624(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 304(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 288(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa 352(%rdi), %xmm3
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 704(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 688(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 672(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa 736(%rdi), %xmm3
+; SSE-NEXT: movdqa 752(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 720(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa 64(%rdi), %xmm3
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 416(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 400(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 384(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa 448(%rdi), %xmm3
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 432(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 112(%rdi), %xmm13
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm10[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa 160(%rdi), %xmm3
+; SSE-NEXT: movdqa 176(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm3[3,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm5 = xmm5[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 512(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,2,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa 496(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 480(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm9[0,1,2,3,4,6,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa 544(%rdi), %xmm12
+; SSE-NEXT: movdqa 560(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm12[3,0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[1,0],xmm5[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[2,0],xmm5[2,3]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslld $16, %xmm5
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: movdqa 528(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm5[0,1,0,2,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm12[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm11, %xmm12
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm11[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm8[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm7[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrld $16, %xmm13
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm10[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm9[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: pandn %xmm6, %xmm12
+; SSE-NEXT: por %xmm2, %xmm12
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[3,1],xmm0[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm4[2,0]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm1[0]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[2,3]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm0[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm15[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm15[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm2 = xmm2[0],xmm3[0]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[1,0],xmm8[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[2,0],xmm8[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm13[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm2 = xmm2[0],xmm3[0]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[1,0],xmm14[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[2,0],xmm14[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm2 = xmm2[0],xmm3[0]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm6[0]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm3[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm7
+; SSE-NEXT: por %xmm6, %xmm7
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm7
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm6
+; SSE-NEXT: psrldq {{.*#+}} xmm6 = xmm6[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm7[0]
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm0[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm6[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm9
+; SSE-NEXT: por %xmm7, %xmm9
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm0[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm7, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm9
+; SSE-NEXT: por %xmm9, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm7
+; SSE-NEXT: psrldq {{.*#+}} xmm7 = xmm7[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[1,1,1,1]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm7 = xmm7[0],xmm9[0]
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: pandn %xmm7, %xmm9
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm10[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm7[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[1,0,2,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm12
+; SSE-NEXT: por %xmm9, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: shufps $132, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = xmm9[0,1],mem[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,6,5,4]
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: pandn %xmm9, %xmm10
+; SSE-NEXT: pand %xmm4, %xmm12
+; SSE-NEXT: por %xmm12, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm9
+; SSE-NEXT: psrlq $48, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm8[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm12 = xmm12[0],xmm9[0]
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: pandn %xmm12, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: por %xmm9, %xmm6
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm8
+; SSE-NEXT: pandn %xmm9, %xmm8
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: por %xmm6, %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm9 = xmm9[0],xmm0[0]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm9, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm7
+; SSE-NEXT: por %xmm6, %xmm7
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm7
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: psrlq $48, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm14[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm7 = xmm7[0],xmm6[0]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm7, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm12[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm6 = xmm6[0],xmm2[0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: pshufd $250, (%rsp), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[2,2,3,3]
+; SSE-NEXT: punpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pand %xmm4, %xmm5
+; SSE-NEXT: por %xmm5, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm15[1]
+; SSE-NEXT: movss {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm15[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: pandn %xmm2, %xmm5
+; SSE-NEXT: andps %xmm4, %xmm3
+; SSE-NEXT: por %xmm3, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm13[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[1],mem[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm14[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[1],mem[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[0,1,0,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm7[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: pandn %xmm3, %xmm12
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm12
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,0,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm6[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: pandn %xmm3, %xmm7
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd $196, (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,0,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm11[1]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm3[0],xmm2[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm3[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: pandn %xmm9, %xmm5
+; SSE-NEXT: andps %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[2,3,2,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[0,1,0,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,6]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm9[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm2[0,1,2,3,4,5,4,6]
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: pandn %xmm9, %xmm10
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm3
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm3[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm2[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm15[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm13[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm11
+; SSE-NEXT: pandn %xmm1, %xmm11
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm2[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm1[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: pandn %xmm8, %xmm3
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm15
+; SSE-NEXT: pandn %xmm8, %xmm15
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm8[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm8
+; SSE-NEXT: pandn %xmm13, %xmm8
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm14
+; SSE-NEXT: pandn %xmm13, %xmm14
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm13
+; SSE-NEXT: pshufhw $212, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm13[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm13[0,1,2,3,4,4,5,7]
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: pandn %xmm1, %xmm13
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm2[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,5,7]
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movdqa %xmm10, 112(%r9)
+; SSE-NEXT: movdqa %xmm5, 96(%r9)
+; SSE-NEXT: movdqa %xmm6, 80(%r9)
+; SSE-NEXT: movdqa %xmm7, 64(%r9)
+; SSE-NEXT: movdqa %xmm12, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm4, 112(%rax)
+; SSE-NEXT: movdqa %xmm13, 96(%rax)
+; SSE-NEXT: movdqa %xmm14, 80(%rax)
+; SSE-NEXT: movdqa %xmm8, 64(%rax)
+; SSE-NEXT: movdqa %xmm15, 48(%rax)
+; SSE-NEXT: movdqa %xmm3, 32(%rax)
+; SSE-NEXT: movdqa %xmm11, 16(%rax)
+; SSE-NEXT: movdqa %xmm9, (%rax)
+; SSE-NEXT: addq $1128, %rsp # imm = 0x468
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride6_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1368, %rsp # imm = 0x558
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm12[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm13[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 560(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm11[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm9[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm7[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 656(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 640(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 672(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 688(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 624(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm14 = xmm0[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm3[0,1,2,3,4,6,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 592(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm14[3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 752(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 736(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm14 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 704(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 720(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm2[0,1,0,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm5[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm5, %xmm15
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm14 = xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2],xmm1[3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd (%rsp), %xmm14, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm14[0],mem[0],xmm14[1],mem[1],xmm14[2],mem[2],xmm14[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm12[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm12 = xmm13[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm12 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1,2],xmm1[3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm11[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm6[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm11[0],xmm1[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm13[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm11[0],mem[0],xmm11[1],mem[1],xmm11[2],mem[2],xmm11[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm9[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm6, %xmm9
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0,1,2],xmm1[3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm7[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm7[0],mem[0],xmm7[1],mem[1],xmm7[2],mem[2],xmm7[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1],xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[0,1,1,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm8[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = [4,5,0,1,12,13,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm5[0,1],mem[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = [0,1,2,3,4,5,6,7,8,9,0,1,12,13,8,9]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm2[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, (%rsp), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1,2,3],mem[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1,2,3],mem[4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm13[0,1,2,3],mem[4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm7[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm6[0,1],mem[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm11[0,1],mem[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0,1,2,3],xmm9[4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm1[0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm8[0,1,2,3],xmm4[4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $48, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm1[0,1,2,3],mem[4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm11[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $207, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm2[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2],xmm1[3,4],xmm14[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = [6,7,2,3,14,15,14,15,8,9,10,11,12,13,14,15]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,4,5,6,7,14,15,2,3,14,15,10,11]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm8[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0,1,2],xmm1[3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm7, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm7[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1,2],xmm1[3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm3, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm11[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm3[0],xmm1[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm10[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,4,5,4,5,6,7,0,1,4,5,0,1,12,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[1],mem[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm8 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm8, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $243, (%rsp), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1],xmm2[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[0,1],xmm2[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[1],mem[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm8, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[1],mem[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1],xmm2[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm6[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm8, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm13[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm13[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm3[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm7 = xmm7[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm8, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0,1],mem[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm1[0,1,2,3,4,5,4,6]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm9[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm7 = xmm10[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = [6,7,2,3,4,5,6,7,6,7,6,7,2,3,14,15]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm9, %ymm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm10[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm10 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm8, %ymm7
+; AVX1-ONLY-NEXT: vandps %ymm8, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm9, %ymm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm7[0,1,2,3,4],ymm9[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm10[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm10[0],xmm7[0],xmm10[1],xmm7[1],xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm10, %ymm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm11 = xmm11[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm8, %ymm7
+; AVX1-ONLY-NEXT: vandps %ymm8, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm10, %ymm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm10 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm11 = xmm11[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm11, %ymm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm12 = xmm12[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm12
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0,1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm8, %ymm10
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm8, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm5[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm6
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm14[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1],xmm10[2],xmm6[2],xmm10[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm13[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1],xmm10[2],xmm6[2],xmm10[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm8, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm8, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rax)
+; AVX1-ONLY-NEXT: addq $1368, %rsp # imm = 0x558
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride6_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1272, %rsp # imm = 0x4F8
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 672(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 640(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm11 = ymm7[2,3],ymm6[2,3]
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm7[0,1],ymm6[0,1]
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm12 = ymm5[2,3],ymm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm5[0,1],ymm4[0,1]
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm3[2,3],ymm2[2,3]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm15 = ymm3[0,1],ymm2[0,1]
+; AVX2-SLOW-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm0[2,3],ymm1[2,3]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm0[0,1],ymm1[0,1]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1],ymm9[2],ymm8[3,4],ymm9[5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm4[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm3[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm10[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4],ymm3[5],ymm2[6,7],ymm3[8],ymm2[9,10,11,12],ymm3[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm0, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0,1],ymm2[2],ymm0[3,4],ymm2[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm6[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm14[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4],ymm4[5],ymm2[6,7],ymm4[8],ymm2[9,10,11,12],ymm4[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm0, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1],ymm2[2],ymm0[3,4],ymm2[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm12[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm12[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm13[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm9[0],ymm2[1,2,3,4],ymm9[5],ymm2[6,7],ymm9[8],ymm2[9,10,11,12],ymm9[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm0, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 576(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1],ymm2[2],ymm0[3,4],ymm2[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm9
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm9[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm4[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm15[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm15 = ymm1[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0],ymm0[1,2,3,4],ymm15[5],ymm0[6,7],ymm15[8],ymm0[9,10,11,12],ymm15[13],ymm0[14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm10[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpshuflw $255, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5],ymm2[6,7],ymm0[8],ymm2[9,10,11,12],ymm0[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm2
+; AVX2-SLOW-NEXT: vpshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm8 = mem[1,1,2,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm8[1],xmm2[2,3],xmm8[4],xmm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm14[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpshuflw $255, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5],ymm2[6,7],ymm0[8],ymm2[9,10,11,12],ymm0[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = mem[1,1,2,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm5[1],xmm2[2,3],xmm5[4],xmm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm12[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5],ymm2[6,7],ymm0[8],ymm2[9,10,11,12],ymm0[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm6, %xmm2
+; AVX2-SLOW-NEXT: vpshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = mem[1,1,2,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm5[1],xmm2[2,3],xmm5[4],xmm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm4[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm9[1,1,2,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm10[0,2,2,1,4,6,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm9, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $104, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,2,2,1,4,6,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm13[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm6, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm12[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm11[0,2,2,1,4,6,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1],xmm1[2],xmm5[3],xmm1[4,5],xmm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovdqa 736(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm3[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,2]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm1, %xmm13
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3],xmm13[4,5],xmm5[6],xmm13[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm0[0,1,2],ymm5[3,4,5,6,7],ymm0[8,9,10],ymm5[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm11
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm11, %xmm7
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm2[2,2,2,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,2]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm7[0,1,2],xmm13[3],xmm7[4,5],xmm13[6],xmm7[7]
+; AVX2-SLOW-NEXT: vpshufd $104, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = mem[0,2,2,1,4,6,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-SLOW-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = mem[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm7[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm14[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm14[0,1],ymm0[2],ymm14[3,4,5,6],ymm0[7],ymm14[8,9],ymm0[10],ymm14[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm14 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm14, %xmm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm5[0,2,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,6,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm15[2],xmm0[3],xmm15[4,5],xmm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm10[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm13
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm9, %xmm9
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm13[2],xmm9[3],xmm13[4,5],xmm9[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3,4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm13, %xmm13
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm13[0,1,2],xmm8[3],xmm13[4,5],xmm8[6],xmm13[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm0[0,1,2],ymm8[3,4,5,6,7],ymm0[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm13[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm8 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1],ymm0[2],ymm8[3,4,5,6],ymm0[7],ymm8[8,9],ymm0[10],ymm8[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm8
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm8[2],xmm6[3],xmm8[4,5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2],ymm0[3,4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm12[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3],xmm6[4,5],xmm8[6],xmm6[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm8[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0,1],ymm0[2],ymm6[3,4,5,6],ymm0[7],ymm6[8,9],ymm0[10],ymm6[11,12,13,14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm6[2],xmm4[3],xmm6[4,5],xmm4[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3],xmm4[4,5],xmm3[6],xmm4[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0,1,2],ymm3[3,4,5,6,7],ymm0[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm11, %xmm0
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm14, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm14[2,1,2,1,6,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm7[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4,5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11,12,13,14],ymm2[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[1,1,0,3,5,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm10[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,0,0,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,4]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1,2,3],xmm1[4],xmm0[5,6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[2,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm0[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm12[0,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm1[2,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1,2],xmm7[3],xmm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm3[0,1,2],ymm5[3,4,5,6,7],ymm3[8,9,10],ymm5[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2,3,4],xmm3[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[1,1,0,3,5,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm8[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm0[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm3[0],ymm5[1,2,3,4],ymm3[5,6],ymm5[7],ymm3[8],ymm5[9,10,11,12],ymm3[13,14],ymm5[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[0,1,2,1]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[2,1,0,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[0,0,0,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm0[0,1,2,3,6,5,6,4]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1,2,3],xmm5[4],xmm3[5,6],xmm5[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[2,1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[0,3,2,1]
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm1[0,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm0[2,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1,2],xmm11[3],xmm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm8[0,1,2],ymm9[3,4,5,6,7],ymm8[8,9,10],ymm9[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2,3,4],xmm8[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm15[1,1,0,3,5,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm13[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm11[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm9[1,2,3,4],ymm8[5,6],ymm9[7],ymm8[8],ymm9[9,10,11,12],ymm8[13,14],ymm9[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm10[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm9[2,1,0,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm5[0,0,0,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm4[0,1,2,3,6,5,6,4]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm10[4],xmm9[5,6],xmm10[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[2,1,2,3]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm10[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm2[0,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm3[2,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm13[0],xmm10[1,2],xmm13[3],xmm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm8[0,1,2],ymm9[3,4,5,6,7],ymm8[8,9,10],ymm9[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2,3,4],xmm8[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,1,0,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm9[0,0,0,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm8[0,1,2,3,6,5,6,4]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0,1,2,3],xmm13[4],xmm10[5,6],xmm13[7]
+; AVX2-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = mem[1,1,0,3,5,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm13 = ymm10[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm14[0,3,2,3,4,7,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm10[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0],ymm14[1,2,3,4],ymm13[5,6],ymm14[7],ymm13[8],ymm14[9,10,11,12],ymm13[13,14],ymm14[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm14 = ymm6[0,1],mem[2],ymm6[3,4],mem[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm14[2,1,2,3]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm14[0,0,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm13[2,1,2,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm7[1,2],xmm6[3],xmm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshuflw $244, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm6[1,2,3,4],ymm0[5,6],ymm6[7],ymm0[8],ymm6[9,10,11,12],ymm0[13,14],ymm6[15]
+; AVX2-SLOW-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm6 = mem[0,1,2,3,7,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm7 = mem[1,1,1,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4],xmm7[5,6],xmm6[7]
+; AVX2-SLOW-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm7 = mem[3,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,3,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0],xmm12[1,2],xmm7[3],xmm12[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm15, %ymm0
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm11[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm6[1,2,3,4],ymm0[5,6],ymm6[7],ymm0[8],ymm6[9,10,11,12],ymm0[13,14],ymm6[15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,1,1,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4],xmm5[5,6],xmm4[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,3,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1,2],xmm3[3],xmm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0,1,2],ymm3[3,4,5,6,7],ymm0[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshuflw $244, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5,6],ymm2[7],ymm0[8],ymm2[9,10,11,12],ymm0[13,14],ymm2[15]
+; AVX2-SLOW-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm2 = mem[0,1,2,3,7,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[1,1,1,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5,6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[3,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = mem[0,1,3,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm5[1,2],xmm3[3],xmm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,7,5,6,5]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm9[1,1,1,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5,6],xmm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm3[1,2,3,4],ymm1[5,6],ymm3[7],ymm1[8],ymm3[9,10,11,12],ymm1[13,14],ymm3[15]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm13[3,1,2,1,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm14[0,1,3,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm5[1,2],xmm3[3],xmm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4],xmm1[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm2[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm5[0,1,0,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm7[4],xmm2[5],xmm7[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = ymm7[0],mem[1],ymm7[2,3],mem[4],ymm7[5,6],mem[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm7[0,1,0,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm8, %xmm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm10[4],xmm9[5],xmm10[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = mem[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm10[0],mem[1],ymm10[2,3],mem[4],ymm10[5,6],mem[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm10[0,1,0,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm11, %xmm14
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3],xmm14[4],xmm13[5],xmm14[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm13 = mem[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm14 = ymm12[0],mem[1],ymm12[2,3],mem[4],ymm12[5,6],mem[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm15, %xmm6
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,3,2,1]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm14[0,1,0,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,6,6,6,6]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0,1,2,3],xmm6[4],xmm12[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,3,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3],xmm3[4],xmm5[5],xmm3[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm8, %xmm5
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,3,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2,3],xmm5[4],xmm7[5],xmm5[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm11, %xmm7
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm10[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,3,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2,3],xmm7[4],xmm8[5],xmm7[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = mem[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm15, %xmm8
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm14[0,1,1,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,1,3,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0,1,2,3],xmm8[4],xmm10[5],xmm8[6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm8 = mem[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 96(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm0, 64(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, 96(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm13, 32(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, 64(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, 96(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, 32(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, 64(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-SLOW-NEXT: addq $1272, %rsp # imm = 0x4F8
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride6_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1336, %rsp # imm = 0x538
+; AVX2-FAST-NEXT: vmovdqa 672(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 640(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm7
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm10 = ymm6[2,3],ymm7[2,3]
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm6[0,1],ymm7[0,1]
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm5[2,3],ymm4[2,3]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm5[0,1],ymm4[0,1]
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm8 = ymm3[2,3],ymm2[2,3]
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm3[0,1],ymm2[0,1]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm11 = ymm1[2,3],ymm0[2,3]
+; AVX2-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm10[0,1,0,3,4,5,4,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm6[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm9[0,1],ymm12[2],ymm9[3,4],ymm12[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm10, %xmm2
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,2,2,2,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3],xmm3[4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm3, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm7[0,1,0,3,4,5,4,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm13[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm7, %xmm2
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,2,2,2,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3],xmm3[4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm9
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm14 = ymm4[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm14[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1],ymm3[2],ymm1[3,4],ymm3[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm13
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[2,2,2,2,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm3, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm11 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm11, %ymm0
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm5[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm9[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX2-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm12
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm12[2,2,2,2,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm3, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm3[1,2,3,4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10,11,12],ymm2[13],ymm3[14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm10[0],xmm0[1],xmm10[2,3],xmm0[4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0],xmm1[1],xmm7[2,3],xmm1[4],xmm7[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm14, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm1[1],xmm6[2,3],xmm1[4],xmm6[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm9, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm11, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm12, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3],xmm1[4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm1, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1],ymm0[2],ymm2[3,4,5,6],ymm0[7],ymm2[8,9],ymm0[10],ymm2[11,12,13,14],ymm0[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6],mem[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm1, %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm3, %xmm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm5
+; AVX2-FAST-NEXT: vmovdqa %xmm1, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm5[2],xmm4[3],xmm5[4,5],xmm4[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm6
+; AVX2-FAST-NEXT: vmovdqa %xmm2, %xmm15
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4,5],xmm6[6],xmm7[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm1, %ymm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0,1],ymm0[2],ymm7[3,4,5,6],ymm0[7],ymm7[8,9],ymm0[10],ymm7[11,12,13,14],ymm0[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm7 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm2
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %xmm8, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm3, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm2, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm11[2],xmm0[3],xmm11[4,5],xmm0[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm3, %xmm11
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0,1,2],xmm11[3],xmm14[4,5],xmm11[6],xmm14[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm0[0,1,2],ymm11[3,4,5,6,7],ymm0[8,9,10],ymm11[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm11
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm8, %ymm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm14[0,1],ymm11[2],ymm14[3,4,5,6],ymm11[7],ymm14[8,9],ymm11[10],ymm14[11,12,13,14],ymm11[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm14
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm14[2,1,0,3]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1],xmm13[2],xmm14[3],xmm13[4,5],xmm14[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2],ymm11[3,4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm14
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm15
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2],xmm14[3],xmm15[4,5],xmm14[6],xmm15[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm11[0,1,2],ymm14[3,4,5,6,7],ymm11[8,9,10],ymm14[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm11, %ymm14
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm15 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm15, %ymm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm12[0,1],ymm14[2],ymm12[3,4,5,6],ymm14[7],ymm12[8,9],ymm14[10],ymm12[11,12,13,14],ymm14[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm12[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,0,3]
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm10, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm9[2],xmm0[3],xmm9[4,5],xmm0[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm14[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovdqa 736(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 704(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm4[0,1],ymm1[2],ymm4[3,4],ymm1[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm9[u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm4
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2],xmm1[3],xmm14[4,5],xmm1[6],xmm14[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm14 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm14[2],ymm1[3,4,5,6],ymm14[7],ymm1[8,9],ymm14[10],ymm1[11,12,13,14],ymm14[15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm14, %xmm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1],xmm14[2],xmm7[3],xmm14[4,5],xmm7[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2],ymm1[3,4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm14, %xmm14
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,5,5,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm14[0,1,2],xmm3[3],xmm14[4,5],xmm3[6],xmm14[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0,1,2],ymm3[3,4,5,6,7],ymm1[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm8, %ymm1
+; AVX2-FAST-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm2
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm13[0,1,2,3,5,5,5,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3],xmm2[4,5],xmm3[6],xmm2[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm12, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm9[0,1,2,3,5,5,5,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3],xmm2[4,5],xmm3[6],xmm2[7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshufhw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm2 = mem[0,1,2,3,5,5,5,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1],xmm0[2],xmm2[3],xmm0[4,5],xmm2[6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5,6],ymm3[7],ymm2[8,9],ymm3[10],ymm2[11,12,13,14],ymm3[15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[2,1,0,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,2,1]
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm0
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,6,5,6,4]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2,3],xmm1[4],xmm0[5,6],xmm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm0
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13>
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm8
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[2,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1,2],xmm9[3],xmm8[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm8[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[2,1,0,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,1,2,1]
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm2
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm1[0,1,2,3,6,5,6,4]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm15 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm2
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[0,3,2,1]
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[2,1,2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm13 = xmm1[2,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0],xmm0[1,2],xmm13[3],xmm0[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0,1,2],ymm13[3,4,5,6,7],ymm14[8,9,10],ymm13[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm14[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm13
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0],ymm14[1,2,3,4],ymm13[5,6],ymm14[7],ymm13[8],ymm14[9,10,11,12],ymm13[13,14],ymm14[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm14 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm15 = xmm14[2,1,0,3]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,2,1]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm15, %xmm0
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm9 = xmm14[0,1,2,3,6,5,6,4]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3],xmm9[4],xmm0[5,6],xmm9[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,3,2,1]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,1,2,3]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm8, %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm7, %xmm2
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[2,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0],xmm0[1,2],xmm12[3],xmm0[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm13[0,1,2],ymm1[3,4,5,6,7],ymm13[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm13[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm1[2,1,0,3]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm12, %xmm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[0,1,2,1]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm11 = xmm3[0,1,2,3,6,5,6,4]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm11[4],xmm10[5,6],xmm11[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm7
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,1]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm1
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[2,1,2,3]
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm11[2,1,2,0,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm1[1,2],xmm6[3],xmm1[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm10[1,2,3,4],ymm0[5,6],ymm10[7],ymm0[8],ymm10[9,10,11,12],ymm0[13,14],ymm10[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm5 = mem[0,1,2,3,7,5,6,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1,2,3],xmm5[4],xmm1[5,6],xmm5[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm13 = mem[3,1,2,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0],xmm1[1,2],xmm13[3],xmm1[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5,6],ymm2[7],ymm0[8],ymm2[9,10,11,12],ymm0[13,14],ymm2[15]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm15, %xmm2
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm13 = xmm14[0,1,2,3,7,5,6,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm13[4],xmm2[5,6],xmm13[7]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm8, %xmm8
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1,2],xmm9[3],xmm8[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm8[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm8[1,2,3,4],ymm2[5,6],ymm8[7],ymm2[8],ymm8[9,10,11,12],ymm2[13,14],ymm8[15]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm8
+; AVX2-FAST-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm9 = mem[0,1,2,3,7,5,6,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm9[4],xmm8[5,6],xmm9[7]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm9
+; AVX2-FAST-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm13 = mem[3,1,2,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm13[0],xmm9[1,2],xmm13[3],xmm9[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm2[0,1,2],ymm8[3,4,5,6,7],ymm2[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm9[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm4[1,2,3,4],ymm2[5,6],ymm4[7],ymm2[8],ymm4[9,10,11,12],ymm2[13,14],ymm4[15]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm12, %xmm4
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm7, %xmm4
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm11[3,1,2,1,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2],xmm5[3],xmm4[4,5,6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[0,3,2,1]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm9[0,1,2,3],xmm3[4],xmm9[5],xmm3[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,3,2,1]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm10, %xmm11
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4],xmm12[5],xmm11[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm11 = mem[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[0,3,2,1]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm13, %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm12, %xmm15
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4],xmm15[5],xmm14[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm14 = mem[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm15 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm15, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,3,2,1]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm15, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4],xmm7[5],xmm6[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = mem[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4],xmm5[5],xmm4[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = mem[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm10, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1,2,3],xmm5[4],xmm9[5],xmm5[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm13, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm12, %xmm10
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4],xmm10[5],xmm9[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = mem[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm15, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4],xmm1[5],xmm0[6,7]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm8, 96(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm6, 96(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm14, 32(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm11, 64(%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 96(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm9, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm5, 64(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-FAST-NEXT: addq $1336, %rsp # imm = 0x538
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride6_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1336, %rsp # imm = 0x538
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 672(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 640(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm10 = ymm6[2,3],ymm7[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm6[0,1],ymm7[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm5[2,3],ymm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm5[0,1],ymm4[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm8 = ymm3[2,3],ymm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm3[0,1],ymm2[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm11 = ymm1[2,3],ymm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm10[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm6[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm9[0,1],ymm12[2],ymm9[3,4],ymm12[5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3],xmm3[4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm7[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm13[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3],xmm3[4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm15 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm14 = ymm4[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm2 = ymm14[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1],ymm3[2],ymm1[3,4],ymm3[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm3, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm11 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm11, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm9 = ymm5[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} ymm2 = ymm9[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm12[2,2,2,2,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm3, %ymm2, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm3[1,2,3,4],ymm2[5],ymm3[6,7],ymm2[8],ymm3[9,10,11,12],ymm2[13],ymm3[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm10[0],xmm0[1],xmm10[2,3],xmm0[4],xmm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0],xmm1[1],xmm7[2,3],xmm1[4],xmm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm14, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm1[1],xmm6[2,3],xmm1[4],xmm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm9, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm11, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5],ymm1[6,7],ymm0[8],ymm1[9,10,11,12],ymm0[13],ymm1[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3],xmm1[4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,8,9,u,u,16,17,20,21,u,u,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm1, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1],ymm0[2],ymm2[3,4,5,6],ymm0[7],ymm2[8,9],ymm0[10],ymm2[11,12,13,14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm2, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm5[2],xmm4[3],xmm5[4,5],xmm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm1, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4,5],xmm6[6],xmm7[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm1, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0,1],ymm0[2],ymm7[3,4,5,6],ymm0[7],ymm7[8,9],ymm0[10],ymm7[11,12,13,14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm8, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm7, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm11[2],xmm0[3],xmm11[4,5],xmm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm3, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm1, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0,1,2],xmm11[3],xmm14[4,5],xmm11[6],xmm14[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm0[0,1,2],ymm11[3,4,5,6,7],ymm0[8,9,10],ymm11[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm8 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm8, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm14[0,1],ymm11[2],ymm14[3,4,5,6],ymm11[7],ymm14[8,9],ymm11[10],ymm14[11,12,13,14],ymm11[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm6 = xmm14[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm2, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm6, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1],xmm13[2],xmm14[3],xmm13[4,5],xmm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2],ymm11[3,4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm13, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm5, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2],xmm14[3],xmm15[4,5],xmm14[6],xmm15[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm14 = ymm11[0,1,2],ymm14[3,4,5,6,7],ymm11[8,9,10],ymm14[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $102, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm11 = mem[2,1,2,1,6,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm11, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm15 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm15, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm14 = ymm12[0,1],ymm14[2],ymm12[3,4,5,6],ymm14[7],ymm12[8,9],ymm14[10],ymm12[11,12,13,14],ymm14[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm12[0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm10, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm9[2],xmm0[3],xmm9[4,5],xmm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm14[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 736(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 704(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm4[0,1],ymm1[2],ymm4[3,4],ymm1[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm9[u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2],xmm1[3],xmm14[4,5],xmm1[6],xmm14[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm1 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm14 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm14[2],ymm1[3,4,5,6],ymm14[7],ymm1[8,9],ymm14[10],ymm1[11,12,13,14],ymm14[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1],xmm14[2],xmm7[3],xmm14[4,5],xmm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2],ymm1[3,4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm14[0,1,2],xmm3[3],xmm14[4,5],xmm3[6],xmm14[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0,1,2],ymm3[3,4,5,6,7],ymm1[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,10,11,u,u,18,19,22,23,u,u,22,23,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm8, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm13[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3],xmm2[4,5],xmm3[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm12, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm4, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm9[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3],xmm2[4,5],xmm3[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufhw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm2 = mem[0,1,2,3,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1],xmm0[2],xmm2[3],xmm0[4,5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5,6],ymm3[7],ymm2[8,9],ymm3[10],ymm2[11,12,13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm1, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2,3],xmm1[4],xmm0[5,6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1,2],xmm9[3],xmm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm8[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm14 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm1[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm15 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm3[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm13 = xmm1[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0],xmm0[1,2],xmm13[3],xmm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0,1,2],ymm13[3,4,5,6,7],ymm14[8,9,10],ymm13[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0],ymm14[1,2,3,4],ymm13[5,6],ymm14[7],ymm13[8],ymm14[9,10,11,12],ymm13[13,14],ymm14[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm14 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm15 = xmm14[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm15, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm9 = xmm14[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3],xmm9[4],xmm0[5,6],xmm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm8, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0],xmm0[1,2],xmm12[3],xmm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm13[0,1,2],ymm1[3,4,5,6,7],ymm13[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm13[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,3,2,3,4,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3,4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9,10,11,12],ymm0[13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm12 = xmm1[2,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm12, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[0,1,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm11 = xmm3[0,1,2,3,6,5,6,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm11[4],xmm10[5,6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm11 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm11, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[2,1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm11[2,1,2,0,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm1[1,2],xmm6[3],xmm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm0[0,1,2],ymm6[3,4,5,6,7],ymm0[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm10[1,2,3,4],ymm0[5,6],ymm10[7],ymm0[8],ymm10[9,10,11,12],ymm0[13,14],ymm10[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1,2,3],xmm5[4],xmm1[5,6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm13 = mem[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0],xmm1[1,2],xmm13[3],xmm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm1, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5,6],ymm2[7],ymm0[8],ymm2[9,10,11,12],ymm0[13,14],ymm2[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm15, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm13 = xmm14[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm13[4],xmm2[5,6],xmm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1,2],xmm9[3],xmm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm8[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm8[1,2,3,4],ymm2[5,6],ymm8[7],ymm2[8],ymm8[9,10,11,12],ymm2[13,14],ymm8[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufhw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm9 = mem[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm9[4],xmm8[5,6],xmm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm13 = mem[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm13[0],xmm9[1,2],xmm13[3],xmm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm2[0,1,2],ymm8[3,4,5,6,7],ymm2[8,9,10],ymm8[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm9[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm4[1,2,3,4],ymm2[5,6],ymm4[7],ymm2[8],ymm4[9,10,11,12],ymm2[13,14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm12, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm7, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm5 = xmm11[3,1,2,1,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2],xmm5[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm4, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm5, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm9[0,1,2,3],xmm3[4],xmm9[5],xmm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm10, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm9, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4],xmm12[5],xmm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm11 = mem[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm13, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm12, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4],xmm15[5],xmm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm14 = mem[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm15 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm15, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,3,2,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm15, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4],xmm7[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = mem[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4],xmm5[5],xmm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm10, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1,2,3],xmm5[4],xmm9[5],xmm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm13, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm12, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4],xmm10[5],xmm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = mem[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm15, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4],xmm1[5],xmm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, 96(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm14, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, 64(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $1336, %rsp # imm = 0x538
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i16_stride6_vf64:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: subq $1544, %rsp # imm = 0x608
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm1, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm26
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm20
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2],xmm0[3],xmm1[4,5],xmm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm18
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm8[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 448(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vshufi64x2 {{.*#+}} ymm17 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, 480(%rdi), %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm25
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,2,2,4,5,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6],ymm1[7],ymm0[8,9],ymm1[10],ymm0[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 416(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm23
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm7, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 640(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vshufi64x2 {{.*#+}} ymm21 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm21[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, 672(%rdi), %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm31
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6],ymm1[7],ymm0[8,9],ymm1[10],ymm0[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 736(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm6[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm3, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm3, %xmm16
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm12[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm11, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4,5],xmm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm15, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm2[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti32x4 $1, 96(%rdi), %ymm0, %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm19[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm5[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,2,2,4,5,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6],ymm1[7],ymm0[8,9],ymm1[10],ymm0[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[0,2,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,2,2,1,4,6,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vinserti32x4 $1, 288(%rdi), %ymm0, %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm24[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm2[2],ymm0[3,4,5,6],ymm2[7],ymm0[8,9],ymm2[10],ymm0[11,12,13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm14[0,1,2],xmm9[3],xmm14[4,5],xmm9[6],xmm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0,1,2],ymm9[3,4,5,6,7],ymm0[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm12, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm12, %xmm11, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1],xmm0[2],xmm9[3],xmm0[4,5],xmm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm11, %xmm15, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm13[3],xmm9[4,5],xmm13[6],xmm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm9, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm22, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm22[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1],ymm0[2],ymm5[3,4,5,6],ymm0[7],ymm5[8,9],ymm0[10],ymm5[11,12,13,14],ymm0[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm10, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm5[2],xmm4[3],xmm5[4,5],xmm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm11, %xmm2, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm27[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm27, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm3[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm20, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm26, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4,5],xmm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm8[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm17, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm17, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm17[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4,5,6],ymm0[7],ymm1[8,9],ymm0[10],ymm1[11,12,13,14],ymm0[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm23, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm12, %xmm7, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm16, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm6[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3],xmm0[4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm21[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm21, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm31, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm1[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm1, %xmm30
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm29
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm3[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm3, %xmm28
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm3, %xmm18
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm19, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm19[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm22[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm3[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm3, %xmm26
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm4[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm4, %xmm25
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1,2],xmm3[3],xmm2[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm24[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm9[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm4[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, (%rsp), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm3 = mem[0,1],ymm3[2],mem[3,4],ymm3[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm6[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm6, %xmm20
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm12[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm31 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm31, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm1, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm1[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm1, %xmm23
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm22
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm11[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm10[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm16
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm17 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm15[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm6[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm14[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm21[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm7[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm2, %xmm24
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm24[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm3[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm15[4],xmm2[5,6],xmm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm16, %zmm31, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm16 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm16, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm29, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm30, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm13, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm13, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5,6],ymm1[7],ymm2[8],ymm1[9,10,11,12],ymm2[13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm25, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm26, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm13[1,2],xmm2[3],xmm13[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm19, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm5, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm13[0],ymm2[1,2,3,4],ymm13[5,6],ymm2[7],ymm13[8],ymm2[9,10,11,12],ymm13[13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm20, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm5[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4],xmm13[5,6],xmm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm2[0,1,2],ymm12[3,4,5,6,7],ymm2[8,9,10],ymm12[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm31, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm16, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm22, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm23, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm10[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm11[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm9[0,1,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1,2],xmm1[3],xmm2[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm6[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm17, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm8, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0],ymm2[1,2,3,4],ymm6[5,6],ymm2[7],ymm6[8],ymm2[9,10,11,12],ymm6[13,14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm14, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm7[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm5[1,2,3,4],ymm2[5,6],ymm5[7],ymm2[8],ymm5[9,10,11,12],ymm2[13,14],ymm5[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,1,1,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm30
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm31, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm16, %zmm30
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm3 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm15[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm4, %xmm24
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm5, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm5, %xmm23
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm17
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm18[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm5[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm26
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4],ymm4[5],ymm2[6,7],ymm4[8],ymm2[9,10,11,12],ymm4[13],ymm2[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm11 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm11 = ymm4[0,1],mem[2],ymm4[3,4],mem[5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm6[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm6, %xmm22
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm31 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm2, %ymm31, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: movw $31, %ax
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm4, %zmm17 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm19[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm4 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm4[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm5[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4],ymm4[5],ymm2[6,7],ymm4[8],ymm2[9,10,11,12],ymm4[13],ymm2[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $146, (%rsp), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm4 = ymm4[0],mem[1],ymm4[2,3],mem[4],ymm4[5,6],mem[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm5, %xmm28
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm6, %xmm19
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm8[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm13[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm2, %ymm31, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm4 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm4 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm12
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm9[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm8, %xmm18
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm6[4],xmm2[5],xmm6[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm21
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm5, %zmm21 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm14[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm8 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm8[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm10, %xmm5, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm2[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,6,6,6,6]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1,2,3],xmm6[4],xmm14[5],xmm6[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm6[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm15[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm6[1],xmm3[2,3],xmm6[4],xmm3[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm23, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm24, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4],xmm15[5],xmm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm14, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm14 = mem[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm26, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm15[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm14[1,2,3,4],ymm15[5],ymm14[6,7],ymm15[8],ymm14[9,10,11,12],ymm15[13],ymm14[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm22[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm15[1],xmm11[2,3],xmm15[4],xmm11[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm14, %ymm31, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm11, %zmm3 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm11[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm11[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm14[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0],ymm14[1,2,3,4],ymm11[5],ymm14[6,7],ymm11[8],ymm14[9,10,11,12],ymm11[13],ymm14[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm19, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm28, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4],xmm15[5],xmm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm14 = mem[1,1,0,3,5,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm15[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm14[1,2,3,4],ymm15[5],ymm14[6,7],ymm15[8],ymm14[9,10,11,12],ymm15[13],ymm14[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm13[1],xmm0[2,3],xmm13[4],xmm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm14, %ymm31, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm12[1,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm4[1],xmm1[2,3],xmm4[4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm4 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm12
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm18, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm10, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm10[4],xmm9[5],xmm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm9, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm1 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,3,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm8[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm7[1,2,3,4],ymm0[5],ymm7[6,7],ymm0[8],ymm7[9,10,11,12],ymm0[13],ymm7[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm5[4],xmm2[5],xmm5[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm6, %zmm5 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm6, %zmm5 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm5, 64(%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm6, %zmm5 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm5, 64(%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm2, %zmm5 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm17, %zmm2, %zmm4
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm21, %zmm2, %zmm12
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm2, %zmm11
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm2, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovaps %zmm1, 64(%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm30, 64(%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm25, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm12, 64(%r9)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm4, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm11, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: addq $1544, %rsp # imm = 0x608
+; AVX512F-ONLY-SLOW-NEXT: vzeroupper
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i16_stride6_vf64:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: subq $1528, %rsp # imm = 0x5F8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm2, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm28
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm2, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm2, %xmm27
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2],xmm0[3],xmm1[4,5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm2, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm17
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm3, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm3, %xmm30
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 448(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,0,1,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, 480(%rdi), %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,4,5,u,u,6,7,8,9,8,9,8,9,u,u,16,17,20,21,u,u,22,23,24,25,24,25,24,25,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 416(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm2[0],ymm0[1],ymm2[2,3],ymm0[4],ymm2[5,6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm12, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm12, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm0, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm0, %xmm20
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2],xmm3[3],xmm2[4,5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 640(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,8,9,u,u,u,u,u,u,u,u,4,5,u,u,u,u,24,25,u,u,u,u,u,u,u,u,20,21>
+; AVX512F-ONLY-FAST-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm22
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, 672(%rdi), %ymm1, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm19
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm10, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm0, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm4, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm0, %xmm16
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3],xmm3[4,5],xmm2[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm11, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm11, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm8, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm5, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm7, %xmm26
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3],xmm4[4,5],xmm3[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm3, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm0[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm23, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm0, %ymm7, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, 96(%rdi), %ymm1, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm29
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm2, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm15[2],xmm0[3],xmm15[4,5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm3[3,4,5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vinserti32x4 $1, 288(%rdi), %ymm0, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm25[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm15, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0,1],ymm3[2],ymm0[3,4,5,6],ymm3[7],ymm0[8,9],ymm3[10],ymm0[11,12,13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm1, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm26, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm3, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2],xmm0[3],xmm14[4,5],xmm0[6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3,4,5,6,7],ymm9[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm11, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0,1],xmm8[2],xmm0[3],xmm8[4,5],xmm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4,5],xmm5[6],xmm6[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm5, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <2,3,6,7,u,u,6,7,10,11,10,11,10,11,u,u,18,19,22,23,u,u,22,23,26,27,26,27,26,27,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} ymm6 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1],ymm6[2],ymm4[3,4,5,6],ymm6[7],ymm4[8,9],ymm6[10],ymm4[11,12,13,14],ymm6[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm13, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm6[2],xmm2[3],xmm6[4,5],xmm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm4[3,4,5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm15, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,10,11,u,u,u,u,u,u,u,u,6,7,u,u,u,u,26,27,u,u,u,u,u,u,u,u,22,23>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm23, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %ymm23, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm8, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1],ymm6[2],ymm4[3,4,5,6],ymm6[7],ymm4[8,9],ymm6[10],ymm4[11,12,13,14],ymm6[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3],xmm3[4,5],xmm1[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7],ymm4[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm27, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm3[2],xmm1[3],xmm3[4,5],xmm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm30, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm17, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3],xmm3[4,5],xmm4[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm3, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm20, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2],xmm3[3],xmm4[4,5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm19, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm22, %ymm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %ymm22, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm11, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm16, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm2 = xmm10[0,1,2,3,5,5,5,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm2[3],xmm0[4,5],xmm2[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, (%rsp), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13>
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm2, %xmm31
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2],xmm2[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm5, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm4, %xmm28
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm29, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm10, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm18[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm3[1,2,3,4],ymm1[5,6],ymm3[7],ymm1[8],ymm3[9,10,11,12],ymm1[13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm6[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm7, %xmm23
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm7 = xmm4[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm4, %xmm26
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1,2],xmm7[3],xmm6[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm4, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm8[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm9, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm9, %ymm22
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0],ymm7[1,2,3,4],ymm6[5,6],ymm7[7],ymm6[8],ymm7[9,10,11,12],ymm6[13,14],ymm7[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm7 = ymm7[0,1],mem[2],ymm7[3,4],mem[5],ymm7[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm9, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm9, %xmm21
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm8 = xmm9[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm9, %xmm20
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3],xmm8[4],xmm7[5,6],xmm8[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm6[0,1,2],ymm7[3,4,5,6,7],ymm6[8,9,10],ymm7[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm30 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm2, %zmm30, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm3, %zmm7, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm3, %xmm19
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm3, %xmm29
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm6, %xmm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm13, %xmm16
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm6[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm6, %xmm17
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm25
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm0, %xmm24
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[2,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm9[2,1,2,0,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2],xmm2[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm15, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm8 = mem[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm8, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm11[0,3,2,3,4,7,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm13, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[2,1,0,3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm16, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm12 = xmm5[0,1,2,3,6,5,6,4]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm12[4],xmm0[5,6],xmm12[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3,4,5,6,7],ymm3[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm25, %zmm30, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm1, %zmm7, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm7, %zmm25
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm31, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm1, %xmm31
+; AVX512F-ONLY-FAST-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # xmm1 = mem[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm12 = xmm2[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm12[4],xmm1[5,6],xmm12[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm12
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm10, %ymm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm10, %ymm16
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm11[0],ymm0[1,2,3,4],ymm11[5,6],ymm0[7],ymm11[8],ymm0[9,10,11,12],ymm11[13,14],ymm0[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm23, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm10, %xmm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm26, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0],xmm1[1,2],xmm10[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm22, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm4, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm10[0],ymm1[1,2,3,4],ymm10[5,6],ymm1[7],ymm10[8],ymm1[9,10,11,12],ymm10[13,14],ymm1[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm21, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm20, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm11 = xmm4[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm11[4],xmm10[5,6],xmm11[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm1[0,1,2],ymm10[3,4,5,6,7],ymm1[8,9,10],ymm10[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm12, %zmm30, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm0, %zmm25, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm19, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm31, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm1 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm1 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm29, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm17, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm10 = xmm4[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm10[4],xmm1[5,6],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm24, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm23, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm4 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,1,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0],xmm1[1,2],xmm9[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm8, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm15, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4],ymm9[5,6],ymm8[7],ymm9[8],ymm8[9,10,11,12],ymm9[13,14],ymm8[15]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm8[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm13, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm6, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm5[0,1,2,3,7,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm29
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm0, %zmm30, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm1, %zmm25, %zmm29
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $219, (%rsp), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm12 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm12, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = mem[0],ymm2[1],mem[2,3],ymm2[4],mem[5,6],ymm2[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm3, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5],xmm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm30
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm16[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm15 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm15, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm11 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm11 = ymm3[0,1],mem[2],ymm3[3,4],mem[5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm11, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm5, %xmm23
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm1, %ymm17, %ymm3
+; AVX512F-ONLY-FAST-NEXT: movw $31, %ax
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm3, %zmm30 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm1 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm26[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm31
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm3 = mem[0],ymm3[1],mem[2,3],ymm3[4],mem[5,6],ymm3[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm4, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm4, %xmm27
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm5, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm5, %xmm28
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm10[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm3 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm8 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm8 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm8, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm1, %xmm22
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm3, %ymm17, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm7 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm7 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm7, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm1, %xmm21
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1],xmm0[2,3],xmm3[4],xmm0[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm3 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm3 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6],mem[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm3[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm1, %xmm18
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2,3],xmm3[4],xmm6[5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm3, %zmm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm20 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm1 = mem[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm19
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[2,1,2,1,6,5,6,5]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm9[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm2 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: # ymm2 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1,2,3],xmm6[4],xmm14[5],xmm6[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm6[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm15, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm15[1,2,3,4],ymm0[5],ymm15[6,7],ymm0[8],ymm15[9,10,11,12],ymm0[13],ymm15[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm23, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm11, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm11[0],xmm0[1],xmm11[2,3],xmm0[4],xmm11[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm1, %ymm17, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm12, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm11[0],xmm1[1],xmm11[2,3],xmm1[4],xmm11[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm13, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0,1,2,3],xmm1[4],xmm13[5],xmm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm0, %zmm1 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm31, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1,2,3,4],ymm0[5],ymm2[6,7],ymm0[8],ymm2[9,10,11,12],ymm0[13],ymm2[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm27, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm28, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm13, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm13[0,1,2,3],xmm2[4],xmm13[5],xmm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm13, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm13[1,2,3,4],ymm2[5],ymm13[6,7],ymm2[8],ymm13[9,10,11,12],ymm2[13],ymm13[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm22, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm8, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm13[1],xmm8[2,3],xmm13[4],xmm8[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm2, %ymm17, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm21, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm7, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3],xmm2[4],xmm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm10, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm7[0,1,2,3],xmm3[4],xmm7[5],xmm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm8, %zmm2 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm3 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm7 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm9, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm19, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm9, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0],ymm9[1,2,3,4],ymm6[5],ymm9[6,7],ymm6[8],ymm9[9,10,11,12],ymm6[13],ymm9[14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm6 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm9, %zmm6 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm6 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm9, %zmm6 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm6 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm3, %zmm6 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm6, 64(%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm3 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm5, %zmm3 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm3, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm3 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm30, %zmm3, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm20, %zmm3, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm1, %zmm3, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm2, %zmm3, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovaps %zmm1, 64(%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm29, 64(%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovaps %zmm1, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm8, 64(%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm7, (%r9)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm4, 64(%rax)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-ONLY-FAST-NEXT: addq $1528, %rsp # imm = 0x5F8
+; AVX512F-ONLY-FAST-NEXT: vzeroupper
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i16_stride6_vf64:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: subq $968, %rsp # imm = 0x3C8
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm10, %xmm1, %xmm0
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm1, %xmm28
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm30
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm28[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2],xmm0[3],xmm1[4,5],xmm0[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm2, %xmm26
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm17
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa 448(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm1[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm20
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, 480(%rdi), %ymm1, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm27
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,2,4,5,6,6]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm8, %xmm24
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm24[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2],xmm3[3],xmm2[4,5],xmm3[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 640(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm1[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm25
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, 672(%rdi), %ymm1, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm1[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm22
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm2[2],ymm1[3,4,5,6],ymm2[7],ymm1[8,9],ymm2[10],ymm1[11,12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa 736(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 704(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm7[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm5, %xmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm5, %xmm16
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3],xmm3[4,5],xmm2[6],xmm3[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm18 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm18, %zmm4
+; AVX512DQ-SLOW-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm4 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm12[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm10, %xmm11, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4,5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm13[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm15, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm19
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm2[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm2, %ymm21
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, 96(%rdi), %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm5[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,2,2,4,5,6,6]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm1[2],ymm0[3,4,5,6],ymm1[7],ymm0[8,9],ymm1[10],ymm0[11,12,13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm10
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[0,2,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2],xmm2[3],xmm3[4,5],xmm2[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512DQ-SLOW-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,2,2,1,4,6,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm29
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vinserti32x4 $1, 288(%rdi), %ymm0, %ymm31
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm31[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm6[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm2[2],ymm0[3,4,5,6],ymm2[7],ymm0[8,9],ymm2[10],ymm0[11,12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 320(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,2]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm14[0,1,2],xmm9[3],xmm14[4,5],xmm9[6],xmm14[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0,1,2],ymm9[3,4,5,6,7],ymm0[8,9,10],ymm9[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm19, %zmm18, %zmm3
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm3 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,10,11,u,u,2,3,14,15,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm12, %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm12, %xmm11, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1],xmm0[2],xmm9[3],xmm0[4,5],xmm9[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm15, %xmm9
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm13[3],xmm9[4,5],xmm13[6],xmm9[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm9, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm21, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm21[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm9[2],ymm5[3,4,5,6],ymm9[7],ymm5[8,9],ymm9[10],ymm5[11,12,13,14],ymm9[15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm10, %xmm9
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm9[2],xmm4[3],xmm9[4,5],xmm4[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2],ymm5[3,4,5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm29[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm29, %ymm9
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm29, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm6[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4,5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11,12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5,6,7],ymm2[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm18, %zmm4
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm4 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm28, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm30, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4,5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm26, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm17, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm20, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm20[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1],ymm1[2],ymm2[3,4,5,6],ymm1[7],ymm2[8,9],ymm1[10],ymm2[11,12,13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm24, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm12, %xmm8, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2],xmm3[3],xmm2[4,5],xmm3[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm7[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3],xmm1[4,5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm25, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm25[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm3
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4,5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11,12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5,6,7],ymm2[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm18, %zmm4
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm4 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm1[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm1, %xmm29
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm2[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm2, %xmm27
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm3[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm3, %xmm28
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm3, %xmm17
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm14
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm23[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm21[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm3[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm30
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm3, %xmm25
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm4[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm4, %xmm24
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1,2],xmm3[3],xmm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm31, %ymm5
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm31[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm9[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm4[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm18
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm3 = mem[0,1],ymm3[2],mem[3,4],ymm3[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm6[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm6, %xmm23
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm4[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm13[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm26 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm26, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm0, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm0, %zmm31
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm1[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm1, %xmm19
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm12[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm1 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm11[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm10[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5,6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm21
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm9[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[2,1,2,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm16 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm16[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm20[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm6[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm22 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm22[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,4,6,7,8,9,10,11,12,12,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[0,3,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm7[0,0,2,3,4,5,6,7,8,8,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,4,4,4,8,9,10,11,12,12,12,12]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3,4],ymm1[5,6],ymm2[7],ymm1[8],ymm2[9,10,11,12],ymm1[13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm2, %xmm20
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm20[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm3[0,1,2,3,6,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm15[4],xmm2[5,6],xmm15[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2],ymm2[3,4,5,6,7],ymm1[8,9,10],ymm2[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm21, %zmm26, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm31, %zmm20
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm31, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm27, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm29, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm17, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm30, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm15, %ymm14, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm14, %ymm17
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5,6],ymm1[7],ymm2[8],ymm1[9,10,11,12],ymm2[13,14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm24, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm25, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm14[1,2],xmm2[3],xmm14[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm15, %ymm5, %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm18
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm14[0],ymm2[1,2,3,4],ymm14[5,6],ymm2[7],ymm14[8],ymm2[9,10,11,12],ymm14[13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm23, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm5[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1,2,3],xmm13[4],xmm14[5,6],xmm13[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm2[0,1,2],ymm13[3,4,5,6,7],ymm2[8,9,10],ymm13[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm13[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm31
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm26, %zmm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm20, %zmm31
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm12[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm10[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm11[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4],xmm2[5,6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm8[3,1,2,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm9[0,1,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1,2],xmm1[3],xmm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm6[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm8
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm15, %ymm8, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0],ymm2[1,2,3,4],ymm6[5,6],ymm2[7],ymm6[8],ymm2[9,10,11,12],ymm6[13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm10
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm15, %ymm10, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm7[0,1,3,3,4,5,6,7,8,9,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,5,5,5,5,8,9,10,11,13,13,13,13]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm5[1,2,3,4],ymm2[5,6],ymm5[7],ymm2[8],ymm5[9,10,11,12],ymm2[13,14],ymm5[15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,1,1,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5,6],xmm3[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm22
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm0, %zmm26, %zmm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm20, %zmm22
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm3 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm0
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm14[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3],xmm2[4],xmm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu (%rsp), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm4, %xmm21
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm15, %xmm5, %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm5, %xmm26
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm24
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm17[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm5[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm27
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4],ymm4[5],ymm2[6,7],ymm4[8],ymm2[9,10,11,12],ymm4[13],ymm2[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm9 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm9 = mem[0,1],ymm4[2],mem[3,4],ymm4[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm4
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm6[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm6, %xmm25
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm23 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm2, %ymm23, %ymm4
+; AVX512DQ-SLOW-NEXT: movw $31, %ax
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm4, %zmm0, %zmm24 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm18[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm4 = mem[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm4[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm20
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm5[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm28
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4],ymm4[5],ymm2[6,7],ymm4[8],ymm2[9,10,11,12],ymm4[13],ymm2[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm4 = ymm4[0],mem[1],ymm4[2,3],mem[4],ymm4[5,6],mem[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm5, %xmm29
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm15, %xmm6, %xmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm6, %xmm18
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm17
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm16[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm30
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm8 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm8 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm5, %xmm19
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm4[1],xmm2[2,3],xmm4[4],xmm2[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm0, %ymm23, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm13[2,2,2,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm4[1],xmm1[2,3],xmm4[4],xmm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm4 = mem[0],ymm4[1],mem[2,3],ymm4[4],mem[5,6],ymm4[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm4[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm11[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm15, %xmm12, %xmm5
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm4, %zmm6
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm2, %zmm0, %zmm6 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm10[2,1,2,1,6,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm10 = mem[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm10[2,2,2,2,4,5,6,7,10,10,10,10,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm7[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4],ymm2[5],ymm1[6,7],ymm2[8],ymm1[9,10,11,12],ymm2[13],ymm1[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm2 = mem[0],ymm2[1],mem[2,3],ymm2[4],mem[5,6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm15, %xmm4, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm2[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,6,6,6,6]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm15[0,1,2,3],xmm5[4],xmm15[5],xmm5[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm5[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm16
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm14[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm5[1],xmm3[2,3],xmm5[4],xmm3[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm26, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm15
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm21, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3],xmm15[4],xmm14[5],xmm15[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm14, %zmm3
+; AVX512DQ-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm14 = mem[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm15
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm15[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm14[1,2,3,4],ymm15[5],ymm14[6,7],ymm15[8],ymm14[9,10,11,12],ymm15[13],ymm14[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm9
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm25[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm15[1],xmm9[2,3],xmm15[4],xmm9[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm14, %ymm23, %ymm9
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm9, %zmm0, %zmm3 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm9
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm20, %ymm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm14[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0],ymm14[1,2,3,4],ymm9[5],ymm14[6,7],ymm9[8],ymm14[9,10,11,12],ymm9[13],ymm14[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm18, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm14
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm29, %xmm15
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4],xmm15[5],xmm14[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm14[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm9
+; AVX512DQ-SLOW-NEXT: vpshufd $197, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm14 = mem[1,1,0,3,5,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm30, %ymm15
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm15[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm14[1,2,3,4],ymm15[5],ymm14[6,7],ymm15[8],ymm14[9,10,11,12],ymm15[13],ymm14[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm8
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm19[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm15[1],xmm8[2,3],xmm15[4],xmm8[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm14, %ymm23, %ymm8
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[1,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3],xmm1[4],xmm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm12, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm11[0,1,2,3],xmm1[4],xmm11[5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $0, %ymm8, %zmm0, %zmm0 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm7[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,3,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm10[3,3,3,3,4,5,6,7,11,11,11,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm7[1,2,3,4],ymm1[5],ymm7[6,7],ymm1[8],ymm7[9,10,11,12],ymm1[13],ymm7[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,3]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm2, 64(%rsi)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm2, 64(%rdx)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm24, %zmm2, %zmm17
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm6, %zmm2, %zmm16
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm2, %zmm9
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm2, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, 64(%rcx)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm31, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm16, 64(%r9)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm17, (%r9)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm9, (%rax)
+; AVX512DQ-SLOW-NEXT: addq $968, %rsp # imm = 0x3C8
+; AVX512DQ-SLOW-NEXT: vzeroupper
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i16_stride6_vf64:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: subq $1032, %rsp # imm = 0x408
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <0,1,12,13,u,u,4,5,u,u,u,u,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,0,1,u,u,8,9,12,13,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2],xmm0[3],xmm1[4,5],xmm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 544(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,4,5,u,u,u,u,8,9,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm2, %xmm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm2, %ymm31
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <0,1,4,5,4,5,u,u,0,1,12,13,u,u,4,5>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm4, %xmm3, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm4, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm3, %xmm30
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4,5],xmm1[6],xmm2[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa 448(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm2[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,0,1,u,u,u,u,u,u,u,u,12,13,u,u,u,u,16,17,u,u,u,u,u,u,u,u,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm3, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm3, %ymm28
+; AVX512DQ-FAST-NEXT: vinserti128 $1, 480(%rdi), %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,4,5,u,u,6,7,8,9,8,9,8,9,u,u,16,17,20,21,u,u,22,23,24,25,24,25,24,25,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm26
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4,5,6],ymm2[7],ymm3[8,9],ymm2[10],ymm3[11,12,13,14],ymm2[15]
+; AVX512DQ-FAST-NEXT: vmovdqa 416(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm0[1],ymm3[2,3],ymm0[4],ymm3[5,6],ymm0[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm0, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm29
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm13, %xmm0, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm24
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2],xmm4[3],xmm3[4,5],xmm4[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm2[3,4,5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 640(%rdi), %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,8,9,u,u,u,u,u,u,u,u,4,5,u,u,u,u,24,25,u,u,u,u,u,u,u,u,20,21>
+; AVX512DQ-FAST-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm2[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm5, %ymm21
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm22
+; AVX512DQ-FAST-NEXT: vinserti128 $1, 672(%rdi), %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm2[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm20
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5,6],ymm3[7],ymm2[8,9],ymm3[10],ymm2[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa 736(%rdi), %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 704(%rdi), %ymm4
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm14, %xmm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm14, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb %xmm6, %xmm5, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm6, %xmm10
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm5, %xmm17
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3],xmm4[4,5],xmm3[6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm18 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm1, %zmm18, %zmm0
+; AVX512DQ-FAST-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm2, %zmm0, %zmm0 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6],ymm0[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm11, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm13, %xmm8, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4,5],xmm2[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm5, %xmm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufb %xmm10, %xmm6, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm10, %xmm16
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3],xmm4[4,5],xmm3[6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm3, %zmm19
+; AVX512DQ-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm0[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm27
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm3
+; AVX512DQ-FAST-NEXT: vinserti128 $1, 96(%rdi), %ymm1, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm0[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm7, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0,1],ymm3[2],ymm1[3,4,5,6],ymm3[7],ymm1[8,9],ymm3[10],ymm1[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm0
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm13, %xmm12, %xmm13
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm13[2],xmm0[3],xmm13[4,5],xmm0[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2],ymm3[3,4,5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm21
+; AVX512DQ-FAST-NEXT: vinserti32x4 $1, 288(%rdi), %ymm0, %ymm25
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm25[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm13, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm0[0,1],ymm3[2],ymm0[3,4,5,6],ymm3[7],ymm0[8,9],ymm3[10],ymm0[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm1, %xmm0
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm16, %xmm15
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm3, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3],xmm15[4,5],xmm0[6],xmm15[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3,4,5,6,7],ymm9[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm19, %zmm18, %zmm4
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm4 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <2,3,14,15,u,u,6,7,u,u,u,u,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm11, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,2,3,u,u,10,11,14,15,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0,1],xmm8[2],xmm0[3],xmm8[4,5],xmm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <6,7,2,3,4,5,u,u,2,3,14,15,u,u,6,7>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4,5],xmm5[6],xmm6[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm5, %zmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <2,3,6,7,u,u,6,7,10,11,10,11,10,11,u,u,18,19,22,23,u,u,22,23,26,27,26,27,26,27,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm7, %ymm4
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm10[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1],ymm7[2],ymm4[3,4,5,6],ymm7[7],ymm4[8,9],ymm7[10],ymm4[11,12,13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm12, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm7[2],xmm2[3],xmm7[4,5],xmm2[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2],ymm4[3,4,5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm13, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,10,11,u,u,u,u,u,u,u,u,6,7,u,u,u,u,26,27,u,u,u,u,u,u,u,u,22,23>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm10
+; AVX512DQ-FAST-NEXT: vmovdqu64 %ymm21, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm10, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm7[2],ymm2[3,4,5,6],ymm7[7],ymm2[8,9],ymm7[10],ymm2[11,12,13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3],xmm3[4,5],xmm1[6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5,6,7],ymm2[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm6, %zmm18, %zmm8
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm8 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2],xmm1[3],xmm2[4,5],xmm1[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm30, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm31, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3],xmm2[4,5],xmm3[6],xmm2[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm28, %ymm3
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,1,1,1,4,5,6,7,9,9,9,9,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5,6],ymm3[7],ymm2[8,9],ymm3[10],ymm2[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm29, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm24, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm6[2],xmm3[3],xmm6[4,5],xmm3[6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1,2],ymm2[3,4,5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm20, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm11
+; AVX512DQ-FAST-NEXT: vmovdqu64 %ymm22, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm11, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5,6],ymm3[7],ymm2[8,9],ymm3[10],ymm2[11,12,13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm17, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm14[0,1,2,3,5,5,5,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm3[3],xmm0[4,5],xmm3[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7],ymm2[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm1, %zmm18, %zmm6
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm6 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $219, (%rsp), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,0,1,4,5,u,u,12,13,12,13,12,13,12,13>
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm1[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm2, %xmm29
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2],xmm2[3],xmm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,0,1,0,1,0,1,u,u,8,9,12,13,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm4, %xmm16
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm4, %xmm28
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <4,5,u,u,u,u,u,u,u,u,0,1,12,13,u,u,20,21,u,u,u,u,u,u,u,u,16,17,28,29,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm9
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm9, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm27[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,0,1,4,5,6,7,8,9,u,u,u,u,8,9,u,u,16,17,20,21,22,23,24,25,u,u,u,u,24,25>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm4, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm30
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm3[1,2,3,4],ymm1[5,6],ymm3[7],ymm1[8],ymm3[9,10,11,12],ymm1[13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm1[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,1,4,5,u,u,12,13,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm12, %xmm4
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm6[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm6, %xmm31
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2],xmm5[3],xmm4[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4],xmm3[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm25, %ymm6
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm6, %ymm4
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm21[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm8, %ymm23
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm5[1,2,3,4],ymm4[5,6],ymm5[7],ymm4[8],ymm5[9,10,11,12],ymm4[13,14],ymm5[15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm5 = ymm5[0,1],mem[2],ymm5[3,4],mem[5],ymm5[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm8
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm5[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm10, %xmm20
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm8[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm8 = xmm10[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm10, %xmm22
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm8[4],xmm5[5,6],xmm8[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0,1,2],ymm5[3,4,5,6,7],ymm4[8,9,10],ymm5[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm24 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm2, %zmm24, %zmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm3, %zmm2, %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm3, %xmm19
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm3[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm3, %xmm18
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm2[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm3[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm4[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm4, %xmm17
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5,6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm2, %zmm21
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm27
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[2,1,2,3]
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm0[2,1,2,0,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm26
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1,2],xmm2[3],xmm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm15, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm25 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm25[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm11 = ymm11[0,3,2,3,4,7,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm11, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm7
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[2,1,0,3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,2,1]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm14 = xmm7[0,1,2,3,6,5,6,4]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm14[4],xmm0[5,6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3,4,5,6,7],ymm3[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm21, %zmm24, %zmm1
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm5, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm5, %zmm21
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,2,3,6,7,u,u,14,15,14,15,14,15,14,15>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm29, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm1, %xmm29
+; AVX512DQ-FAST-NEXT: vpshuflw $103, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # xmm1 = mem[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <2,3,2,3,2,3,2,3,u,u,10,11,14,15,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm14 = xmm2[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm14[4],xmm1[5,6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm14
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,2,3,6,7,6,7,10,11,u,u,u,u,10,11,u,u,18,19,22,23,22,23,26,27,u,u,u,u,26,27>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm30, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <6,7,u,u,u,u,u,u,u,u,2,3,14,15,u,u,22,23,u,u,u,u,u,u,u,u,18,19,30,31,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm9, %ymm13
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm9, %ymm16
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0],ymm0[1,2,3,4],ymm13[5,6],ymm0[7],ymm13[8],ymm0[9,10,11,12],ymm13[13,14],ymm0[15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,2,3,6,7,u,u,14,15,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm9, %xmm28
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm31, %xmm9
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm9[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0],xmm1[1,2],xmm12[3],xmm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm12[0],ymm1[1,2,3,4],ymm12[5,6],ymm1[7],ymm12[8],ymm1[9,10,11,12],ymm12[13,14],ymm1[15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm20, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm9, %xmm12
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm22, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm13 = xmm9[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm13[4],xmm12[5,6],xmm13[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm1[0,1,2],ymm12[3,4,5,6,7],ymm1[8,9,10],ymm12[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm12[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm14, %zmm24, %zmm0
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm0, %zmm21, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm19, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm29, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3],xmm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm10, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm17, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm10 = xmm9[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm10[4],xmm1[5,6],xmm10[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm27, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm28, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm26, %xmm9
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,1,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0],xmm1[1,2],xmm9[3],xmm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm8, %ymm8
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm10
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm15, %ymm9
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4],ymm9[5,6],ymm8[7],ymm9[8],ymm8[9,10,11,12],ymm9[13,14],ymm8[15]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm8[5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm11, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm8, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1,2,3,4],ymm2[5,6],ymm3[7],ymm2[8],ymm3[9,10,11,12],ymm2[13,14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm4, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm7[0,1,2,3,7,5,6,5]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5,6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm22
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm0, %zmm24, %zmm1
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm21, %zmm22
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, (%rsp), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm14 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <8,9,u,u,0,1,12,13,u,u,12,13,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm14, %xmm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm14, %xmm12
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm12[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3],xmm2[4],xmm1[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $146, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6],mem[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm4, (%rsp) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,8,9,u,u,0,1,12,13>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm3, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <0,1,2,3,0,1,4,5,u,u,12,13,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4],xmm3[5],xmm2[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm23
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm16[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm3 = mem[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,4,5,4,5,4,5,8,9,u,u,8,9,12,13,u,u,20,21,20,21,20,21,24,25,u,u,24,25,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm3, %ymm29
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm11 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm11 = ymm3[0,1],mem[2],ymm3[3,4],mem[5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm5
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm5[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm5, %xmm26
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3],xmm4[4],xmm3[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm1, %ymm17, %ymm3
+; AVX512DQ-FAST-NEXT: movw $31, %ax
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm3, %zmm0, %zmm23 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm1 = mem[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm6[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm3 = mem[0],ymm3[1],mem[2,3],ymm3[4],mem[5,6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm4, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm4, %xmm31
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5],xmm3[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm24
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm10[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm25[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm3, %ymm30
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm28
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4],ymm3[5],ymm1[6,7],ymm3[8],ymm1[9,10,11,12],ymm3[13],ymm1[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm9 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm9 = ymm3[0,1],mem[2],ymm3[3,4],mem[5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm9, %xmm3
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm3[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm3, %xmm21
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3],xmm5[4],xmm4[5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm1, %ymm17, %ymm4
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm3 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm3 = ymm1[0,1],mem[2],ymm1[3,4],mem[5],ymm1[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm1
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,2,2,2,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm1, %xmm20
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3],xmm5[4],xmm0[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm5 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm5 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm10 = xmm5[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm1, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm1, %xmm18
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm10, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm10, %xmm19
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4],xmm6[5],xmm5[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm5, %zmm16
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm4, %zmm0, %zmm16 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm13 = mem[0,1,0,3,4,5,4,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm13, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm8[2,1,2,1,6,5,6,5]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm10[0,1,2,3,6,6,6,6,8,9,10,11,14,14,14,14]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4],ymm2[5],ymm0[6,7],ymm2[8],ymm0[9,10,11,12],ymm2[13],ymm0[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd $109, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm2 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: # ymm2 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm5, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufd {{.*#+}} xmm4 = xmm2[0,3,2,1]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4],xmm7[5],xmm6[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm6[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm25
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,3,u,u,u,u,u,u,u,u,14,15,u,u,u,u,18,19,u,u,u,u,u,u,u,u,30,31,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,6,7,6,7,6,7,8,9,u,u,10,11,14,15,u,u,22,23,22,23,22,23,24,25,u,u,26,27,30,31>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm29, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm15 = ymm0[0],ymm8[1,2,3,4],ymm0[5],ymm8[6,7],ymm0[8],ymm8[9,10,11,12],ymm0[13],ymm8[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,6,7,u,u,u,u,10,11,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <10,11,u,u,2,3,14,15,u,u,10,11,12,13,14,15>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm11[0],xmm0[1],xmm11[2,3],xmm0[4],xmm11[5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm15, %ymm17, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm12, %xmm11
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm15 = xmm14[0],xmm11[1],xmm14[2,3],xmm11[4],xmm14[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,10,11,u,u,2,3,14,15>
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <0,1,2,3,2,3,6,7,u,u,14,15,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm12, %xmm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1,2,3],xmm1[4],xmm12[5],xmm1[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm1, %zmm1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm12, %ymm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm12[1,2,3,4],ymm0[5],ymm12[6,7],ymm0[8],ymm12[9,10,11,12],ymm0[13],ymm12[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm31, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm15, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm15[0,1,2,3],xmm12[4],xmm15[5],xmm12[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm12[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm28, %ymm12
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm12, %ymm12
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm30, %ymm15
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm15, %ymm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm12[0],ymm15[1,2,3,4],ymm12[5],ymm15[6,7],ymm12[8],ymm15[9,10,11,12],ymm12[13],ymm15[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm21, %xmm15
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm15, %xmm15
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm9, %xmm9
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm15[1],xmm9[2,3],xmm15[4],xmm9[5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm12, %ymm17, %ymm9
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm20, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm12, %xmm8
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm8[1],xmm2[2,3],xmm8[4],xmm2[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm19, %xmm8
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0,1,2,3],xmm3[4],xmm8[5],xmm3[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm3, %zmm2
+; AVX512DQ-FAST-NEXT: vinserti32x8 $0, %ymm9, %zmm0, %zmm2 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm10, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm13, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm6[1,2,3,4],ymm3[5],ymm6[6,7],ymm3[8],ymm6[9,10,11,12],ymm3[13],ymm6[14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm4, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm4, 64(%rsi)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm4, 64(%rdx)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm4, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm4 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm23, %zmm4, %zmm24
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm16, %zmm4, %zmm25
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm4, %zmm0
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm2, %zmm4, %zmm3
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm1, 64(%rcx)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm1, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm25, 64(%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm24, (%r9)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm3, 64(%rax)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512DQ-FAST-NEXT: addq $1032, %rsp # imm = 0x408
+; AVX512DQ-FAST-NEXT: vzeroupper
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride6_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm12
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm14, %zmm15
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <0,6,12,18,24,30,36,42,48,54,60,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm8
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm7, %zmm8
+; AVX512BW-NEXT: movl $4192256, %edi # imm = 0x3FF800
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm17, %zmm8 {%k1}
+; AVX512BW-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm8 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm6, %zmm14
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm5, %zmm16
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm7
+; AVX512BW-NEXT: vmovdqu16 %zmm16, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm14, %zmm7 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm16, %zmm17
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm18, %zmm19
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <1,7,13,19,25,31,37,43,49,55,61,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqu16 %zmm19, %zmm15 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm17, %zmm15 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm6, %zmm16
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm5, %zmm18
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm14
+; AVX512BW-NEXT: vmovdqu16 %zmm18, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm16, %zmm14 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm18, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28,34,40,46,52,58,0,0,0,0,0,0,4,10,16,22,28]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm20, %zmm21
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <34,40,46,52,58,0,6,12,18,24,30,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm16, %zmm17
+; AVX512BW-NEXT: movl $2095104, %edi # imm = 0x1FF800
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu16 %zmm21, %zmm17 {%k2}
+; AVX512BW-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm19, %zmm17 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm6, %zmm18
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm0, %zmm20
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm16
+; AVX512BW-NEXT: vmovdqu16 %zmm20, %zmm16 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm18, %zmm16 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm9, %zmm20, %zmm21
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29,35,41,47,53,59,0,0,0,0,0,0,5,11,17,23,29]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm22, %zmm23
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <35,41,47,53,59,1,7,13,19,25,31,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm18, %zmm19
+; AVX512BW-NEXT: vmovdqu16 %zmm23, %zmm19 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm21, %zmm19 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm6, %zmm20
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm0, %zmm22
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm3, %zmm18
+; AVX512BW-NEXT: vmovdqu16 %zmm22, %zmm18 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm20, %zmm18 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm20 = <4,10,16,22,28,34,40,46,52,58,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm20, %zmm21
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30,36,42,48,54,60,0,0,0,0,0,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm22, %zmm23
+; AVX512BW-NEXT: movw $31, %di
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm21, %zmm23 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30,0,0,0,0,0,34,40,46,52,58,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm24
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm21, %zmm24
+; AVX512BW-NEXT: vmovdqu16 %zmm24, %zmm23 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm6, %zmm4, %zmm21
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm0, %zmm22
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm20
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm22 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm21, %zmm22 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm20 = <5,11,17,23,29,35,41,47,53,59,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm20, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31,37,43,49,55,61,0,0,0,0,0,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm13, %zmm1
+; AVX512BW-NEXT: vmovdqa32 %zmm10, %zmm1 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31,0,0,0,0,0,35,41,47,53,59,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm10, %zmm9
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm1 {%k1}
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm10, %zmm4
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm13, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm3, %zmm20, %zmm2
+; AVX512BW-NEXT: vmovdqa32 %zmm2, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm4, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <384 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186, i32 192, i32 198, i32 204, i32 210, i32 216, i32 222, i32 228, i32 234, i32 240, i32 246, i32 252, i32 258, i32 264, i32 270, i32 276, i32 282, i32 288, i32 294, i32 300, i32 306, i32 312, i32 318, i32 324, i32 330, i32 336, i32 342, i32 348, i32 354, i32 360, i32 366, i32 372, i32 378>
+ %strided.vec1 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187, i32 193, i32 199, i32 205, i32 211, i32 217, i32 223, i32 229, i32 235, i32 241, i32 247, i32 253, i32 259, i32 265, i32 271, i32 277, i32 283, i32 289, i32 295, i32 301, i32 307, i32 313, i32 319, i32 325, i32 331, i32 337, i32 343, i32 349, i32 355, i32 361, i32 367, i32 373, i32 379>
+ %strided.vec2 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 2, i32 8, i32 14, i32 20, i32 26, i32 32, i32 38, i32 44, i32 50, i32 56, i32 62, i32 68, i32 74, i32 80, i32 86, i32 92, i32 98, i32 104, i32 110, i32 116, i32 122, i32 128, i32 134, i32 140, i32 146, i32 152, i32 158, i32 164, i32 170, i32 176, i32 182, i32 188, i32 194, i32 200, i32 206, i32 212, i32 218, i32 224, i32 230, i32 236, i32 242, i32 248, i32 254, i32 260, i32 266, i32 272, i32 278, i32 284, i32 290, i32 296, i32 302, i32 308, i32 314, i32 320, i32 326, i32 332, i32 338, i32 344, i32 350, i32 356, i32 362, i32 368, i32 374, i32 380>
+ %strided.vec3 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 3, i32 9, i32 15, i32 21, i32 27, i32 33, i32 39, i32 45, i32 51, i32 57, i32 63, i32 69, i32 75, i32 81, i32 87, i32 93, i32 99, i32 105, i32 111, i32 117, i32 123, i32 129, i32 135, i32 141, i32 147, i32 153, i32 159, i32 165, i32 171, i32 177, i32 183, i32 189, i32 195, i32 201, i32 207, i32 213, i32 219, i32 225, i32 231, i32 237, i32 243, i32 249, i32 255, i32 261, i32 267, i32 273, i32 279, i32 285, i32 291, i32 297, i32 303, i32 309, i32 315, i32 321, i32 327, i32 333, i32 339, i32 345, i32 351, i32 357, i32 363, i32 369, i32 375, i32 381>
+ %strided.vec4 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190, i32 196, i32 202, i32 208, i32 214, i32 220, i32 226, i32 232, i32 238, i32 244, i32 250, i32 256, i32 262, i32 268, i32 274, i32 280, i32 286, i32 292, i32 298, i32 304, i32 310, i32 316, i32 322, i32 328, i32 334, i32 340, i32 346, i32 352, i32 358, i32 364, i32 370, i32 376, i32 382>
+ %strided.vec5 = shufflevector <384 x i16> %wide.vec, <384 x i16> poison, <64 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191, i32 197, i32 203, i32 209, i32 215, i32 221, i32 227, i32 233, i32 239, i32 245, i32 251, i32 257, i32 263, i32 269, i32 275, i32 281, i32 287, i32 293, i32 299, i32 305, i32 311, i32 317, i32 323, i32 329, i32 335, i32 341, i32 347, i32 353, i32 359, i32 365, i32 371, i32 377, i32 383>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i16> %strided.vec5, ptr %out.vec5, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-ONLY: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i16_stride7_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: psrld $16, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1],xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movd %xmm2, (%rsi)
+; SSE-NEXT: movd %xmm4, (%rdx)
+; SSE-NEXT: movd %xmm6, (%rcx)
+; SSE-NEXT: movd %xmm5, (%r8)
+; SSE-NEXT: movd %xmm7, (%r9)
+; SSE-NEXT: movd %xmm3, (%r10)
+; SSE-NEXT: movd %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm7
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovd %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovd %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovd %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vpextrd $2, %xmm5, (%r8)
+; AVX1-ONLY-NEXT: vmovd %xmm7, (%r9)
+; AVX1-ONLY-NEXT: vmovd %xmm3, (%r10)
+; AVX1-ONLY-NEXT: vmovd %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf2:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; AVX2-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vpsrlq $48, %xmm1, %xmm8
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovd %xmm2, (%rsi)
+; AVX2-SLOW-NEXT: vmovd %xmm4, (%rdx)
+; AVX2-SLOW-NEXT: vmovd %xmm6, (%rcx)
+; AVX2-SLOW-NEXT: vpextrd $2, %xmm5, (%r8)
+; AVX2-SLOW-NEXT: vmovd %xmm7, (%r9)
+; AVX2-SLOW-NEXT: vmovd %xmm3, (%r10)
+; AVX2-SLOW-NEXT: vmovd %xmm0, (%rax)
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf2:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm5, %xmm7
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm8
+; AVX2-FAST-NEXT: vpsrlq $48, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovd %xmm2, (%rsi)
+; AVX2-FAST-NEXT: vmovd %xmm4, (%rdx)
+; AVX2-FAST-NEXT: vmovd %xmm7, (%rcx)
+; AVX2-FAST-NEXT: vmovd %xmm5, (%r8)
+; AVX2-FAST-NEXT: vmovd %xmm8, (%r9)
+; AVX2-FAST-NEXT: vmovd %xmm3, (%r10)
+; AVX2-FAST-NEXT: vmovd %xmm0, (%rax)
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf2:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm5, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastw 8(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpsrlq $48, %xmm1, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm4, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm7, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm5, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm8, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm3, (%r10)
+; AVX2-FAST-PERLANE-NEXT: vmovd %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride7_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; AVX512F-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpsrlq $48, %xmm1, %xmm8
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovd %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovd %xmm4, (%rdx)
+; AVX512F-SLOW-NEXT: vmovd %xmm6, (%rcx)
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm5, (%r8)
+; AVX512F-SLOW-NEXT: vmovd %xmm7, (%r9)
+; AVX512F-SLOW-NEXT: vmovd %xmm3, (%r10)
+; AVX512F-SLOW-NEXT: vmovd %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride7_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm5, %xmm7
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vpsrlq $48, %xmm1, %xmm9
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovd %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovd %xmm4, (%rdx)
+; AVX512F-FAST-NEXT: vmovd %xmm7, (%rcx)
+; AVX512F-FAST-NEXT: vmovd %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovd %xmm8, (%r9)
+; AVX512F-FAST-NEXT: vmovd %xmm3, (%r10)
+; AVX512F-FAST-NEXT: vmovd %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride7_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; AVX512BW-SLOW-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vpsrlq $48, %xmm1, %xmm8
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX512BW-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512BW-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, (%rcx)
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm5, (%r8)
+; AVX512BW-SLOW-NEXT: vmovd %xmm7, (%r9)
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, (%r10)
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride7_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[0,1,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpsrld $16, %xmm0, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[8,9,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpbroadcastw 8(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vpsrlq $48, %xmm1, %xmm8
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512BW-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <6,13,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermi2w %xmm1, %xmm0, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovd %xmm4, (%rdx)
+; AVX512BW-FAST-NEXT: vmovd %xmm6, (%rcx)
+; AVX512BW-FAST-NEXT: vmovd %xmm5, (%r8)
+; AVX512BW-FAST-NEXT: vmovd %xmm7, (%r9)
+; AVX512BW-FAST-NEXT: vmovd %xmm3, (%r10)
+; AVX512BW-FAST-NEXT: vmovd %xmm8, (%rax)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <14 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 0, i32 7>
+ %strided.vec1 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 1, i32 8>
+ %strided.vec2 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 2, i32 9>
+ %strided.vec3 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 3, i32 10>
+ %strided.vec4 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 4, i32 11>
+ %strided.vec5 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 5, i32 12>
+ %strided.vec6 = shufflevector <14 x i16> %wide.vec, <14 x i16> poison, <2 x i32> <i32 6, i32 13>
+
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i16_stride7_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: pandn %xmm4, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; SSE-NEXT: pand %xmm1, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: pand %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm6[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: psrldq {{.*#+}} xmm6 = xmm6[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: pandn %xmm6, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm7[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm3[0],xmm8[1],xmm3[1],xmm8[2],xmm3[2],xmm8[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm8[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; SSE-NEXT: movdqa %xmm2, %xmm9
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: psrlq $16, %xmm10
+; SSE-NEXT: punpcklwd {{.*#+}} xmm10 = xmm10[0],xmm5[0],xmm10[1],xmm5[1],xmm10[2],xmm5[2],xmm10[3],xmm5[3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm5[1,1,1,1]
+; SSE-NEXT: pslld $16, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm9[1,1,1,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: psrld $16, %xmm9
+; SSE-NEXT: punpckhwd {{.*#+}} xmm9 = xmm9[4],xmm3[4],xmm9[5],xmm3[5],xmm9[6],xmm3[6],xmm9[7],xmm3[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: psrlq $48, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm10[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm11[0],xmm6[1],xmm11[1],xmm6[2],xmm11[2],xmm6[3],xmm11[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movq %xmm4, (%rsi)
+; SSE-NEXT: movq %xmm1, (%rdx)
+; SSE-NEXT: movq %xmm7, (%rcx)
+; SSE-NEXT: movq %xmm8, (%r8)
+; SSE-NEXT: movq %xmm5, (%r9)
+; SSE-NEXT: movq %xmm9, (%rdi)
+; SSE-NEXT: movq %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,2,3,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm5[3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm1[0],xmm0[1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm6 = xmm4[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm4[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm8[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpslld $16, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm4[0],xmm9[0],xmm4[1],xmm9[1],xmm4[2],xmm9[2],xmm4[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm9[2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm10[4],xmm1[4],xmm10[5],xmm1[5],xmm10[6],xmm1[6],xmm10[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm10[0,1],xmm4[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm8, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm9, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%r10)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf4:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm5[2],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm4[6],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,14,15,12,13,10,11,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],mem[2,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm4[0],xmm6[1,2,3,4,5,6],xmm4[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,0,3,2,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[4,5,u,u,0,1,14,15,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0],ymm0[1],ymm2[2,3,4],ymm0[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[12,13,10,11,4,5,2,3,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1],xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm2[0,1],ymm0[2,3],ymm2[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3],ymm2[4,5],ymm0[6],ymm2[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]
+; AVX2-SLOW-NEXT: vmovq %xmm1, (%rsi)
+; AVX2-SLOW-NEXT: vmovq %xmm6, (%rdx)
+; AVX2-SLOW-NEXT: vmovq %xmm3, (%rcx)
+; AVX2-SLOW-NEXT: vmovq %xmm4, (%r8)
+; AVX2-SLOW-NEXT: vmovq %xmm5, (%r9)
+; AVX2-SLOW-NEXT: vmovq %xmm7, (%r10)
+; AVX2-SLOW-NEXT: vmovq %xmm0, (%rax)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf4:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0,1],xmm4[2],xmm2[3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm3[6],xmm5[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,14,15,12,13,10,11,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],mem[2,3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm6[1,2,3,4,5,6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,3,0,1,14,15,12,13,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,5,u,u,0,1,14,15,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[12,13,10,11,4,5,2,3,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm8
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm8[0],xmm4[0],xmm8[1],xmm4[1],xmm8[2],xmm4[2],xmm8[3],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm7
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[10,11,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,10,11,6,7,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-NEXT: vmovq %xmm5, (%rsi)
+; AVX2-FAST-NEXT: vmovq %xmm6, (%rdx)
+; AVX2-FAST-NEXT: vmovq %xmm2, (%rcx)
+; AVX2-FAST-NEXT: vmovq %xmm3, (%r8)
+; AVX2-FAST-NEXT: vmovq %xmm4, (%r9)
+; AVX2-FAST-NEXT: vmovq %xmm7, (%r10)
+; AVX2-FAST-NEXT: vmovq %xmm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0,1],xmm4[2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm3[6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,14,15,12,13,10,11,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],mem[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm3[0],xmm6[1,2,3,4,5,6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,3,0,1,14,15,12,13,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,5,u,u,0,1,14,15,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[12,13,10,11,4,5,2,3,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm4, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm8[0],xmm4[0],xmm8[1],xmm4[1],xmm8[2],xmm4[2],xmm8[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm9, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[10,11,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,10,11,6,7,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm5, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm6, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm2, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm3, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm4, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm7, (%r10)
+; AVX2-FAST-PERLANE-NEXT: vmovq %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride7_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm4[2],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm3[6],xmm0[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,14,15,12,13,10,11,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0],xmm1[1,2,3,4,5,6],xmm3[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,5,u,u,0,1,14,15,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,4,5,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,6,4,6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm6, (%r9)
+; AVX512F-SLOW-NEXT: vmovq %xmm7, (%r10)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride7_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm3[2],xmm1[3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm2[6],xmm0[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,14,15,12,13,10,11,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm4[1,2,3,4,5,6],xmm2[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,3,0,1,14,15,12,13,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,5,u,u,0,1,14,15,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[12,13,10,11,4,5,2,3,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm6, %xmm8
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1],xmm8[2],xmm6[2],xmm8[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm7
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[10,11,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,10,11,6,7,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm6, (%r9)
+; AVX512F-FAST-NEXT: vmovq %xmm7, (%r10)
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride7_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,7,14,21,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,8,15,22,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm4 = <2,9,16,23,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = <3,10,17,24,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = <4,11,18,25,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm7 = <5,12,19,26,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = <6,13,20,27,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm8
+; AVX512BW-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-NEXT: vmovq %xmm6, (%r9)
+; AVX512BW-NEXT: vmovq %xmm7, (%r10)
+; AVX512BW-NEXT: vmovq %xmm8, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <28 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 0, i32 7, i32 14, i32 21>
+ %strided.vec1 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 1, i32 8, i32 15, i32 22>
+ %strided.vec2 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 2, i32 9, i32 16, i32 23>
+ %strided.vec3 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 3, i32 10, i32 17, i32 24>
+ %strided.vec4 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 4, i32 11, i32 18, i32 25>
+ %strided.vec5 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 5, i32 12, i32 19, i32 26>
+ %strided.vec6 = shufflevector <28 x i16> %wide.vec, <28 x i16> poison, <4 x i32> <i32 6, i32 13, i32 20, i32 27>
+
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i16_stride7_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm14
+; SSE-NEXT: movdqa 16(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 32(%rdi), %xmm4
+; SSE-NEXT: movaps 48(%rdi), %xmm6
+; SSE-NEXT: movdqa 80(%rdi), %xmm9
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,0,0,0]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm10, %xmm7
+; SSE-NEXT: pandn %xmm3, %xmm7
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
+; SSE-NEXT: pand %xmm10, %xmm8
+; SSE-NEXT: por %xmm7, %xmm8
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm5, %xmm11
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: movaps %xmm4, %xmm8
+; SSE-NEXT: movaps %xmm4, %xmm3
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[2,2],xmm6[2,2]
+; SSE-NEXT: movaps {{.*#+}} xmm7 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movaps %xmm7, %xmm12
+; SSE-NEXT: andnps %xmm8, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm2[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm14[0,1,0,3]
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm13[2],xmm8[3],xmm13[3]
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: por %xmm12, %xmm8
+; SSE-NEXT: pand %xmm5, %xmm8
+; SSE-NEXT: por %xmm11, %xmm8
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm1[0,1,0,1]
+; SSE-NEXT: movdqa %xmm1, %xmm11
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslldq {{.*#+}} xmm11 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm11[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm10, %xmm12
+; SSE-NEXT: pandn %xmm11, %xmm12
+; SSE-NEXT: movdqa %xmm9, %xmm11
+; SSE-NEXT: psrld $16, %xmm11
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: psrldq {{.*#+}} xmm13 = xmm13[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm11[0],xmm13[1],xmm11[1]
+; SSE-NEXT: pand %xmm10, %xmm13
+; SSE-NEXT: por %xmm12, %xmm13
+; SSE-NEXT: movdqa %xmm5, %xmm15
+; SSE-NEXT: pandn %xmm13, %xmm15
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm12
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm13
+; SSE-NEXT: pand %xmm11, %xmm13
+; SSE-NEXT: por %xmm12, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm13[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm12
+; SSE-NEXT: movaps %xmm3, %xmm13
+; SSE-NEXT: punpckhwd {{.*#+}} xmm13 = xmm13[4],xmm6[4],xmm13[5],xmm6[5],xmm13[6],xmm6[6],xmm13[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pandn %xmm13, %xmm7
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; SSE-NEXT: por %xmm12, %xmm7
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm2[0],xmm12[1],xmm2[1],xmm12[2],xmm2[2],xmm12[3],xmm2[3]
+; SSE-NEXT: pand %xmm5, %xmm7
+; SSE-NEXT: por %xmm15, %xmm7
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm9[4],xmm0[5],xmm9[5],xmm0[6],xmm9[6],xmm0[7],xmm9[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm13 = xmm13[4],xmm4[4],xmm13[5],xmm4[5],xmm13[6],xmm4[6],xmm13[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,1,0,1]
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: pandn %xmm14, %xmm10
+; SSE-NEXT: por %xmm2, %xmm10
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm10, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm10 = xmm10[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm14[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm10 = xmm14[0],xmm10[1,2,3]
+; SSE-NEXT: andps %xmm5, %xmm10
+; SSE-NEXT: orps %xmm2, %xmm10
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: pand %xmm11, %xmm15
+; SSE-NEXT: por %xmm2, %xmm15
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: psrld $16, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm14 = xmm14[4],xmm1[4],xmm14[5],xmm1[5],xmm14[6],xmm1[6],xmm14[7],xmm1[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm15[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm12[0],xmm2[1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm3[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm15
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm1[4],xmm3[5],xmm1[5],xmm3[6],xmm1[6],xmm3[7],xmm1[7]
+; SSE-NEXT: andps %xmm5, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,6,4,7]
+; SSE-NEXT: pandn %xmm13, %xmm5
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: psrlq $16, %xmm13
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm11
+; SSE-NEXT: por %xmm2, %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm9[2],xmm2[3],xmm9[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm11 = xmm11[4],xmm1[4],xmm11[5],xmm1[5],xmm11[6],xmm1[6],xmm11[7],xmm1[7]
+; SSE-NEXT: psrlq $48, %xmm15
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; SSE-NEXT: movdqa %xmm4, %xmm15
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm6[0],xmm15[1],xmm6[1],xmm15[2],xmm6[2],xmm15[3],xmm6[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[1,1,1,1]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[1,1,1,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm12[0],xmm2[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm15[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm12[0],xmm14[1],xmm12[1]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm11[0,2]
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm3[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm6[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movdqa %xmm8, (%rsi)
+; SSE-NEXT: movdqa %xmm7, (%rdx)
+; SSE-NEXT: movaps %xmm10, (%rcx)
+; SSE-NEXT: movdqa %xmm5, (%r8)
+; SSE-NEXT: movapd %xmm2, (%r9)
+; SSE-NEXT: movaps %xmm14, (%rdi)
+; SSE-NEXT: movapd %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0,1,2,3,4,5,6],xmm1[7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[2,2,3,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm9 = zero,xmm5[2],xmm7[2],zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm8[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm8
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm9 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,6],xmm9[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm5[4],xmm7[4],xmm5[5],xmm7[5],xmm5[6],xmm7[6],xmm5[7],xmm7[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,8,9,6,7,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm1[0],xmm0[1],xmm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2],xmm9[3,4],xmm10[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,6],xmm10[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm7[2,2,3,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm5[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm10 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm11[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1],xmm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm11[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm7[0],xmm5[1],xmm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm11 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm11 = xmm11[4],xmm4[4],xmm11[5],xmm4[5],xmm11[6],xmm4[6],xmm11[7],xmm4[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,u,u,u,u,4,5,8,9,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm7[0],xmm11[1],xmm7[1],xmm11[2],xmm7[2],xmm11[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm12 = xmm12[2],xmm2[2],xmm12[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm12 = xmm12[4],xmm4[4],xmm12[5],xmm4[5],xmm12[6],xmm4[6],xmm12[7],xmm4[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,u,u,u,u,0,1,4,5,8,9,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm12 = xmm12[4],xmm1[4],xmm12[5],xmm1[5],xmm12[6],xmm1[6],xmm12[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm5[0],xmm7[0],xmm5[1],xmm7[1],xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1],xmm13[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm2[0],xmm3[1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm13 = xmm13[4],xmm4[4],xmm13[5],xmm4[5],xmm13[6],xmm4[6],xmm13[7],xmm4[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,0,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{.*#+}} xmm2 = xmm2[0],zero,xmm2[1],zero,xmm2[2],zero,xmm2[3],zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm5[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm3[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, (%r9)
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, (%r10)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf8:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0],xmm1[1,2,3]
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,u,u,u,12,13,10,11,4,5]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3],xmm7[4],xmm6[5],xmm7[6],xmm6[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,14,15,12,13,10,11,8,9,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4],xmm5[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm7[0,1],xmm8[2,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2],xmm2[3],xmm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3,4,5],xmm10[6],xmm11[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,0,1,14,15,12,13,10,11,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3,4],xmm6[5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm2[4],xmm9[5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3,4,5],xmm11[6],xmm10[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[4,5,2,3,0,1,14,15,12,13,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4],xmm9[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm11[4],xmm2[4],xmm11[5],xmm2[5],xmm11[6],xmm2[6],xmm11[7],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,8,9,6,7,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2],xmm12[3],xmm13[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3,4],xmm10[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,6,7,0,1,14,15,u,u,10,11]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm2[6],xmm11[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0],xmm7[1,2,3,4,5,6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,4,7,6]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %xmm11, (%r9)
+; AVX2-SLOW-NEXT: vmovdqa %xmm7, (%r10)
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf8:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0],xmm1[1,2,3]
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,u,u,u,12,13,10,11,4,5]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3],xmm7[4],xmm6[5],xmm7[6],xmm6[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,14,15,12,13,10,11,8,9,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4],xmm5[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm7[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2],xmm2[3],xmm9[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u,u,u,u,8,9,6,7,4,5]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3,4,5],xmm10[6],xmm11[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,0,1,14,15,12,13,10,11,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3,4],xmm6[5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm2[4],xmm9[5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,u,u,u,u,10,11,8,9,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3,4,5],xmm11[6],xmm10[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[4,5,2,3,0,1,14,15,12,13,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4],xmm9[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm11[4],xmm2[4],xmm11[5],xmm2[5],xmm11[6],xmm2[6],xmm11[7],xmm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,8,9,6,7,0,1]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2],xmm12[3],xmm13[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[6,7,4,5,2,3,0,1,14,15,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3,4],xmm10[5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,6,7,0,1,14,15,u,u,10,11]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm2[6],xmm11[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm12, %xmm14
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm14, %xmm13
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[10,11,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0],xmm7[1,2,3,4,5,6],xmm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,10,11,6,7,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX2-FAST-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %xmm10, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %xmm11, (%r9)
+; AVX2-FAST-NEXT: vmovdqa %xmm7, (%r10)
+; AVX2-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf8:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0],xmm1[1,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,u,u,u,12,13,10,11,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3],xmm7[4],xmm6[5],xmm7[6],xmm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,14,15,12,13,10,11,8,9,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4],xmm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm9 = xmm7[0,1],xmm8[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1,2],xmm2[3],xmm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u,u,u,u,8,9,6,7,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3,4,5],xmm10[6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,0,1,14,15,12,13,10,11,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3,4],xmm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm2[4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,u,u,u,u,10,11,8,9,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3,4,5],xmm11[6],xmm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[4,5,2,3,0,1,14,15,12,13,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm11[4],xmm2[4],xmm11[5],xmm2[5],xmm11[6],xmm2[6],xmm11[7],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,u,8,9,6,7,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2],xmm12[3],xmm13[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[6,7,4,5,2,3,0,1,14,15,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3,4],xmm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,6,7,0,1,14,15,u,u,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm2[6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm14, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[10,11,6,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0],xmm7[1,2,3,4,5,6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,10,11,6,7,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm10, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm11, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, (%r10)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride7_vf8:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vpinsrw $1, %r11d, %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vpinsrw $2, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm1, %r11d
+; AVX512F-SLOW-NEXT: vpinsrw $3, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3],xmm0[4],xmm4[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm4, %r11d
+; AVX512F-SLOW-NEXT: vpinsrw $5, %r11d, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm6, %r11d
+; AVX512F-SLOW-NEXT: vpinsrw $6, %r11d, %xmm5, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm8
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vmovd %edi, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm4[5],xmm9[6,7]
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm10
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm11
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm1[2],xmm11[3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm6[6],xmm11[7]
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm12
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $3, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $3, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vmovd %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrw $6, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm2
+; AVX512F-SLOW-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $2, %edi, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm5[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride7_vf8:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm3, %r11d
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[0,1,14,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrw $2, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm1, %r11d
+; AVX512F-FAST-NEXT: vpinsrw $3, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3],xmm0[4],xmm4[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm4, %r11d
+; AVX512F-FAST-NEXT: vpinsrw $5, %r11d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm6, %r11d
+; AVX512F-FAST-NEXT: vpinsrw $6, %r11d, %xmm5, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vmovd %r11d, %xmm8
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm2, %edi
+; AVX512F-FAST-NEXT: vmovd %edi, %xmm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm4[5],xmm9[6,7]
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vmovd %r11d, %xmm10
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vmovd %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vmovd %r11d, %xmm11
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm1[2],xmm11[3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm6[6],xmm11[7]
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vmovd %r11d, %xmm12
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $3, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrw $3, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512F-FAST-NEXT: vpextrw $6, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vmovd %r11d, %xmm2
+; AVX512F-FAST-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrw $2, %edi, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm5[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride7_vf8:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <1,8,15,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm8
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,7,14,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpermw %zmm1, %zmm0, %zmm3
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm1, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %r11d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3],xmm0[4],xmm3[5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm6, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %r11d, %xmm4, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vmovd %edi, %xmm9
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm5[1],xmm9[2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm3[5],xmm9[6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm11
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm1[2],xmm11[3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5],xmm6[6],xmm11[7]
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm12
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm2
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm2, %xmm1
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm4[7]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride7_vf8:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <6,13,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <5,12,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm1, %zmm1
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <4,11,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <3,10,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <2,9,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,8,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <0,7,14,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm2, %r11d
+; AVX512BW-FAST-NEXT: vpinsrw $3, %r11d, %xmm3, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3],xmm3[4],xmm4[5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm4, %r11d
+; AVX512BW-FAST-NEXT: vpinsrw $5, %r11d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm6, %r11d
+; AVX512BW-FAST-NEXT: vpinsrw $6, %r11d, %xmm5, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm5, %r11d
+; AVX512BW-FAST-NEXT: vpinsrw $7, %r11d, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm12
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm12, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm4[5],xmm10[6,7]
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vmovd %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm2[2],xmm8[3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm6[6],xmm8[7]
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm3[3],xmm0[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm5[7]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm11, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm1, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <56 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49>
+ %strided.vec1 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50>
+ %strided.vec2 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51>
+ %strided.vec3 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52>
+ %strided.vec4 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53>
+ %strided.vec5 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54>
+ %strided.vec6 = shufflevector <56 x i16> %wide.vec, <56 x i16> poison, <8 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55>
+
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i16_stride7_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $216, %rsp
+; SSE-NEXT: movdqa 192(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm13
+; SSE-NEXT: movdqa (%rdi), %xmm7
+; SSE-NEXT: movdqa 16(%rdi), %xmm5
+; SSE-NEXT: movaps 32(%rdi), %xmm15
+; SSE-NEXT: movaps 48(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm11
+; SSE-NEXT: movdqa 96(%rdi), %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[0,0,0,0]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movaps %xmm15, %xmm0
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm6[2,2]
+; SSE-NEXT: movaps {{.*#+}} xmm12 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movaps %xmm12, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,0,3]
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movdqa 208(%rdi), %xmm5
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,0,0,0]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movaps 160(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm12, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslldq {{.*#+}} xmm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm10[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm10, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: psrldq {{.*#+}} xmm11 = xmm11[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: pand %xmm1, %xmm11
+; SSE-NEXT: por %xmm2, %xmm11
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[4],mem[4],xmm15[5],mem[5],xmm15[6],mem[6],xmm15[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm15[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pand %xmm1, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: movaps %xmm9, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm11[4],xmm4[5],xmm11[5],xmm4[6],xmm11[6],xmm4[7],xmm11[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pandn %xmm4, %xmm12
+; SSE-NEXT: por %xmm3, %xmm12
+; SSE-NEXT: pand %xmm7, %xmm12
+; SSE-NEXT: por %xmm0, %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,1,0,1]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movaps %xmm9, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa %xmm11, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm6, %xmm11
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm15[0],xmm11[1],xmm15[1],xmm11[2],xmm15[2],xmm11[3],xmm15[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm0[0],xmm2[1,2,3]
+; SSE-NEXT: andps %xmm7, %xmm2
+; SSE-NEXT: orps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm15
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[0,1,0,1]
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: pandn %xmm1, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm8[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm7, %xmm0
+; SSE-NEXT: orps %xmm10, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm8
+; SSE-NEXT: pand %xmm14, %xmm8
+; SSE-NEXT: por %xmm0, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm8[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm9[4],xmm1[5],xmm9[5],xmm1[6],xmm9[6],xmm1[7],xmm9[7]
+; SSE-NEXT: movdqa %xmm9, %xmm15
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: andps %xmm7, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm11[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm8
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: andps %xmm7, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm11
+; SSE-NEXT: psrld $16, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm11 = xmm11[4],xmm1[4],xmm11[5],xmm1[5],xmm11[6],xmm1[6],xmm11[7],xmm1[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm6 = xmm6[4],xmm1[4],xmm6[5],xmm1[5],xmm6[6],xmm1[6],xmm6[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1],xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm0[0],xmm10[1]
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: psrld $16, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm15 = xmm15[4],xmm3[4],xmm15[5],xmm3[5],xmm15[6],xmm3[6],xmm15[7],xmm3[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,3,2,3]
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm6 = xmm6[4],xmm3[4],xmm6[5],xmm3[5],xmm6[6],xmm3[6],xmm6[7],xmm3[7]
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm5, %xmm13
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1],xmm1[2],xmm12[2],xmm1[3],xmm12[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1],xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm3, %xmm13
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,1],xmm0[0,2]
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pandn %xmm8, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm7[4],xmm0[5],xmm7[5],xmm0[6],xmm7[6],xmm0[7],xmm7[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm0[0,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[1,1,1,1,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm2[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm4[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm13 = xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm2[0],xmm13[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm5, 16(%r9)
+; SSE-NEXT: movapd %xmm10, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm15, 16(%rax)
+; SSE-NEXT: movaps %xmm11, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm13, 16(%rax)
+; SSE-NEXT: movapd %xmm8, (%rax)
+; SSE-NEXT: addq $216, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $248, %rsp
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm4[0,1,2,3,4,5,6],xmm9[7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm8
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm10[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm10 = zero,xmm5[2],xmm2[2],zero
+; AVX1-ONLY-NEXT: vmovaps %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm15[0,1,2],xmm10[3,4],xmm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm9, %ymm15, %ymm9
+; AVX1-ONLY-NEXT: vandps %ymm15, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm9, %ymm10, %ymm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm12[4],xmm4[4],xmm12[5],xmm4[5],xmm12[6],xmm4[6],xmm12[7],xmm4[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm13
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1,2,3,4,5],xmm6[6],xmm3[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1],xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm7[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm6[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,6],xmm10[7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm8, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm5[4],xmm14[4],xmm5[5],xmm14[5],xmm5[6],xmm14[6],xmm5[7],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm11[0],xmm0[1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm15[0,1,2],xmm10[3,4],xmm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm9, %ymm11, %ymm9
+; AVX1-ONLY-NEXT: vandps %ymm11, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm9, %ymm10, %ymm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm11 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm11, %ymm10
+; AVX1-ONLY-NEXT: vandps %ymm11, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vorps %ymm10, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm13[4],xmm9[4],xmm13[5],xmm9[5],xmm13[6],xmm9[6],xmm13[7],xmm9[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm15[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm3[0,1],xmm10[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm12[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm2[0],xmm10[1],xmm2[1],xmm10[2],xmm2[2],xmm10[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm1[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm7[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm6[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,6],xmm11[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm8[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm6[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm8[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm11[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm12[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm0 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm9, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm5[0],xmm15[0],xmm5[1],xmm15[1],xmm5[2],xmm15[2],xmm5[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm13[0,1,2,3,4,5],xmm0[6],xmm13[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0],xmm1[1,2],xmm9[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm9[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm12[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0],xmm6[1],xmm8[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm11 = xmm7[4],xmm14[4],xmm7[5],xmm14[5],xmm7[6],xmm14[6],xmm7[7],xmm14[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, %xmm8
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm11 = xmm11[4],xmm3[4],xmm11[5],xmm3[5],xmm11[6],xmm3[6],xmm11[7],xmm3[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,u,u,u,u,4,5,8,9,2,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm7, %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm2, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm11, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm14
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0],xmm1[1,2],xmm10[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm13, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm15[0],xmm10[1],xmm15[1],xmm10[2],xmm15[2],xmm10[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm10[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm8[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm10[4],xmm3[4],xmm10[5],xmm3[5],xmm10[6],xmm3[6],xmm10[7],xmm3[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,0,1,4,5,8,9,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm7[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1],ymm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm7, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm9, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm5[0],xmm14[0],xmm5[1],xmm14[1],xmm5[2],xmm14[2],xmm5[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm7
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm10 = xmm6[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3,4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm4[0,1,2,3,4,5],xmm6[6],xmm4[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm9[5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm9
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm9[4],xmm2[4],xmm9[5],xmm2[5],xmm9[6],xmm2[6],xmm9[7],xmm2[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm10[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0],xmm8[1],xmm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm10 = xmm10[4],xmm3[4],xmm10[5],xmm3[5],xmm10[6],xmm3[6],xmm10[7],xmm3[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm11 = xmm8[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1],ymm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm10, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = zero,xmm1[1],xmm14[1],zero
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1,2],xmm1[3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm4[1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm15[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm6 = xmm13[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm4[4],xmm0[4],xmm4[5],xmm0[5],xmm4[6],xmm0[6],xmm4[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{.*#+}} xmm6 = xmm12[0],zero,xmm12[1],zero,xmm12[2],zero,xmm12[3],zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm8[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1],ymm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $248, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf16:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2],ymm5[3],ymm6[4,5],ymm5[6],ymm6[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm4[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm7[4],xmm4[4],xmm7[5],xmm4[5],xmm7[6],xmm4[6],xmm7[7],xmm4[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm9[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm7[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm10[4],xmm8[5],xmm10[6],xmm8[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm11, %ymm8, %ymm10, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0],xmm8[1],xmm10[2,3,4,5],xmm8[6],xmm10[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm10[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1,2],ymm11[3],ymm10[4,5,6,7,8,9,10],ymm11[11],ymm10[12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm10[2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm10, %ymm8, %ymm11, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1],ymm6[2],ymm5[3,4,5],ymm6[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm12[4],xmm11[5],xmm12[6],xmm11[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4,5,6,7],ymm8[8],ymm7[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm11[1],xmm8[2,3,4,5],xmm11[6],xmm8[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4],ymm12[5,6,7,8,9,10,11],ymm11[12],ymm12[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-SLOW-NEXT: vpblendvb %ymm10, %ymm8, %ymm11, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2,3,4,5],xmm11[6],xmm12[7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm9[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm12[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm8[0],ymm11[1,2,3,4,5,6,7],ymm8[8],ymm11[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3,4,5],xmm12[6],xmm11[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm9[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm12[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0],xmm11[1],xmm13[2],xmm11[3],xmm13[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm13[1,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-SLOW-NEXT: vpblendvb %ymm10, %ymm11, %ymm13, %ymm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm10[0],ymm9[1,2,3,4,5,6,7],ymm10[8],ymm9[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2],xmm10[3],xmm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm12[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm0[0,1],ymm1[2],ymm0[3,4,5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6],ymm11[7,8,9,10,11,12,13],ymm12[14],ymm11[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm11[0],ymm10[1,2,3,4,5,6,7],ymm11[8],ymm10[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm11[2],xmm12[3],xmm11[4],xmm12[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,8,9,6,7,4,5,2,3,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm13[0,1,2,3,4,5],xmm12[6],xmm13[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5,6,7],ymm11[8,9,10,11,12],ymm14[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm0[0,1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm15[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm15[1,2,3,4,5,6],ymm4[7,8],ymm15[9,10,11,12,13,14],ymm4[15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm4[0],ymm11[1,2,3,4,5,6,7],ymm4[8],ymm11[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0],xmm13[1],xmm12[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,10,11,8,9,6,7,4,5,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm2[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4,5,6,7,8],ymm1[9],ymm0[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm5[1,2,3,4,5,6,7],ymm0[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm10, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm8 = ymm7[0,1,0,2]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm5[0,1,2],ymm4[3],ymm5[4,5],ymm4[6],ymm5[7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm11 = [3,6,2,5,3,6,2,5]
+; AVX2-FAST-NEXT: # ymm11 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1],ymm1[2],ymm0[3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm11[4],xmm10[5],xmm11[6],xmm10[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm11 = ymm11[0,2,2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3,4,5],xmm10[6],xmm11[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <2,5,1,u,4,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm12, %ymm11
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm11[2,3,2,3,2,3,2,3,8,9,0,1,6,7,8,9,18,19,18,19,18,19,18,19,24,25,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm10, %ymm12, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm5[2],ymm4[3,4,5],ymm5[6],ymm4[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm13[4],xmm12[5],xmm13[6],xmm12[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm8[1,2,3,4,5,6,7],ymm10[8],ymm8[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm12[1],xmm10[2,3,4,5],xmm12[6],xmm10[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <2,6,1,u,5,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm13, %ymm12
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,2,3,8,9,2,3,4,5,10,11,16,17,18,19,20,21,18,19,24,25,18,19,20,21,26,27]
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm10, %ymm12, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1,2],ymm5[3],ymm4[4,5],ymm5[6],ymm4[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3,4,5],xmm12[6],xmm13[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm13 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm10[0],ymm12[1,2,3,4,5,6,7],ymm10[8],ymm12[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm5[0],ymm4[1],ymm5[2,3],ymm4[4],ymm5[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1],xmm12[2,3,4,5],xmm13[6],xmm12[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,4,5,2,3,0,1,14,15,12,13,u,u,u,u]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm13 = ymm7[0,1,1,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2],xmm14[3],xmm15[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm3[0,1,2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm15 = ymm15[1,3,2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm15[6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm14, %ymm15, %ymm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm12 = ymm11[0],ymm12[1,2,3,4,5,6,7],ymm11[8],ymm12[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm5[0],ymm4[1],ymm5[2,3,4],ymm4[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2],xmm12[3],xmm14[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm13, %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <0,3,7,2,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm12, %xmm15
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm15 = xmm15[0],xmm12[0],xmm15[1],xmm12[1],xmm15[2],xmm12[2],xmm15[3],xmm12[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm15[0,1],ymm13[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm13[0],ymm9[1,2,3,4,5,6,7],ymm13[8],ymm9[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm13[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm5[0,1],ymm4[2],ymm5[3,4],ymm4[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm15 = [2,5,1,4,2,5,1,4]
+; AVX2-FAST-NEXT: # ymm15 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm15, %ymm13
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,0,3,7,u>
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm15, %ymm15
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0,1,2,3,4],ymm15[5,6,7],ymm13[8,9,10,11,12],ymm15[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm15, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm15[10,11,6,7,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <0,4,7,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm14, %ymm15, %ymm14
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm6[0],ymm13[1,2,3,4,5,6,7],ymm6[8],ymm13[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm13 = [0,4,7,0,0,4,7,0]
+; AVX2-FAST-NEXT: # ymm13 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm13, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3],ymm5[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm5 = [2,6,1,5,2,6,1,5]
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7],ymm4[8,9,10,11,12],ymm5[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <1,4,0,3,7,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm3, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,10,11,6,7,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm4[1,2,3,4,5,6,7],ymm0[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovdqa %ymm8, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm11, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm9, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm6, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf16:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2],ymm4[3],ymm6[4,5],ymm4[6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,8,9,10,11,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm5[4],xmm7[4],xmm5[5],xmm7[5],xmm5[6],xmm7[6],xmm5[7],xmm7[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm10[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm7, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm11[4],xmm8[5],xmm11[6],xmm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm11 = ymm11[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm8, %ymm11, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm11[0],xmm8[1],xmm11[2,3,4,5],xmm8[6],xmm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2],ymm12[3],ymm11[4,5,6,7,8,9,10],ymm12[11],ymm11[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm12 = ymm11[2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm8, %ymm12, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm6[2],ymm4[3,4,5],ymm6[6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm13[4],xmm12[5],xmm13[6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4,5,6,7],ymm8[8],ymm7[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm12[1],xmm8[2,3,4,5],xmm12[6],xmm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm12 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm13[0,1,2,3],ymm12[4],ymm13[5,6,7,8,9,10,11],ymm12[12],ymm13[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm8, %ymm12, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1,2],ymm6[3],ymm4[4,5],ymm6[6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3,4,5],xmm12[6],xmm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm13 = ymm10[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,30,31]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm12 = ymm8[0],ymm12[1,2,3,4,5,6,7],ymm8[8],ymm12[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1],xmm12[2,3,4,5],xmm13[6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,4,5,2,3,0,1,14,15,12,13,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm13 = ymm10[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm10 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2],xmm12[3],xmm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm14 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm14 = ymm14[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm12, %ymm14, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm10 = ymm11[0],ymm10[1,2,3,4,5,6,7],ymm11[8],ymm10[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0],ymm4[1],ymm6[2,3,4],ymm4[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2],xmm11[3],xmm12[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm13, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm0[0,1],ymm1[2],ymm0[3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6],ymm11[7,8,9,10,11,12,13],ymm12[14],ymm11[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm11[0],ymm9[1,2,3,4,5,6,7],ymm11[8],ymm9[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0,1],ymm4[2],ymm6[3,4],ymm4[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm11[2],xmm12[3],xmm11[4],xmm12[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,8,9,6,7,4,5,2,3,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm15 = xmm14[0,1,2,3,4,5],xmm12[6],xmm14[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,u,u,u,u,u,u,u,u,0,1,14,15,12,13]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm15[5,6,7],ymm11[8,9,10,11,12],ymm15[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm15 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm15, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm13 = xmm15[10,11,6,7,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm0[0,1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm15 = ymm13[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm13 = ymm15[0],ymm13[1,2,3,4,5,6],ymm15[7,8],ymm13[9,10,11,12,13,14],ymm15[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1],ymm13[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm11 = ymm5[0],ymm11[1,2,3,4,5,6,7],ymm5[8],ymm11[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1],ymm4[2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1,2],xmm4[3],xmm6[4],xmm4[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0],xmm14[1],xmm12[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,10,11,8,9,6,7,4,5,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u,u,u,u,2,3,0,1,14,15]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm6[5,6,7],ymm4[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,10,11,6,7,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4,5,6,7,8],ymm1[9],ymm0[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm4[1,2,3,4,5,6,7],ymm0[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride7_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[6,7,12,13,2,3,16,17,30,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0,1],ymm1[2],ymm0[3,4,5],ymm1[6],ymm0[7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm6[4],xmm5[5],xmm6[6],xmm5[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm4, %ymm5, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm6[0,1,2],ymm5[3],ymm6[4,5],ymm5[6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm7[0,1,2,3,4,6,4,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,2,1]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm8[4],xmm7[4],xmm8[5],xmm7[5],xmm8[6],xmm7[6],xmm8[7],xmm7[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm9[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm8[0,1,2,1,4,5,6,5]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm10[7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm7[5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm4, %ymm17
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm5[0,1],ymm6[2],ymm5[3,4,5],ymm6[6],ymm5[7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3],xmm10[4],xmm7[5],xmm10[6],xmm7[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0,1,2],ymm8[3],ymm10[4,5,6,7,8,9,10],ymm8[11],ymm10[12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[8,9,6,7,4,5,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3,4,5],xmm10[6],xmm11[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm8, %ymm10, %ymm8
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4,5,6,7],ymm8[8],ymm7[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm10[0],xmm8[1],xmm10[2,3,4,5],xmm8[6],xmm10[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm9[0,1,1,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm10[0,1,0,3,4,5,4,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm10[7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4],ymm10[5,6,7,8,9,10,11],ymm11[12],ymm10[13,14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[10,11,8,9,6,7,20,21],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3,4,5],xmm12[6],xmm11[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm10, %ymm11, %ymm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm8[1,2,3,4,5,6,7],ymm10[8],ymm8[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0,1,2],ymm2[3],ymm3[4,5],ymm2[6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm10[1,3,2,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2],xmm11[3],xmm12[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %ymm10, %ymm11, %ymm10
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5,6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3,4,5],xmm12[6],xmm11[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,2,1,0,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,6,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm9[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm12[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm10[0],ymm9[1,2,3,4,5,6,7],ymm10[8],ymm9[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2],xmm10[3],xmm11[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm12[0,1,2,1,4,5,6,5]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6],ymm11[7,8,9,10,11,12,13],ymm12[14],ymm11[15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm11[0],ymm10[1,2,3,4,5,6,7],ymm11[8],ymm10[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm11[2],xmm12[3],xmm11[4],xmm12[5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,8,9,6,7,4,5,2,3,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm12
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm13
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm13[0,1,2,3,4,5],xmm12[6],xmm13[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,0,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,4,7,6]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5,6,7],ymm11[8,9,10,11,12],ymm14[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm15 = ymm14[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm15[0],ymm14[1,2,3,4,5,6],ymm15[7,8],ymm14[9,10,11,12,13,14],ymm15[15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vextracti32x4 $1, %ymm15, %xmm16
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm16[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[2,1,2,3]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm15[0],xmm4[0],xmm15[1],xmm4[1],xmm15[2],xmm4[2],xmm15[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],ymm14[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm4[0],ymm11[1,2,3,4,5,6,7],ymm4[8],ymm11[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm12[0],xmm13[1],xmm12[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,10,11,8,9,6,7,4,5,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6,7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4,5,6,7,8],ymm3[9],ymm2[10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5],ymm0[6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,6,4,6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm2[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm5[1,2,3,4,5,6,7],ymm0[8],ymm5[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm17, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm10, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm4, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride7_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [2,5,9,12,2,5,9,12]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = [10,3,6,15,12,13,6,15]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <2,6,9,u,13,u,u,u>
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm2, %zmm10
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <2,5,9,u,12,u,u,u>
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm2, %zmm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [8,1,12,5,12,5,14,15]
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm2, %zmm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [3,6,10,13,3,6,10,13]
+; AVX512F-FAST-NEXT: vpermd %zmm1, %zmm2, %zmm4
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm13 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm13, %ymm5
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[6,7,12,13,2,3,16,17,30,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0,1],ymm5[2],ymm4[3,4,5],ymm5[6],ymm4[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm14[4],xmm12[5],xmm14[6],xmm12[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm3, %ymm12, %ymm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm11[5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm11
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm12[0,1],ymm11[2],ymm12[3,4,5],ymm11[6],ymm12[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3],xmm15[4],xmm14[5],xmm15[6],xmm14[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[0,1,6,7,8,9,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm4[0,1,2],ymm5[3],ymm4[4,5],ymm5[6],ymm4[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2,3,4,5],xmm14[6],xmm15[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm6, %ymm14, %ymm6
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm6[0],ymm13[1,2,3,4,5,6,7],ymm6[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm12[0,1,2],ymm11[3],ymm12[4,5],ymm11[6],ymm12[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm13, %xmm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3,4,5],xmm13[6],xmm14[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} ymm14 = [21474836482,21474836482,21474836482,21474836482]
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm14[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[2,3,4,5,10,11,16,17],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm5[0],ymm4[1],ymm5[2,3],ymm4[4],ymm5[5,6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm10, %ymm14, %ymm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm10[0],ymm13[1,2,3,4,5,6,7],ymm10[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm11[0],ymm12[1],ymm11[2,3],ymm12[4],ymm11[5,6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm13, %xmm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm14[1],xmm13[2,3,4,5],xmm14[6],xmm13[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[0,1,4,5,2,3,0,1,14,15,12,13,u,u,u,u]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm14 = ymm2[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm15[7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm5[0],ymm4[1],ymm5[2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm15, %xmm7
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0],xmm15[1],xmm7[2],xmm15[3],xmm7[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm8, %zmm8
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %ymm7, %ymm8, %ymm7
+; AVX512F-FAST-NEXT: vpermd %zmm1, %zmm16, %zmm15
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <0,3,7,10,14,u,u,u>
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm13 = ymm7[0],ymm13[1,2,3,4,5,6,7],ymm7[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm8, %zmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0],ymm12[1],ymm11[2,3,4],ymm12[5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2],xmm11[3],xmm12[4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm14, %ymm9
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1],ymm4[2],ymm5[3,4],ymm4[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm11, %xmm13
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[3,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm8, %ymm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1],ymm8[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm8[0],ymm9[1,2,3,4,5,6,7],ymm8[8],ymm9[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,3,3,u,0,3,7,u>
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm9, %ymm9
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,u,0,1,6,7,8,9,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm15[u,u,0,1,6,7,8,9,14,15,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm11[0,1,2,3,4],ymm9[5,6,7],ymm11[8,9,10,11,12],ymm9[13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1],ymm4[2,3],ymm5[4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm14, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <1,4,8,11,15,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = [2,6,9,13,2,6,9,13]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <0,4,7,11,14,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[10,11,6,7,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm16, %zmm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1],ymm12[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpermd %zmm1, %zmm15, %zmm1
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm11[0],ymm9[1,2,3,4,5,6,7],ymm11[8],ymm9[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm11 = [0,4,7,0,0,4,7,0]
+; AVX512F-FAST-NEXT: # ymm11 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm11, %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,2,3,4,5,10,11,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,2,3,4,5,10,11,12,13,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
+; AVX512F-FAST-NEXT: vpermd %zmm0, %zmm14, %zmm0
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm4[3],ymm5[4,5],ymm4[6],ymm5[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,10,11,6,7,4,5,6,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm1[1,2,3,4,5,6,7],ymm0[8],ymm1[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride7_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,6,13,20,27,34,41>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <0,7,14,21,28,35,42,49,56,63,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,0,7,14,21,28,35,42>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <1,8,15,22,29,36,43,50,57,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm6
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3,4,5,6,7],ymm6[8],ymm5[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,1,8,15,22,29,36,43>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <2,9,16,23,30,37,44,51,58,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm7
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1,2,3,4,5,6,7],ymm7[8],ymm6[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,2,9,16,23,30,37,44>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <3,10,17,24,31,38,45,52,59,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4,5,6,7],ymm8[8],ymm7[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,3,10,17,24,31,38,45>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <36,43,50,57,0,7,14,21,28,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm9
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4,5,6,7],ymm9[8],ymm8[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,4,11,18,25,32,39,46>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <37,44,51,58,1,8,15,22,29,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm10
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm9 = ymm10[0],ymm9[1,2,3,4,5,6,7],ymm10[8],ymm9[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,5,12,19,26,33,40,47>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <38,45,52,59,2,9,16,23,30,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm2
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm10[1,2,3,4,5,6,7],ymm2[8],ymm10[9,10,11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512BW-NEXT: vmovdqa %ymm9, (%r10)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <112 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105>
+ %strided.vec1 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106>
+ %strided.vec2 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107>
+ %strided.vec3 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108>
+ %strided.vec4 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109>
+ %strided.vec5 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110>
+ %strided.vec6 = shufflevector <112 x i16> %wide.vec, <112 x i16> poison, <16 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111>
+
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i16_stride7_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $600, %rsp # imm = 0x258
+; SSE-NEXT: movdqa 304(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 288(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm10
+; SSE-NEXT: movdqa 128(%rdi), %xmm11
+; SSE-NEXT: movaps 160(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm4
+; SSE-NEXT: movdqa 176(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps %xmm5, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm6[2,2]
+; SSE-NEXT: movaps {{.*#+}} xmm6 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,3,3]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[0,1,0,3]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movdqa 320(%rdi), %xmm5
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,0,0,0]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 272(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm2[2,2]
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 224(%rdi), %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,1,0,3]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 240(%rdi), %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,3,3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 416(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movaps 384(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm1[2,2]
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 352(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 80(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 48(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm2[2,2]
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm8, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm11[4],xmm1[5],xmm11[5],xmm1[6],xmm11[6],xmm1[7],xmm11[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslldq {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm5[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm5, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm4
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pand %xmm8, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm15, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm9
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pand %xmm8, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pand %xmm8, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm13[4],xmm4[5],xmm13[5],xmm4[6],xmm13[6],xmm4[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pandn %xmm4, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: pand %xmm14, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[0,1,0,1]
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[0],mem[0],xmm7[1],mem[1],xmm7[2],mem[2],xmm7[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm3 = xmm4[0],xmm3[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm3
+; SSE-NEXT: orps %xmm1, %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm6 = xmm5[0],xmm6[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm6
+; SSE-NEXT: orps %xmm4, %xmm6
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm8, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm10[2],xmm4[3],xmm10[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,0,1]
+; SSE-NEXT: pand %xmm8, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm6[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm5, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm15[2],xmm2[3],xmm15[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[0,1,0,1]
+; SSE-NEXT: pand %xmm8, %xmm5
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,0,1]
+; SSE-NEXT: pandn %xmm6, %xmm8
+; SSE-NEXT: por %xmm5, %xmm8
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm8, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[2,2,3,3]
+; SSE-NEXT: movdqa %xmm13, %xmm15
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1],xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm6[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm5, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm5
+; SSE-NEXT: pandn %xmm9, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm13, %xmm6
+; SSE-NEXT: por %xmm5, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm6[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm7[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm5 = xmm0[0],xmm5[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm9[4],xmm0[5],xmm9[5],xmm0[6],xmm9[6],xmm0[7],xmm9[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: andps %xmm14, %xmm5
+; SSE-NEXT: por %xmm5, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: pandn %xmm1, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm7 = xmm7[4],xmm1[4],xmm7[5],xmm1[5],xmm7[6],xmm1[6],xmm7[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm11[0],xmm1[1],xmm11[1],xmm1[2],xmm11[2],xmm1[3],xmm11[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm15[2],xmm1[3],xmm15[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm9[4],xmm1[5],xmm9[5],xmm1[6],xmm9[6],xmm1[7],xmm9[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm10
+; SSE-NEXT: psrld $16, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm10 = xmm10[4],xmm4[4],xmm10[5],xmm4[5],xmm10[6],xmm4[6],xmm10[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: psrld $16, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm6 = xmm6[4],xmm4[4],xmm6[5],xmm4[5],xmm6[6],xmm4[6],xmm6[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm4
+; SSE-NEXT: psrlq $16, %xmm4
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: psrld $16, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm5 = xmm5[4],xmm4[4],xmm5[5],xmm4[5],xmm5[6],xmm4[6],xmm5[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm8, %xmm9
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: psrlq $16, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1],xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm4[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm11[0],xmm14[1],xmm11[1],xmm14[2],xmm11[2],xmm14[3],xmm11[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm14[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm11, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: pand %xmm11, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,1],xmm0[0,2]
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[0],mem[0],xmm12[1],mem[1],xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm12[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: pand %xmm1, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm12[4],xmm0[5],xmm12[5],xmm0[6],xmm12[6],xmm0[7],xmm12[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm0[0,2]
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm0[0,2]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm3[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm15[0],xmm4[1]
+; SSE-NEXT: pshufd $85, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm14[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm15[0],xmm3[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[1,1,1,1,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm2[0],xmm13[1],xmm2[1],xmm13[2],xmm2[2],xmm13[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[1,1,1,1]
+; SSE-NEXT: psrldq {{.*#+}} xmm9 = xmm9[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm5, (%rax)
+; SSE-NEXT: movaps %xmm6, 48(%rax)
+; SSE-NEXT: movaps %xmm10, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, (%rax)
+; SSE-NEXT: movapd %xmm1, 48(%rax)
+; SSE-NEXT: movapd %xmm3, 32(%rax)
+; SSE-NEXT: movapd %xmm4, 16(%rax)
+; SSE-NEXT: addq $600, %rsp # imm = 0x258
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $680, %rsp # imm = 0x2A8
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm11[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm12[0],xmm2[0],xmm12[1],xmm2[1],xmm12[2],xmm2[2],xmm12[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm0 = zero,xmm15[2],xmm0[2],zero
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm0[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm3[7]
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm5, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm9[4],xmm2[5],xmm9[5],xmm2[6],xmm9[6],xmm2[7],xmm9[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6],xmm3[7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm4 = zero,xmm4[2],xmm0[2],zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm5, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm11[4],xmm10[4],xmm11[5],xmm10[5],xmm11[6],xmm10[6],xmm11[7],xmm10[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0,1,2,3,4,5],xmm10[6],xmm6[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpslld $16, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps %xmm15, %xmm12
+; AVX1-ONLY-NEXT: vmovaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm15[4],xmm13[4],xmm15[5],xmm13[5],xmm15[6],xmm13[6],xmm15[7],xmm13[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm15[0],xmm6[1],xmm15[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm3[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6],xmm3[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm3
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm2, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm8 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm14[4],mem[4],xmm14[5],mem[5],xmm14[6],mem[6],xmm14[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2,3,4,5],xmm9[6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm7[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0],xmm3[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm11[4],xmm0[4],xmm11[5],xmm0[5],xmm11[6],xmm0[6],xmm11[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm10[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1],xmm1[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm8[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm11[0],xmm1[1],xmm11[1],xmm1[2],xmm11[2],xmm1[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm12[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm13[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm1[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm1[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm12[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm15[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm10[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,6],xmm13[7]
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm6, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm4[4],xmm0[4],xmm4[5],xmm0[5],xmm4[6],xmm0[6],xmm4[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufd $236, (%rsp), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm14[0,1],xmm4[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm9[0],xmm4[1],xmm9[1],xmm4[2],xmm9[2],xmm4[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm9[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm6[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm13 = xmm0[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm3[0],mem[0],xmm3[1],mem[1],xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm2, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm13, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm13, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm7, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm3[0],mem[0],xmm3[1],mem[1],xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $64, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm2[0,1,2,3,4,5],mem[6],xmm2[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm4[1,2],xmm5[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm8[4],xmm11[4],xmm8[5],xmm11[5],xmm8[6],xmm11[6],xmm8[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm4[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm5[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm2[0],mem[1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm15[4],xmm12[4],xmm15[5],xmm12[5],xmm15[6],xmm12[6],xmm15[7],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm14 = xmm5[4],xmm10[4],xmm5[5],xmm10[5],xmm5[6],xmm10[6],xmm5[7],xmm10[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = [4,5,2,3,4,5,6,7,8,9,4,5,8,9,2,3]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm10, %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm14, %ymm14
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm15, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm14, %ymm15, %ymm14
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm7, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1],xmm1[2],xmm12[2],xmm1[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0,1,2,3,4,5],xmm7[6],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm1[1,2],xmm13[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm14 = xmm1[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm6[0],xmm9[1],xmm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm14[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm14 = xmm14[4],xmm11[4],xmm14[5],xmm11[5],xmm14[6],xmm11[6],xmm14[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm15, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm15, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm6, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps %ymm6, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0,1],mem[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm4[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[12,13,14,15,4,5,6,7,0,1,4,5,8,9,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm10[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovaps %ymm5, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm9[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm10[2],xmm2[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm11[4],xmm2[5],xmm11[5],xmm2[6],xmm11[6],xmm2[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[12,13,14,15,4,5,6,7,0,1,4,5,8,9,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm8[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm13, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vmovaps %ymm13, %ymm8
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $64, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm14[0,1,2,3,4,5],mem[6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm15[0],xmm13[0],xmm15[1],xmm13[1],xmm15[2],xmm13[2],xmm15[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[0],mem[1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm12[0],mem[0],xmm12[1],mem[1],xmm12[2],mem[2],xmm12[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm12[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0,1,2,3,4,5],xmm11[6],xmm8[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm7[4],xmm1[5],xmm7[5],xmm1[6],xmm7[6],xmm1[7],xmm7[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0],xmm9[1],xmm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm7[4],xmm2[5],xmm7[5],xmm2[6],xmm7[6],xmm2[7],xmm7[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm3[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = zero,xmm1[1],mem[0],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0],xmm14[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm15[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm4 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovaps %ymm4, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = zero,xmm2[1],mem[0],zero
+; AVX1-ONLY-NEXT: vpunpckhdq (%rsp), %xmm12, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm12[2],mem[2],xmm12[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm11[0],xmm8[1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm6[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{.*#+}} xmm5 = xmm10[0],zero,xmm10[1],zero,xmm10[2],zero,xmm10[3],zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm7[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm13, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm13, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: addq $680, %rsp # imm = 0x2A8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf32:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $552, %rsp # imm = 0x228
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2],ymm2[3,4,5],ymm1[6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm11
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm9
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm10[1],ymm3[2,3,4],ymm10[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm13
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm4, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0],ymm7[1],ymm8[2,3,4],ymm7[5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm6[2],ymm5[3,4,5],ymm6[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1],ymm10[2],ymm13[3,4],ymm10[5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6,7,8,9,10],ymm2[11],ymm1[12,13,14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2],ymm9[3],ymm11[4,5],ymm9[6],ymm11[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3,4,5],xmm3[6],xmm4[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm3, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm7[2],ymm8[3,4],ymm7[5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3],ymm1[4,5,6,7,8,9,10],ymm3[11],ymm1[12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0],ymm11[1],ymm9[2,3],ymm11[4],ymm9[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm11, %ymm14
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, %ymm15
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm10, %ymm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1],ymm10[2,3],ymm13[4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm10[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4],ymm2[5,6,7,8,9,10,11],ymm3[12],ymm2[13,14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = [4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-SLOW-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm10
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm7[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1],ymm7[2,3],ymm8[4,5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, %ymm12
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4],ymm2[5,6,7,8,9,10,11],ymm1[12],ymm2[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm4[1],xmm2[2,3,4,5],xmm4[6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0],ymm14[1],ymm15[2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1,2],ymm11[3],ymm13[4,5],ymm11[6],ymm13[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[1,3,2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2],ymm7[3],ymm12[4,5],ymm7[6],ymm12[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[1,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2],ymm1[3],ymm14[4,5],ymm1[6],ymm14[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm6
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm4[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm2[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm15 = ymm15[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1,2],ymm0[3],ymm15[4,5],ymm0[6],ymm15[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm3[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm0[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1],ymm14[2],ymm6[3,4,5],ymm14[6],ymm6[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm12[4],xmm1[5],xmm12[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm15[2],ymm5[3,4,5],ymm15[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2],ymm14[3],ymm6[4,5],ymm14[6],ymm6[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm4[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm10[0],ymm0[1,2,3,4,5,6,7],ymm10[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm15[3],ymm5[4,5],ymm15[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm3[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm0[1,2,3,4,5,6,7],ymm9[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0],ymm6[1],ymm14[2,3],ymm6[4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm4[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2,3,4,5,6,7],ymm8[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm5[1],ymm15[2,3],ymm5[4],ymm15[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm12
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3,4,5],xmm2[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm3[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0],ymm0[1,2,3,4,5,6,7],ymm7[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm13, %ymm10
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm11, %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1],ymm13[2],ymm11[3,4,5],ymm13[6],ymm11[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6],ymm4[7,8,9,10,11,12,13],ymm0[14],ymm4[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1],ymm13[2],ymm9[3,4],ymm13[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1],xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm6[1],ymm14[2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3],xmm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm1[1,2,3,4,5,6,7],ymm0[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm5[1],ymm15[2,3,4],ymm5[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm2[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm4[2],ymm5[3,4,5],ymm4[6],ymm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm1, %ymm2
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6],ymm2[7,8,9,10,11,12,13],ymm1[14],ymm2[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm6[2],ymm11[3,4],ymm6[5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm10[3],ymm8[4,5],ymm10[6],ymm8[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6],ymm1[7,8],ymm0[9,10,11,12,13,14],ymm1[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm13[2,3],ymm9[4,5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29>
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1],ymm9[2],ymm14[3,4],ymm9[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4],xmm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 432(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm1[0,1,2,3,4,5],xmm2[6],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm8[5,6,7],ymm7[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm0[0],ymm7[1,2,3,4,5,6,7],ymm0[8],ymm7[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1],ymm12[2],ymm15[3,4],ymm12[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1],xmm0[2],xmm7[3],xmm0[4],xmm7[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm10[0,1,2,3,4,5],xmm12[6],xmm10[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1,2,3,4],ymm7[5,6,7],ymm8[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm5[0,1,2],ymm4[3],ymm5[4,5],ymm4[6],ymm5[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1,2,3,4,5,6],ymm8[7,8],ymm7[9,10,11,12,13,14],ymm8[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm7, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1],ymm6[2,3],ymm11[4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm0[0],mem[1],ymm0[2,3],mem[4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3,4,5,6,7,8],ymm4[9],ymm3[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0,1,2],ymm13[3],mem[4,5],ymm13[6],mem[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm4[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm7[4],xmm4[4],xmm7[5],xmm4[5],xmm7[6],xmm4[6],xmm7[7],xmm4[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31>
+; AVX2-SLOW-NEXT: vpshufb %ymm7, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1],ymm9[2,3],ymm14[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3],xmm5[4],xmm4[5],xmm5[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0,1,2,3,4],ymm1[5,6,7],ymm4[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4,5,6,7],ymm3[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm15[0,1],mem[2,3],ymm15[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3],xmm4[4],xmm3[5],xmm4[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0],xmm10[1],xmm12[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7],ymm2[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0],ymm2[1],mem[2,3],ymm2[4],mem[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4,5,6,7,8],ymm3[9],ymm2[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2],ymm6[3],ymm11[4,5],ymm6[6],ymm11[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, (%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, 32(%rax)
+; AVX2-SLOW-NEXT: addq $552, %rsp # imm = 0x228
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $680, %rsp # imm = 0x2A8
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2],ymm2[3,4,5],ymm1[6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm11
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm12
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm9
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm10
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm2, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0],ymm7[1],ymm8[2,3,4],ymm7[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm6[2],ymm5[3,4,5],ymm6[6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm13
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1,2],ymm12[3],ymm11[4,5],ymm12[6],ymm11[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3,4,5],xmm1[6],xmm2[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <2,5,1,u,4,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [2,3,2,3,2,3,2,3,8,9,0,1,6,7,8,9,18,19,18,19,18,19,18,19,24,25,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm7[2],ymm8[3,4],ymm7[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm4, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2],ymm6[3],ymm13[4,5],ymm6[6],ymm13[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3,4,5],xmm3[6],xmm4[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm11[1],ymm12[2,3],ymm11[4],ymm12[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm10[2,3],ymm9[4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <2,6,1,u,5,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [0,1,2,3,4,5,2,3,8,9,2,3,4,5,10,11,16,17,18,19,20,21,18,19,24,25,18,19,20,21,26,27]
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm7[2,3],ymm8[4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm8, %ymm14
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm4, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0],ymm13[1],ymm6[2,3],ymm13[4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm11[1],ymm12[2,3,4],ymm11[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2],ymm10[3],ymm9[4,5],ymm10[6],ymm9[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2],ymm7[3],ymm14[4,5],ymm7[6],ymm14[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm1[1,3,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0],ymm13[1],ymm6[2,3,4],ymm13[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1,2],ymm0[3],ymm10[4,5],ymm0[6],ymm10[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm5
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm15 = [3,6,2,5,3,6,2,5]
+; AVX2-FAST-NEXT: # ymm15 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm15, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,28,29,30,31]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm14
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm7[0,1,0,2]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm2[0,1,2],ymm1[3],ymm2[4,5],ymm1[6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm14
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm15, %ymm12
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm12, %ymm4
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm12 = ymm1[0,1,0,2]
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm13
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm12, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpblendd $31, (%rsp), %ymm4, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm10[2],ymm5[3,4,5],ymm10[6],ymm5[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm11[4],xmm4[5],xmm11[6],xmm4[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm14[2],ymm3[3,4,5],ymm14[6],ymm3[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm4[4],xmm0[5],xmm4[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm10[3],ymm5[4,5],ymm10[6],ymm5[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm4 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm4, %ymm11
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm14[3],ymm3[4,5],ymm14[6],ymm3[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm11[0],xmm0[1],xmm11[2,3,4,5],xmm0[6],xmm11[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2,3,4,5,6,7],ymm8[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0],ymm5[1],ymm10[2,3],ymm5[4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3,4,5],xmm2[6],xmm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm7[0,1,1,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm4, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm0[1,2,3,4,5,6,7],ymm9[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0],ymm3[1],ymm14[2,3],ymm3[4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm7
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3,4,5],xmm9[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm13[0,1,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0],ymm5[1],ymm10[2,3,4],ymm5[5],ymm10[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm10, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0],xmm0[1],xmm6[2],xmm0[3],xmm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm5[0,1],ymm3[2],ymm5[3,4],ymm3[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm8[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm0[0,1],ymm10[2],ymm0[3,4,5],ymm10[6],ymm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <0,3,7,2,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm6, %ymm12
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1],ymm12[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm8[0],ymm4[1,2,3,4,5,6,7],ymm8[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm7[1],ymm14[2,3,4],ymm7[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm8[0],xmm4[1],xmm8[2],xmm4[3],xmm8[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1],ymm14[2],ymm9[3,4,5],ymm14[6],ymm9[7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm6, %ymm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1],ymm12[2],ymm1[3,4],ymm12[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm6[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4,5,6,7],ymm4[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,3,3,3,0,3,7,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm2, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1],ymm15[2],ymm11[3,4],ymm15[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm11 = [2,5,1,4,2,5,1,4]
+; AVX2-FAST-NEXT: # ymm11 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm11, %ymm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm8[0,1,2,3,4],ymm4[5,6,7],ymm8[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm5[0,1],ymm3[2,3],ymm5[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm6
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1],xmm8[2],xmm6[2],xmm8[3],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm0[0,1,2],ymm10[3],ymm0[4,5],ymm10[6],ymm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <0,4,7,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm8[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0],ymm4[1,2,3,4,5,6,7],ymm6[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm5[0,1],ymm4[2],ymm5[3,4],ymm4[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm11, %ymm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0,1,2,3,4],ymm2[5,6,7],ymm6[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1],ymm12[2,3],ymm1[4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm7, %xmm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa %ymm14, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2],ymm14[3],ymm9[4,5],ymm14[6],ymm9[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm14
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,4,7,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm6[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm2[1,2,3,4,5,6,7],ymm0[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1],ymm15[2,3],mem[4,5],ymm15[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,4,7,0,0,4,7,0]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [2,6,1,5,2,6,1,5]
+; AVX2-FAST-NEXT: # ymm6 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm6, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7],ymm0[8,9,10,11,12],ymm3[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = ymm2[0,1,2],mem[3],ymm2[4,5],mem[6],ymm2[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[0],ymm2[1],mem[2,3],ymm2[4],mem[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <1,4,0,3,7,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm8[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm4[2,3],ymm5[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm6, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1,2,3,4],ymm1[5,6,7],ymm3[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0],ymm14[1],ymm11[2,3],ymm14[4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1,2],ymm12[3],mem[4,5],ymm12[6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm5[4],xmm6[4],xmm5[5],xmm6[5],xmm5[6],xmm6[6],xmm5[7],xmm6[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4,5,6,7],ymm3[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-FAST-NEXT: addq $680, %rsp # imm = 0x2A8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $520, %rsp # imm = 0x208
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2],ymm2[3,4,5],ymm1[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm10[1],ymm3[2,3,4],ymm10[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm2, %ymm4, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0],ymm7[1],ymm8[2,3,4],ymm7[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm6[2],ymm5[3,4,5],ymm6[6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1],ymm10[2],ymm11[3,4],ymm10[5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6,7,8,9,10],ymm2[11],ymm1[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2],ymm12[3],ymm13[4,5],ymm12[6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3,4,5],xmm3[6],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm3, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm7[2],ymm8[3,4],ymm7[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3],ymm1[4,5,6,7,8,9,10],ymm3[11],ymm1[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm13[1],ymm12[2,3],ymm13[4],ymm12[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm10[2,3],ymm11[4,5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm10[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4],ymm2[5,6,7,8,9,10,11],ymm3[12],ymm2[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = [4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm7[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1],ymm7[2,3],ymm8[4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4],ymm2[5,6,7,8,9,10,11],ymm1[12],ymm2[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0],ymm9[1],ymm6[2,3],ymm9[4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm5[1],xmm2[2,3,4,5],xmm5[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2],ymm14[3],ymm11[4,5],ymm14[6],ymm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2],ymm7[3],ymm10[4,5],ymm7[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0],ymm4[1],ymm6[2,3,4],ymm4[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0],xmm5[1],xmm7[2],xmm5[3],xmm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm3, %ymm1, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2],ymm0[3],ymm10[4,5],ymm0[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm7[4],xmm3[5],xmm7[5],xmm3[6],xmm7[6],xmm3[7],xmm7[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm7[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm1, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, (%rsp), %ymm14, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2],ymm14[3],ymm15[4,5],ymm14[6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm13 = ymm5[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm13, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1],ymm10[2],ymm4[3,4,5],ymm10[6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm12[4],xmm0[5],xmm12[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1],ymm15[2],ymm14[3,4,5],ymm15[6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm13, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm10[3],ymm4[4,5],ymm10[6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm7[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2],ymm15[3],ymm14[4,5],ymm15[6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1],xmm3[2,3,4,5],xmm0[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm5[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm0[1,2,3,4,5,6,7],ymm9[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0],ymm4[1],ymm10[2,3],ymm4[4],ymm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm7[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm3, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2,3,4,5,6,7],ymm8[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm14[1],ymm15[2,3],ymm14[4],ymm15[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm8[1],xmm0[2,3,4,5],xmm8[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm5[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm7, %ymm1, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0],ymm0[1,2,3,4,5,6,7],ymm6[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1],ymm11[2],ymm13[3,4,5],ymm11[6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm0[6],ymm6[7,8,9,10,11,12,13],ymm0[14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1],ymm11[2],ymm8[3,4],ymm11[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm6[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0],ymm4[1],ymm10[2,3,4],ymm4[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2],xmm6[3],xmm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0],ymm3[1,2,3,4,5,6,7],ymm0[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm14[1],ymm15[2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1],xmm3[2],xmm0[3],xmm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $187, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1],ymm7[2],mem[3,4,5],ymm7[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm1, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6],ymm3[7,8,9,10,11,12,13],ymm1[14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm12[3],ymm13[4,5],ymm12[6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6],ymm1[7,8],ymm0[9,10,11,12,13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm11[2,3],ymm8[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1],ymm9[2],ymm10[3,4],ymm9[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1],xmm0[2],xmm3[3],xmm0[4],xmm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 432(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm10 = xmm3[0,1,2,3,4,5],xmm0[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,2,3,4,5,6,7,0,1,0,1,14,15,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm10[5,6,7],ymm8[8,9,10,11,12],ymm10[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm1[0],ymm8[1,2,3,4,5,6,7],ymm1[8],ymm8[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1],ymm14[2],ymm15[3,4],ymm14[5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0,1],xmm1[2],xmm8[3],xmm1[4],xmm8[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm8 = xmm13[0,1,2,3,4,5],xmm5[6],xmm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm8[5,6,7],ymm1[8,9,10,11,12],ymm8[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm4[2,3],ymm2[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1],xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2],ymm7[3],ymm10[4,5],ymm7[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm9 = ymm8[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4,5,6],ymm9[7,8],ymm8[9,10,11,12,13,14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm7 = ymm8[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm6[0],ymm1[1,2,3,4,5,6,7],ymm6[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm6 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4,5,6,7,8],ymm6[9],ymm1[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = mem[0,1,2],ymm2[3],mem[4,5],ymm2[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm7[4],xmm8[4],xmm7[5],xmm8[5],xmm7[6],xmm8[6],xmm7[7],xmm8[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm11[0,1],mem[2,3],ymm11[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3],xmm4[4],xmm2[5],xmm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm3[1],xmm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,4,5,6,7,0,1,2,3,0,1,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7],ymm2[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1],ymm14[2,3],ymm15[4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4],xmm1[5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0],xmm13[1],xmm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0],ymm10[1],ymm12[2,3],ymm10[4],ymm12[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4,5,6,7,8],ymm3[9],ymm2[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1,2],ymm3[3],mem[4,5],ymm3[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $520, %rsp # imm = 0x208
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i16_stride7_vf32:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: subq $72, %rsp
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm1[1],ymm3[2,3,4],ymm1[5],ymm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm3, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[6,7,12,13,2,3,16,17,30,31],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm2[2],ymm5[3,4,5],ymm2[6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm5, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm2, %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vporq %ymm0, %ymm1, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 160(%rdi), %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,6,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm19[0,1,0,2]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 252(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm6[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm6, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm1, (%rsp) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 288(%rdi), %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm3, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm2, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm2[0,1,2],xmm1[3],xmm2[4],xmm1[5],xmm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 240(%rdi), %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1],ymm4[2],ymm10[3,4],ymm4[5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6,7,8,9,10],ymm1[11],ymm2[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[8,9,6,7,4,5,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2],ymm12[3],ymm7[4,5],ymm12[6],ymm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm9[2],ymm8[3,4,5],ymm9[6],ymm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,1,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0],xmm14[1],xmm6[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm24
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1],ymm4[2,3],ymm10[4,5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6,7,8,9,10,11],ymm1[12],ymm0[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[10,11,8,9,6,7,20,21],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm7[1],ymm12[2,3],ymm7[4],ymm12[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm9[3],ymm8[4,5],ymm9[6],ymm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm19[0,1,1,2]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm2, %xmm27
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm4[3],ymm10[4,5],ymm4[6],ymm10[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm10, %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm28
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[1,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0],ymm7[1],ymm12[2,3,4],ymm7[5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm7, %ymm31
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm12, %ymm30
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vporq %ymm0, %ymm1, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm20 = ymm19[0,1,1,3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0],ymm8[1],ymm9[2,3,4],ymm8[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm20[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 232(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpsrlq $48, %xmm6, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm19
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm8[2],ymm9[3,4],ymm8[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4],xmm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,8,9,6,7,4,5,2,3,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2,3,4,5],xmm2[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,7,6]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7],ymm0[8,9,10,11,12],ymm3[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm14, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpsrld $16, %xmm14, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm6, %xmm26
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm21
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 352(%rdi), %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1,2],ymm14[3],ymm0[4,5],ymm14[6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6],ymm3[7,8,9,10,11,12,13],ymm4[14],ymm3[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[0,2,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[0,1,14,15,12,13,10,11,4,5,6,7,8,9,2,3,16,17,30,31,28,29,26,27,20,21,22,23,24,25,18,19]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2],xmm4[3,4,5,6],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 384(%rdi), %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 416(%rdi), %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1],ymm5[2],ymm12[3,4],ymm5[5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,1,3,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm13, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2],ymm13[3],ymm11[4,5],ymm13[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4],xmm4[5],xmm3[6],xmm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm0[1],ymm14[2,3],ymm0[4],ymm14[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm15 = ymm4[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm15[0],ymm4[1,2,3,4,5,6],ymm15[7,8],ymm4[9,10,11,12,13,14],ymm15[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[2,3,0,1,14,15,12,13,4,5,4,5,4,5,4,5,18,19,16,17,30,31,28,29,20,21,20,21,20,21,20,21]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4,5,6],xmm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1],ymm5[2,3],ymm12[4,5],ymm5[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm17
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0],ymm0[1],ymm14[2,3,4],ymm0[5],ymm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm15 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,7,20,21,u,u,16,17,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm15[1],ymm3[2,3,4,5,6,7,8],ymm15[9],ymm3[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm13[0,1],ymm11[2],ymm13[3,4,5],ymm11[6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm11, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0,1,2,3],xmm11[4],xmm15[5],xmm11[6],xmm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[0,1,2,3,0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm3, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2],ymm5[3],ymm12[4,5],ymm5[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm11[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0],ymm8[1],ymm9[2,3],ymm8[4],ymm9[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm11[1],xmm3[2,3,4,5],xmm11[6],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,2,1,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm20[0,1,2,0,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm27, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm0[0,1,2,3,6,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[2,2,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm11, %zmm3, %zmm27
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2],ymm10[3],ymm13[4,5],ymm10[6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm10, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm13[0],xmm3[1],xmm13[2,3,4,5],xmm3[6],xmm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm5[0,1],ymm12[2],ymm5[3,4,5],ymm12[6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm13[0,1,2,3],xmm10[4],xmm13[5],xmm10[6],xmm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1],ymm4[2],ymm14[3,4],ymm4[5],ymm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm13[1,1,2,0]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm13 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[0,1,22,23,28,29,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm3, %ymm13, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,7,6,5,4]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm13[0,1,2],ymm10[3,4,5,6,7],ymm13[8,9,10],ymm10[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1],ymm8[2,3],ymm9[4,5],ymm8[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3],xmm9[4],xmm8[5],xmm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[8,9,10,11,8,9,6,7,4,5,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7],ymm2[8,9,10,11,12],ymm1[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm7[4],xmm0[4],xmm7[5],xmm0[5],xmm7[6],xmm0[6],xmm7[7],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm26
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm1[2],ymm11[3,4,5],ymm1[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm2[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm8[6],ymm2[7,8,9,10,11,12,13],ymm8[14],ymm2[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm31, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm7[2],ymm2[3,4],ymm7[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm5[0,1,2],ymm12[3],ymm5[4,5],ymm12[6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2,3,4,5],xmm8[6],xmm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm14[0,1],ymm4[2,3],ymm14[4,5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm14[0,1,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3],ymm9[4,5,6,7,8,9,10],ymm10[11],ymm9[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0],ymm6[1],ymm0[2,3],ymm6[4],ymm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm13[1],xmm10[2,3,4,5],xmm13[6],xmm10[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,2,3,0,1,14,15,12,13,10,11]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm9[10,11,24,25,22,23,20,21],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4,5,6,7],ymm9[8,9,10],ymm8[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm9, %ymm10, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0],ymm5[1],ymm12[2,3],ymm5[4],ymm12[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm10[1],xmm8[2,3,4,5],xmm10[6],xmm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1,2],ymm4[3],ymm14[4,5],ymm4[6],ymm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm28
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm10[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4],ymm10[5,6,7,8,9,10,11],ymm13[12],ymm10[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm0[0],ymm6[1],ymm0[2,3,4],ymm6[5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm6, %ymm30
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm13[1],xmm6[2],xmm13[3],xmm6[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,4,5,2,3,0,1,14,15,12,13]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[12,13,26,27,24,25,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0,1,2],ymm8[3,4,5,6,7],ymm10[8,9,10],ymm8[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm6, %ymm10, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2],ymm1[3],ymm11[4,5],ymm1[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm8[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm8[1,2,3,4,5,6],ymm10[7,8],ymm8[9,10,11,12,13,14],ymm10[15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm2[0,1],ymm7[2,3],ymm2[4,5],ymm7[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1],xmm10[2],xmm13[2],xmm10[3],xmm13[3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1],ymm8[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0],ymm11[1],ymm1[2,3],ymm11[4],ymm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm10[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0],ymm13[1],ymm10[2,3,4,5,6,7,8],ymm13[9],ymm10[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm2[0,1,2],ymm7[3],ymm2[4,5],ymm7[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm13, %xmm20
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm20[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm13[4],xmm7[4],xmm13[5],xmm7[5],xmm13[6],xmm7[6],xmm13[7],xmm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm18, %zmm0, %zmm13
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm17, %zmm0, %zmm4
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm15, %zmm0, %zmm15
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm9
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1],ymm10[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm12[0],ymm5[1],ymm12[2,3,4],ymm5[5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm10[0],xmm5[1],xmm10[2],xmm5[3],xmm10[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm30, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm14[2],ymm0[3,4,5],ymm14[6],ymm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,3,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,10,11,u,u,u,u,u,u,u,u,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm10[1,2],ymm0[3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,6,7,4,5,2,3,0,1,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm0[0,1,2],ymm5[3,4,5,6,7],ymm0[8,9,10],ymm5[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 (%rsp), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm1, %zmm23 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm23, %zmm5, %zmm13
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm1, %zmm24
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm24, %zmm5, %zmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm25 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm15, %zmm25 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm22, %zmm5, %zmm27
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm2, %zmm27 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm19, %zmm5, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm9, %zmm3 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm13, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm4, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm25, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm27, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm3, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm21, %zmm5, %zmm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm6, %zmm8 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm8, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm26, %zmm5, %zmm7
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm7 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm7, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: addq $72, %rsp
+; AVX512F-ONLY-SLOW-NEXT: vzeroupper
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i16_stride7_vf32:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: subq $136, %rsp
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 320(%rdi), %zmm30
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 64(%rdi), %zmm31
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [2,6,9,13,2,6,9,13]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 128(%rdi), %zmm26
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = [2,5,9,12,2,5,9,12]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = [10,3,6,15,12,13,6,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm23 = [3,6,10,13,3,6,10,13]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 384(%rdi), %zmm24
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <1,u,u,u,5,8,12,15>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <2,6,9,u,13,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm24, %zmm1, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <1,u,u,u,4,8,11,15>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm0, %zmm12
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <2,5,9,u,12,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm24, %zmm19, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,u,u,u,4,7,11,14>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm3, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [8,1,12,5,12,5,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm5, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm23, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 192(%rdi), %ymm29
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm13 = ymm29[0,1,0,2]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm13, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm17
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 252(%rdi), %xmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm1[u,u,u,u,u,u,u,u,0,1,14,15,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm6, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[6,7,12,13,2,3,16,17,30,31],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm6[0,1],ymm8[2],ymm6[3,4,5],ymm8[6],ymm6[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm9, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm11[4],xmm9[5],xmm11[6],xmm9[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm9[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vporq %ymm5, %ymm9, %ymm27
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm9
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 288(%rdi), %ymm11
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1],ymm9[2,3],ymm11[4,5],ymm9[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm14[0,1,2],xmm5[3],xmm14[4],xmm5[5],xmm14[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,10,11,8,9,6,7,4,5,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[0,1,6,7,8,9,14,15,8,9,14,15,4,5,2,3,16,17,22,23,24,25,30,31,24,25,30,31,20,21,18,19]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm3[0,1,2],xmm5[3,4,5,6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[0,1,6,7,8,9,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2],ymm8[3],ymm6[4,5],ymm8[6],ymm6[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm0, %ymm2, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, (%rsp) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1],ymm3[2],ymm5[3,4,5],ymm3[6],ymm5[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 240(%rdi), %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm13[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm10[0],xmm1[1],xmm10[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[2,3,0,1,14,15,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm13, %zmm0, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2],ymm9[3],ymm11[4,5],ymm9[6],ymm11[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0,1,2,3],xmm0[4],xmm13[5],xmm0[6],xmm13[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[2,3,4,5,10,11,12,13,0,1,0,1,0,1,0,1,18,19,20,21,26,27,28,29,16,17,16,17,16,17,16,17]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm12[0,1,2],xmm0[3,4,5,6],xmm12[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm22
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[2,3,4,5,10,11,16,17],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0],ymm6[1],ymm8[2,3],ymm6[4],ymm8[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm7[1],xmm4[2,3,4,5],xmm7[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm0, %ymm4, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm3[3],ymm5[4,5],ymm3[6],ymm5[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0],xmm0[1],xmm4[2,3,4,5],xmm0[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} ymm4 = [21474836482,21474836482,21474836482,21474836482]
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm29, %ymm4, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm1, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm7, %zmm0, %zmm18
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm11[2],ymm9[3,4,5],ymm11[6],ymm9[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm7[4],xmm0[5],xmm7[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm15, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[0,1,2,3,0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[2,3,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm7, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm24, %zmm23, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm7, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0],xmm0[1],xmm7[2],xmm0[3],xmm7[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm20, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm7, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm5[1],ymm3[2,3],ymm5[4],ymm3[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm7[1],xmm0[2,3,4,5],xmm7[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,4,5,2,3,0,1,14,15,12,13,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm29[0,1,1,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm7, %zmm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 416(%rdi), %ymm14
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 384(%rdi), %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1],ymm14[2],ymm7[3,4,5],ymm14[6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm12[4],xmm4[5],xmm12[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm9[0,1,2],ymm11[3],ymm9[4,5],ymm11[6],ymm9[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm12, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm15[0],xmm12[1],xmm15[2,3,4,5],xmm12[6],xmm15[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,0,1,14,15,12,13,10,11,8,9]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = [2,11,2,11,12,5,8,9]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm15, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[0,1,22,23,28,29,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm15[0,1,2],ymm4[3,4,5,6,7],ymm15[8,9,10],ymm4[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm15, %ymm12, %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm20
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3,4],ymm5[5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm17, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 232(%rdi), %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpsrlq $48, %xmm10, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm19, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <0,3,7,10,14,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm6, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm6[2],ymm8[3,4],ymm6[5],ymm8[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <0,3,3,u,0,3,7,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm29, %ymm15, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm15[u,u,u,u,u,u,u,u,u,u,0,1,6,7,8,9,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[0,1,0,1,6,7,8,9,14,15,u,u,u,u,u,u,16,17,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm15[5,6,7],ymm4[8,9,10,11,12],ymm15[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpsrld $16, %xmm2, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm15 = xmm15[4],xmm10[4],xmm15[5],xmm10[5],xmm15[6],xmm10[6],xmm15[7],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm4, %zmm19
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm0, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm5, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm2, %ymm21
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm5[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm17 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm0, %zmm17, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm14[3],ymm7[4,5],ymm14[6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0],xmm0[1],xmm13[2,3,4,5],xmm0[6],xmm13[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm11[0],ymm9[1],ymm11[2,3],ymm9[4],ymm11[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm13, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3,4,5],xmm12[6],xmm13[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,2,3,0,1,14,15,12,13,10,11]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <2,u,u,u,6,9,13,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm13, %zmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm13 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[2,3,16,17,22,23,24,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0,1,2],ymm0[3,4,5,6,7],ymm13[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm13, %ymm12, %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm1[2,3],ymm8[4,5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[10,11,6,7,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <0,4,7,11,14,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm13, %zmm13
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0,1],ymm13[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0],ymm7[1],ymm14[2,3],ymm7[4],ymm14[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm15[1],xmm13[2,3,4,5],xmm15[6],xmm13[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm25, %zmm0, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm22, %zmm0, %zmm24
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [2,6,9,13,2,6,9,13]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm0, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm16
+; AVX512F-ONLY-FAST-NEXT: vbroadcasti32x4 {{.*#+}} ymm25 = [0,4,7,0,0,4,7,0]
+; AVX512F-ONLY-FAST-NEXT: # ymm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm29, %ymm25, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm20, %zmm0, %zmm25
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm12, %zmm0, %zmm12
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,2,3,4,5,10,11,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[4,5,2,3,4,5,10,11,12,13,u,u,u,u,u,u,20,21,18,19,20,21,26,27,28,29,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm6[4],xmm10[4],xmm6[5],xmm10[5],xmm6[6],xmm10[6],xmm6[7],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <3,u,u,u,6,10,13,u>
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0],ymm9[1],ymm11[2,3,4],ymm9[5],ymm11[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm1[1],xmm4[2],xmm1[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm10, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm13[u,u,u,u,u,u,4,5,2,3,0,1,14,15,12,13]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,1,18,19,20,21,26,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm4[0,1,2],ymm10[3,4,5,6,7],ymm4[8,9,10],ymm10[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm4, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <1,4,8,11,15,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm10
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm31, %zmm4, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm21, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2],ymm5[3],ymm8[4,5],ymm5[6],ymm8[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u,u,10,11,6,7,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm1[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm7[1],ymm14[2,3,4],ymm7[5],ymm14[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2],xmm4[3],xmm6[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,10,3,14,7,10,3]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1],ymm9[2],ymm11[3,4],ymm9[5],ymm11[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[8,9,8,9,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm30, %zmm6, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[4,5,10,11,u,u,u,u,u,u,u,u,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0],ymm7[1,2],ymm6[3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,6,7,4,5,2,3,0,1,14,15]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0,1,2],ymm4[3,4,5,6,7],ymm6[8,9,10],ymm4[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512F-ONLY-FAST-NEXT: kmovw %edi, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm6, %zmm27 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm6 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm27, %zmm6, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 (%rsp), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm5, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm28, %zmm6, %zmm24
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm17, %zmm18 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512F-ONLY-FAST-NEXT: kmovw %edi, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm16, %zmm18 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm17, %zmm23 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm25, %zmm23 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm12, %zmm3 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm19, %zmm17, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm10, %zmm2 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm15, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm24, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm23, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm3, (%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm0, %zmm17, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm1 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-FAST-NEXT: addq $136, %rsp
+; AVX512F-ONLY-FAST-NEXT: vzeroupper
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i16_stride7_vf32:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: pushq %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0],ymm1[1],ymm9[2,3,4],ymm1[5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[6,7,12,13,2,3,16,17,30,31],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm4
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vporq %ymm0, %ymm1, %ymm21
+; AVX512DQ-SLOW-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512DQ-SLOW-NEXT: vmovdqa 160(%rdi), %ymm8
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm6[3],ymm8[4,5],ymm6[6],ymm8[7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,6,4,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm17
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm17[0,1,0,2]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 252(%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 224(%rdi), %xmm10
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm10, %xmm11
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512DQ-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm2, %zmm1, %zmm21 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 288(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm12
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm10
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm2[0,1,2],xmm1[3],xmm2[4],xmm1[5],xmm2[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 240(%rdi), %xmm13
+; AVX512DQ-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1],ymm5[2],ymm9[3,4],ymm5[5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6,7,8,9,10],ymm1[11],ymm2[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[8,9,6,7,4,5,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2],ymm7[3],ymm4[4,5],ymm7[6],ymm4[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1],ymm8[2],ymm6[3,4,5],ymm8[6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,1,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm13[0],xmm11[1],xmm13[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm22
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm5[2,3],ymm9[4,5],ymm5[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6,7,8,9,10,11],ymm1[12],ymm0[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[10,11,8,9,6,7,20,21],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0],ymm4[1],ymm7[2,3],ymm4[4],ymm7[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2],ymm8[3],ymm6[4,5],ymm8[6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm17[0,1,1,2]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm11[0],xmm13[0],xmm11[1],xmm13[1],xmm11[2],xmm13[2],xmm11[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm2, %xmm28
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm24
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm5[3],ymm9[4,5],ymm5[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm26
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[1,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0],ymm4[1],ymm7[2,3,4],ymm4[5],ymm7[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm7, %ymm27
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vporq %ymm0, %ymm1, %ymm18
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm17 = ymm17[0,1,1,3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 232(%rdi), %xmm1
+; AVX512DQ-SLOW-NEXT: vpsrlq $48, %xmm13, %xmm2
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm20
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm6[2],ymm8[3,4],ymm6[5],ymm8[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4],xmm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[8,9,8,9,6,7,4,5,2,3,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa 208(%rdi), %xmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm3[6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm3, %xmm29
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm2, %xmm30
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpsrld $16, %xmm11, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm11, %xmm31
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm13[4],xmm1[5],xmm13[5],xmm1[6],xmm13[6],xmm1[7],xmm13[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm13, %xmm19
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm23
+; AVX512DQ-SLOW-NEXT: vmovdqa 352(%rdi), %ymm15
+; AVX512DQ-SLOW-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm15[3],ymm13[4,5],ymm15[6],ymm13[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6],ymm0[7,8,9,10,11,12,13],ymm3[14],ymm0[15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm14[0,2,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[0,1,14,15,12,13,10,11,4,5,6,7,8,9,2,3,16,17,30,31,28,29,26,27,20,21,22,23,24,25,18,19]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2],xmm3[3,4,5,6],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 384(%rdi), %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqa 416(%rdi), %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1],ymm14[2],ymm11[3,4],ymm14[5],ymm11[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm10, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm12, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2],ymm10[3],ymm12[4,5],ymm10[6],ymm12[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4],xmm3[5],xmm0[6],xmm3[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0],ymm13[1],ymm15[2,3],ymm13[4],ymm15[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm3[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm12[0],ymm3[1,2,3,4,5,6],ymm12[7,8],ymm3[9,10,11,12,13,14],ymm12[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[2,3,0,1,14,15,12,13,4,5,4,5,4,5,4,5,18,19,16,17,30,31,28,29,20,21,20,21,20,21,20,21]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3,4,5,6],xmm3[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1],ymm14[2,3],ymm11[4,5],ymm14[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm13[1],ymm15[2,3,4],ymm13[5],ymm15[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm0[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,7,20,21,u,u,16,17,30,31,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm12[1],ymm0[2,3,4,5,6,7,8],ymm12[9],ymm0[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm10[0,1],ymm1[2],ymm10[3,4,5],ymm1[6],ymm10[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm3
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3],xmm10[4],xmm12[5],xmm10[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[0,1,2,3,0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm0, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2],ymm14[3],ymm11[4,5],ymm14[6],ymm11[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm12[4],xmm0[5],xmm12[5],xmm0[6],xmm12[6],xmm0[7],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm25 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm24 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm24 {%k1}
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0],ymm6[1],ymm8[2,3],ymm6[4],ymm8[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3,4,5],xmm10[6],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm17[0,1,2,0,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm10[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm28, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm1[0,1,2,3,6,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,2,2,2]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm10, %zmm0, %zmm17
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm3[3],ymm7[4,5],ymm3[6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm10[0],xmm0[1],xmm10[2,3,4,5],xmm0[6],xmm10[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1],ymm11[2],ymm14[3,4,5],ymm11[6],ymm14[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3],xmm12[4],xmm10[5],xmm12[6],xmm10[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1],ymm13[2],ymm15[3,4],ymm13[5],ymm15[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm12[1,1,2,0]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[0,1,22,23,28,29,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm0, %ymm12, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,7,6,5,4]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm12[0,1,2],ymm10[3,4,5,6,7],ymm12[8,9,10],ymm10[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm18, %zmm25, %zmm17
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm17 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm9[2],ymm2[3,4,5],ymm9[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm0[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6],ymm0[7,8,9,10,11,12,13],ymm10[14],ymm0[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm9[0,1],ymm5[2],ymm9[3,4],ymm5[5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm18
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1],ymm0[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1,2],ymm11[3],ymm14[4,5],ymm11[6],ymm14[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3,4,5],xmm10[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm9 = ymm15[0,1,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm12[0,1,2],ymm9[3],ymm12[4,5,6,7,8,9,10],ymm9[11],ymm12[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0],ymm7[1],ymm3[2,3],ymm7[4],ymm3[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm5
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm12[0],xmm5[1],xmm12[2,3,4,5],xmm5[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,2,3,0,1,14,15,12,13,10,11]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm9[10,11,24,25,22,23,20,21],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm9[0,1,2],ymm10[3,4,5,6,7],ymm9[8,9,10],ymm10[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm5, %ymm9, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm20, %zmm25, %zmm0
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm5, %zmm0, %zmm0 {%k1}
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0],ymm14[1],ymm11[2,3],ymm14[4],ymm11[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm9[1],xmm5[2,3,4,5],xmm9[6],xmm5[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2],ymm13[3],ymm15[4,5],ymm13[6],ymm15[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm9[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4],ymm9[5,6,7,8,9,10,11],ymm10[12],ymm9[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm3[0],ymm7[1],ymm3[2,3,4],ymm7[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm20
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm7, %ymm26
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2],xmm10[3],xmm12[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,4,5,2,3,0,1,14,15,12,13]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm9[12,13,26,27,24,25,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm9[0,1,2],ymm5[3,4,5,6,7],ymm9[8,9,10],ymm5[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm9, %ymm10, %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3],ymm5[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0,1,2],ymm1[3],ymm2[4,5],ymm1[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm12
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm9[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm10[0],ymm9[1,2,3,4,5,6],ymm10[7,8],ymm9[9,10,11,12,13,14],ymm10[15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1],ymm6[2,3],ymm8[4,5],ymm6[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3],xmm8[4],xmm6[5],xmm8[6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm29, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm30, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm8[1],xmm2[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[8,9,10,11,8,9,6,7,4,5,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0,1,2,3,4],ymm2[5,6,7],ymm6[8,9,10,11,12],ymm2[13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm31, %xmm6
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm19, %xmm8
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm2, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1],ymm10[2,3],ymm7[4,5],ymm10[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm8 = ymm9[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm8[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm23, %zmm25, %zmm6
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm5, %zmm0, %zmm6 {%k1}
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0],ymm12[1],ymm1[2,3],ymm12[4],ymm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm5[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm8[1],ymm5[2,3,4,5,6,7,8],ymm8[9],ymm5[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm7[0,1,2],ymm10[3],ymm7[4,5],ymm10[6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm8[0,1,2,3,6,4,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm8 = xmm9[4],xmm8[4],xmm9[5],xmm8[5],xmm9[6],xmm8[6],xmm9[7],xmm8[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1],ymm5[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0],ymm14[1],ymm11[2,3,4],ymm14[5],ymm11[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2],xmm8[3],xmm9[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm20, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm1[0,1],ymm7[2],ymm1[3,4],ymm7[5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm9
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,3,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1],xmm7[2],xmm9[2],xmm7[3],xmm9[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1],ymm15[2],ymm13[3,4,5],ymm15[6],ymm13[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,3,1]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[4,5,10,11,u,u,u,u,u,u,u,u,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0],ymm7[1,2],ymm1[3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[u,u,u,u,u,u,6,7,4,5,2,3,0,1,14,15]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm1[0,1,2],ymm7[3,4,5,6,7],ymm1[8,9,10],ymm7[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm2, %zmm25, %zmm5
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm21, %zmm1, %zmm4
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm2, %zmm22
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm22, %zmm1, %zmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm3, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm24, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm17, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm6, (%rax)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm5, (%rax)
+; AVX512DQ-SLOW-NEXT: popq %rax
+; AVX512DQ-SLOW-NEXT: vzeroupper
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i16_stride7_vf32:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: vmovdqa64 320(%rdi), %zmm28
+; AVX512DQ-FAST-NEXT: vmovdqa64 64(%rdi), %zmm30
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm31 = [2,6,9,13,2,6,9,13]
+; AVX512DQ-FAST-NEXT: vmovdqa64 128(%rdi), %zmm24
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = [2,5,9,12,2,5,9,12]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [10,3,6,15,12,13,6,15]
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm2, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = [3,6,10,13,3,6,10,13]
+; AVX512DQ-FAST-NEXT: vmovdqa64 384(%rdi), %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = <1,u,u,u,5,8,12,15>
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <2,6,9,u,13,u,u,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm2, %zmm0
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm31, %zmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <1,u,u,u,4,8,11,15>
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm2, %zmm10
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <2,5,9,u,12,u,u,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm2, %zmm2
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm19, %zmm13
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,u,u,u,4,7,11,14>
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm3, %zmm14
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [8,1,12,5,12,5,14,15]
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm3, %zmm3
+; AVX512DQ-FAST-NEXT: vpermd %zmm24, %zmm18, %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 192(%rdi), %ymm27
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm27[0,1,0,2]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm4[0,1,2,3,4,5,6],ymm8[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[6,7,12,13,2,3,16,17,30,31],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm12, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm15[4],xmm12[5],xmm15[6],xmm12[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vporq %ymm9, %ymm12, %ymm23
+; AVX512DQ-FAST-NEXT: vpbroadcastw 252(%rdi), %xmm9
+; AVX512DQ-FAST-NEXT: vmovdqa 224(%rdi), %xmm12
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,0,1,14,15,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm15[2],xmm9[2],xmm15[3],xmm9[3]
+; AVX512DQ-FAST-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm9, %zmm8, %zmm23 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa 256(%rdi), %ymm8
+; AVX512DQ-FAST-NEXT: vmovdqa 288(%rdi), %ymm9
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm9[0,1],ymm8[2,3],ymm9[4,5],ymm8[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm15, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm15[3],xmm11[4],xmm15[5],xmm11[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,10,11,8,9,6,7,4,5,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[0,1,6,7,8,9,14,15,8,9,14,15,4,5,2,3,16,17,22,23,24,25,30,31,24,25,30,31,20,21,18,19]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0,1,2],xmm11[3,4,5,6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm14[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm13, %ymm13
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm13[6,7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm25
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[0,1,6,7,8,9,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0],xmm11[1],xmm13[2,3,4,5],xmm11[6],xmm13[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[2,3,0,1,14,15,12,13,10,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vporq %ymm2, %ymm11, %ymm22
+; AVX512DQ-FAST-NEXT: vmovdqa 160(%rdi), %ymm13
+; AVX512DQ-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm2[0,1],ymm13[2],ymm2[3,4,5],ymm13[6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm14[4],xmm11[5],xmm14[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vmovdqa 240(%rdi), %xmm15
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[0,1,0,1,14,15,12,13,10,11,8,9,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3,4,5,6],ymm5[7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm15[0],xmm12[1],xmm15[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[2,3,0,1,14,15,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm11, %zmm5, %zmm26
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm11[0,1,2,3],xmm5[4],xmm11[5],xmm5[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[2,3,4,5,10,11,12,13,0,1,0,1,0,1,0,1,18,19,20,21,26,27,28,29,16,17,16,17,16,17,16,17]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm10[0,1,2],xmm5[3,4,5,6],xmm10[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm6[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[2,3,4,5,10,11,16,17],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3,4,5],xmm11[6],xmm10[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[4,5,2,3,0,1,14,15,12,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %ymm6, %ymm10, %ymm10
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm2[0,1,2],ymm13[3],ymm2[4,5],ymm13[6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm6, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm11[0],xmm6[1],xmm11[2,3,4,5],xmm6[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,2,3,0,1,14,15,12,13,10,11,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} ymm11 = [21474836482,21474836482,21474836482,21474836482]
+; AVX512DQ-FAST-NEXT: vpermd %ymm27, %ymm11, %ymm11
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm6[0,1,2,3,4,5,6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm14
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm16
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm14, %zmm11, %zmm17
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm8[0,1],ymm9[2],ymm8[3,4,5],ymm9[6],ymm8[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm14[4],xmm11[5],xmm14[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm21, %zmm14
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[0,1,2,3,0,1,14,15,12,13,10,11,8,9],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm14[2,3,16,17,22,23,24,25,30,31,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %ymm14, %ymm11, %ymm11
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm18, %zmm14
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm18 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm10, %zmm18, %zmm17
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm14, %ymm10
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX512DQ-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm10, %zmm0, %zmm17 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[4,5,10,11,0,1,22,23],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0],xmm11[1],xmm14[2],xmm11[3],xmm14[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[6,7,4,5,2,3,0,1,14,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vporq %ymm10, %ymm11, %ymm21
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm13[0],ymm2[1],ymm13[2,3],ymm2[4],ymm13[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3,4,5],xmm11[6],xmm10[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,4,5,2,3,0,1,14,15,12,13,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm14 = ymm27[0,1,1,3]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[12,13,10,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm10, %zmm11
+; AVX512DQ-FAST-NEXT: vmovdqa 416(%rdi), %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1],ymm6[2],ymm10[3,4,5],ymm6[6],ymm10[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm7, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1,2,3],xmm5[4],xmm7[5],xmm5[6],xmm7[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2],ymm9[3],ymm8[4,5],ymm9[6],ymm8[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm7, %xmm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm7[1],xmm0[2,3,4,5],xmm7[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <0,3,7,10,14,u,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm29 = [2,11,2,11,12,5,8,9]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm20
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm29, %zmm1
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm21, %zmm18, %zmm11
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,0,1,14,15,12,13,10,11,8,9]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[0,1,22,23,28,29,18,19],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm1[0,1,2],ymm5[3,4,5,6,7],ymm1[8,9,10],ymm5[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm1, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm11 {%k1}
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm7, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm7, %ymm21
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0],ymm2[1],ymm13[2,3,4],ymm2[5],ymm13[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,6,7,4,5,2,3,0,1,14,15,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vpbroadcastw 232(%rdi), %xmm2
+; AVX512DQ-FAST-NEXT: vpsrlq $48, %xmm15, %xmm7
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm7[0],xmm2[1],xmm7[1],xmm2[2],xmm7[2],xmm2[3],xmm7[3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <2,u,u,u,6,9,13,u>
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm2
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm0, %zmm18, %zmm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm6[3],ymm10[4,5],ymm6[6],ymm10[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0],ymm8[1],ymm9[2,3],ymm8[4],ymm9[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm13
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm13[1],xmm1[2,3,4,5],xmm13[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm7, %zmm7
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,2,3,0,1,14,15,12,13,10,11]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[2,3,16,17,22,23,24,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm7[0,1,2],ymm0[3,4,5,6,7],ymm7[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm7, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpermd %zmm24, %zmm31, %zmm14
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <0,4,7,11,14,u,u,u>
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm24, %zmm19, %zmm1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm2 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <0,3,3,u,0,3,7,u>
+; AVX512DQ-FAST-NEXT: vpermd %ymm27, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,0,1,6,7,8,9,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[0,1,0,1,6,7,8,9,14,15,u,u,u,u,u,u,16,17,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX512DQ-FAST-NEXT: vpsrld $16, %xmm12, %xmm1
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm13
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm13, %xmm5
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm7, %zmm7
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[10,11,6,7,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm7[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1],ymm5[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0],ymm10[1],ymm6[2,3],ymm10[4],ymm6[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm5[1],xmm1[2,3,4,5],xmm5[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm5 = [0,4,7,0,0,4,7,0]
+; AVX512DQ-FAST-NEXT: # ymm5 = mem[0,1,0,1]
+; AVX512DQ-FAST-NEXT: vpermd %ymm27, %ymm5, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,2,3,4,5,10,11,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm14[4,5,2,3,4,5,10,11,12,13,u,u,u,u,u,u,20,21,18,19,20,21,26,27,28,29,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm7[0,1,2,3,4],ymm5[5,6,7],ymm7[8,9,10,11,12],ymm5[13,14,15]
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm16, %xmm12
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <3,u,u,u,6,10,13,u>
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm7, %zmm5, %zmm5
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0],ymm8[1],ymm9[2,3,4],ymm8[5],ymm9[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm7, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm14[0],xmm7[1],xmm14[2],xmm7[3],xmm14[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm12, %zmm12
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,4,5,2,3,0,1,14,15,12,13]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[0,1,18,19,20,21,26,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm12[0,1,2],ymm1[3,4,5,6,7],ymm12[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm7, %ymm12, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <1,4,8,11,15,u,u,u>
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm0, %zmm18, %zmm13
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm13 {%k1}
+; AVX512DQ-FAST-NEXT: vpermd %zmm30, %zmm7, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,10,11,6,7,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,4,6,7]
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0],ymm10[1],ymm6[2,3,4],ymm10[5],ymm6[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2],xmm1[3],xmm3[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,10,3,14,7,10,3]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1],ymm8[2],ymm9[3,4],ymm8[5],ymm9[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,1,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[8,9,8,9,4,5,6,7,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512DQ-FAST-NEXT: vpermd %zmm28, %zmm3, %zmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[4,5,10,11,u,u,u,u,u,u,u,u,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm4[1,2],ymm3[3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,6,7,4,5,2,3,0,1,14,15]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5,6,7],ymm3[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm5, %zmm18, %zmm0
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm23, %zmm1, %zmm25
+; AVX512DQ-FAST-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %zmm22, %zmm26
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm26, %zmm1, %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm25, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm20, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm11, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm13, (%rax)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512DQ-FAST-NEXT: vzeroupper
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride7_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm5, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <0,7,14,21,28,35,42,49,56,63,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm2 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm6, %zmm7, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,0,19,20,21,22,23,24,25,26,27,36,43,50,57,0,0,0,19,20,21,22,23,24,25,26,27,36,43,50,57]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm8, %zmm9
+; AVX512BW-NEXT: movl $-524288, %edi # imm = 0xFFF80000
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm2 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm6, %zmm7, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,0,19,20,21,22,23,24,25,26,27,37,44,51,58,0,0,0,19,20,21,22,23,24,25,26,27,37,44,51,58]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <1,8,15,22,29,36,43,50,57,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm4, %zmm8
+; AVX512BW-NEXT: movl $511, %edi # imm = 0x1FF
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu16 %zmm10, %zmm8 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm9, %zmm8 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm6, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,18,19,20,21,22,23,24,25,26,27,38,45,52,59,0,0,18,19,20,21,22,23,24,25,26,27,38,45,52,59]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm9, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm4, %zmm11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <2,9,16,23,30,37,44,51,58,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm9
+; AVX512BW-NEXT: movl $261632, %edi # imm = 0x3FE00
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm11, %zmm9 {%k1}
+; AVX512BW-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm10, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm6, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,0,18,19,20,21,22,23,24,25,26,32,39,46,53,60,0,0,18,19,20,21,22,23,24,25,26,32,39,46,53,60]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm10, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm4, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = <3,10,17,24,31,38,45,52,59,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm12
+; AVX512BW-NEXT: vmovdqu16 %zmm10, %zmm12 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm11, %zmm12 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm6, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,0,18,19,20,21,22,23,24,25,26,33,40,47,54,61,0,0,18,19,20,21,22,23,24,25,26,33,40,47,54,61]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm10, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm4, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <36,43,50,57,0,7,14,21,28,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm13
+; AVX512BW-NEXT: vmovdqu16 %zmm10, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm11, %zmm13 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm6, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,0,18,19,20,21,22,23,24,25,26,34,41,48,55,62,0,0,18,19,20,21,22,23,24,25,26,34,41,48,55,62]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm10, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm5, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <37,44,51,58,1,8,15,22,29,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm14
+; AVX512BW-NEXT: vmovdqu16 %zmm10, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm11, %zmm14 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm6, %zmm7, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [0,0,18,19,20,21,22,23,24,25,26,35,42,49,56,63,0,0,18,19,20,21,22,23,24,25,26,35,42,49,56,63]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm10, %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm5, %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <38,45,52,59,2,9,16,23,30,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm1, %zmm4
+; AVX512BW-NEXT: vmovdqu16 %zmm3, %zmm4 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm6, %zmm4 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <224 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217>
+ %strided.vec1 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218>
+ %strided.vec2 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219>
+ %strided.vec3 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220>
+ %strided.vec4 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221>
+ %strided.vec5 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222>
+ %strided.vec6 = shufflevector <224 x i16> %wide.vec, <224 x i16> poison, <32 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223>
+
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i16_stride7_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i16_stride7_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1368, %rsp # imm = 0x558
+; SSE-NEXT: movdqa 752(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 736(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm10
+; SSE-NEXT: movdqa 240(%rdi), %xmm12
+; SSE-NEXT: movaps 272(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm8
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 304(%rdi), %xmm9
+; SSE-NEXT: movdqa 288(%rdi), %xmm13
+; SSE-NEXT: movdqa 320(%rdi), %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[0,0,0,0]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps %xmm8, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm7[2,2]
+; SSE-NEXT: movaps {{.*#+}} xmm7 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[2,2,3,3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[0,1,0,3]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movdqa 768(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 720(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 704(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 672(%rdi), %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,1,0,3]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 688(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[0,0,0,0]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 416(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 384(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 352(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 880(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 864(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 848(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 832(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 816(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 784(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 800(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 80(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 48(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 544(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 528(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 512(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 496(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 480(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 448(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 192(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 160(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 656(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 640(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 624(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movaps 608(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 592(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,2],xmm3[2,2]
+; SSE-NEXT: movaps %xmm7, %xmm3
+; SSE-NEXT: andnps %xmm0, %xmm3
+; SSE-NEXT: movdqa 560(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: movdqa 576(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslldq {{.*#+}} xmm11 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm11[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm11, %xmm1
+; SSE-NEXT: psrld $16, %xmm9
+; SSE-NEXT: psrldq {{.*#+}} xmm13 = xmm13[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; SSE-NEXT: pand %xmm2, %xmm13
+; SSE-NEXT: por %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm12
+; SSE-NEXT: movdqa %xmm4, %xmm15
+; SSE-NEXT: por %xmm1, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm6, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pslldq {{.*#+}} xmm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm8[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pand %xmm14, %xmm5
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pand %xmm14, %xmm5
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pand %xmm14, %xmm5
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pand %xmm14, %xmm5
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pslldq {{.*#+}} xmm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pandn %xmm12, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,3,4,5,6,7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[2,1,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,0,0,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pandn %xmm3, %xmm7
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm1 = xmm0[0],xmm1[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm1
+; SSE-NEXT: orps %xmm3, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm1 = xmm0[0],xmm1[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm1
+; SSE-NEXT: orps %xmm4, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm1 = xmm6[0],xmm1[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm1
+; SSE-NEXT: orps %xmm4, %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: pandn %xmm4, %xmm6
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm11[2],xmm9[3],xmm11[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm9[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: pandn %xmm4, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm5[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm4[1]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm7[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm6, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: movdqa %xmm14, %xmm7
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm6[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm6[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm8[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm7, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm8
+; SSE-NEXT: pandn %xmm7, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm8
+; SSE-NEXT: pandn %xmm7, %xmm8
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm7[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm9[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm8, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,1,0,1]
+; SSE-NEXT: movdqa %xmm2, %xmm9
+; SSE-NEXT: pandn %xmm8, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: por %xmm9, %xmm8
+; SSE-NEXT: movdqa %xmm14, %xmm11
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm6[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm8[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = xmm9[0],mem[0],xmm9[1],mem[1],xmm9[2],mem[2],xmm9[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm9[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm8[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm11, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm4[2],xmm8[3],xmm4[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,1]
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm10[0,1,0,1]
+; SSE-NEXT: pandn %xmm11, %xmm2
+; SSE-NEXT: por %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[2,2,3,3]
+; SSE-NEXT: punpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[0],mem[0],xmm2[1],mem[1],xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[0,3,2,3,4,5,6,7]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm11[0],xmm0[1,2,3]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: orps %xmm8, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm8
+; SSE-NEXT: pandn %xmm3, %xmm8
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm1[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm8 = xmm2[0],xmm8[1,2,3]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm10[4],xmm2[5],xmm10[5],xmm2[6],xmm10[6],xmm2[7],xmm10[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: andps %xmm14, %xmm8
+; SSE-NEXT: por %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm5[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm9[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm8[0],xmm2[1,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm13 = xmm13[4],xmm7[4],xmm13[5],xmm7[5],xmm13[6],xmm7[6],xmm13[7],xmm7[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm13[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[4],mem[4],xmm8[5],mem[5],xmm8[6],mem[6],xmm8[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: andps %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pand %xmm15, %xmm8
+; SSE-NEXT: por %xmm2, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm6[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: andps %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm6[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm6[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm6 = xmm6[4],xmm9[4],xmm6[5],xmm9[5],xmm6[6],xmm9[6],xmm6[7],xmm9[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm6 = xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: andps %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm6[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm0[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm7[4],xmm0[5],xmm7[5],xmm0[6],xmm7[6],xmm0[7],xmm7[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: andps %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm2[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: andps %xmm14, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,4,7]
+; SSE-NEXT: pandn %xmm1, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm13 = xmm13[4],xmm2[4],xmm13[5],xmm2[5],xmm13[6],xmm2[6],xmm13[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm10
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm10 = xmm10[4],xmm2[4],xmm10[5],xmm2[5],xmm10[6],xmm2[6],xmm10[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm10 = xmm10[4],xmm1[4],xmm10[5],xmm1[5],xmm10[6],xmm1[6],xmm10[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1],xmm1[2],xmm12[2],xmm1[3],xmm12[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm14 = xmm14[4],xmm1[4],xmm14[5],xmm1[5],xmm14[6],xmm1[6],xmm14[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm8
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm8 = xmm8[4],xmm2[4],xmm8[5],xmm2[5],xmm8[6],xmm2[6],xmm8[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: psrld $16, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm14 = xmm14[4],xmm2[4],xmm14[5],xmm2[5],xmm14[6],xmm2[6],xmm14[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm5 = xmm5[4],xmm2[4],xmm5[5],xmm2[5],xmm5[6],xmm2[6],xmm5[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm11
+; SSE-NEXT: psrld $16, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm11 = xmm11[4],xmm2[4],xmm11[5],xmm2[5],xmm11[6],xmm2[6],xmm11[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1],xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; SSE-NEXT: punpckhwd (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm10
+; SSE-NEXT: psrld $16, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm10 = xmm10[4],xmm2[4],xmm10[5],xmm2[5],xmm10[6],xmm2[6],xmm10[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: psrlq $16, %xmm1
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,4,7]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm3, %xmm15
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm0[0,2]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm9[0],xmm12[1],xmm9[1],xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm12[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm13
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm0[0,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm13[0],xmm5[1],xmm13[1],xmm5[2],xmm13[2],xmm5[3],xmm13[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm5[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,1],xmm0[0,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm0[0,2]
+; SSE-NEXT: movaps %xmm6, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[1,1,1,1,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm3[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm0[2],xmm9[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm1[0],xmm9[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm1[0],xmm8[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd $196, (%rsp), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm3[0],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: psrldq {{.*#+}} xmm0 = xmm0[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshuflw $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[1,1,1,1,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: pshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm10, 112(%rax)
+; SSE-NEXT: movaps %xmm11, 96(%rax)
+; SSE-NEXT: movaps %xmm14, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rax)
+; SSE-NEXT: movaps %xmm12, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, 112(%rax)
+; SSE-NEXT: movapd %xmm1, 96(%rax)
+; SSE-NEXT: movapd %xmm2, 80(%rax)
+; SSE-NEXT: movapd %xmm5, 64(%rax)
+; SSE-NEXT: movapd %xmm6, 48(%rax)
+; SSE-NEXT: movapd %xmm7, 32(%rax)
+; SSE-NEXT: movapd %xmm8, 16(%rax)
+; SSE-NEXT: movapd %xmm9, (%rax)
+; SSE-NEXT: addq $1368, %rsp # imm = 0x558
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride7_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1512, %rsp # imm = 0x5E8
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm2[7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm10[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = zero,xmm3[2],xmm7[2],zero
+; AVX1-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2],xmm3[3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm5, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 624(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 592(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 656(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 640(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 496(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = zero,xmm0[2],xmm3[2],zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vmovdqa 560(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm5, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = zero,xmm6[2],xmm11[2],zero
+; AVX1-ONLY-NEXT: vmovaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm5, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 848(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 832(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 800(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 816(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm0[4],xmm2[5],xmm0[5],xmm2[6],xmm0[6],xmm2[7],xmm0[7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 880(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 864(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 672(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 688(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm13[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 720(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = zero,xmm9[2],xmm8[2],zero
+; AVX1-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 752(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 736(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 768(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vmovdqa 784(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3,4,5],xmm1[6],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm14, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6],xmm2[7]
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm1, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm7[4],xmm1[5],xmm7[5],xmm1[6],xmm7[6],xmm1[7],xmm7[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0],xmm7[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm1[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm14 = [65535,65535,65535,65535,65535,0,0,0,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm14, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $64, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[0,1,2,3,4,5],mem[6],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[0],mem[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,2,3,4,5],xmm0[6],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm6[4],xmm11[4],xmm6[5],xmm11[5],xmm6[6],xmm11[6],xmm6[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[0],mem[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm0[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm11[0,1,2,3,4,5],xmm15[6],xmm11[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,3,2,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslld $16, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm9[4],xmm8[4],xmm9[5],xmm8[5],xmm9[6],xmm8[6],xmm9[7],xmm8[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm13[0],xmm12[1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm5[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpslldq {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm8[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm5[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $243, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1],xmm3[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0],mem[0],xmm3[1],mem[1],xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm4[7]
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm4
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm3[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm7[0],mem[0],xmm7[1],mem[1],xmm7[2],mem[2],xmm7[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm14, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0],mem[0],xmm5[1],mem[1],xmm5[2],mem[2],xmm5[3],mem[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,6],xmm7[7]
+; AVX1-ONLY-NEXT: vpermilps $85, (%rsp), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm14, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm15[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm11[0,1],xmm4[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm0[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm12[0],mem[0],xmm12[1],mem[1],xmm12[2],mem[2],xmm12[3],mem[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm0[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm13[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm8[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,6],xmm7[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm9[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm14, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsllq $16, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm8[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1],xmm4[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm11[0],xmm4[1],xmm11[1],xmm4[2],xmm11[2],xmm4[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,2,3,3]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm2[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm9[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0,1,2,3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpshufd $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,6],xmm15[7]
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm14, %ymm5
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm14, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm1[0],mem[0],xmm1[1],mem[1],xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $64, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm1[0,1,2,3,4,5],mem[6],xmm1[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2],xmm5[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm1[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm7[0],mem[1],xmm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = [4,5,2,3,4,5,6,7,8,9,4,5,8,9,2,3]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm15, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm14, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm14, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm13, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm3, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm6[0],mem[0],xmm6[1],mem[1],xmm6[2],mem[2],xmm6[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $64, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm1[0,1,2,3,4,5],mem[6],xmm1[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0],xmm3[1,2],xmm5[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm5[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0],xmm1[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm13[4],mem[4],xmm13[5],mem[5],xmm13[6],mem[6],xmm13[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm13, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm14, %ymm6
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm14, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm13, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm6, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3,4,5],xmm0[6],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm3[1,2],xmm6[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm0[4],xmm11[4],xmm0[5],xmm11[5],xmm0[6],xmm11[6],xmm0[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm3[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0],xmm0[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm13 = xmm12[4],xmm9[4],xmm12[5],xmm9[5],xmm12[6],xmm9[6],xmm12[7],xmm9[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm13[4],mem[4],xmm13[5],mem[5],xmm13[6],mem[6],xmm13[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm13, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm14, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm14, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm13, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vandnps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[0],mem[0],xmm0[1],mem[1],xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,0,3,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3,4,5],xmm0[6],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,0,0,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,7,6,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm2[1,2],xmm6[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm2[2,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0],xmm0[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,1,0,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,7,7,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm13[4],mem[4],xmm13[5],mem[5],xmm13[6],mem[6],xmm13[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm14, %ymm8, %ymm8
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm15[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm9[0],xmm4[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm1[1,2],xmm4[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm1[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm6[0],xmm1[0],xmm6[1],xmm1[1],xmm6[2],xmm1[2],xmm6[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1],xmm6[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [12,13,14,15,4,5,6,7,0,1,4,5,8,9,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm6, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[0,1],mem[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm12[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm11[0],xmm6[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0],xmm4[1,2],xmm6[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpermilps $238, (%rsp), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[0,1],mem[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm14[0],xmm5[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1,2],xmm5[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0],mem[0],xmm5[1],mem[1],xmm5[2],mem[2],xmm5[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm5[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0,1],mem[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm6[0,3,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1,2],xmm4[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $16, %xmm7, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[0],mem[0],xmm4[1],mem[1],xmm4[2],mem[2],xmm4[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1],ymm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm15[0],xmm9[1],xmm15[1],xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [8,9,8,9,8,9,8,9,6,7,6,7,6,7,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3,4,5],xmm2[6],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0],mem[0],xmm3[1],mem[1],xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0],xmm13[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm13[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm12[0,1,2,3,4,5],xmm11[6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0],xmm8[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm2 = xmm2[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpunpcklwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm14[0],mem[0],xmm14[1],mem[1],xmm14[2],mem[2],xmm14[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3,4,5],xmm2[6],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm14[0],xmm3[1],xmm14[1],xmm3[2],xmm14[2],xmm3[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrlq $48, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm4 = xmm1[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $191, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,2,3,4,5],xmm1[6],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,7,6]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4],xmm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrld $16, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm1[0],xmm7[1],xmm1[1],xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0],xmm4[1],mem[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,4,7,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm5[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = zero,xmm3[1],mem[0],zero
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm11[0],xmm12[1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm5 = xmm5[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{.*#+}} xmm5 = xmm0[0],zero,xmm0[1],zero,xmm0[2],zero,xmm0[3],zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm8[0],xmm5[0],xmm8[1],xmm5[1],xmm8[2],xmm5[2],xmm8[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpermilps $255, (%rsp), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = zero,xmm0[1],mem[0],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm0[0],mem[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm6 = xmm0[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = zero,xmm0[1],mem[0],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm0[0],mem[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm6[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm14[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm7 = xmm0[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm6, %ymm5
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $41, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = zero,xmm0[1],mem[0],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm0[0],mem[1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpsrldq {{.*#+}} xmm8 = xmm0[6,7,8,9,10,11,12,13,14,15],zero,zero,zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX1-ONLY-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,3,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vpmovzxwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0],zero,mem[1],zero,mem[2],zero,mem[3],zero
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpshufd $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[0,1,0,3]
+; AVX1-ONLY-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,4,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm8, %ymm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1],ymm8[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vandnps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rax)
+; AVX1-ONLY-NEXT: addq $1512, %rsp # imm = 0x5E8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i16_stride7_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1480, %rsp # imm = 0x5C8
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vmovdqa 512(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 544(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm4, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm14[2],ymm9[3,4,5],ymm14[6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm3, %ymm4, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1],ymm8[2],ymm15[3,4,5],ymm8[6],ymm15[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0],ymm7[1],ymm10[2,3,4],ymm7[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm3, %ymm4, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 704(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 672(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1],ymm8[2],ymm12[3,4,5],ymm8[6],ymm12[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 736(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 768(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0],ymm6[1],ymm4[2,3,4],ymm6[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm11
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm0[2],ymm5[3,4],ymm0[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6,7,8,9,10],ymm2[11],ymm1[12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2],ymm14[3],ymm9[4,5],ymm14[6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, %ymm14
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm1, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm3, %ymm4, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1],ymm7[2],ymm10[3,4],ymm7[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = ymm15[0,1,2],mem[3],ymm15[4,5],mem[6],ymm15[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm4, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa %ymm13, %ymm15
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1],ymm6[2],ymm11[3,4],ymm6[5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm10
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1,2],ymm8[3],ymm12[4,5],ymm8[6],ymm12[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, %ymm13
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm4, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm6[2],ymm9[3,4],ymm6[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm2, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2],ymm7[3],ymm5[4,5],ymm7[6],ymm5[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3,4,5],xmm3[6],xmm4[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm1, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm6[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1],ymm6[2,3],ymm9[4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm1[4],ymm2[5,6,7,8,9,10,11],ymm1[12],ymm2[13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0],ymm5[1],ymm7[2,3],ymm5[4],ymm7[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, %ymm9
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0],xmm3[1],xmm1[2,3,4,5],xmm3[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm2, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm3, %ymm4, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0],ymm14[1],ymm0[2,3],ymm14[4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1],ymm5[2,3],ymm8[4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm5[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6,7,8,9,10,11],ymm5[12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm3, %ymm4, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0],ymm12[1],ymm13[2,3],ymm12[4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm11, %ymm6
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1],ymm10[2,3],ymm11[4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm10[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6,7,8,9,10,11],ymm5[12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm3, %ymm4, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm5[2,3],ymm7[4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm5[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4],ymm3[5,6,7,8,9,10,11],ymm4[12],ymm3[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm9[0],mem[1],ymm9[2,3,4],mem[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $72, (%rsp), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm1[0,1,2],mem[3],ymm1[4,5],mem[6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm1[1,3,2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0],ymm14[1],ymm0[2,3,4],ymm14[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm8[0,1,2],mem[3],ymm8[4,5],mem[6],ymm8[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0],ymm10[1],ymm11[2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2],ymm5[3],ymm7[4,5],ymm5[6],ymm7[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0],ymm12[1],ymm13[2,3,4],ymm12[5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = ymm6[0,1,2],mem[3],ymm6[4,5],mem[6],ymm6[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm1, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm8[3],ymm13[4,5],ymm8[6],ymm13[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm0[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm10[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 576(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vmovdqa 608(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2],ymm15[3],ymm7[4,5],ymm15[6],ymm7[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 640(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm0[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2],ymm4[3],ymm6[4,5],ymm4[6],ymm6[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm14[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm2[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 800(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 832(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2],ymm0[3],ymm5[4,5],ymm0[6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm11
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,6,4,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 864(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm5[0,1,0,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm0[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-SLOW-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1],ymm7[2],ymm15[3,4,5],ymm7[6],ymm15[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm12
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm12[4],xmm1[5],xmm12[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4,5,6,7],ymm3[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm6[2],ymm4[3,4,5],ymm6[6],ymm4[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4],xmm1[5],xmm3[6],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm11[2],ymm9[3,4,5],ymm11[6],ymm9[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm13[2],ymm8[3,4,5],ymm13[6],ymm8[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm10[0,1,1,3,4,5,5,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm13[3],ymm8[4,5],ymm13[6],ymm8[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm7[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm15, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2],ymm4[3],ymm15[4,5],ymm4[6],ymm15[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm12[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm11[3],ymm9[4,5],ymm11[6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm5[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2],ymm10[3],ymm15[4,5],ymm10[6],ymm15[7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm14[0,1,1,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0],ymm8[1],ymm13[2,3],ymm8[4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm7[0,1,1,3]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm12[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0],ymm15[1],ymm10[2,3],ymm15[4],ymm10[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm14[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm8[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0],ymm9[1],ymm11[2,3],ymm9[4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm5[0,1,1,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0],ymm0[1,2,3,4,5,6,7],ymm4[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1],ymm11[2],ymm13[3,4,5],ymm11[6],ymm13[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX2-SLOW-NEXT: vpshufb %ymm0, %ymm4, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6],ymm5[7,8,9,10,11,12,13],ymm4[14],ymm5[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm12[0,1],ymm9[2],ymm12[3,4],ymm9[5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0],ymm3[1],ymm7[2,3,4],ymm3[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2],xmm5[3],xmm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4,5,6,7],ymm4[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1],ymm7[2],ymm6[3,4,5],ymm7[6],ymm6[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm10, %ymm2, %ymm4
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6],ymm4[7,8,9,10,11,12,13],ymm2[14],ymm4[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1],ymm10[2],ymm14[3,4],ymm10[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0],ymm15[1],mem[2,3,4],ymm15[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2],xmm4[3],xmm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm8[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4,5,6,7],ymm2[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4,5],mem[6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm3
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7,8,9,10,11,12,13],ymm2[14],ymm3[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1],ymm8[2],ymm15[3,4],ymm8[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0],ymm3[1],mem[2,3,4],ymm3[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0],ymm1[1],mem[2,3,4],ymm1[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,2,1,4,5,6,5]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm0[0,1],mem[2],ymm0[3,4,5],mem[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6],ymm0[7,8,9,10,11,12,13],ymm2[14],ymm0[15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm1[1,2,3,4,5,6,7],ymm0[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm11[3],ymm13[4,5],ymm11[6],ymm13[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6],ymm1[7,8],ymm0[9,10,11,12,13,14],ymm1[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1],ymm9[2,3],ymm12[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29>
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1],ymm11[2],mem[3,4],ymm11[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4],xmm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 656(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa 640(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1,2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7],ymm3[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4,5,6,7],ymm2[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2],ymm7[3],ymm6[4,5],ymm7[6],ymm6[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6],ymm3[7,8],ymm2[9,10,11,12,13,14],ymm3[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1],ymm10[2,3],ymm14[4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm9[2],ymm7[3,4],ymm9[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2],xmm4[3],xmm3[4],xmm4[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 432(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm3[0,1,2,3,4,5],xmm5[6],xmm3[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7],ymm4[8,9,10,11,12],ymm5[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm2[0],ymm4[1,2,3,4,5,6,7],ymm2[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm10[0,1,2],mem[3],ymm10[4,5],mem[6],ymm10[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4,5,6],ymm4[7,8],ymm2[9,10,11,12,13,14],ymm4[15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm15[0,1],ymm8[2,3],ymm15[4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1],ymm15[2],ymm14[3,4],ymm15[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2],xmm5[3],xmm4[4],xmm5[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 880(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 864(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6],xmm6[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7],ymm4[8,9,10,11,12],ymm5[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm2[0],ymm4[1,2,3,4,5,6,7],ymm2[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1],ymm8[2],mem[3,4],ymm8[5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1],xmm2[2],xmm4[3],xmm2[4],xmm4[5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,4,7,6]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm5[5,6,7],ymm2[8,9,10,11,12],ymm5[13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm5[0,1,2],mem[3],ymm5[4,5],mem[6],ymm5[7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3,4,5,6],ymm6[7,8],ymm5[9,10,11,12,13,14],ymm6[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm5, %ymm5
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = ymm13[0,1],mem[2,3],ymm13[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm12
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; AVX2-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm12[0],xmm6[1],xmm12[1],xmm6[2],xmm12[2],xmm6[3],xmm12[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm5[0],ymm2[1,2,3,4,5,6,7],ymm5[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = ymm2[0],mem[1],ymm2[2,3],mem[4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm2[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm5[1],ymm2[2,3,4,5,6,7,8],ymm5[9],ymm2[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0,1,2],ymm5[3],mem[4,5],ymm5[6],mem[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31>
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1],ymm11[2,3],mem[4,5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm2[3],xmm6[4],xmm2[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm1[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4,5,6,7,8],ymm5[9],ymm1[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0,1,2],ymm5[3],mem[4,5],ymm5[6],mem[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1],ymm9[2,3],ymm7[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = mem[0],xmm3[1],mem[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5,6,7],ymm5[8,9,10,11,12],ymm3[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm3[1,2,3,4,5,6,7],ymm1[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0],ymm10[1],mem[2,3],ymm10[4],mem[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3,4,5,6,7,8],ymm5[9],ymm3[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm5[0,1,2],mem[3],ymm5[4,5],mem[6],ymm5[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1],ymm15[2,3],ymm14[4,5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm6 = mem[0],xmm6[1],mem[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm3[0],ymm5[1,2,3,4,5,6,7],ymm3[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0,1],ymm8[2,3],mem[4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm4 = xmm4[0],mem[1],xmm4[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7],ymm2[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd $18, (%rsp), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = ymm4[0],mem[1],ymm4[2,3],mem[4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4,5,6,7,8],ymm5[9],ymm4[10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm12, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm13[0,1,2],mem[3],ymm13[4,5],mem[6],ymm13[7]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX2-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,7,6,7]
+; AVX2-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4,5,6,7],ymm4[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, 96(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, 32(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 64(%rax)
+; AVX2-SLOW-NEXT: addq $1480, %rsp # imm = 0x5C8
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i16_stride7_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1544, %rsp # imm = 0x608
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm15
+; AVX2-FAST-NEXT: vmovdqa 512(%rdi), %ymm11
+; AVX2-FAST-NEXT: vmovdqa 544(%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm13
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm1[1],ymm3[2,3,4],ymm1[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm7
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm8
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm9
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1],ymm13[2],ymm14[3,4,5],ymm13[6],ymm14[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0],ymm11[1],ymm12[2,3,4],ymm11[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1],ymm5[2],ymm15[3,4,5],ymm5[6],ymm15[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm12[1],ymm4[2,3,4],ymm12[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 704(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 672(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vmovdqa 736(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 768(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3,4],ymm4[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2],ymm9[3],ymm10[4,5],ymm9[6],ymm10[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0],xmm1[1],xmm2[2,3,4,5],xmm1[6],xmm2[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1],ymm8[2],ymm7[3,4],ymm8[5],ymm7[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,5,1,u,4,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [2,3,2,3,2,3,2,3,8,9,0,1,6,7,8,9,18,19,18,19,18,19,18,19,24,25,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2],ymm13[3],ymm14[4,5],ymm13[6],ymm14[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1],ymm11[2],mem[3,4],ymm11[5],mem[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,5,1,u,4,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd $72, (%rsp), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm15[0,1,2],mem[3],ymm15[4,5],mem[6],ymm15[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1],ymm12[2],mem[3,4],ymm12[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm2, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = mem[0,1,2],ymm12[3],mem[4,5],ymm12[6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm15[0,1],ymm6[2],ymm15[3,4],ymm6[5],ymm15[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[2,3,2,3,2,3,2,3,8,9,0,1,6,7,8,9,18,19,18,19,18,19,18,19,24,25,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vpblendvb %ymm2, %ymm3, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0],ymm10[1],ymm9[2,3],ymm10[4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm1[0],xmm2[1],xmm1[2,3,4,5],xmm2[6],xmm1[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1],ymm8[2,3],ymm7[4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,6,1,u,5,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,2,3,4,5,2,3,8,9,2,3,4,5,10,11,16,17,18,19,20,21,18,19,24,25,18,19,20,21,26,27]
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0],ymm14[1],ymm13[2,3],ymm14[4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3,4,5],xmm5[6],xmm4[7]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm10[0,1],ymm11[2,3],ymm10[4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm9
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0],ymm0[1],ymm12[2,3],ymm0[4],ymm12[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3,4,5],xmm5[6],xmm4[7]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqa %ymm15, %ymm8
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm15[0,1],ymm6[2,3],ymm15[4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm12
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0],ymm6[1],ymm9[2,3],ymm6[4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3,4,5],xmm5[6],xmm4[7]
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1],ymm15[2,3],ymm14[4,5],ymm15[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm3, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0],ymm1[1],mem[2,3,4],ymm1[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,2],ymm1[3],mem[4,5],ymm1[6],mem[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm1[1,3,2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm2, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0],ymm3[1],mem[2,3,4],ymm3[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1,2],ymm11[3],ymm10[4,5],ymm11[6],ymm10[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm4[1,3,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0],ymm6[1],ymm9[2,3,4],ymm6[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2],ymm15[3],ymm14[4,5],ymm15[6],ymm14[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm4[1,3,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0],ymm0[1],ymm13[2,3,4],ymm0[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2],ymm7[3],ymm8[4,5],ymm7[6],ymm8[7]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm2, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm11[3],ymm10[4,5],ymm11[6],ymm10[7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [3,6,2,5,3,6,2,5]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,28,29,30,31]
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm2[0,1,0,2]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 576(%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm12[3],ymm0[4,5],ymm12[6],ymm0[7]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 640(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,2]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm14[3],ymm8[4,5],ymm14[6],ymm8[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm2, %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 800(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 832(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm4[3],ymm13[4,5],ymm4[6],ymm13[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 864(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1],ymm10[2],ymm11[3,4,5],ymm10[6],ymm11[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm6[4],xmm0[5],xmm6[6],xmm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0],ymm0[1,2,3,4,5,6,7],ymm4[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm9
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm12[2],ymm9[3,4,5],ymm12[6],ymm9[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm5[4],xmm0[5],xmm5[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1],ymm8[2],ymm14[3,4,5],ymm8[6],ymm14[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4],xmm0[5],xmm3[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1],ymm13[2],ymm7[3,4,5],ymm13[6],ymm7[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm10, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm11, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2],ymm4[3],ymm11[4,5],ymm4[6],ymm11[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm2 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm12[3],ymm9[4,5],ymm12[6],ymm9[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm15
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm12
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1],xmm3[2,3,4,5],xmm0[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm13[3],ymm7[4,5],ymm13[6],ymm7[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm13, %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1],xmm3[2,3,4,5],xmm0[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm2, %ymm3
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0],ymm0[1,2,3,4,5,6,7],ymm3[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm14, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2],ymm13[3],ymm14[4,5],ymm13[6],ymm14[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0],xmm0[1],xmm3[2,3,4,5],xmm0[6],xmm3[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermd %ymm14, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm10[1],ymm4[2,3],ymm10[4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm5[0,1,1,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm7
+; AVX2-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm12[1],ymm15[2,3],ymm12[4],ymm15[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3,4,5],xmm5[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm6[0,1,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0],ymm0[1,2,3,4,5,6,7],ymm6[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0],ymm11[1],ymm13[2,3],ymm11[4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm6[1],xmm0[2,3,4,5],xmm6[6],xmm0[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm12 = ymm14[0,1,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm12, %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm11[0],ymm6[1,2,3,4,5,6,7],ymm11[8],ymm6[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0],ymm15[1],ymm8[2,3],ymm15[4],ymm8[5,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm11[1],xmm6[2,3,4,5],xmm11[6],xmm6[7]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm11 = ymm9[0,1,1,3]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm11, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0],ymm1[1,2,3,4,5,6,7],ymm3[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0],ymm10[1],ymm4[2,3,4],ymm10[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2],xmm1[3],xmm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1],ymm9[2],ymm10[3,4],ymm9[5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1],ymm13[2],ymm14[3,4,5],ymm13[6],ymm14[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,3,7,2,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm6[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0],ymm7[1],mem[2,3,4],ymm7[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm8, %ymm5, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1],ymm7[2],ymm8[3,4],ymm7[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = ymm4[0,1],mem[2],ymm4[3,4,5],mem[6],ymm4[7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0],ymm2[1],mem[2,3,4],ymm2[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, (%rsp), %ymm12, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm12[2],mem[3,4],ymm12[5],mem[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = ymm3[0,1],mem[2],ymm3[3,4,5],mem[6],ymm3[7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0],ymm15[1],mem[2,3,4],ymm15[5],mem[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2],xmm0[3],xmm2[4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm2[2],mem[3,4],ymm2[5],mem[6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $187, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,1],ymm15[2],mem[3,4,5],ymm15[6],mem[7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,3,3,3,0,3,7,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm11 = [2,5,1,4,2,5,1,4]
+; AVX2-FAST-NEXT: # ymm11 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm11, %ymm5
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm3[5,6,7],ymm5[8,9,10,11,12],ymm3[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1],ymm9[2,3],ymm10[4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm3
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm6[0],xmm9[0],xmm6[1],xmm9[1],xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1,2],ymm13[3],ymm14[4,5],ymm13[6],ymm14[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <0,4,7,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm0[0],ymm5[1,2,3,4,5,6,7],ymm0[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25>
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1],ymm10[2],ymm6[3,4],ymm10[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm11, %ymm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1,2,3,4],ymm0[5,6,7],ymm5[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1],ymm7[2,3],ymm8[4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1],xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm4[0,1,2],ymm14[3],ymm4[4,5],ymm14[6],ymm4[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <0,4,7,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm4, %ymm9
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = ymm5[0,1],mem[2],ymm5[3,4],mem[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm11, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1,2,3,4],ymm0[5,6,7],ymm5[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vpblendd $51, (%rsp), %ymm12, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1],ymm12[2,3],mem[4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1],xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = ymm8[0,1,2],mem[3],ymm8[4,5],mem[6],ymm8[7]
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm4, %ymm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29>
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,3,3,3,0,3,7,7]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm12[2],ymm8[3,4],ymm12[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm11, %ymm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm1[2,3],mem[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-FAST-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1,2],ymm15[3],mem[4,5],ymm15[6],mem[7]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1],ymm10[2,3],ymm6[4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm0 = [0,4,7,0,0,4,7,0]
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27>
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm9 = [2,6,1,5,2,6,1,5]
+; AVX2-FAST-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm9, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1,2,3,4],ymm2[5,6,7],ymm1[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0,1,2],mem[3],ymm1[4,5],mem[6],ymm1[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
+; AVX2-FAST-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm14[0],mem[1],ymm14[2,3],mem[4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <1,4,0,3,7,u,u,u>
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm13, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm2[2,3],mem[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm9, %ymm2
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7],ymm2[8,9,10,11,12],ymm3[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0],ymm3[1],mem[2,3],ymm3[4],mem[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm4[0,1,2],mem[3],ymm4[4,5],mem[6],ymm4[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm13, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = ymm1[0,1],mem[2,3],ymm1[4,5],mem[6,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm9, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7],ymm3[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm1[0,1,2],mem[3],ymm1[4,5],mem[6],ymm1[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[0],ymm1[1],mem[2,3],ymm1[4],mem[5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm13, %ymm5
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0],ymm3[1,2,3,4,5,6,7],ymm4[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1],ymm12[2,3],ymm8[4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm9, %ymm4
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5,6,7],ymm4[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = mem[0,1,2],ymm4[3],mem[4,5],ymm4[6],mem[7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; AVX2-FAST-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm13, %ymm1
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 96(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 64(%rax)
+; AVX2-FAST-NEXT: addq $1544, %rsp # imm = 0x608
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i16_stride7_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1528, %rsp # imm = 0x5F8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 512(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 544(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,14,15,12,13,14,15,2,3,6,7,12,13,2,3,16,17,30,31,28,29,30,31,18,19,22,23,28,29,18,19]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,14,15,12,13,10,11,8,9,8,9,8,9,8,9]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm0, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm4, %ymm3, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm11[2],ymm9[3,4,5],ymm11[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1],ymm8[2],ymm15[3,4,5],ymm8[6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0],ymm7[1],ymm10[2,3,4],ymm7[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm13, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 704(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 672(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1],ymm4[2],ymm12[3,4,5],ymm4[6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 736(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 768(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0],ymm14[1],ymm4[2,3,4],ymm14[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm0[2],ymm5[3,4],ymm0[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6,7,8,9,10],ymm2[11],ymm1[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2],ymm11[3],ymm9[4,5],ymm11[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3,4,5],xmm2[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = [2,3,2,3,2,3,2,3,8,9,8,9,6,7,4,5,18,19,18,19,18,19,18,19,24,25,24,25,22,23,20,21]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [2,3,0,1,14,15,12,13,10,11,10,11,10,11,10,11]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm3, %ymm4, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1],ymm7[2],ymm6[3,4],ymm7[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, (%rsp), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = ymm15[0,1,2],mem[3],ymm15[4,5],mem[6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm4, %ymm3, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1],ymm14[2],ymm8[3,4],ymm14[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1,2],ymm13[3],ymm12[4,5],ymm13[6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm4, %ymm3, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm11[2],ymm5[3,4],ymm11[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3],ymm3[4,5,6,7,8,9,10],ymm4[11],ymm3[12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2],ymm7[3],ymm8[4,5],ymm7[6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3,4,5],xmm3[6],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm1, %ymm2, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm11[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1],ymm11[2,3],ymm5[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm1[4],ymm2[5,6,7,8,9,10,11],ymm1[12],ymm2[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0],ymm8[1],ymm7[2,3],ymm8[4],ymm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0],xmm3[1],xmm1[2,3,4,5],xmm3[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = [4,5,4,5,4,5,4,5,8,9,10,11,8,9,6,7,20,21,20,21,20,21,20,21,24,25,26,27,24,25,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm2, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [4,5,2,3,0,1,14,15,12,13,12,13,12,13,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm3, %ymm4, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0],ymm15[1],ymm0[2,3],ymm15[4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1],ymm11[2,3],ymm8[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm5 = ymm11[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6,7,8,9,10,11],ymm5[12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0],ymm12[1],ymm13[2,3],ymm12[4],ymm13[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1],ymm14[2,3],ymm9[4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm5 = ymm14[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4],ymm4[5,6,7,8,9,10,11],ymm5[12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0],ymm10[1],ymm9[2,3],ymm10[4],ymm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3,4,5],xmm4[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm5[2,3],ymm7[4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm5[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4],ymm3[5,6,7,8,9,10,11],ymm4[12],ymm3[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3,4],mem[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0,1,2],mem[3],ymm1[4,5],mem[6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm1[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = [6,7,6,7,6,7,6,7,8,9,4,5,10,11,0,1,22,23,22,23,22,23,22,23,24,25,20,21,26,27,16,17]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm2, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [6,7,4,5,2,3,0,1,14,15,14,15,14,15,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm3, %ymm4, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0],ymm15[1],ymm0[2,3,4],ymm15[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2],ymm11[3],ymm8[4,5],ymm11[6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm3, %ymm4, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0],ymm10[1],ymm9[2,3,4],ymm10[5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2],ymm5[3],ymm7[4,5],ymm5[6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm3, %ymm4, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0],ymm12[1],ymm13[2,3,4],ymm12[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm6[0,1,2],mem[3],ymm6[4,5],mem[6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm3[1,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm2, %ymm1, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm9[3],ymm10[4,5],ymm9[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,4,5,6,7,8,9,10,11,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm12 = ymm1[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm12, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 576(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm8[3],ymm0[4,5],ymm8[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 640(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm15[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm6[3],ymm7[4,5],ymm6[6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm1, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 800(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 832(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm3[3],ymm5[4,5],ymm3[6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm11, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 864(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm11 = ymm0[0,1,0,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm14, %ymm11, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $31, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1],ymm3[2],ymm8[3,4,5],ymm3[6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm14[4],xmm4[5],xmm14[6],xmm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3,4,5,6,7],ymm4[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1],ymm7[2],ymm6[3,4,5],ymm7[6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1],ymm5[2],ymm13[3,4,5],ymm5[6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm11, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm10[2],ymm9[3,4,5],ymm10[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm2[4],xmm1[5],xmm2[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm12, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm10[3],ymm9[4,5],ymm10[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm6[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2],ymm3[3],ymm12[4,5],ymm3[6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm15[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm8[3],ymm13[4,5],ymm8[6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm3[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm7[3],ymm10[4,5],ymm7[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0],xmm0[1],xmm2[2,3,4,5],xmm0[6],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm7[0,1,1,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm9[1],ymm5[2,3],ymm9[4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm6[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0],ymm0[1,2,3,4,5,6,7],ymm4[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0],ymm12[1],ymm14[2,3],ymm12[4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm4[1],xmm0[2,3,4,5],xmm4[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm15[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm4, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm6[1],xmm0[2,3,4,5],xmm6[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm7, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0],ymm0[1,2,3,4,5,6,7],ymm5[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0],ymm13[1],ymm8[2,3],ymm13[4],ymm8[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm6[1],xmm0[2,3,4,5],xmm6[6],xmm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm3[0,1,1,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm1, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2,3,4,5,6,7],ymm2[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm9[0,1],mem[2],ymm9[3,4,5],mem[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7,8,9,10,11,12,13],ymm2[14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm8[2],ymm5[3,4],ymm8[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0],ymm12[1],ymm14[2,3,4],ymm12[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0],xmm3[1],xmm6[2],xmm3[3],xmm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4,5,6,7],ymm2[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm10[2],ymm2[3,4,5],ymm10[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm0, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7,8,9,10,11,12,13],ymm2[14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm14[0,1],mem[2],ymm14[3,4],mem[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0],ymm11[1],ymm15[2,3,4],ymm11[5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm13, %ymm7, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm13, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0],ymm3[1,2,3,4,5,6,7],ymm2[8],ymm3[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4,5],mem[6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7,8,9,10,11,12,13],ymm2[14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1],ymm7[2],ymm11[3,4],ymm7[5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm13[0],mem[1],ymm13[2,3,4],mem[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm2[0],ymm1[1,2,3,4,5,6,7],ymm2[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $221, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0],ymm1[1],mem[2,3,4],ymm1[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2],xmm1[3],xmm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm15[0,1],mem[2],ymm15[3,4,5],mem[6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm12, %ymm2, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6],ymm0[7,8,9,10,11,12,13],ymm2[14],ymm0[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm4[0,1],mem[2],ymm4[3,4],mem[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm1[1,2,3,4,5,6,7],ymm0[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = ymm9[0,1,2],mem[3],ymm9[4,5],mem[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6],ymm1[7,8],ymm0[9,10,11,12,13,14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1],ymm8[2,3],ymm5[4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = ymm0[0,1],mem[2],ymm0[3,4],mem[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm0[2],xmm1[3],xmm0[4],xmm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 656(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 640(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm3[0,1,2,3,4,5],xmm1[6],xmm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,2,3,4,5,6,7,0,1,0,1,14,15,12,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm9[5,6,7],ymm6[8,9,10,11,12],ymm9[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm5[0],ymm6[1,2,3,4,5,6,7],ymm5[8],ymm6[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1,2],ymm10[3],mem[4,5],ymm10[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3,4,5,6],ymm6[7,8],ymm5[9,10,11,12,13,14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = ymm14[0,1],mem[2,3],ymm14[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1],xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm5, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm10[0,1],mem[2],ymm10[3,4],mem[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm9[0,1],xmm5[2],xmm9[3],xmm5[4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 432(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm14 = xmm5[0,1,2,3,4,5],xmm8[6],xmm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm14[5,6,7],ymm9[8,9,10,11,12],ymm14[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm6[0],ymm9[1,2,3,4,5,6,7],ymm6[8],ymm9[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = ymm8[0,1,2],mem[3],ymm8[4,5],mem[6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm9 = ymm6[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0],ymm6[1,2,3,4,5,6],ymm9[7,8],ymm6[9,10,11,12,13,14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1],ymm7[2,3],ymm11[4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm14[0],xmm9[1],xmm14[1],xmm9[2],xmm14[2],xmm9[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm2, %ymm6, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1],ymm6[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm13[0,1],ymm11[2],ymm13[3,4],ymm11[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm9 = xmm14[0,1],xmm9[2],xmm14[3],xmm9[4],xmm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 880(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 864(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm14 = xmm12[0,1,2,3,4,5],xmm7[6],xmm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm14[5,6,7],ymm9[8,9,10,11,12],ymm14[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm6[0],ymm9[1,2,3,4,5,6,7],ymm6[8],ymm9[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0,1],ymm13[2],ymm12[3,4],ymm13[5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm9[0,1],xmm6[2],xmm9[3],xmm6[4],xmm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3,4,5],xmm6[6],xmm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm4[0,1],mem[2,3],ymm4[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0,1,2],ymm14[3],ymm15[4,5],ymm14[6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm6 = ymm2[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm6[0],ymm2[1,2,3,4,5,6],ymm6[7,8],ymm2[9,10,11,12,13,14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6,7],ymm1[8],ymm0[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0],ymm0[1],mem[2,3],ymm0[4],mem[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4,5,6,7,8],ymm1[9],ymm0[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1,2],ymm1[3],mem[4,5],ymm1[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0,1],mem[2,3],ymm1[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4],xmm1[5],xmm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = mem[0],xmm2[1],mem[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,2,3,4,5,6,7,0,1,2,3,0,1,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm4[5,6,7],ymm1[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm1[1,2,3,4,5,6,7],ymm0[8],ymm1[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3],mem[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm4[1],ymm1[2,3,4,5,6,7,8],ymm4[9],ymm1[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, (%rsp), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0,1,2],ymm4[3],mem[4,5],ymm4[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = ymm10[0,1],mem[2,3],ymm10[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1,2],xmm4[3],xmm6[4],xmm4[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[0],xmm5[1],mem[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7],ymm4[8,9,10,11,12],ymm5[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm1[0],ymm4[1,2,3,4,5,6,7],ymm1[8],ymm4[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0],ymm8[1],mem[2,3],ymm8[4],mem[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4,5,6,7,8],ymm5[9],ymm4[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm3[0,1,2],mem[3],ymm3[4,5],mem[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm5[4],xmm6[4],xmm5[5],xmm6[5],xmm5[6],xmm6[6],xmm5[7],xmm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1],ymm11[2,3],mem[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm6 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm6 = xmm3[0],mem[1],xmm3[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0],ymm5[1,2,3,4,5,6,7],ymm4[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm12[0,1],ymm13[2,3],ymm12[4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3],xmm6[4],xmm5[5],xmm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw $253, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = mem[0],xmm5[1],mem[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7],ymm3[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd $18, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = ymm14[0],mem[1],ymm14[2,3],mem[4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3,4,5,6,7,8],ymm5[9],ymm3[10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm15, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd $183, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1,2],ymm5[3],mem[4,5],ymm5[6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm5[4],xmm6[4],xmm5[5],xmm6[5],xmm5[6],xmm6[6],xmm5[7],xmm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $1528, %rsp # imm = 0x5F8
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i16_stride7_vf64:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: subq $1800, %rsp # imm = 0x708
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2],ymm2[3,4,5],ymm1[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm21
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm0, %ymm1, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 512(%rdi), %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 544(%rdi), %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0],ymm8[1],ymm9[2,3,4],ymm8[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm1[0,2,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [128,128,128,128,128,128,128,128,128,128,6,7,12,13,2,3,16,17,30,31,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm3, %ymm2, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 700(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 672(%rdi), %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm4, %xmm19
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm2, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm4[2],ymm3[3,4,5],ymm4[6],ymm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm3, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5],xmm3[6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 160(%rdi), %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm17
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm30 = ymm17[0,1,0,2]
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 252(%rdi), %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm6, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm5, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3],ymm2[4,5,6,7,8,9,10],ymm0[11],ymm2[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [128,128,128,128,128,128,128,128,128,128,8,9,6,7,4,5,18,19,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1,2],ymm4[3],ymm10[4,5],ymm4[6],ymm10[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm7, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm4[1],xmm5[2,3,4,5],xmm4[6],xmm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = <2,3,0,1,14,15,12,13,10,11,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm4, %ymm5, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm0, %ymm5, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm11[2],ymm12[3,4,5],ymm11[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm11, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm5[4],xmm0[5],xmm5[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm30[0,1,1,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 240(%rdi), %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm13[0],xmm3[1],xmm13[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,0,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 528(%rdi), %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1],ymm8[2],ymm9[3,4],ymm8[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm8, %ymm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm9, %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3],ymm7[4,5,6,7,8,9,10],ymm6[11],ymm7[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm6, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm18, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3,4,5],xmm6[6],xmm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm4, %ymm6, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm2, %ymm4, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 576(%rdi), %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm0[2],ymm11[3,4,5],ymm0[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm0, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm11, %ymm21
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6],xmm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 640(%rdi), %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm31 = ymm18[0,1,0,2]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm31[0,1,1,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 688(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm19, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm1[0],xmm0[1],xmm1[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm1, %xmm19
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[1,0,3,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm2, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1],ymm15[2,3],ymm14[4,5],ymm15[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4],ymm2[5,6,7,8,9,10,11],ymm4[12],ymm2[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm16, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0],ymm10[1],ymm1[2,3],ymm10[4],ymm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm5[1],xmm4[2,3,4,5],xmm5[6],xmm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = [128,128,128,128,128,128,128,128,128,128,10,11,8,9,6,7,20,21,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = <4,5,2,3,0,1,14,15,12,13,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm4, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm6, %ymm4, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1,2],ymm4[3],ymm12[4,5],ymm4[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm12, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm4[1],xmm6[2,3,4,5],xmm4[6],xmm6[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm17[0,1,1,2]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm13, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm3, %xmm23
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm25, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %ymm24, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1],ymm12[2,3],ymm13[4,5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4],ymm6[5,6,7,8,9,10,11],ymm7[12],ymm6[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm5, %ymm6, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0],ymm9[1],ymm8[2,3],ymm9[4],ymm8[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm9, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm8, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3,4,5],xmm7[6],xmm6[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm6, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm5, %ymm2, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2],ymm5[3],ymm8[4,5],ymm5[6],ymm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0],xmm2[1],xmm5[2,3,4,5],xmm2[6],xmm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm18[0,1,1,2]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[0,1,0,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm19, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm0, %xmm27
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm2, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0],ymm10[1],ymm1[2,3,4],ymm10[5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm4[0],xmm2[1],xmm4[2],xmm2[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2],ymm15[3],ymm14[4,5],ymm15[6],ymm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[1,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [128,128,128,128,128,128,128,128,128,128,4,5,10,11,0,1,22,23,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm4, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = <6,7,4,5,2,3,0,1,14,15,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm4, %ymm5, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm6, %ymm5, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0],ymm3[1],ymm9[2,3,4],ymm3[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2],xmm5[3],xmm6[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm4, %ymm5, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2],ymm12[3],ymm13[4,5],ymm12[6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm5[1,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm5, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm2, %ymm4, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0],ymm9[1],ymm13[2,3,4],ymm9[5],ymm13[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2],xmm2[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm17 = ymm17[0,1,1,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm17[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 232(%rdi), %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm11, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpsrlq $48, %xmm11, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm2, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0],ymm8[1],ymm11[2,3,4],ymm8[5],ymm11[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2],xmm2[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm16 = ymm18[0,1,1,3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm16[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastw 680(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm19, %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpsrlq $48, %xmm19, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm26
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1],ymm9[2],ymm13[3,4],ymm9[5],ymm13[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2],xmm2[3],xmm1[4],xmm2[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm4[0,1,2,3,4,5],xmm1[6],xmm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,4,7,6]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7],ymm5[8,9,10,11,12],ymm6[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm23, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpsrld $16, %xmm23, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm6[4],xmm3[4],xmm6[5],xmm3[5],xmm6[6],xmm3[6],xmm6[7],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm5, %zmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1],ymm8[2],ymm11[3,4],ymm8[5],ymm11[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2],xmm6[3],xmm5[4],xmm6[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 656(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 640(%rdi), %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm5[0,1,2,3,4,5],xmm2[6],xmm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,4,7,6]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7],ymm6[8,9,10,11,12],ymm7[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm27, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpsrld $16, %xmm27, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm7[4],xmm10[4],xmm7[5],xmm10[5],xmm7[6],xmm10[6],xmm7[7],xmm10[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1],ymm9[2,3],ymm13[4,5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3],xmm7[4],xmm6[5],xmm7[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm1[0],xmm4[1],xmm1[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5,6,7],ymm6[8,9,10,11,12],ymm4[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm4, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2],ymm12[3],ymm11[4,5],ymm12[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm31[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1],ymm12[2,3],ymm11[4,5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3],xmm3[4],xmm0[5],xmm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm5[1],xmm2[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm8[4],xmm10[4],xmm8[5],xmm10[5],xmm8[6],xmm10[6],xmm8[7],xmm10[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 704(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 736(%rdi), %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1],ymm1[2,3],ymm11[4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 800(%rdi), %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 768(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7,8,9,10,11,12,13],ymm2[14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,14,15,12,13,10,11,4,5,6,7,8,9,2,3,16,17,30,31,28,29,26,27,20,21,22,23,24,25,18,19]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 832(%rdi), %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 864(%rdi), %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1],ymm13[2],ymm12[3,4],ymm13[5],ymm12[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,1,3,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2],ymm9[3],ymm15[4,5],ymm9[6],ymm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm9, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm15, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm30[0,1,2,1,4,5,6,5]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm0 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 288(%rdi), %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2,3],ymm2[4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 352(%rdi), %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2],ymm5[3],ymm14[4,5],ymm5[6],ymm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm5, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6],ymm1[7,8,9,10,11,12,13],ymm4[14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 416(%rdi), %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm9[3],ymm2[4,5],ymm9[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm2, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4],xmm1[5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0],ymm14[1],ymm6[2,3],ymm14[4],ymm6[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm6, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm1[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0],ymm1[1,2,3,4,5,6],ymm8[7,8],ymm1[9,10,11,12,13,14],ymm8[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = [2,3,0,1,14,15,12,13,4,5,4,5,4,5,4,5,18,19,16,17,30,31,28,29,20,21,20,21,20,21,20,21]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm3, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm1, %xmm30
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm30[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm15 = xmm15[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2],ymm4[3],ymm11[4,5],ymm4[6],ymm11[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4],xmm1[5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm18, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0],ymm3[1],ymm15[2,3],ymm3[4],ymm15[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm1[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0],ymm1[1,2,3,4,5,6],ymm8[7,8],ymm1[9,10,11,12,13,14],ymm8[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1],ymm13[2,3],ymm12[4,5],ymm13[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,1,0,2,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0],ymm14[1],ymm10[2,3,4],ymm14[5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm14, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <4,5,u,u,0,1,14,15,8,9,10,11,4,5,6,7,20,21,u,u,16,17,30,31,24,25,26,27,20,21,22,23>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1],ymm8[2,3,4,5,6,7,8],ymm0[9],ymm8[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1],ymm5[2],ymm2[3,4,5],ymm5[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm9[4],xmm8[5],xmm9[6],xmm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <0,1,2,3,0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm18 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $242, %ymm0, %ymm18, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm6[3],ymm7[4,5],ymm6[6],ymm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm0, %xmm30
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm30[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm14[4],xmm0[5],xmm14[5],xmm0[6],xmm14[6],xmm0[7],xmm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm15, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm3[1],ymm15[2,3,4],ymm3[5],ymm15[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3,4,5,6,7,8],ymm0[9],ymm1[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm11[2],ymm4[3,4,5],ymm11[6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm8[4],xmm1[5],xmm8[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $242, %ymm0, %ymm18, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2],ymm13[3],ymm12[4,5],ymm13[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,5,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[0,1,2,0,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # xmm1 = mem[0,1,2,3,6,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm19
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm5, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm5[3],ymm2[4,5],ymm5[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1],ymm7[2],ymm6[3,4,5],ymm7[6],ymm6[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm7, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm6, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm8[4],xmm1[5],xmm8[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm10, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1],ymm2[2],ymm10[3,4],ymm2[5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm8[1,1,2,0]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,22,23,28,29,18,19,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm0, %ymm8, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,5,4]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm8[0,1,2],ymm1[3,4,5,6,7],ymm8[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[0,2,1,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm16[0,1,2,0,4,5,6,4]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # xmm1 = mem[0,1,2,3,6,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm17
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2],ymm11[3],ymm4[4,5],ymm11[6],ymm4[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm11, %ymm28
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1],ymm3[2],ymm14[3,4],ymm3[5],ymm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm14, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm21
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[1,1,2,0]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1],ymm12[2],ymm13[3,4,5],ymm12[6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm13, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3],xmm9[4],xmm8[5],xmm9[6],xmm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,0,0,0,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,7,6,5,4]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm8[3,4,5,6,7],ymm1[8,9,10],ymm8[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm16 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm0[2],ymm12[3,4,5],ymm0[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <8,9,8,9,8,9,8,9,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm0, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm0[6],ymm8[7,8,9,10,11,12,13],ymm0[14],ymm8[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1],ymm10[2],ymm1[3,4],ymm10[5],ymm1[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm1, %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0],xmm0[1],xmm9[2,3,4,5],xmm0[6],xmm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm7, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm7[0,1],ymm2[2,3],ymm7[4,5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm7[0,1,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1,2],ymm14[3],ymm9[4,5,6,7,8,9,10],ymm14[11],ymm9[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm18, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0],ymm1[1],ymm15[2,3],ymm1[4],ymm15[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm15, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = [2,3,2,3,2,3,2,3,0,1,14,15,12,13,10,11]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,10,11,24,25,22,23,20,21,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm9, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3,4,5,6,7],ymm9[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm9, %ymm14, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1],ymm11[2],ymm7[3,4,5],ymm11[6],ymm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm2, %ymm0, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6],ymm9[7,8,9,10,11,12,13],ymm0[14],ymm9[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: # ymm9 = ymm9[0,1],mem[2],ymm9[3,4],mem[5],ymm9[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm14[0],xmm9[1],xmm14[1],xmm9[2],xmm14[2],xmm9[3],xmm14[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm30 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm30, %zmm26
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0],xmm0[1],xmm14[2,3,4,5],xmm0[6],xmm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm8[0,1],ymm2[2,3],ymm8[4,5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm15 = ymm22[0,1,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm14[0,1,2],ymm15[3],ymm14[4,5,6,7,8,9,10],ymm15[11],ymm14[12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm1, %ymm14, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm9[0],ymm3[1],ymm9[2,3],ymm3[4],ymm9[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm22
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm1, %ymm14, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm0[3],ymm13[4,5],ymm0[6],ymm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm13, %ymm31
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4],ymm0[5,6,7,8,9,10,11],ymm1[12],ymm0[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm6, %ymm21
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm14[1],xmm1[2,3,4,5],xmm14[6],xmm1[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm18, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2],xmm14[3],xmm15[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,12,13,26,27,24,25,22,23,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,5,4,5,4,5,4,5,2,3,0,1,14,15,12,13]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm0, %ymm14, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2],ymm5[3],ymm12[4,5],ymm5[6],ymm12[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm12, %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm0[1,2,3,4,5,6],ymm1[7,8],ymm0[9,10,11,12,13,14],ymm1[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm10[2,3],ymm9[4,5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm10, %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm14
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm14 = xmm14[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1],xmm1[2],xmm14[2],xmm1[3],xmm14[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm14 = [10,11,10,11,10,11,10,11,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm14, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm2[3],ymm8[4,5],ymm2[6],ymm8[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm8, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm2, %ymm28
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm13[4],ymm0[5,6,7,8,9,10,11],ymm13[12],ymm0[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm4[0],ymm8[1],ymm4[2,3],ymm8[4],ymm4[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm4, %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0],xmm15[1],xmm13[2,3,4,5],xmm15[6],xmm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[4,5,4,5,4,5,4,5,2,3,0,1,14,15,12,13]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm22, %ymm10
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm10[0],ymm3[1],ymm10[2,3,4],ymm3[5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm3, %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm12
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm15[1],xmm12[2],xmm15[3],xmm12[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm0[0,1,2],ymm13[3,4,5,6,7],ymm0[8,9,10],ymm13[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %ymm0, %ymm12, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2],ymm11[3],ymm7[4,5],ymm11[6],ymm7[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm12[0],ymm0[1,2,3,4,5,6],ymm12[7,8],ymm0[9,10,11,12,13,14],ymm12[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm14, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1],ymm14[2,3],ymm15[4,5],ymm14[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm22 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm30, %zmm22
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm18, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm0[1],ymm5[2,3],ymm0[4],ymm5[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm0[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm12[1],ymm0[2,3,4,5,6,7,8],ymm12[9],ymm0[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm9[0,1,2],ymm2[3],ymm9[4,5],ymm2[6],ymm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm12 = xmm12[4],xmm13[4],xmm12[5],xmm13[5],xmm12[6],xmm13[6],xmm12[7],xmm13[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = [12,13,12,13,12,13,12,13,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm0[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm21, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm25, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0],ymm3[1],ymm2[2,3,4],ymm3[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2],xmm3[3],xmm4[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1],ymm6[2],ymm2[3,4],ymm6[5],ymm2[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm31, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm5[2],ymm2[3,4,5],ymm5[6],ymm2[7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,3,1]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = [4,5,10,11,0,1,10,11,0,1,4,5,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0],ymm4[1,2],ymm2[3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,12,13,6,7,4,5,2,3,0,1,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3,4,5,6,7],ymm2[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0],ymm7[1],ymm11[2,3],ymm7[4],ymm11[5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm6[1],ymm3[2,3,4,5,6,7,8],ymm6[9],ymm3[10,11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm6 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm7 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm12 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm13 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2],ymm14[3],ymm15[4,5],ymm14[6],ymm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm15[0,1,2,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufhw {{.*#+}} xmm15 = xmm15[0,1,2,3,5,7,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm14 = xmm14[4],xmm15[4],xmm14[5],xmm15[5],xmm14[6],xmm15[6],xmm14[7],xmm15[7]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1],ymm3[2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm24 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm30, %zmm24
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm20, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm8[1],ymm3[2,3,4],ymm8[5],ymm3[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} xmm3 = xmm11[0],xmm3[1],xmm11[2],xmm3[3],xmm11[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm29, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1],ymm4[2],ymm10[3,4],ymm4[5],ymm10[6,7]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm11
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,0,2,3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm11[0],xmm4[1],xmm11[1],xmm4[2],xmm11[2],xmm4[3],xmm11[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm27, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm28, %ymm9
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm9[0,1],ymm8[2],ymm9[3,4,5],ymm8[6],ymm9[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm11 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm11, %zmm14 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm15 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm11, %zmm15 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm11, %zmm9 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm11 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm9, %zmm11, %zmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm16 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm16, %zmm9 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm9, %zmm11, %zmm7
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm14, %zmm11, %zmm12
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm15, %zmm11, %zmm13
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,1,3,1]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %ymm5, %ymm10, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0],ymm4[1,2],ymm5[3,4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3,4,5,6,7],ymm4[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm4 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm10 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm11 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm14 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm15 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, (%rsp), %zmm0, %zmm21 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm23 # 32-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm9 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm4, %zmm9 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm4 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm5, %zmm4 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm19 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm10, %zmm19 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm17 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm11, %zmm17 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm14, %zmm5 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm13, 64(%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm12, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm4, 64(%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm9, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm17, 64(%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm5, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm15, %zmm26 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm1 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm21, %zmm1 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm26, 64(%r9)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm30, %zmm0 # 64-byte Folded Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm22, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm23, %zmm1 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm2, %zmm0 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm24, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm3, %zmm0 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-ONLY-SLOW-NEXT: addq $1800, %rsp # imm = 0x708
+; AVX512F-ONLY-SLOW-NEXT: vzeroupper
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i16_stride7_vf64:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: subq $1864, %rsp # imm = 0x748
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 512(%rdi), %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,5,9,u,12,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm4, %zmm16, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [8,1,12,5,12,5,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm4, %zmm3, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm4, %zmm26
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm0, %zmm3, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm0, %zmm17
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 672(%rdi), %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,4,5,6,7,0,1,14,15,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm5, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm5, %xmm18
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 700(%rdi), %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm31 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 480(%rdi), %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 448(%rdi), %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm5[2],ymm7[3,4,5],ymm5[6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm7, %ymm19
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm5, %ymm28
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm3[0,1,2,3],xmm5[4],xmm3[5],xmm5[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [128,128,128,128,128,128,128,128,128,128,6,7,12,13,2,3,16,17,30,31,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm6, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm6, %ymm7, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 192(%rdi), %ymm23
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm8 = ymm23[0,1,0,2]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm15, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 252(%rdi), %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %ymm12
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1],ymm6[2],ymm12[3,4,5],ymm6[6],ymm12[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm5[4],xmm4[5],xmm5[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm2, %ymm3, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 240(%rdi), %xmm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [128,128,128,128,128,128,128,128,128,128,0,1,6,7,8,9,18,19,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2],ymm6[3],ymm12[4,5],ymm6[6],ymm12[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm6, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3,4,5],xmm1[6],xmm3[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,3,0,1,14,15,12,13,10,11,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm2, %ymm3, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1],ymm3[2],ymm11[3,4,5],ymm3[6],ymm11[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm5[0,1,2,3],xmm6[4],xmm5[5],xmm6[6],xmm5[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm8, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm13[0],xmm15[1],xmm13[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [2,3,0,1,14,15,14,15,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm9, %zmm8, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm28, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm19, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2],ymm0[3],ymm2[4,5],ymm0[6],ymm2[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2,3,4,5],xmm8[6],xmm9[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm8, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm17, %zmm24
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm17, %zmm16, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1],ymm0[2],ymm1[3,4,5],ymm0[6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3],xmm8[4],xmm4[5],xmm8[6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 640(%rdi), %ymm22
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm5, %xmm4, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm22[0,1,0,2]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm17
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 688(%rdi), %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm2[0],xmm10[1],xmm2[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,6,9,u,13,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0],ymm12[1],ymm14[2,3],ymm12[4],ymm14[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3,4,5],xmm7[6],xmm6[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm26, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm16, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [128,128,128,128,128,128,128,128,128,128,2,3,4,5,10,11,16,17,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <4,5,2,3,0,1,14,15,12,13,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm6, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm6, %ymm8, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2],ymm3[3],ymm11[4,5],ymm3[6],ymm11[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm30
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm11, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm8[0],xmm6[1],xmm8[2,3,4,5],xmm6[6],xmm8[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} ymm12 = [21474836482,21474836482,21474836482,21474836482]
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm23, %ymm12, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm6[0,1,2,3,4,5,6],ymm14[7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm15[0],xmm13[0],xmm15[1],xmm13[1],xmm15[2],xmm13[2],xmm15[3],xmm13[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm13, %xmm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm14, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm28, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %ymm28, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm19, %ymm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %ymm19, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm13[0],ymm11[1],ymm13[2,3],ymm11[4],ymm13[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm14, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm24, %zmm16, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm24, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm5, %ymm9, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm20, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm21, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1,2],ymm3[3],ymm14[4,5],ymm3[6],ymm14[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm7[0],xmm5[1],xmm7[2,3,4,5],xmm5[6],xmm7[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm22, %ymm12, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm10[0],xmm2[0],xmm10[1],xmm2[1],xmm10[2],xmm2[2],xmm10[3],xmm2[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm2, %xmm19
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm7, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm5, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm8[0],xmm5[1],xmm8[2],xmm5[3],xmm8[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [10,3,6,15,12,13,6,15]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm16, %zmm9
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = [128,128,128,128,128,128,128,128,128,128,4,5,10,11,0,1,22,23,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm8, %ymm9, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <6,7,4,5,2,3,0,1,14,15,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm5, %ymm9, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm30, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0],xmm9[1],xmm5[2,3,4,5],xmm9[6],xmm5[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm23[0,1,1,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm5, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm15[0,1,2,3,4,5,6],ymm10[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [12,13,10,11,12,13,10,11,12,13,10,11,12,13,10,11]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm10, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0],ymm11[1],ymm13[2,3,4],ymm11[5],ymm13[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm6, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0],xmm6[1],xmm10[2],xmm6[3],xmm10[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm6, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm24, %zmm16, %zmm10
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm8, %ymm10, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm6, %ymm8, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm21, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0],ymm14[1],ymm13[2,3],ymm14[4],ymm13[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm8[1],xmm6[2,3,4,5],xmm8[6],xmm6[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm22[0,1,1,3]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm12, %ymm6, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm7, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm7, %zmm8, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 232(%rdi), %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, %xmm10
+; AVX512F-ONLY-FAST-NEXT: vpsrlq $48, %xmm18, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1],xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm3, %zmm27
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm17, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 576(%rdi), %zmm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm24 = [3,6,10,13,3,6,10,13]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm24, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm31, %zmm4, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0],ymm14[1],ymm13[2,3,4],ymm14[5],ymm13[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm6, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastw 680(%rdi), %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm19, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpsrlq $48, %xmm19, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,3,3,3,0,3,7,7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm23, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,6,7,4,5,6,7,8,9,0,1,6,7,8,9,16,17,22,23,20,21,22,23,24,25,16,17,22,23,24,25]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [2,5,9,12,2,5,9,12]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm2, %zmm13, %zmm9
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,0,1,6,7,8,9,14,15,14,15,14,15,14,15,16,17,16,17,22,23,24,25,30,31,30,31,30,31,30,31]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm9, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5,6,7],ymm9[8,9,10,11,12],ymm6[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpsrld $16, %xmm7, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm18, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm9, %zmm6, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm22, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm13, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpsrld $16, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm12[4],xmm1[5],xmm12[5],xmm1[6],xmm12[6],xmm1[7],xmm12[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm19, %xmm26
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vbroadcasti32x4 {{.*#+}} ymm17 = [0,4,7,0,0,4,7,0]
+; AVX512F-ONLY-FAST-NEXT: # ymm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm23, %ymm17, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = [2,6,9,13,2,6,9,13]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm2, %zmm18, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [4,5,2,3,4,5,10,11,12,13,12,13,12,13,12,13,20,21,18,19,20,21,26,27,28,29,28,29,28,29,28,29]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5,6,7],ymm4[8,9,10,11,12],ymm0[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm7[4],xmm5[4],xmm7[5],xmm5[5],xmm7[6],xmm5[6],xmm7[7],xmm5[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} xmm19 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 704(%rdi), %ymm14
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 736(%rdi), %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1],ymm14[2,3],ymm12[4,5],ymm14[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2],xmm0[3],xmm4[4],xmm0[5],xmm4[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,10,11,8,9,6,7,4,5,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 768(%rdi), %zmm16
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <0,u,u,u,4,7,11,14>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm7, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,6,7,8,9,14,15,8,9,14,15,4,5,2,3,16,17,22,23,24,25,30,31,24,25,30,31,20,21,18,19]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2],xmm0[3,4,5,6],xmm4[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 832(%rdi), %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm1, %zmm13, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm2, %zmm24, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm0 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 288(%rdi), %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm10[2,3],ymm9[4,5],ymm10[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3],xmm15[4],xmm0[5],xmm15[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 320(%rdi), %zmm21
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm7, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm6, %ymm7, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2],xmm0[3,4,5,6],xmm6[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 384(%rdi), %zmm6
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm6, %zmm13, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm7, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2],ymm10[3],ymm9[4,5],ymm10[6],ymm9[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2,3],xmm0[4],xmm7[5],xmm0[6],xmm7[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <1,u,u,u,4,8,11,15>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm13, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [2,3,4,5,10,11,12,13,0,1,0,1,0,1,0,1,18,19,20,21,26,27,28,29,16,17,16,17,16,17,16,17]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm15, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3,4,5,6],xmm15[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm15[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm6, %zmm18, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm15, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2],ymm14[3],ymm12[4,5],ymm14[6],ymm12[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2,3],xmm0[4],xmm15[5],xmm0[6],xmm15[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm13, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2],xmm0[3,4,5,6],xmm7[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm1, %zmm18, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm7, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1],ymm9[2],ymm10[3,4,5],ymm9[6],ymm10[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4],xmm0[5],xmm2[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <0,1,2,3,0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <1,u,u,u,5,8,12,15>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm7, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,2,3,16,17,22,23,24,25,30,31,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm13, %ymm8, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm0, %ymm8, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm6, %zmm24, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm6, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1],ymm12[2],ymm14[3,4,5],ymm12[6],ymm14[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm6[4],xmm0[5],xmm6[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm7, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm2, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm1, %zmm24, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm22, %ymm17, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm18, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm26, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm19, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 416(%rdi), %ymm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 384(%rdi), %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1],ymm11[2],ymm7[3,4,5],ymm11[6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2],ymm9[3],ymm10[4,5],ymm9[6],ymm10[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3,4,5],xmm1[6],xmm2[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [0,1,0,1,0,1,0,1,14,15,12,13,10,11,8,9]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [2,11,2,11,12,5,8,9]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm13, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,22,23,28,29,18,19,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm8, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1,2],ymm0[3,4,5,6,7],ymm8[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm1, %ymm8, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 864(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 832(%rdi), %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1],ymm1[2],ymm8[3,4,5],ymm1[6],ymm8[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm1, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm13, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm14, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm12[3],ymm3[4,5],ymm12[6],ymm3[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm12, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm13[0],xmm2[1],xmm13[2,3,4,5],xmm2[6],xmm13[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm3[2],ymm4[3,4],ymm3[5],ymm4[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <0,3,7,10,14,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm26 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm18, %zmm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm13, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm13[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm19 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm1, %zmm19, %zmm27
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2],ymm11[3],ymm7[4,5],ymm11[6],ymm7[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0],xmm1[1],xmm14[2,3,4,5],xmm1[6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm9[0],ymm10[1],ymm9[2,3],ymm10[4],ymm9[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = [2,3,2,3,2,3,2,3,0,1,14,15,12,13,10,11]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <2,u,u,u,6,9,13,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm17, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,2,3,16,17,22,23,24,25,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm0, %ymm14, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm31
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1],ymm12[2],ymm15[3,4],ymm12[5],ymm15[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm25, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm18, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm0, %zmm19, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm28, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm6[3],ymm8[4,5],ymm6[6],ymm8[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm6, %ymm22
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm17, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm23, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0],ymm6[1],ymm5[2,3],ymm6[4],ymm5[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0],xmm14[1],xmm2[2,3,4,5],xmm14[6],xmm2[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm30
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm25, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = [10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm2, %xmm28
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <0,4,7,11,14,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm17, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm1, %ymm2, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm1, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm2[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0],ymm7[1],ymm11[2,3],ymm7[4],ymm11[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3,4,5],xmm1[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0],ymm10[1],ymm9[2,3,4],ymm10[5],ymm9[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0],xmm1[1],xmm14[2],xmm1[3],xmm14[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = [4,5,4,5,4,5,4,5,2,3,0,1,14,15,12,13]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <3,u,u,u,6,10,13,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm18, %zmm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,18,19,20,21,26,27,128,128,128,128,128,128,128,128,128,128]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm13, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm13[0,1,2],ymm0[3,4,5,6,7],ymm13[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm1, %ymm13, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm29
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1],ymm12[2,3],ymm15[4,5],ymm12[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm15, %ymm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm12, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %xmm28, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm13 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm17, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm22, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm8[1],ymm4[2,3],ymm8[4],ymm4[5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm15[1],xmm0[2,3,4,5],xmm15[6],xmm0[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm17 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm18, %zmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm2, %ymm14, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm6, %ymm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm15, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm15[1],xmm12[2],xmm15[3],xmm12[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm14[0,1,2],ymm0[3,4,5,6,7],ymm14[8,9,10],ymm0[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %ymm14, %ymm12, %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm0, %ymm22
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm3[3],ymm0[4,5],ymm3[6],ymm0[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm12, %xmm12
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm12[4],xmm0[5],xmm12[5],xmm0[6],xmm12[6],xmm0[7],xmm12[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <1,4,8,11,15,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm26, %zmm12, %zmm14
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm3, %ymm14, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm3, %ymm26
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm14[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0],ymm7[1],ymm11[2,3,4],ymm7[5],ymm11[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2],xmm6[3],xmm7[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = [8,9,8,9,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm7[0],xmm3[0],xmm7[1],xmm3[1],xmm7[2],xmm3[2],xmm7[3],xmm3[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,10,3,14,7,10,3]
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm21, %zmm7, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [4,5,10,11,0,1,10,11,0,1,4,5,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0],ymm3[1,2],ymm5[3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,12,13,6,7,4,5,2,3,0,1,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm3[0,1,2],ymm6[3,4,5,6,7],ymm3[8,9,10],ymm6[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm24, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm9[3],ymm3[4,5],ymm9[6],ymm3[7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm15, %xmm14, %xmm14
+; AVX512F-ONLY-FAST-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,6,4,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm14[4],xmm3[5],xmm14[5],xmm3[6],xmm14[6],xmm3[7],xmm14[7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm14 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm20, %zmm12, %zmm12
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm26, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm9, %ymm12, %ymm12
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm12[2,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm4[0],ymm8[1],ymm4[2,3,4],ymm8[5],ymm4[6,7]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2],xmm8[3],xmm9[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm5, %xmm8, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm18, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %ymm25, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1],ymm4[2],ymm8[3,4],ymm4[5],ymm8[6,7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm10, %xmm8, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpshuflw {{.*#+}} xmm8 = xmm8[0,3,1,3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm8 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vpermd %zmm16, %zmm7, %zmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb %ymm11, %ymm7, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm9 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm9, %zmm11 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm12 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm9, %zmm12 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm9, %zmm10 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm9 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm10, %zmm9, %zmm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm15 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm15, %zmm10 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm10, %zmm9, %zmm17
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm11, %zmm9, %zmm14
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm12, %zmm9, %zmm8
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0],ymm4[1,2],ymm7[3,4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0,1,2],ymm5[3,4,5,6,7],ymm4[8,9,10],ymm5[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm18 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm18 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm7 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, (%rsp), %zmm0, %zmm9 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm10 # 32-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm31, %zmm0, %zmm11
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm30, %zmm0, %zmm12
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm29, %zmm0, %zmm15
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm22, %zmm0, %zmm16
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm5, %zmm18 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm5 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm7, %zmm5 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm7 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm9, %zmm7 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm9 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm10, %zmm9 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm11, %zmm10 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm12, %zmm11 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm1 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm16, %zmm1 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm17, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm13, 64(%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm8, 64(%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm14, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm5, 64(%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm9, 64(%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm7, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm11, 64(%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm10, (%r9)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm1 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm15, %zmm1 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm3 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm3 {%k1}
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm3, 64(%rax)
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm19, %zmm0 # 64-byte Folded Reload
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm6, %zmm0 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-ONLY-FAST-NEXT: addq $1864, %rsp # imm = 0x748
+; AVX512F-ONLY-FAST-NEXT: vzeroupper
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i16_stride7_vf64:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: subq $1464, %rsp # imm = 0x5B8
+; AVX512DQ-SLOW-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2],ymm2[3,4,5],ymm1[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm28
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 512(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 544(%rdi), %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0],ymm3[1],ymm4[2,3,4],ymm3[5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm4, %ymm13
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm18
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm1[0,2,2,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [128,128,128,128,128,128,128,128,128,128,6,7,12,13,2,3,16,17,30,31,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm1, %ymm3, %ymm3
+; AVX512DQ-SLOW-NEXT: vpor %ymm3, %ymm2, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 700(%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 672(%rdi), %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm4, %xmm24
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa 96(%rdi), %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm1, %ymm2, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm8[2],ymm3[3,4,5],ymm8[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm4
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm3[4],xmm2[5],xmm3[6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512DQ-SLOW-NEXT: vpor %ymm1, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 128(%rdi), %ymm9
+; AVX512DQ-SLOW-NEXT: vmovdqa 160(%rdi), %ymm11
+; AVX512DQ-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm16
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm10 = ymm16[0,1,0,2]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 252(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa 224(%rdi), %xmm15
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm15[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm6, %ymm20
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm0[3],ymm1[4,5,6,7,8,9,10],ymm0[11],ymm1[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = [128,128,128,128,128,128,128,128,128,128,8,9,6,7,4,5,18,19,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm8[3],ymm4[4,5],ymm8[6],ymm4[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm23
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3,4,5],xmm1[6],xmm4[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <2,3,0,1,14,15,12,13,10,11,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX512DQ-SLOW-NEXT: vpor %ymm2, %ymm4, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1],ymm11[2],ymm9[3,4,5],ymm11[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm4[4],xmm2[5],xmm4[6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm10[0,1,1,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm2[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 240(%rdi), %xmm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm10[0],xmm15[1],xmm10[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[0,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[1,0,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 528(%rdi), %xmm6
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm13, %ymm12
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1],ymm13[2],ymm12[3,4],ymm13[5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3],ymm7[4,5,6,7,8,9,10],ymm6[11],ymm7[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm0, %ymm6, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2],ymm2[3],ymm14[4,5],ymm2[6],ymm14[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm14, %ymm27
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3,4,5],xmm6[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm1, %ymm6, %ymm1
+; AVX512DQ-SLOW-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 608(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm2[2],ymm1[3,4,5],ymm2[6],ymm1[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm2, %ymm26
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm21
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm0, %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 640(%rdi), %ymm22
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm30 = ymm22[0,1,0,2]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm30[0,1,1,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,5,6,8,9,10,11,12,13,13,14]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 688(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm24, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0],xmm2[1],xmm0[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[1,0,3,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm4, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm20, %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm20, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1],ymm5[2,3],ymm3[4,5],ymm5[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4],ymm4[5,6,7,8,9,10,11],ymm6[12],ymm4[13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm23, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0],ymm1[1],ymm8[2,3],ymm1[4],ymm8[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm8, %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3,4,5],xmm7[6],xmm6[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = [128,128,128,128,128,128,128,128,128,128,10,11,8,9,6,7,20,21,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm4, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = <4,5,2,3,0,1,14,15,12,13,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm6, %ymm6
+; AVX512DQ-SLOW-NEXT: vpor %ymm6, %ymm8, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2],ymm11[3],ymm9[4,5],ymm11[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm9, %ymm19
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm11, %ymm18
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm6[1],xmm8[2,3,4,5],xmm6[6],xmm8[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm9 = ymm16[0,1,1,2]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm10[0],xmm15[1],xmm10[1],xmm15[2],xmm10[2],xmm15[3],xmm10[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm10, %xmm17
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm15, %xmm20
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm9 = xmm9[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm8, %zmm31
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1],ymm13[2,3],ymm12[4,5],ymm13[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4],ymm8[5,6,7,8,9,10,11],ymm9[12],ymm8[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm8, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm10
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm27, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm11
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm28, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0],xmm9[1],xmm8[2,3,4,5],xmm9[6],xmm8[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm8, %ymm4
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm4, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm15
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2],ymm15[3],ymm0[4,5],ymm15[6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2,3,4,5],xmm4[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm22[0,1,1,2]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,0,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm25, %xmm9
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm9[0],xmm2[1],xmm9[1],xmm2[2],xmm9[2],xmm2[3],xmm9[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm0[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm4, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm1[1],ymm14[2,3,4],ymm1[5],ymm14[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm6[0],xmm4[1],xmm6[2],xmm4[3],xmm6[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2],ymm5[3],ymm3[4,5],ymm5[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm4[1,3,2,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = [128,128,128,128,128,128,128,128,128,128,4,5,10,11,0,1,22,23,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm6, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <6,7,4,5,2,3,0,1,14,15,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm6, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm8, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0],ymm10[1],ymm11[2,3,4],ymm10[5],ymm11[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2],xmm7[3],xmm8[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm6, %ymm7, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1,2],ymm13[3],ymm12[4,5],ymm13[6],ymm12[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm7[1,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm7, %ymm4
+; AVX512DQ-SLOW-NEXT: vpor %ymm4, %ymm6, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm13
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm19, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0],ymm12[1],ymm13[2,3,4],ymm12[5],ymm13[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm4[1],xmm6[2],xmm4[3],xmm6[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm28 = ymm16[0,1,1,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm28[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 232(%rdi), %xmm7
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm17, %xmm1
+; AVX512DQ-SLOW-NEXT: vpsrlq $48, %xmm17, %xmm8
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm6, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm14
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm3[0],ymm14[1],ymm3[2,3,4],ymm14[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2],xmm6[3],xmm7[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm6, %xmm4
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm27 = ymm22[0,1,1,3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm27[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX512DQ-SLOW-NEXT: vpbroadcastw 680(%rdi), %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm25, %xmm5
+; AVX512DQ-SLOW-NEXT: vpsrlq $48, %xmm25, %xmm6
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1],ymm12[2],ymm13[3,4],ymm12[5],ymm13[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1],xmm0[2],xmm4[3],xmm0[4],xmm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [8,9,8,9,6,7,4,5,2,3,2,3,2,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm6[0,1,2,3,4,5],xmm0[6],xmm6[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,7,6]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm8[5,6,7],ymm7[8,9,10,11,12],ymm8[13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm20, %xmm2
+; AVX512DQ-SLOW-NEXT: vpsrld $16, %xmm20, %xmm8
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm8 = xmm8[4],xmm1[4],xmm8[5],xmm1[5],xmm8[6],xmm1[6],xmm8[7],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm8, %zmm7, %zmm7
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm3[0,1],ymm14[2],ymm3[3,4],ymm14[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1],xmm7[2],xmm8[3],xmm7[4],xmm8[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm7, %xmm4
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa 656(%rdi), %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa 640(%rdi), %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm7[0,1,2,3,4,5],xmm4[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm9[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,4,7,6]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm9[5,6,7],ymm8[8,9,10,11,12],ymm9[13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm24, %xmm11
+; AVX512DQ-SLOW-NEXT: vpsrld $16, %xmm24, %xmm9
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm9[4],xmm5[4],xmm9[5],xmm5[5],xmm9[6],xmm5[6],xmm9[7],xmm5[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm25, %xmm15
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm8, %zmm5
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1],ymm12[2,3],ymm13[4,5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3],xmm9[4],xmm8[5],xmm9[6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm6 = xmm0[0],xmm6[1],xmm0[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,10,11,8,9,6,7,4,5,4,5,4,5,4,5]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm8
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5,6,7],ymm8[8,9,10,11,12],ymm6[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm6, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm14[3],ymm3[4,5],ymm14[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm30[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm2 {%k1} # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm14[2,3],ymm3[4,5],ymm14[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm25
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm16
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3],xmm2[4],xmm1[5],xmm2[6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm0
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm7[1],xmm4[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7],ymm0[8,9,10,11,12],ymm1[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm11[4],xmm15[4],xmm11[5],xmm15[5],xmm11[6],xmm15[6],xmm11[7],xmm15[7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 704(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 736(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm1[2,3],ymm2[4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm15
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm23
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 800(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 768(%rdi), %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm3[3],ymm2[4,5],ymm3[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm22
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm6
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7,8,9,10,11,12,13],ymm2[14],ymm1[15]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,14,15,12,13,10,11,4,5,6,7,8,9,2,3,16,17,30,31,28,29,26,27,20,21,22,23,24,25,18,19]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3,4,5,6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 832(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 864(%rdi), %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1],ymm3[2],ymm10[3,4],ymm3[5],ymm10[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm17
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,1,3,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm26
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2],ymm12[3],ymm13[4,5],ymm12[6],ymm13[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm21
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm1 = mem[0,1,2,1,4,5,6,5]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,5,8,9,10,11,12,13,14,13]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm1 {%k1} # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 288(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm1[2,3],ymm3[4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm13
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm7
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm0[3],xmm1[4],xmm0[5],xmm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 352(%rdi), %ymm4
+; AVX512DQ-SLOW-NEXT: vmovdqa 320(%rdi), %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2],ymm4[3],ymm11[4,5],ymm4[6],ymm11[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm3[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm12[6],ymm3[7,8,9,10,11,12,13],ymm12[14],ymm3[15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm2, %ymm3, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,2,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3,4,5,6],xmm2[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 384(%rdi), %ymm9
+; AVX512DQ-SLOW-NEXT: vmovdqa 416(%rdi), %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm9[2],ymm3[3,4],ymm9[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm14 = xmm14[0,1,3,1,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1,2],ymm7[3],ymm13[4,5],ymm7[6],ymm13[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm13, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm7, %ymm18
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1,2,3],xmm1[4],xmm12[5],xmm1[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0],ymm11[1],ymm4[2,3],ymm11[4],ymm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm12[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm14[0],ymm12[1,2,3,4,5,6],ymm14[7,8],ymm12[9,10,11,12,13,14],ymm14[15]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = [2,3,0,1,14,15,12,13,4,5,4,5,4,5,4,5,18,19,16,17,30,31,28,29,20,21,20,21,20,21,20,21]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm12, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1,2],xmm1[3,4,5,6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm12[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm9[2,3],ymm3[4,5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm8
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm12, %xmm30
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm30[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1,2],ymm3[3],ymm15[4,5],ymm3[6],ymm15[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm12[0,1,2,3],xmm1[4],xmm12[5],xmm1[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm0[0],ymm6[1],ymm0[2,3],ymm6[4],ymm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm13[0],ymm12[1,2,3,4,5,6],ymm13[7,8],ymm12[9,10,11,12,13,14],ymm13[15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm12, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1,2],xmm1[3,4,5,6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm17, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1],ymm2[2,3],ymm10[4,5],ymm2[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,1,0,2,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm12[0],xmm7[1],xmm12[1],xmm7[2],xmm12[2],xmm7[3],xmm12[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm7[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0],ymm11[1],ymm4[2,3,4],ymm11[5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm11, %ymm24
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <4,5,u,u,0,1,14,15,8,9,10,11,4,5,6,7,20,21,u,u,16,17,30,31,24,25,26,27,20,21,22,23>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm1, %ymm12
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm12[0],ymm1[1],ymm12[2,3,4,5,6,7,8],ymm1[9],ymm12[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm14
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1],ymm5[2],ymm14[3,4,5],ymm5[6],ymm14[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm22
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm13[4],xmm12[5],xmm13[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = <0,1,2,3,0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm13, %ymm12, %ymm12
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm17 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $242, %ymm1, %ymm17, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2],ymm9[3],ymm8[4,5],ymm9[6],ymm8[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm8, %ymm23
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm1, %xmm30
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm30[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm11[4],xmm1[5],xmm11[5],xmm1[6],xmm11[6],xmm1[7],xmm11[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm20 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm31 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm31 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm31, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0],ymm6[1],ymm0[2,3,4],ymm6[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm6, %ymm5
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm1, %ymm7
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm7[0],ymm1[1],ymm7[2,3,4,5,6,7,8],ymm1[9],ymm7[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm3[0,1],ymm15[2],ymm3[3,4,5],ymm15[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm0
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm11
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3],xmm11[4],xmm7[5],xmm11[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vpternlogq $242, %ymm1, %ymm17, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2],ymm2[3],ymm10[4,5],ymm2[6],ymm10[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm11
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,5,5,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm1[4],xmm11[4],xmm1[5],xmm11[5],xmm1[6],xmm11[6],xmm1[7],xmm11[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm3 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm3 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm19, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0],ymm1[1],ymm3[2,3],ymm1[4],ymm3[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm7[1],xmm1[2,3,4,5],xmm7[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,2,1,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm28[0,1,2,0,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # xmm7 = mem[0,1,2,3,6,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,2,2,2]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm1, %zmm17
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2],ymm6[3],ymm14[4,5],ymm6[6],ymm14[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm30
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0],xmm1[1],xmm7[2,3,4,5],xmm1[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm14
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1],ymm14[2],ymm9[3,4,5],ymm14[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm11
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3],xmm11[4],xmm7[5],xmm11[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm24, %ymm12
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm24, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm4[0,1],ymm12[2],ymm4[3,4],ymm12[5],ymm4[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm22
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm11[1,1,2,0]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,22,23,28,29,18,19,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm13, %ymm11, %ymm11
+; AVX512DQ-SLOW-NEXT: vpor %ymm1, %ymm11, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm7 = xmm7[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,6,5,4]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4,5,6,7],ymm11[8,9,10],ymm7[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm17 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm17 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0],ymm1[1],ymm4[2,3],ymm1[4],ymm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0],xmm7[1],xmm1[2,3,4,5],xmm7[6],xmm1[7]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[0,2,1,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm27[0,1,2,0,4,5,6,4]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,7,4,8,9,10,11,12,13,15,12]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vpshufhw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # xmm7 = mem[0,1,2,3,6,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,2,2,2]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm1, %zmm16
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2],ymm15[3],ymm0[4,5],ymm15[6],ymm0[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm27
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm15, %ymm28
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0],xmm1[1],xmm7[2,3,4,5],xmm1[6],xmm7[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1],ymm5[2],ymm8[3,4],ymm5[5],ymm8[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm23
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm8, %ymm21
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm7[1,1,2,0]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm13, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm2[0,1],ymm10[2],ymm2[3,4,5],ymm10[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm2, %ymm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm10, %ymm18
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2,3],xmm13[4],xmm11[5],xmm13[6],xmm11[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm1, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,0,0,0,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,6,5,4]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1,2],ymm11[3,4,5,6,7],ymm7[8,9,10],ymm11[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm16 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm16 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm8[2],ymm9[3,4,5],ymm8[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = <8,9,8,9,8,9,8,9,0,1,14,15,u,u,10,11,24,25,24,25,24,25,24,25,16,17,30,31,u,u,26,27>
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm1, %ymm11
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm11[0,1,2,3,4,5],ymm1[6],ymm11[7,8,9,10,11,12,13],ymm1[14],ymm11[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1],ymm15[2],ymm5[3,4],ymm15[5],ymm5[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm11 = xmm11[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm13[0],xmm11[1],xmm13[1],xmm11[2],xmm13[2],xmm11[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1],ymm1[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1,2],ymm14[3],ymm3[4,5],ymm14[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm14, %ymm24
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm25
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0],xmm11[1],xmm13[2,3,4,5],xmm11[6],xmm13[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm0[0,1],ymm12[2,3],ymm0[4,5],ymm12[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm22[0,1,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0,1,2],ymm14[3],ymm13[4,5,6,7,8,9,10],ymm14[11],ymm13[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm6[0],ymm2[1],ymm6[2,3],ymm2[4],ymm6[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm6, %ymm29
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2,3,4,5],xmm12[6],xmm14[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = [2,3,2,3,2,3,2,3,0,1,14,15,12,13,10,11]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm11, %xmm11
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,10,11,24,25,22,23,20,21,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm13, %ymm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm13[0,1,2],ymm11[3,4,5,6,7],ymm13[8,9,10],ymm11[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm13, %ymm12, %ymm12
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm26, %zmm0, %zmm30
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm1 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm11, %zmm0, %zmm1 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm11 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm11 = ymm6[0,1],mem[2],ymm6[3,4,5],mem[6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm11, %ymm12
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm11[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0,1,2,3,4,5],ymm11[6],ymm12[7,8,9,10,11,12,13],ymm11[14],ymm12[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm12 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm12 = mem[0,1],ymm10[2],mem[3,4],ymm10[5],mem[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm26 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm11, %zmm20, %zmm26
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1,2],ymm4[3],ymm3[4,5],ymm4[6],ymm3[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2,3,4,5],xmm11[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm14, %xmm11, %xmm11
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm10
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm23, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm10[0,1],ymm14[2,3],ymm10[4,5],ymm14[6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm21[0,1,0,1]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm31
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm12[0,1,2],ymm13[3],ymm12[4,5,6,7,8,9,10],ymm13[11],ymm12[12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm7, %ymm12, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0],ymm0[1],ymm1[2,3],ymm0[4],ymm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm13[1],xmm12[2,3,4,5],xmm13[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm7[0,1,2],ymm11[3,4,5,6,7],ymm7[8,9,10],ymm11[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm12, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm11[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm7, %zmm0, %zmm26 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm26, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd $72, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm7 = ymm7[0,1,2],mem[3],ymm7[4,5],mem[6],ymm7[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm7[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm11[4],ymm7[5,6,7,8,9,10,11],ymm11[12],ymm7[13,14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm24, %ymm10
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm10[0],ymm11[1],ymm10[2,3],ymm11[4],ymm10[5,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3,4,5],xmm12[6],xmm11[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm29, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm10[0],ymm2[1],ymm10[2,3,4],ymm2[5],ymm10[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm2, %ymm23
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2],xmm12[3],xmm13[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,12,13,26,27,24,25,22,23,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = [4,5,4,5,4,5,4,5,2,3,0,1,14,15,12,13]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm11
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm2, %xmm26
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm7[0,1,2],ymm11[3,4,5,6,7],ymm7[8,9,10],ymm11[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm12, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm11[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm9[0,1,2],ymm8[3],ymm9[4,5],ymm8[6],ymm9[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm9, %ymm19
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm8, %ymm18
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm11[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0],ymm11[1,2,3,4,5,6],ymm12[7,8],ymm11[9,10,11,12,13,14],ymm12[15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm5[0,1],ymm15[2,3],ymm5[4,5],ymm15[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm5, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm13 = xmm13[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = [10,11,10,11,10,11,10,11,2,3,0,1,14,15,12,13,26,27,26,27,26,27,26,27,18,19,16,17,30,31,28,29]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm8, %ymm11, %ymm11
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm11 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm13 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm7, %zmm0, %zmm13 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm5[0,1,2],ymm14[3],ymm5[4,5],ymm14[6],ymm5[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm7[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm12[4],ymm7[5,6,7,8,9,10,11],ymm12[12],ymm7[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm3, %ymm21
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm14
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm14[1],xmm12[2,3,4,5],xmm14[6],xmm12[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm26, %xmm3
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm12
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm1, %ymm26
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm28
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm10
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0],xmm14[1],xmm10[2],xmm14[3],xmm10[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm7[0,1,2],ymm12[3,4,5,6,7],ymm7[8,9,10],ymm12[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %ymm7, %ymm10, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm12[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm6[0,1,2],ymm1[3],ymm6[4,5],ymm1[6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm6, %ymm5
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm10[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm12[0],ymm10[1,2,3,4,5,6],ymm12[7,8],ymm10[9,10,11,12,13,14],ymm12[15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm8, %ymm10, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm6[0,1],ymm9[2,3],ymm6[4,5],ymm9[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm10 = xmm10[1,3,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1],ymm8[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm8, %zmm20, %zmm0
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm7, %zmm0, %zmm0 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm0, %zmm12
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm18, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm19, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm0[0],ymm3[1],ymm0[2,3],ymm3[4],ymm0[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm8[1],ymm7[2,3,4,5,6,7,8],ymm8[9],ymm7[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2],ymm15[3],ymm2[4,5],ymm15[6],ymm2[7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm10
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,4,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm10 = xmm10[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm8 = xmm8[4],xmm10[4],xmm8[5],xmm10[5],xmm8[6],xmm10[6],xmm8[7],xmm10[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = [12,13,12,13,12,13,12,13,4,5,2,3,0,1,14,15,28,29,28,29,28,29,28,29,20,21,18,19,16,17,30,31]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm7, %ymm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm8[0,1],ymm7[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm24, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0],ymm2[1],ymm0[2,3,4],ymm2[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2],xmm2[3],xmm3[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm29, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1],ymm3[2],ymm0[3,4],ymm3[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm4 = xmm4[0,3,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd $187, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4,5],ymm0[6],mem[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,3,1]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = [4,5,10,11,0,1,10,11,0,1,4,5,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm3[1,2],ymm0[3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,2,3,12,13,6,7,4,5,2,3,0,1,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1,2],ymm2[3,4,5,6,7],ymm0[8,9,10],ymm2[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm20, %zmm14 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm14 {%k1}
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0],ymm5[1],ymm1[2,3],ymm5[4],ymm1[5,6,7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm0[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1],ymm0[2,3,4,5,6,7,8],ymm2[9],ymm0[10,11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm10, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm2 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2],ymm9[3],ymm6[4,5],ymm9[6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm7 = xmm6[0,1,2,3,6,4,6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; AVX512DQ-SLOW-NEXT: vpshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,7,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm7[4],xmm6[4],xmm7[5],xmm6[5],xmm7[6],xmm6[6],xmm7[7],xmm6[7]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm20, %zmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm21, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm6[1],ymm0[2,3,4],ymm6[5],ymm0[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0],xmm0[1],xmm6[2],xmm0[3],xmm6[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm26, %ymm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm28, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm6[2],ymm3[3,4],ymm6[5],ymm3[6,7]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm6 = xmm6[0,3,1,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[2,1,2,3]
+; AVX512DQ-SLOW-NEXT: vpshuflw {{.*#+}} xmm3 = xmm3[0,0,2,3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm31, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd $187, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: # ymm6 = mem[0,1],ymm6[2],mem[3,4,5],ymm6[6],mem[7]
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,3,1]
+; AVX512DQ-SLOW-NEXT: vpshufb %ymm4, %ymm6, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0],ymm3[1,2],ymm4[3,4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3,4,5,6,7],ymm3[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm1, %zmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm0 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm1 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm3 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm30 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm11 # 64-byte Folded Reload
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm0, %zmm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm0, %zmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm11, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm30, 64(%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm5, 64(%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm2, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, 64(%rcx)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm16, 64(%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm17, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, (%r9)
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, 64(%r9)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm13, (%rax)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm12, 64(%rax)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm14, (%rax)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm4, 64(%rax)
+; AVX512DQ-SLOW-NEXT: addq $1464, %rsp # imm = 0x5B8
+; AVX512DQ-SLOW-NEXT: vzeroupper
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i16_stride7_vf64:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: subq $1240, %rsp # imm = 0x4D8
+; AVX512DQ-FAST-NEXT: vmovdqa64 512(%rdi), %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = <2,5,9,u,12,u,u,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm4, %zmm17, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [8,1,12,5,12,5,14,15]
+; AVX512DQ-FAST-NEXT: vpermd %zmm4, %zmm3, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm4, %zmm18
+; AVX512DQ-FAST-NEXT: vpermd %zmm0, %zmm3, %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm0, %zmm19
+; AVX512DQ-FAST-NEXT: vmovdqa 480(%rdi), %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa 448(%rdi), %ymm13
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1],ymm5[2],ymm13[3,4,5],ymm5[6],ymm13[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm5, %ymm22
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm3[0,1,2,3],xmm5[4],xmm3[5],xmm5[6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [128,128,128,128,128,128,128,128,128,128,6,7,12,13,2,3,16,17,30,31,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vporq %ymm4, %ymm6, %ymm16
+; AVX512DQ-FAST-NEXT: vmovdqa 672(%rdi), %xmm7
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,4,5,6,7,0,1,14,15,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm4, %xmm7, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm7, %xmm20
+; AVX512DQ-FAST-NEXT: vpbroadcastw 700(%rdi), %xmm7
+; AVX512DQ-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 192(%rdi), %ymm23
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm23[0,1,0,2]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %ymm12
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %ymm14
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm12[0,1],ymm14[2],ymm12[3,4,5],ymm14[6],ymm12[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3],xmm6[4],xmm5[5],xmm6[6],xmm5[7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm3
+; AVX512DQ-FAST-NEXT: vporq %ymm2, %ymm3, %ymm25
+; AVX512DQ-FAST-NEXT: vmovdqa 224(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb %xmm4, %xmm3, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm3, %xmm9
+; AVX512DQ-FAST-NEXT: vpbroadcastw 252(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 240(%rdi), %xmm15
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [128,128,128,128,128,128,128,128,128,128,0,1,6,7,8,9,18,19,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2],ymm14[3],ymm12[4,5],ymm14[6],ymm12[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3,4,5],xmm1[6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <2,3,0,1,14,15,12,13,10,11,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vpor %ymm3, %ymm4, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 160(%rdi), %ymm10
+; AVX512DQ-FAST-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1],ymm10[2],ymm11[3,4,5],ymm10[6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3],xmm4[4],xmm3[5],xmm4[6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [0,1,0,1,14,15,12,13,10,11,8,9,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,22,23,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm15[0],xmm9[1],xmm15[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [2,3,0,1,14,15,14,15,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm7, %zmm7
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm13[0,1,2],ymm0[3],ymm13[4,5],ymm0[6],ymm13[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2,3,4,5],xmm7[6],xmm8[7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm7, %ymm1
+; AVX512DQ-FAST-NEXT: vpermd %zmm19, %zmm17, %zmm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpor %ymm0, %ymm1, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1],ymm0[2],ymm1[3,4,5],ymm0[6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm1, %ymm27
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm7[4],xmm2[5],xmm7[6],xmm2[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 640(%rdi), %ymm31
+; AVX512DQ-FAST-NEXT: vpshufb %xmm3, %xmm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm0 = ymm31[0,1,0,2]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm26
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX512DQ-FAST-NEXT: vmovdqa 688(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm20, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm20, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm17
+; AVX512DQ-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <2,6,9,u,13,u,u,u>
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm4, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0],ymm12[1],ymm14[2,3],ymm12[4],ymm14[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm6[1],xmm4[2,3,4,5],xmm6[6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm18, %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm18, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpermd %zmm18, %zmm3, %zmm7
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [128,128,128,128,128,128,128,128,128,128,2,3,4,5,10,11,16,17,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm7, %ymm7
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <4,5,2,3,0,1,14,15,12,13,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vpor %ymm7, %ymm4, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2],ymm10[3],ymm11[4,5],ymm10[6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm11, %ymm28
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm10, %ymm24
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2,3,4,5],xmm4[6],xmm7[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [0,1,2,3,0,1,14,15,12,13,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} ymm10 = [21474836482,21474836482,21474836482,21474836482]
+; AVX512DQ-FAST-NEXT: vpermd %ymm23, %ymm10, %ymm11
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm4[0,1,2,3,4,5,6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm9[0],xmm15[0],xmm9[1],xmm15[1],xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm15, %xmm18
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm12
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm12, %zmm11, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %ymm22, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm0[0],ymm13[1],ymm0[2,3],ymm13[4],ymm0[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3,4,5],xmm12[6],xmm11[7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm11, %ymm8
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm19, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpermd %zmm19, %zmm3, %zmm3
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX512DQ-FAST-NEXT: vpor %ymm3, %ymm8, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm27, %ymm9
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm21, %ymm15
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2],ymm15[3],ymm9[4,5],ymm15[6],ymm9[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0],xmm3[1],xmm6[2,3,4,5],xmm3[6],xmm6[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpermd %ymm31, %ymm10, %ymm6
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,4,7,8,9,10,11,12,13,12,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm17, %xmm22
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm17, %xmm6
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm6, %xmm7
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm7, %zmm3, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0],ymm2[1],ymm5[2,3,4],ymm2[5],ymm5[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm7[0],xmm3[1],xmm7[2],xmm3[3],xmm7[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = [10,3,6,15,12,13,6,15]
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm17, %zmm8
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [128,128,128,128,128,128,128,128,128,128,4,5,10,11,0,1,22,23,128,128,128,128,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm8, %ymm8
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <6,7,4,5,2,3,0,1,14,15,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm11, %ymm3, %ymm3
+; AVX512DQ-FAST-NEXT: vpor %ymm3, %ymm8, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm28, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0],xmm8[1],xmm3[2,3,4,5],xmm8[6],xmm3[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,4,5,2,3,0,1,14,15,12,13,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm12
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,24,25>
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm23[0,1,1,3]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm10, %ymm3, %ymm14
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm12[0,1,2,3,4,5,6],ymm14[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [12,13,10,11,12,13,10,11,12,13,10,11,12,13,10,11]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm14, %zmm24
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0],ymm13[1],ymm0[2,3,4],ymm13[5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm14[0],xmm4[1],xmm14[2],xmm4[3],xmm14[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm11, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vpermd %zmm19, %zmm17, %zmm11
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm11, %ymm7
+; AVX512DQ-FAST-NEXT: vpor %ymm7, %ymm4, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm27, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm15[0],ymm0[1],ymm15[2,3],ymm0[4],ymm15[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0],xmm7[1],xmm4[2,3,4,5],xmm7[6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm7
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm31[0,1,1,3]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm10, %ymm4, %ymm8
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm7, %zmm27
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm2[0],ymm1[1],ymm2[2,3,4],ymm1[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm5[1],xmm6[2],xmm5[3],xmm6[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,6,7,4,5,2,3,0,1,14,15,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,20,21,26,27>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm12, %ymm3, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX512DQ-FAST-NEXT: vpbroadcastw 232(%rdi), %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm18, %xmm11
+; AVX512DQ-FAST-NEXT: vpsrlq $48, %xmm18, %xmm7
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm3, %zmm30
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm26, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm12, %ymm1, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa64 576(%rdi), %zmm21
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [3,6,10,13,3,6,10,13]
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm1, %zmm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm1, %zmm13
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <0,1,2,3,0,1,6,7,8,9,14,15,12,13,14,15,16,17,18,19,16,17,22,23,24,25,30,31,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX512DQ-FAST-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm16 {%k1} # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm16, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0],ymm0[1],ymm15[2,3,4],ymm0[5],ymm15[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2],xmm0[3],xmm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm12, %ymm4, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vpbroadcastw 680(%rdi), %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm22, %xmm8
+; AVX512DQ-FAST-NEXT: vpsrlq $48, %xmm22, %xmm3
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm29
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,3,3,3,0,3,7,7]
+; AVX512DQ-FAST-NEXT: vpermd %ymm23, %ymm4, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,1,6,7,4,5,6,7,8,9,0,1,6,7,8,9,16,17,22,23,20,21,22,23,24,25,16,17,22,23,24,25]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 128(%rdi), %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [2,5,9,12,2,5,9,12]
+; AVX512DQ-FAST-NEXT: vpermd %zmm0, %zmm6, %zmm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,0,1,6,7,8,9,14,15,14,15,14,15,14,15,16,17,16,17,22,23,24,25,30,31,30,31,30,31,30,31]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm5, %ymm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm5[0,1,2,3,4],ymm1[5,6,7],ymm5[8,9,10,11,12],ymm1[13,14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpsrld $16, %xmm14, %xmm5
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm5[4],xmm11[4],xmm5[5],xmm11[5],xmm5[6],xmm11[6],xmm5[7],xmm11[7]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm1, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 704(%rdi), %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa 736(%rdi), %ymm9
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm5[2,3],ymm9[4,5],ymm5[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm9, %ymm22
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm5, %ymm20
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm5[0,1,2],xmm1[3],xmm5[4],xmm1[5],xmm5[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,10,11,8,9,6,7,4,5,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 768(%rdi), %zmm26
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <0,u,u,u,4,7,11,14>
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm16, %zmm10
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[0,1,6,7,8,9,14,15,8,9,14,15,4,5,2,3,16,17,22,23,24,25,30,31,24,25,30,31,20,21,18,19]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm10[0,1,2],xmm1[3,4,5,6],xmm10[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %ymm12, %ymm1, %ymm10
+; AVX512DQ-FAST-NEXT: vpermd %zmm0, %zmm13, %zmm12
+; AVX512DQ-FAST-NEXT: vpshufb %ymm2, %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm10[7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm25 {%k1} # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm25, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpermd %ymm31, %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm6, %zmm3
+; AVX512DQ-FAST-NEXT: vpshufb %ymm7, %ymm3, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7],ymm3[8,9,10,11,12],ymm2[13,14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpsrld $16, %xmm9, %xmm3
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm8, %xmm18
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm12 = [0,4,7,0,0,4,7,0]
+; AVX512DQ-FAST-NEXT: # ymm12 = mem[0,1,0,1]
+; AVX512DQ-FAST-NEXT: vpermd %ymm23, %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = [2,6,9,13,2,6,9,13]
+; AVX512DQ-FAST-NEXT: vpermd %zmm0, %zmm10, %zmm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,2,3,4,5,10,11,12,13,12,13,12,13,12,13,20,21,18,19,20,21,26,27,28,29,28,29,28,29,28,29]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7],ymm0[8,9,10,11,12],ymm2[13,14,15]
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm14[4],xmm11[4],xmm14[5],xmm11[5],xmm14[6],xmm11[6],xmm14[7],xmm11[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} xmm19 = [8,9,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 832(%rdi), %zmm3
+; AVX512DQ-FAST-NEXT: vpermd %zmm3, %zmm6, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,17,22,23,24,25,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm2, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 256(%rdi), %ymm13
+; AVX512DQ-FAST-NEXT: vmovdqa 288(%rdi), %ymm11
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1],ymm13[2,3],ymm11[4,5],ymm13[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm5 = xmm15[0,1,2],xmm5[3],xmm15[4],xmm5[5],xmm15[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm5[u,u,u,u,u,u,10,11,8,9,6,7,4,5,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 320(%rdi), %zmm17
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm16, %zmm14
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[0,1,6,7,8,9,14,15,8,9,14,15,4,5,2,3,16,17,22,23,24,25,30,31,24,25,30,31,20,21,18,19]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm15 = xmm14[0,1,2],xmm15[3,4,5,6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3],ymm14[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 384(%rdi), %zmm16
+; AVX512DQ-FAST-NEXT: vpermd %zmm16, %zmm6, %zmm6
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm6, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3,4,5],ymm6[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2],ymm13[3],ymm11[4,5],ymm13[6],ymm11[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm6, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1,2,3],xmm6[4],xmm14[5],xmm6[6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,12,13,10,11,8,9,6,7,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <1,u,u,u,4,8,11,15>
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm7, %zmm15
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [2,3,4,5,10,11,12,13,0,1,0,1,0,1,0,1,18,19,20,21,26,27,28,29,16,17,16,17,16,17,16,17]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm15, %ymm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm15[0,1,2],xmm6[3,4,5,6],xmm15[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm15[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm16, %zmm10, %zmm15
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,19,20,21,26,27,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm15, %ymm15
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm15[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm20, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2],ymm2[3],ymm0[4,5],ymm2[6],ymm0[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm6, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm15[0,1,2,3],xmm6[4],xmm15[5],xmm6[6],xmm15[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm14, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm7, %zmm7
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm7, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm4[0,1,2],xmm6[3,4,5,6],xmm4[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm3, %zmm10, %zmm6
+; AVX512DQ-FAST-NEXT: vpshufb %ymm1, %ymm6, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1],ymm11[2],ymm13[3,4,5],ymm11[6],ymm13[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm4[4],xmm1[5],xmm4[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <0,1,2,3,0,1,14,15,12,13,10,11,8,9,128,128,128,128,128,128,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <1,u,u,u,5,8,12,15>
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm7, %zmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,2,3,16,17,22,23,24,25,30,31,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm6, %ymm6
+; AVX512DQ-FAST-NEXT: vpor %ymm6, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = [3,6,10,13,3,6,10,13]
+; AVX512DQ-FAST-NEXT: vpermd %zmm16, %zmm20, %zmm6
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm6, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm6[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm25 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm5 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1],ymm0[2],ymm2[3,4,5],ymm0[6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm2, %ymm6
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm15[4],xmm1[5],xmm15[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm7, %zmm4
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vpor %ymm4, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpermd %zmm3, %zmm20, %zmm0
+; AVX512DQ-FAST-NEXT: vpshufb %ymm8, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm1 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vpermd %ymm31, %ymm12, %ymm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[4,5,2,3,4,5,6,7,8,9,2,3,4,5,10,11,20,21,18,19,20,21,22,23,24,25,18,19,20,21,26,27]
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm10, %zmm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[4,5,2,3,4,5,10,11,12,13,12,13,12,13,12,13,20,21,18,19,20,21,26,27,28,29,28,29,28,29,28,29]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7],ymm1[8,9,10,11,12],ymm0[13,14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm9[4],xmm1[4],xmm9[5],xmm1[5],xmm9[6],xmm1[6],xmm9[7],xmm1[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm19, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm31
+; AVX512DQ-FAST-NEXT: vmovdqa 416(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa 384(%rdi), %ymm7
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1],ymm1[2],ymm7[3,4,5],ymm1[6],ymm7[7]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1,2],ymm11[3],ymm13[4,5],ymm11[6],ymm13[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm8[0],xmm1[1],xmm8[2,3,4,5],xmm1[6],xmm8[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,0,1,0,1,0,1,14,15,12,13,10,11,8,9]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = [2,11,2,11,12,5,8,9]
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm12, %zmm10
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,22,23,28,29,18,19,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm10, %ymm10
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5,6,7],ymm10[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm1, %ymm10, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm24 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm24 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm24, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa 864(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa 832(%rdi), %ymm10
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1],ymm1[2],ymm10[3,4,5],ymm1[6],ymm10[7]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm1, %ymm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4],xmm0[5],xmm1[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm12, %zmm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm14, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm6[0,1,2],ymm4[3],ymm6[4,5],ymm4[6],ymm6[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm6, %ymm22
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm12[0],xmm8[1],xmm12[2,3,4,5],xmm8[6],xmm12[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,2,3,2,3,0,1,14,15,12,13,10,11],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm1, %ymm8, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm27 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm27 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm12[2],ymm9[3,4],ymm12[5],ymm9[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [8,9,4,5,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm8
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, %xmm5
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <0,3,7,10,14,u,u,u>
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm8, %zmm14
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm0, %ymm14, %ymm14
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm14[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm25, %zmm30
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2],ymm2[3],ymm7[4,5],ymm2[6],ymm7[7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm2, %ymm18
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm14
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0],xmm1[1],xmm14[2,3,4,5],xmm1[6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm11[0],ymm13[1],ymm11[2,3],ymm13[4],ymm11[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3,4,5],xmm15[6],xmm14[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [2,3,2,3,2,3,2,3,0,1,14,15,12,13,10,11]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,u,u,u,6,9,13,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm16, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,2,3,16,17,22,23,24,25,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5,6,7],ymm0[8,9,10],ymm1[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm0, %ymm14, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm30 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm14[2],ymm2[3,4],ymm14[5],ymm2[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm5, %xmm28
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm21 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm8, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm0, %zmm25, %zmm29
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm3[3],ymm10[4,5],ymm3[6],ymm10[7]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm3, %ymm5
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3,4,5],xmm0[6],xmm1[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm16, %zmm1
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm4, %ymm22
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm6, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm8[1],xmm6[2,3,4,5],xmm8[6],xmm6[7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5,6,7],ymm1[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,2,3,0,1,14,15,12,13],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm1, %ymm6, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm29 {%k1}
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1],ymm12[2,3],ymm9[4,5],ymm12[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm12, %ymm23
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm9, %ymm24
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm28, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [10,11,6,7,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm4, %xmm27
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = <0,4,7,11,14,u,u,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm19, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,2,3,4,5,10,11,12,13,18,19,18,19,18,19,18,19,18,19,20,21,26,27,28,29>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm18, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm7[1],ymm4[2,3],ymm7[4],ymm4[5,6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm15[1],xmm0[2,3,4,5],xmm15[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm11[0],ymm13[1],ymm11[2,3,4],ymm13[5],ymm11[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm15, %xmm12
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0],xmm15[1],xmm12[2],xmm15[3],xmm12[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = [4,5,4,5,4,5,4,5,2,3,0,1,14,15,12,13]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <3,u,u,u,6,10,13,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm16, %zmm8
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [128,128,128,128,128,128,128,128,128,128,128,128,128,128,0,1,18,19,20,21,26,27,128,128,128,128,128,128,128,128,128,128]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm8, %ymm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0,1,2],ymm0[3,4,5,6,7],ymm8[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm8, %ymm12, %ymm8
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm1 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm12
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm14[2,3],ymm2[4,5],ymm14[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm2, %ymm18
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm27, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm19, %zmm8
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm8, %ymm8
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm0[0,1],ymm8[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm10[1],ymm5[2,3],ymm10[4],ymm5[5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm5, %ymm19
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm8[1],xmm0[2,3,4,5],xmm8[6],xmm0[7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm16, %zmm8
+; AVX512DQ-FAST-NEXT: vpshufb %ymm6, %ymm8, %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm22, %ymm15
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm15[0],ymm3[1],ymm15[2,3,4],ymm3[5],ymm15[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm3, %ymm16
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2],xmm8[3],xmm9[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm6[0,1,2],ymm0[3,4,5,6,7],ymm6[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[0,1,2,3,6,7,4,5,2,3,0,1,14,15],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %ymm6, %ymm8, %ymm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm14 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm14 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm23, %ymm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3],ymm2[4,5],ymm0[6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm0, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [0,1,2,3,4,5,6,7,10,11,6,7,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <1,4,8,11,15,u,u,u>
+; AVX512DQ-FAST-NEXT: vpermd %zmm20, %zmm6, %zmm9
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,0,1,6,7,8,9,14,15,16,17,22,23,20,21,22,23,16,17,22,23,24,25,30,31>
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm9, %ymm9
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm9[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm7[1],ymm4[2,3,4],ymm7[5],ymm4[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0],xmm4[1],xmm7[2],xmm4[3],xmm7[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1],ymm13[2],ymm11[3,4],ymm13[5],ymm11[6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = [8,9,8,9,4,5,6,7,8,9,10,11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm2, %xmm7
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm2 = xmm2[0,3,1,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm7[0],xmm2[0],xmm7[1],xmm2[1],xmm7[2],xmm2[2],xmm7[3],xmm2[3]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,10,3,14,7,10,3]
+; AVX512DQ-FAST-NEXT: vpermd %zmm17, %zmm7, %zmm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [4,5,10,11,0,1,10,11,0,1,4,5,0,1,14,15,20,21,26,27,16,17,26,27,16,17,20,21,16,17,30,31]
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm5, %ymm5
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0],ymm2[1,2],ymm5[3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = [0,1,2,3,12,13,6,7,4,5,2,3,0,1,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm2[0,1,2],ymm4[3,4,5,6,7],ymm2[8,9,10],ymm4[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm25, %zmm0 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm2, %zmm0, %zmm0 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm18, %ymm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm12[3],ymm2[4,5],ymm12[6],ymm2[7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; AVX512DQ-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
+; AVX512DQ-FAST-NEXT: vpermd %zmm21, %zmm6, %zmm4
+; AVX512DQ-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm6 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm8 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm12 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm19, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0],ymm10[1],ymm3[2,3,4],ymm10[5],ymm3[6,7]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm10
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} xmm4 = xmm10[0],xmm4[1],xmm10[2],xmm4[3],xmm10[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 %ymm16, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm15[0,1],ymm3[2],ymm15[3,4],ymm3[5],ymm15[6,7]
+; AVX512DQ-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpshuflw {{.*#+}} xmm5 = xmm5[0,3,1,3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm5 # 32-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vpermd %zmm26, %zmm7, %zmm7
+; AVX512DQ-FAST-NEXT: vpshufb %ymm9, %ymm7, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0],ymm3[1,2],ymm7[3,4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm3[0,1,2],ymm4[3,4,5,6,7],ymm3[8,9,10],ymm4[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm31, %zmm25, %zmm2
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm3, %zmm0, %zmm2 {%k1}
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm3 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm4 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm7 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm3 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm6 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $184, {{[-0-9]+}}(%r{{[sb]}}p), %zmm3, %zmm8 # 64-byte Folded Reload
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm4, %zmm3, %zmm12
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm7, %zmm3, %zmm5
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm5, 64(%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm12, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm3, 64(%rcx)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm3, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm3, 64(%r8)
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm3, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm29, 64(%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm30, (%r9)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm14, 64(%rax)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm2, 64(%rax)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512DQ-FAST-NEXT: addq $1240, %rsp # imm = 0x4D8
+; AVX512DQ-FAST-NEXT: vzeroupper
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride7_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm14
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm12
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm14, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <0,7,14,21,28,35,42,49,56,63,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm9
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm8, %zmm9
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm17, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm18
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm17, %zmm18
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,0,19,20,21,22,23,24,25,26,27,36,43,50,57,0,0,0,19,20,21,22,23,24,25,26,27,36,43,50,57]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm19, %zmm18
+; AVX512BW-NEXT: movl $-524288, %edi # imm = 0xFFF80000
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm18, %zmm9 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm4, %zmm17
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm19, %zmm17
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm16
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm2, %zmm8
+; AVX512BW-NEXT: vmovdqa32 %zmm16, %zmm8 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm17, %zmm8 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0,0,0,0,38,45,52,59,2,9,16,23,30,0,0,0,0]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm18, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [0,0,0,19,20,21,22,23,24,25,26,27,37,44,51,58,0,0,0,19,20,21,22,23,24,25,26,27,37,44,51,58]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm20, %zmm19
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm21 = <1,8,15,22,29,36,43,50,57,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm22
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm21, %zmm22
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm16
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm17, %zmm16
+; AVX512BW-NEXT: movl $511, %edi # imm = 0x1FF
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu16 %zmm22, %zmm16 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm19, %zmm16 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm7, %zmm4, %zmm18
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm20, %zmm18
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm17
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm2, %zmm21
+; AVX512BW-NEXT: vmovdqu16 %zmm21, %zmm17 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %zmm18, %zmm17 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0,0,0,0,7,14,21,28,35,42,49,56,63,0,0,0,0]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm20, %zmm21
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,0,18,19,20,21,22,23,24,25,26,27,38,45,52,59,0,0,18,19,20,21,22,23,24,25,26,27,38,45,52,59]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm22, %zmm21
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43]
+; AVX512BW-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm24
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm23, %zmm24
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <2,9,16,23,30,37,44,51,58,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm18, %zmm19
+; AVX512BW-NEXT: movl $261632, %edi # imm = 0x3FE00
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %zmm24, %zmm19 {%k1}
+; AVX512BW-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm21, %zmm19 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm7, %zmm20
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm22, %zmm20
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm23
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm2, %zmm18
+; AVX512BW-NEXT: vmovdqu16 %zmm23, %zmm18 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm18 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0,0,0,1,8,15,22,29,36,43,50,57,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm22, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,0,18,19,20,21,22,23,24,25,26,32,39,46,53,60,0,0,18,19,20,21,22,23,24,25,26,32,39,46,53,60]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm24, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm25 = [51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44]
+; AVX512BW-NEXT: # zmm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm26
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm25, %zmm26
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm20 = <3,10,17,24,31,38,45,52,59,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm20, %zmm21
+; AVX512BW-NEXT: vmovdqu16 %zmm26, %zmm21 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm23, %zmm21 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm7, %zmm22
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm24, %zmm22
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm25
+; AVX512BW-NEXT: vpermi2w %zmm0, %zmm2, %zmm20
+; AVX512BW-NEXT: vmovdqu16 %zmm25, %zmm20 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm22, %zmm20 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0,0,0,2,9,16,23,30,37,44,51,58,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm25
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm24, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,0,18,19,20,21,22,23,24,25,26,33,40,47,54,61,0,0,18,19,20,21,22,23,24,25,26,33,40,47,54,61]
+; AVX512BW-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm26, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45]
+; AVX512BW-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm28
+; AVX512BW-NEXT: vpermt2w %zmm12, %zmm27, %zmm28
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm22 = <36,43,50,57,0,7,14,21,28,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm22, %zmm23
+; AVX512BW-NEXT: vmovdqu16 %zmm28, %zmm23 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm25, %zmm23 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm7, %zmm24
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm26, %zmm24
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm5, %zmm27
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm0, %zmm22
+; AVX512BW-NEXT: vmovdqu16 %zmm27, %zmm22 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm24, %zmm22 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0,0,0,3,10,17,24,31,38,45,52,59,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm25
+; AVX512BW-NEXT: vpermt2w %zmm10, %zmm24, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,0,18,19,20,21,22,23,24,25,26,34,41,48,55,62,0,0,18,19,20,21,22,23,24,25,26,34,41,48,55,62]
+; AVX512BW-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm26, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14]
+; AVX512BW-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm28
+; AVX512BW-NEXT: vpermt2w %zmm14, %zmm27, %zmm28
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm29 = <37,44,51,58,1,8,15,22,29,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm30
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm29, %zmm30
+; AVX512BW-NEXT: vmovdqu16 %zmm28, %zmm30 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm25, %zmm30 {%k2}
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm7, %zmm24
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm26, %zmm24
+; AVX512BW-NEXT: vpermi2w %zmm5, %zmm3, %zmm27
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm0, %zmm29
+; AVX512BW-NEXT: vmovdqu16 %zmm27, %zmm29 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm24, %zmm29 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0,0,0,36,43,50,57,0,7,14,21,28,0,0,0,0,0]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm24, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,0,18,19,20,21,22,23,24,25,26,35,42,49,56,63,0,0,18,19,20,21,22,23,24,25,26,35,42,49,56,63]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm13, %zmm15, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15,22,29,0,0,0,0,0,0,0,37,44,51,58,1,8,15]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm14, %zmm13, %zmm12
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <38,45,52,59,2,9,16,23,30,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm14, %zmm1
+; AVX512BW-NEXT: vmovdqu16 %zmm12, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm10, %zmm1 {%k2}
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm24, %zmm4
+; AVX512BW-NEXT: vpermt2w %zmm6, %zmm15, %zmm4
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm13, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm2, %zmm14, %zmm0
+; AVX512BW-NEXT: vmovdqu16 %zmm3, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa32 %zmm4, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm8, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm20, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm21, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, 64(%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm30, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <448 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217, i32 224, i32 231, i32 238, i32 245, i32 252, i32 259, i32 266, i32 273, i32 280, i32 287, i32 294, i32 301, i32 308, i32 315, i32 322, i32 329, i32 336, i32 343, i32 350, i32 357, i32 364, i32 371, i32 378, i32 385, i32 392, i32 399, i32 406, i32 413, i32 420, i32 427, i32 434, i32 441>
+ %strided.vec1 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218, i32 225, i32 232, i32 239, i32 246, i32 253, i32 260, i32 267, i32 274, i32 281, i32 288, i32 295, i32 302, i32 309, i32 316, i32 323, i32 330, i32 337, i32 344, i32 351, i32 358, i32 365, i32 372, i32 379, i32 386, i32 393, i32 400, i32 407, i32 414, i32 421, i32 428, i32 435, i32 442>
+ %strided.vec2 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219, i32 226, i32 233, i32 240, i32 247, i32 254, i32 261, i32 268, i32 275, i32 282, i32 289, i32 296, i32 303, i32 310, i32 317, i32 324, i32 331, i32 338, i32 345, i32 352, i32 359, i32 366, i32 373, i32 380, i32 387, i32 394, i32 401, i32 408, i32 415, i32 422, i32 429, i32 436, i32 443>
+ %strided.vec3 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220, i32 227, i32 234, i32 241, i32 248, i32 255, i32 262, i32 269, i32 276, i32 283, i32 290, i32 297, i32 304, i32 311, i32 318, i32 325, i32 332, i32 339, i32 346, i32 353, i32 360, i32 367, i32 374, i32 381, i32 388, i32 395, i32 402, i32 409, i32 416, i32 423, i32 430, i32 437, i32 444>
+ %strided.vec4 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221, i32 228, i32 235, i32 242, i32 249, i32 256, i32 263, i32 270, i32 277, i32 284, i32 291, i32 298, i32 305, i32 312, i32 319, i32 326, i32 333, i32 340, i32 347, i32 354, i32 361, i32 368, i32 375, i32 382, i32 389, i32 396, i32 403, i32 410, i32 417, i32 424, i32 431, i32 438, i32 445>
+ %strided.vec5 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222, i32 229, i32 236, i32 243, i32 250, i32 257, i32 264, i32 271, i32 278, i32 285, i32 292, i32 299, i32 306, i32 313, i32 320, i32 327, i32 334, i32 341, i32 348, i32 355, i32 362, i32 369, i32 376, i32 383, i32 390, i32 397, i32 404, i32 411, i32 418, i32 425, i32 432, i32 439, i32 446>
+ %strided.vec6 = shufflevector <448 x i16> %wide.vec, <448 x i16> poison, <64 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223, i32 230, i32 237, i32 244, i32 251, i32 258, i32 265, i32 272, i32 279, i32 286, i32 293, i32 300, i32 307, i32 314, i32 321, i32 328, i32 335, i32 342, i32 349, i32 356, i32 363, i32 370, i32 377, i32 384, i32 391, i32 398, i32 405, i32 412, i32 419, i32 426, i32 433, i32 440, i32 447>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <64 x i16> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-ONLY: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i16_stride8_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[3,3,3,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[3,3,3,3]
+; SSE-NEXT: movd %xmm2, (%rsi)
+; SSE-NEXT: movd %xmm3, (%rdx)
+; SSE-NEXT: movd %xmm4, (%rcx)
+; SSE-NEXT: movd %xmm5, (%r8)
+; SSE-NEXT: movd %xmm0, (%r9)
+; SSE-NEXT: movd %xmm1, (%r11)
+; SSE-NEXT: movd %xmm6, (%r10)
+; SSE-NEXT: movd %xmm7, (%rax)
+; SSE-NEXT: retq
+;
+; AVX-LABEL: load_i16_stride8_vf2:
+; AVX: # %bb.0:
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX-NEXT: vmovd %xmm2, (%rsi)
+; AVX-NEXT: vpextrd $1, %xmm2, (%rdx)
+; AVX-NEXT: vpextrd $2, %xmm2, (%rcx)
+; AVX-NEXT: vpextrd $3, %xmm2, (%r8)
+; AVX-NEXT: vmovd %xmm0, (%r9)
+; AVX-NEXT: vpextrd $1, %xmm0, (%r11)
+; AVX-NEXT: vpextrd $2, %xmm0, (%r10)
+; AVX-NEXT: vpextrd $3, %xmm0, (%rax)
+; AVX-NEXT: retq
+ %wide.vec = load <16 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 0, i32 8>
+ %strided.vec1 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 1, i32 9>
+ %strided.vec2 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 2, i32 10>
+ %strided.vec3 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 3, i32 11>
+ %strided.vec4 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 4, i32 12>
+ %strided.vec5 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 5, i32 13>
+ %strided.vec6 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 6, i32 14>
+ %strided.vec7 = shufflevector <16 x i16> %wide.vec, <16 x i16> poison, <2 x i32> <i32 7, i32 15>
+
+ store <2 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <2 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i16_stride8_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm4[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm5[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movq %xmm6, (%rsi)
+; SSE-NEXT: movq %xmm8, (%rdx)
+; SSE-NEXT: movq %xmm5, (%rcx)
+; SSE-NEXT: movq %xmm7, (%r8)
+; SSE-NEXT: movq %xmm1, (%r9)
+; SSE-NEXT: movq %xmm4, (%r11)
+; SSE-NEXT: movq %xmm0, (%r10)
+; SSE-NEXT: movq %xmm3, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride8_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1],xmm4[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm1, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%r11)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%r10)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride8_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovq %xmm6, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm7, (%rdx)
+; AVX2-ONLY-NEXT: vmovq %xmm8, (%rcx)
+; AVX2-ONLY-NEXT: vmovq %xmm4, (%r8)
+; AVX2-ONLY-NEXT: vmovq %xmm1, (%r9)
+; AVX2-ONLY-NEXT: vmovq %xmm3, (%r11)
+; AVX2-ONLY-NEXT: vmovq %xmm5, (%r10)
+; AVX2-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride8_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm5[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [3,7,3,3]
+; AVX512F-SLOW-NEXT: vpermt2d %xmm4, %xmm9, %xmm5
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpermt2d %xmm2, %xmm9, %xmm0
+; AVX512F-SLOW-NEXT: vmovq %xmm6, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm7, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%r9)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%r11)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%r10)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride8_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = [1,5,1,1]
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm8
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm7, %xmm8
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = [3,7,3,3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm5
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm0, %xmm7
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm2, %xmm10, %xmm0
+; AVX512F-FAST-NEXT: vmovq %xmm6, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm8, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm9, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%r9)
+; AVX512F-FAST-NEXT: vmovq %xmm7, (%r11)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%r10)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride8_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,8,16,24,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,17,25,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm4 = <2,10,18,26,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,19,27,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = <4,12,20,28,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm7 = <5,13,21,29,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = <6,14,22,30,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = <7,15,23,31,u,u,u,u>
+; AVX512BW-NEXT: vpermi2w %ymm2, %ymm1, %ymm9
+; AVX512BW-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-NEXT: vmovq %xmm6, (%r9)
+; AVX512BW-NEXT: vmovq %xmm7, (%r11)
+; AVX512BW-NEXT: vmovq %xmm8, (%r10)
+; AVX512BW-NEXT: vmovq %xmm9, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <32 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 0, i32 8, i32 16, i32 24>
+ %strided.vec1 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 1, i32 9, i32 17, i32 25>
+ %strided.vec2 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 2, i32 10, i32 18, i32 26>
+ %strided.vec3 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 3, i32 11, i32 19, i32 27>
+ %strided.vec4 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 4, i32 12, i32 20, i32 28>
+ %strided.vec5 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 5, i32 13, i32 21, i32 29>
+ %strided.vec6 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 6, i32 14, i32 22, i32 30>
+ %strided.vec7 = shufflevector <32 x i16> %wide.vec, <32 x i16> poison, <4 x i32> <i32 7, i32 15, i32 23, i32 31>
+
+ store <4 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <4 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i16_stride8_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm7
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm9
+; SSE-NEXT: movdqa 80(%rdi), %xmm10
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa 112(%rdi), %xmm11
+; SSE-NEXT: movdqa 96(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm13
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[0,0,0,0]
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm10[0],xmm12[1],xmm10[1],xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm12[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm2, %xmm14
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm9[0],xmm14[1],xmm9[1],xmm14[2],xmm9[2],xmm14[3],xmm9[3]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1],xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm14[0],xmm5[1],xmm14[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3]
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm14[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm8[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm13[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm12[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm8[2],xmm15[3],xmm8[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm4[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm14[2],xmm4[3],xmm14[3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm15[2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm12 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm14[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm12[2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm3 = xmm3[4],xmm11[4],xmm3[5],xmm11[5],xmm3[6],xmm11[6],xmm3[7],xmm11[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm3[0,0,0,0]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm9[4],xmm2[5],xmm9[5],xmm2[6],xmm9[6],xmm2[7],xmm9[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm7[4],xmm0[5],xmm7[5],xmm0[6],xmm7[6],xmm0[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm10[2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm9
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm3[0],xmm9[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm9[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm3[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm10[2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm1[2,3]
+; SSE-NEXT: movaps %xmm5, (%rsi)
+; SSE-NEXT: movaps %xmm6, (%rdx)
+; SSE-NEXT: movaps %xmm4, (%rcx)
+; SSE-NEXT: movaps %xmm8, (%r8)
+; SSE-NEXT: movaps %xmm7, (%r9)
+; SSE-NEXT: movaps %xmm11, (%r11)
+; SSE-NEXT: movaps %xmm0, (%r10)
+; SSE-NEXT: movaps %xmm9, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride8_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm7[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1],xmm12[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm7[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm15[0,1,2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm12[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm13[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm7[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm6[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm10[4],xmm11[4],xmm10[5],xmm11[5],xmm10[6],xmm11[6],xmm10[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm8[4],xmm9[4],xmm8[5],xmm9[5],xmm8[6],xmm9[6],xmm8[7],xmm9[7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm8[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm6[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm5[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm7[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%r9)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%r11)
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, (%r10)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride8_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm4, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm7, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm13[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm12[1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm14[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm4[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = xmm7[0,1,2],xmm14[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = xmm15[0,1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm12[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm13[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm12[0],xmm7[1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm2, %xmm3
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm5, %xmm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm10[4],xmm11[4],xmm10[5],xmm11[5],xmm10[6],xmm11[6],xmm10[7],xmm11[7]
+; AVX2-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm8[4],xmm9[4],xmm8[5],xmm9[5],xmm8[6],xmm9[6],xmm8[7],xmm9[7]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm6[1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm2[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm5[0,1,2],xmm9[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm7[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm14, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm8, (%r11)
+; AVX2-ONLY-NEXT: vmovdqa %xmm9, (%r10)
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%rax)
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i16_stride8_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: pushq %rbx
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-NEXT: vmovd %xmm1, %ebx
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-NEXT: vpinsrw $2, %ebx, %xmm4, %xmm4
+; AVX512F-NEXT: vmovd %xmm0, %ebx
+; AVX512F-NEXT: vpinsrw $3, %ebx, %xmm4, %xmm5
+; AVX512F-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-NEXT: vmovd %xmm4, %ebx
+; AVX512F-NEXT: vpinsrw $4, %ebx, %xmm5, %xmm6
+; AVX512F-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-NEXT: vmovd %xmm5, %ebx
+; AVX512F-NEXT: vpinsrw $5, %ebx, %xmm6, %xmm7
+; AVX512F-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512F-NEXT: vmovd %xmm6, %ebx
+; AVX512F-NEXT: vpinsrw $6, %ebx, %xmm7, %xmm8
+; AVX512F-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512F-NEXT: vmovd %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512F-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512F-NEXT: vmovd %edi, %xmm9
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512F-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $1, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512F-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512F-NEXT: vpextrw $2, %xmm2, %ebx
+; AVX512F-NEXT: vmovd %ebx, %xmm10
+; AVX512F-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm1[2],xmm10[3,4,5,6,7]
+; AVX512F-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpextrw $2, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpextrw $2, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512F-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512F-NEXT: vpextrw $3, %xmm2, %ebx
+; AVX512F-NEXT: vmovd %ebx, %xmm11
+; AVX512F-NEXT: vpinsrw $1, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpextrw $3, %xmm1, %edi
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm0[3],xmm11[4,5,6,7]
+; AVX512F-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpextrw $3, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512F-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512F-NEXT: vpunpckhwd {{.*#+}} xmm12 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512F-NEXT: vpextrw $4, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm12, %xmm12
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm4[4],xmm12[5,6,7]
+; AVX512F-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512F-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512F-NEXT: vpextrw $4, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512F-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512F-NEXT: vpextrw $5, %xmm2, %ebx
+; AVX512F-NEXT: vmovd %ebx, %xmm13
+; AVX512F-NEXT: vpinsrw $1, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpextrw $5, %xmm1, %edi
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4],xmm5[5],xmm13[6,7]
+; AVX512F-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpextrw $5, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm13, %xmm13
+; AVX512F-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512F-NEXT: vpextrw $6, %xmm2, %ebx
+; AVX512F-NEXT: vmovd %ebx, %xmm14
+; AVX512F-NEXT: vpinsrw $1, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpextrw $6, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5],xmm6[6],xmm14[7]
+; AVX512F-NEXT: vpextrw $6, %xmm7, %edi
+; AVX512F-NEXT: vpinsrw $7, %edi, %xmm14, %xmm14
+; AVX512F-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512F-NEXT: vpextrw $7, %xmm2, %ebx
+; AVX512F-NEXT: vmovd %ebx, %xmm2
+; AVX512F-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512F-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512F-NEXT: vpinsrw $2, %edi, %xmm2, %xmm1
+; AVX512F-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512F-NEXT: vpinsrw $3, %edi, %xmm1, %xmm0
+; AVX512F-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512F-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512F-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512F-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512F-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512F-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm7[7]
+; AVX512F-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512F-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512F-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512F-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512F-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512F-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512F-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512F-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-NEXT: popq %rbx
+; AVX512F-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i16_stride8_vf8:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: pushq %rbx
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %ebx
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %ebx, %xmm4, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %ebx, %xmm5, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vmovd %xmm5, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %ebx, %xmm6, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %ebx, %xmm7, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vmovd %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vmovd %edi, %xmm9
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0],xmm3[1],xmm9[2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $1, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm1[2],xmm10[3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $2, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm11
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm0[3],xmm11[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $3, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm12 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3],xmm4[4],xmm12[5,6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $4, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm13
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4],xmm5[5],xmm13[6,7]
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrw $5, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm14
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2,3,4,5],xmm6[6],xmm14[7]
+; AVX512BW-SLOW-NEXT: vpextrw $6, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $7, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm2
+; AVX512BW-SLOW-NEXT: vpinsrw $1, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $2, %edi, %xmm2, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $3, %edi, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm7[7]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: popq %rbx
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i16_stride8_vf8:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: pushq %rbx
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <7,15,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <6,14,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm1, %zmm1
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm12
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpermw %zmm2, %zmm3, %zmm10
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm13
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm14
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovd %xmm3, %ebx
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX512BW-FAST-NEXT: vpinsrw $2, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %ebx
+; AVX512BW-FAST-NEXT: vpinsrw $3, %ebx, %xmm4, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %ebx
+; AVX512BW-FAST-NEXT: vpinsrw $4, %ebx, %xmm5, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %ebx
+; AVX512BW-FAST-NEXT: vpinsrw $5, %ebx, %xmm6, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vmovd %xmm6, %ebx
+; AVX512BW-FAST-NEXT: vpinsrw $6, %ebx, %xmm7, %xmm8
+; AVX512BW-FAST-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vmovd %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrw $1, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm3[2],xmm11[3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $2, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2],xmm2[3],xmm12[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrw $3, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpunpckhwd {{.*#+}} xmm13 = xmm13[4],xmm14[4],xmm13[5],xmm14[5],xmm13[6],xmm14[6],xmm13[7],xmm14[7]
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3],xmm4[4],xmm13[5,6,7]
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrw $4, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm5[5],xmm9[6,7]
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $5, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm6[6],xmm1[7]
+; AVX512BW-FAST-NEXT: vpextrw $6, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $7, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm3, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $2, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $3, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $4, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $5, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrw $7, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrw $6, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6],xmm7[7]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm11, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm12, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm13, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%r11)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm1, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: popq %rbx
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <64 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56>
+ %strided.vec1 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57>
+ %strided.vec2 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58>
+ %strided.vec3 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59>
+ %strided.vec4 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60>
+ %strided.vec5 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61>
+ %strided.vec6 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62>
+ %strided.vec7 = shufflevector <64 x i16> %wide.vec, <64 x i16> poison, <8 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
+
+ store <8 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <8 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i16_stride8_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $168, %rsp
+; SSE-NEXT: movdqa 112(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm4
+; SSE-NEXT: movdqa 240(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm13
+; SSE-NEXT: movdqa 160(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm13[0],xmm11[1],xmm13[1],xmm11[2],xmm13[2],xmm11[3],xmm13[3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[0,0,0,0]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm11[0],xmm3[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm14[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm7[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; SSE-NEXT: movdqa 32(%rdi), %xmm12
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm10
+; SSE-NEXT: punpcklwd {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; SSE-NEXT: movdqa (%rdi), %xmm6
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm8
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm15[2,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm11[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: movdqa %xmm1, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm9[0],xmm15[1],xmm9[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm15[2,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm10[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm15[2,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm9[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; SSE-NEXT: movdqa %xmm2, %xmm15
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm11[2],xmm15[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm14[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm8[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm10[2],xmm8[3],xmm10[3]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm0[2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,3]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm14[2],xmm7[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm7[2,3]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm13[4],xmm0[5],xmm13[5],xmm0[6],xmm13[6],xmm0[7],xmm13[7]
+; SSE-NEXT: movdqa (%rsp), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = xmm13[4],mem[4],xmm13[5],mem[5],xmm13[6],mem[6],xmm13[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[4],mem[4],xmm15[5],mem[5],xmm15[6],mem[6],xmm15[7],mem[7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[0,0,0,0]
+; SSE-NEXT: movdqa %xmm15, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[4],mem[4],xmm12[5],mem[5],xmm12[6],mem[6],xmm12[7],mem[7]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm7[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; SSE-NEXT: movdqa %xmm4, %xmm9
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm12[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm6[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm5[0],xmm10[1],xmm5[1]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm10[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm0[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; SSE-NEXT: movdqa %xmm15, %xmm11
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm13[2],xmm11[3],xmm13[3]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm11[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm5[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm11[2],xmm0[3],xmm11[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm6[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm12[2],xmm6[3],xmm12[3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm0[2,3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm13[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm4[0],xmm14[1],xmm4[1]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm3[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps %xmm8, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%r8)
+; SSE-NEXT: movaps %xmm1, (%r9)
+; SSE-NEXT: movapd %xmm2, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm9, (%rax)
+; SSE-NEXT: movaps %xmm7, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm6, (%rax)
+; SSE-NEXT: movapd %xmm10, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps %xmm14, (%rax)
+; SSE-NEXT: addq $168, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride8_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $152, %rsp
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm3[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm14[0],xmm1[0],xmm14[1],xmm1[1],xmm14[2],xmm1[2],xmm14[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm15[0],xmm13[0],xmm15[1],xmm13[1],xmm15[2],xmm13[2],xmm15[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm10[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm8[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1],xmm0[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm6 = xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm5[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm4[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm9 = xmm3[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm8[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm7[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm9[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = xmm14[4],mem[4],xmm14[5],mem[5],xmm14[6],mem[6],xmm14[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm10[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm7[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm12[4],xmm11[4],xmm12[5],xmm11[5],xmm12[6],xmm11[6],xmm12[7],xmm11[7]
+; AVX1-ONLY-NEXT: vpunpckhwd {{.*#+}} xmm7 = xmm15[4],xmm13[4],xmm15[5],xmm13[5],xmm15[6],xmm13[6],xmm15[7],xmm13[7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm11[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm2[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1],xmm0[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm10[0],xmm5[0],xmm10[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1],xmm6[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm9[0,1,2,3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm5[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm10[0,1,2,3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm10[2],xmm5[2],xmm10[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $152, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride8_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $232, %rsp
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm11, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm8, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm14 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm14[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm12 = ymm4[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm13 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm13[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm15 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm15[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm15[0,1,0,2]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm10[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm1[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm9 = ymm0[0,1,0,2]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm9[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm12 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4],ymm3[5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpblendd $15, (%rsp), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm6[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm5[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm11[0],xmm8[1],xmm11[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm11[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm14[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm13[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm2[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm10[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm7 = ymm9[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm9 = ymm4[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm10 = ymm7[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm8[2],xmm11[2],xmm8[3],xmm11[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm5[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm6[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm4[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm7[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm5, %xmm2
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm6[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm8 = ymm4[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm7 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm9 = ymm7[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm10 = ymm9[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm15[0,1,1,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm13 = ymm10[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm14 = ymm13[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm15 = ymm12[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm11 = ymm15[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm2[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0],xmm1[1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm9 = ymm13[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm11 = ymm15[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4],ymm9[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm0[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm5[0,1,2],xmm8[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm9 = ymm6[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm11 = ymm7[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm10 = ymm10[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm12[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm12 = ymm10[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm11[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm7[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm10[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm11[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3,4],ymm2[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-ONLY-NEXT: addq $232, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride8_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm24
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm26
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm27
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,0,4>
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm29 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm5[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1,2],xmm8[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm30
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpermt2d %xmm5, %xmm7, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm9
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm12
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm15 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 224(%rdi), %ymm16
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm17 = ymm16[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm17[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm18
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm19 = ymm18[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm19[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm1[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa64 160(%rdi), %ymm20
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm23 = ymm20[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %ymm21
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm22 = ymm21[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm23[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm22[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4],ymm3[5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm3, %ymm28
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm15[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm14[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm29
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm17[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm0[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm19[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm2[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm23[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm4[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm22[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm8[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm19
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <3,7,u,u>
+; AVX512F-SLOW-NEXT: vpermt2d %xmm14, %xmm17, %xmm15
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm15[0,1],xmm13[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm4[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm8[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4],ymm2[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm1
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm1 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm2
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; AVX512F-SLOW-NEXT: vpermi2d %xmm1, %xmm2, %xmm7
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm4 = xmm11[4],xmm12[4],xmm11[5],xmm12[5],xmm11[6],xmm12[6],xmm11[7],xmm12[7]
+; AVX512F-SLOW-NEXT: vpunpckhwd {{.*#+}} xmm9 = xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm16[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm7[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm10[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm18[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm13 = ymm12[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm13[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm20[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm14[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm15[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm16 = ymm21[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm16[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm10[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm13[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm15[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm6[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm9[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm6[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm7[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm3[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm12[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm7[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm14[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm10[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm16[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm13 = ymm12[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2,3,4],ymm11[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm1[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm2[0,1,2],xmm11[3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm13[0,1],xmm11[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpermt2d %xmm4, %xmm17, %xmm9
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm7[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm12[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm28, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm29, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm19, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm5, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm6, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride8_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm26
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm27
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm28
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm29
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,0,4>
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm14, %xmm7, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm9
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm30
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm31
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm12[0],xmm4[0],xmm12[1],xmm4[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 224(%rdi), %ymm17
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm19 = ymm17[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm19[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm13 = ymm15[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %ymm18
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm21 = ymm18[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm21[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1,2,3,4,5,6],ymm13[7]
+; AVX512F-FAST-NEXT: vmovdqa64 160(%rdi), %ymm20
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm22 = ymm20[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %ymm16
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm23 = ymm16[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm22[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm3[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm23[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4],ymm1[5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vmovdqa %xmm12, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm13, %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm11[0],xmm14[0],xmm11[1],xmm14[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm15[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm25
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, %xmm0
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm11[2],xmm14[2],xmm11[3],xmm14[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,2,6>
+; AVX512F-FAST-NEXT: vpermt2d %xmm14, %xmm11, %xmm0
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm12[2],xmm4[2],xmm12[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm19[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm3[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm21[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm22[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm15[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm23[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm0[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm14[5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm21
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} xmm19 = <3,7,u,u>
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm19, %xmm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm12[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm15[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm22
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm27, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm2 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm3 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm3, %xmm7
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm6 = xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhwd {{.*#+}} xmm5 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm17 = ymm17[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm17[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm9 = ymm7[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm10 = ymm18[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm10[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm15 = ymm12[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm15 = ymm20[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm15[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm1[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm16 = ymm16[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm16[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm8[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3,4],ymm0[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm9[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermi2d %xmm6, %xmm5, %xmm13
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm13[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm9 = ymm12[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm8[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4],ymm1[5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm3, %xmm11
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm11[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm10[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm10 = ymm9[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm15[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm11 = ymm10[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm16[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm13 = ymm12[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2,3,4],ymm11[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vpermt2d %xmm6, %xmm19, %xmm5
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm9[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm12[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm25, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm7, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride8_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,0,8,16,24,32,40,48,56>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm5 = [0,8,16,24,32,40,48,56]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,1,9,17,25,33,41,49,57>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = [1,9,17,25,33,41,49,57]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm6
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,2,10,18,26,34,42,50,58>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm7 = [2,10,18,26,34,42,50,58]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm7
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,3,11,19,27,35,43,51,59>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = [3,11,19,27,35,43,51,59]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,4,12,20,28,36,44,52,60>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = [4,12,20,28,36,44,52,60]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,5,13,21,29,37,45,53,61>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm10 = [5,13,21,29,37,45,53,61]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm10
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,6,14,22,30,38,46,54,62>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = [6,14,22,30,38,46,54,62]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,7,15,23,31,39,47,55,63>
+; AVX512BW-NEXT: vpermi2w %zmm3, %zmm2, %zmm11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = [7,15,23,31,39,47,55,63]
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm2
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512BW-NEXT: vmovdqa %ymm9, (%r11)
+; AVX512BW-NEXT: vmovdqa %ymm10, (%r10)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120>
+ %strided.vec1 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121>
+ %strided.vec2 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122>
+ %strided.vec3 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123>
+ %strided.vec4 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124>
+ %strided.vec5 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125>
+ %strided.vec6 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126>
+ %strided.vec7 = shufflevector <128 x i16> %wide.vec, <128 x i16> poison, <16 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127>
+
+ store <16 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <16 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i16_stride8_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $728, %rsp # imm = 0x2D8
+; SSE-NEXT: movdqa 496(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 480(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,0,0,0]
+; SSE-NEXT: movdqa %xmm3, %xmm15
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1],xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm2[0],xmm14[1],xmm2[1],xmm14[2],xmm2[2],xmm14[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 432(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 416(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 384(%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1],xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1],xmm12[2],xmm0[2],xmm12[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 304(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 288(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm2[0],xmm8[1],xmm2[1],xmm8[2],xmm2[2],xmm8[3],xmm2[3]
+; SSE-NEXT: movdqa 272(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1],xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa 32(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm1[0],xmm14[1],xmm1[1],xmm14[2],xmm1[2],xmm14[3],xmm1[3]
+; SSE-NEXT: movdqa (%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm1[0],xmm13[1],xmm1[1],xmm13[2],xmm1[2],xmm13[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movapd %xmm9, %xmm0
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm14[2],xmm1[3],xmm14[3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[2],mem[2],xmm15[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm10[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm12 = xmm12[2],xmm2[2],xmm12[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm12[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm11[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd (%rsp), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[4],mem[4],xmm14[5],mem[5],xmm14[6],mem[6],xmm14[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = xmm9[4],mem[4],xmm9[5],mem[5],xmm9[6],mem[6],xmm9[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[4],mem[4],xmm8[5],mem[5],xmm8[6],mem[6],xmm8[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm4[0,0,0,0]
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[4],mem[4],xmm12[5],mem[5],xmm12[6],mem[6],xmm12[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm12[0],xmm4[1],xmm12[1]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm1[2,3]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm11
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa %xmm3, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[1,1,1,1]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm0[2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm14[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm0[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm5[2,2,2,2]
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm6, %xmm5
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm12 = xmm12[2],xmm0[2],xmm12[3],xmm0[3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm9[0],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[2,2,2,2]
+; SSE-NEXT: movaps %xmm13, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, %xmm13
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm13 = xmm13[2],xmm3[2],xmm13[3],xmm3[3]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,1],xmm1[2,3]
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,1],xmm1[2,3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[2],mem[2],xmm8[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm8[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm6 = xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm3[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rax)
+; SSE-NEXT: movaps %xmm7, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm12, 48(%rax)
+; SSE-NEXT: movapd %xmm11, 32(%rax)
+; SSE-NEXT: movapd %xmm10, 16(%rax)
+; SSE-NEXT: movaps %xmm13, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm1, 48(%rax)
+; SSE-NEXT: movaps %xmm2, 32(%rax)
+; SSE-NEXT: movaps %xmm14, 16(%rax)
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $728, %rsp # imm = 0x2D8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride8_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $856, %rsp # imm = 0x358
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm11[0],xmm5[0],xmm11[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm14[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm7[0],xmm9[0],xmm7[1],xmm9[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm3[0],xmm13[1],xmm3[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm15[0],xmm1[0],xmm15[1],xmm1[1],xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm14[0],xmm6[0],xmm14[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm10[0],xmm6[0],xmm10[1],xmm6[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm15[0,1],xmm9[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm12[0],xmm10[0],xmm12[1],xmm10[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0,1],mem[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm11[2],xmm5[2],xmm11[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm7[2],xmm9[2],xmm7[3],xmm9[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm6[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm8[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm13[2],xmm2[2],xmm13[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm12[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm12[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm13[2],xmm7[2],xmm13[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm15[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm14[2],mem[2],xmm14[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm4[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm14[0,1],xmm3[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm5[2],xmm11[2],xmm5[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm11 = xmm9[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm10[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm8[2],xmm2[2],xmm8[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1],xmm3[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm8[0],xmm2[0],xmm8[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm9[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm10[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm7[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm11[0],xmm13[0],xmm11[1],xmm13[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm14[0],xmm15[0],xmm14[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm12[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1],xmm1[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm12[0],xmm10[0],xmm12[1],xmm10[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm11[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm13[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm14[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm15[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm9[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm7[2],xmm11[2],xmm7[3],xmm11[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm12[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm13[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm6[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm7[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm13[2],xmm2[2],xmm13[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm15[2,3,2,3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm14[3,3,3,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: addq $856, %rsp # imm = 0x358
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride8_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $984, %rsp # imm = 0x3D8
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 304(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, %xmm7
+; AVX2-ONLY-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm15 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm13 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm13[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm4 = ymm11[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm9 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm9[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm10 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm0[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm14 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm0[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm8[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm10[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm14 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3,4],ymm0[5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm3[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, %xmm14
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm14[0],xmm7[1],xmm14[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm6 = ymm13[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm6 = ymm11[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm15[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm11[0],xmm13[1],xmm11[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm4 = ymm8[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm14[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm7[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm9 = ymm5[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm11[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm13[0,1,2],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm13, %xmm8
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm9 = ymm4[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm11 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm10 = ymm10[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm11[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm14 = ymm10[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm13[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm7[2],mem[2],xmm7[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm9 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm13 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0],xmm9[1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm5[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm8[2],mem[2],xmm8[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm15[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm12[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, %xmm15
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm4, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm0[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm0 = ymm11[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm0[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm7 = ymm8[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm10 = ymm1[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm9 = ymm10[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3,4],ymm7[5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm7
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm9
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm9 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm9 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm0[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm12 = ymm4[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm14 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm13 = ymm14[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm15, %xmm13
+; AVX2-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm15[0],xmm13[0],xmm15[1],xmm13[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm11[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm6 = ymm8[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm8 = ymm10[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm14[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm13[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm15[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm8 = ymm5[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm10[2,2,2,2]
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, %xmm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm11[0,1,2],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm11, %xmm7
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm8 = ymm4[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm10 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm10 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm12 = ymm10[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm11[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm8 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm8 = xmm15[2],mem[2],xmm15[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm12 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm13 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm12[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm5[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm7[2],xmm14[2],xmm7[3],xmm14[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm9[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm4 = ymm10[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm11[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: addq $984, %rsp # imm = 0x3D8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride8_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: subq $520, %rsp # imm = 0x208
+; AVX512F-SLOW-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,4>
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpermt2d %xmm5, %xmm1, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm16
+; AVX512F-SLOW-NEXT: vmovdqa 480(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm18 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm18[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm2, %ymm22
+; AVX512F-SLOW-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm19 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm19[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm12[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm21 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm29 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm21[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm29[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm10[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3,4],ymm2[5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: movb $-64, %al
+; AVX512F-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm16 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm2[0,1,2],xmm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm23
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm20 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm24 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpermt2d %xmm0, %xmm1, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm15[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 224(%rdi), %ymm26
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm31 = ymm26[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa64 192(%rdi), %ymm25
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm30 = ymm25[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm31[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm30[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm3[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm14[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa64 160(%rdi), %ymm27
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm27[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %ymm28
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm17 = ymm28[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm14[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm17[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm13 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4],ymm4[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm4, %zmm16, %zmm4
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm5[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm9[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm4 = xmm4[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm22, %ymm7
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm12[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm11[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5],ymm10[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm4, %zmm0, %zmm4
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm7, %zmm0, %zmm4 {%k1}
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm15[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm6[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm4, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm18[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm19[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm21[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm7[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm29[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm11[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4],ymm8[5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm31[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm3[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm30[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm13 = ymm12[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm13 = ymm14[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm13[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm17[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm15[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4],ymm14[5],ymm10[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1],xmm14[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm8, %zmm1, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <3,7,u,u>
+; AVX512F-SLOW-NEXT: vpermt2d %xmm9, %xmm8, %xmm5
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm5[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm7[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm11[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vpermt2d %xmm6, %xmm8, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm12[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm13[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm15[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm1[0,1,2],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm30
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm21 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm31 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,0,4>
+; AVX512F-SLOW-NEXT: vpermt2d %xmm0, %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd (%rsp), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm18
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm4, %zmm0, %zmm9
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm17 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm17 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm17[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm0[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm19
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm20 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm20 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm13 = ymm20[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm13[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm29 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm29 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm23 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm23 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm29[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm10[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm23[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm12[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm9 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm5 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm0
+; AVX512F-SLOW-NEXT: vpermi2d %xmm3, %xmm5, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm16
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm4 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm4 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm7 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm7 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm8[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm22 = ymm26[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm22[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm14 = ymm15[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm24 = ymm25[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm24[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0,1,2,3,4,5,6],ymm14[7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm26 = ymm27[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm25 = ymm28[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm26[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm14[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm25[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2,3,4],ymm3[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm3, %zmm9, %zmm27
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0],xmm3[1],xmm8[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm19, %ymm6
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm6[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm13[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm12[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm8, %zmm0, %zmm8
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm8 {%k1}
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm15[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm14[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm9[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm5[0],xmm16[0],xmm5[1],xmm16[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm7[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm4[1],xmm9[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm8, %zmm28
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm1[2],xmm18[2],xmm1[3],xmm18[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm17[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm8[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm20[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm10[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm29[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm11[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm13 = ymm23[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm13[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3,4,5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm2 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm22[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm9[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm24[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm15 = ymm14[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm26[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm15[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm25[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm0[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4],ymm3[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm16[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm5[0,1,2],xmm6[3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm12 = xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm12[0,1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm3, %zmm2, %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <3,7,u,u>
+; AVX512F-SLOW-NEXT: vpermt2d %xmm18, %xmm12, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm10[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm11[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm13[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vpermt2d %xmm4, %xmm12, %xmm7
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm5[2],xmm16[2],xmm5[3],xmm16[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm7[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm9[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm14[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm15[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm5[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm27, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm28, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-SLOW-NEXT: addq $520, %rsp # imm = 0x208
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride8_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: subq $552, %rsp # imm = 0x228
+; AVX512F-FAST-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,4>
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm18
+; AVX512F-FAST-NEXT: vpermt2d %xmm5, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa 272(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm21
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm20
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm15
+; AVX512F-FAST-NEXT: vmovdqa 480(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm22 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm22[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm23
+; AVX512F-FAST-NEXT: vmovdqa 448(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm27 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm27[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm12[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vmovdqa 416(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm28 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqa 384(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm29 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm28[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm8[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm29[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm9[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-FAST-NEXT: movb $-64, %al
+; AVX512F-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm15 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d %xmm11, %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm3[0],xmm7[1],xmm3[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm16
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm30 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %ymm24
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm31 = ymm24[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm30[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm31[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vmovdqa64 160(%rdi), %ymm25
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm19 = ymm25[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %ymm26
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm17 = ymm26[0,1,0,2]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm14 = ymm19[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm14[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm17[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm13 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm15, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d %xmm20, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm13
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm18[0],xmm5[0],xmm18[1],xmm5[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm1
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm12[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm6 = ymm8[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm9[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4],ymm6[5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm16, %xmm13, %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm14[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm18[2],xmm5[2],xmm18[3],xmm5[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,2,6>
+; AVX512F-FAST-NEXT: vpermt2d %xmm5, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm21[2],xmm20[2],xmm21[3],xmm20[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm22[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm27[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm28[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm9 = ymm6[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm29[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm13 = ymm12[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm13[0,1,2,3,4],ymm9[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm1 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm11, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm10 = xmm7[2],xmm16[2],xmm7[3],xmm16[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm10[0,1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm30[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm11 = ymm10[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm31[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm13[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm14 = ymm19[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm14[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm17[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm15 = ymm0[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0,1,2,3,4],ymm2[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm2, %zmm1, %zmm1
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} xmm29 = <3,7,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm20, %xmm29, %xmm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm8[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm6[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm12[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm1 {%k1}
+; AVX512F-FAST-NEXT: vpermt2d %xmm16, %xmm29, %xmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm7[0,1],xmm9[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm10[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm13[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm14[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm6 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,0,4>
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm20
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm30
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm8
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm27 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm27 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm14 = ymm27[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm23 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm23 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm23[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm22 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm22 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm21 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm21 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm11 = ymm22[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm11[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm21[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm12[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4],ymm5[5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm8 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm5 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm7 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm7 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm5, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm5, %xmm17
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm31
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm9 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm9 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm7, %xmm16
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm15 = xmm10[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm19 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm19 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm19[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm24 = ymm24[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm24[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm13[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm25 = ymm25[0,1,1,3]
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm18 = ymm26[0,1,1,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm25[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm5[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm18[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4],ymm0[5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm8, %zmm28
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vpermt2d %xmm30, %xmm8, %xmm0
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm20[0],xmm6[1],xmm20[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm11[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm12[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3,4],ymm4[5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, %xmm4
+; AVX512F-FAST-NEXT: vpermi2d %xmm16, %xmm9, %xmm4
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm17[0],xmm31[0],xmm17[1],xmm31[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm14 = xmm4[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm13[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm5[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, %xmm4
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm6[2],xmm20[2],xmm6[3],xmm20[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm2, %zmm0, %zmm26
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,2,6>
+; AVX512F-FAST-NEXT: vpermt2d %xmm20, %xmm0, %xmm4
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm30[2],xmm3[3],xmm30[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm27[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm4[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm23[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm22[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm7[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm21[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm11 = ymm10[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4],ymm8[5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm2 {%k1}
+; AVX512F-FAST-NEXT: vpermi2d %xmm31, %xmm17, %xmm0
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm9[2],xmm16[2],xmm9[3],xmm16[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm19[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm11 = ymm8[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm24[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm13 = ymm12[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm13 = ymm25[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm13[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm15 = ymm18[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm15[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm14[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vpermt2d %xmm30, %xmm29, %xmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm7[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm10[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm1 {%k1}
+; AVX512F-FAST-NEXT: vpermt2d %xmm16, %xmm29, %xmm9
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm17[2],xmm31[2],xmm17[3],xmm31[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm12[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm13[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm15[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm2, %zmm1, %zmm1
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm2, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm28, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm26, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-FAST-NEXT: addq $552, %rsp # imm = 0x228
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride8_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm6
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm10
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm8, %zmm10
+; AVX512BW-NEXT: movb $-64, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm10 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,0,8,16,24,32,40,48,56>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm9
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm8
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm9 = [1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm10
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm9, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm11
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm9, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm11 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,1,9,17,25,33,41,49,57>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm10
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm11, %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm11
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm10, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm12
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm10, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm12 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,2,10,18,26,34,42,50,58>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm11
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm10
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm10, %zmm12, %zmm10
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm11 = [3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm12
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm11, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm11, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,3,11,19,27,35,43,51,59>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm12
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm11, %zmm13, %zmm11
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm14
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm12, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,4,12,20,28,36,44,52,60>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm13
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm12
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm12, %zmm14, %zmm12
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm13 = [5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm14
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm13, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm13, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm15 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,5,13,21,29,37,45,53,61>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm14
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm13
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm13, %zmm15, %zmm13
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm16
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm14, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm16 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,6,14,22,30,38,46,54,62>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm15
+; AVX512BW-NEXT: vpermi2w %zmm1, %zmm0, %zmm14
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3],ymm15[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm14, %zmm16, %zmm14
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm15 = [7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm15, %zmm6
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm15, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm2 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,7,15,23,31,39,47,55,63>
+; AVX512BW-NEXT: vpermi2w %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vpermt2w %zmm1, %zmm15, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%r11)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <256 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120, i32 128, i32 136, i32 144, i32 152, i32 160, i32 168, i32 176, i32 184, i32 192, i32 200, i32 208, i32 216, i32 224, i32 232, i32 240, i32 248>
+ %strided.vec1 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121, i32 129, i32 137, i32 145, i32 153, i32 161, i32 169, i32 177, i32 185, i32 193, i32 201, i32 209, i32 217, i32 225, i32 233, i32 241, i32 249>
+ %strided.vec2 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122, i32 130, i32 138, i32 146, i32 154, i32 162, i32 170, i32 178, i32 186, i32 194, i32 202, i32 210, i32 218, i32 226, i32 234, i32 242, i32 250>
+ %strided.vec3 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123, i32 131, i32 139, i32 147, i32 155, i32 163, i32 171, i32 179, i32 187, i32 195, i32 203, i32 211, i32 219, i32 227, i32 235, i32 243, i32 251>
+ %strided.vec4 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124, i32 132, i32 140, i32 148, i32 156, i32 164, i32 172, i32 180, i32 188, i32 196, i32 204, i32 212, i32 220, i32 228, i32 236, i32 244, i32 252>
+ %strided.vec5 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125, i32 133, i32 141, i32 149, i32 157, i32 165, i32 173, i32 181, i32 189, i32 197, i32 205, i32 213, i32 221, i32 229, i32 237, i32 245, i32 253>
+ %strided.vec6 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126, i32 134, i32 142, i32 150, i32 158, i32 166, i32 174, i32 182, i32 190, i32 198, i32 206, i32 214, i32 222, i32 230, i32 238, i32 246, i32 254>
+ %strided.vec7 = shufflevector <256 x i16> %wide.vec, <256 x i16> poison, <32 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127, i32 135, i32 143, i32 151, i32 159, i32 167, i32 175, i32 183, i32 191, i32 199, i32 207, i32 215, i32 223, i32 231, i32 239, i32 247, i32 255>
+
+ store <32 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <32 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i16_stride8_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i16_stride8_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1752, %rsp # imm = 0x6D8
+; SSE-NEXT: movdqa 752(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 736(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[0,0,0,0]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 720(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 704(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 688(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 672(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 656(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 640(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 624(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 608(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 592(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 576(%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1],xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 560(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 544(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 528(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 512(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 496(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 480(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,0,0,0]
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 432(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 416(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 384(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 1008(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 992(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 976(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 960(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa 944(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 928(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 912(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 896(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1],xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa 304(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 288(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, (%rsp) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1],xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 880(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 864(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 848(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 832(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa 816(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 800(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm1[0],xmm11[1],xmm1[1],xmm11[2],xmm1[2],xmm11[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 784(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 768(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm11[0],xmm2[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 64(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; SSE-NEXT: movdqa 32(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm7[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm10[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = xmm11[2],mem[2],xmm11[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movapd %xmm7, %xmm0
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm11[2],xmm0[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movapd %xmm2, %xmm0
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movapd %xmm8, %xmm0
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm1 = xmm1[2],xmm12[2],xmm1[3],xmm12[3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm13 = xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm13[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm10[2],xmm14[3],xmm10[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[2],mem[2],xmm15[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = xmm11[4],mem[4],xmm11[5],mem[5],xmm11[6],mem[6],xmm11[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movdqa %xmm6, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[4],mem[4],xmm15[5],mem[5],xmm15[6],mem[6],xmm15[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[4],mem[4],xmm8[5],mem[5],xmm8[6],mem[6],xmm8[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[4],mem[4],xmm14[5],mem[5],xmm14[6],mem[6],xmm14[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm4[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm0[2],xmm9[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm0[0],xmm9[1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[4],mem[4],xmm7[5],mem[5],xmm7[6],mem[6],xmm7[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm1[2,3]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[1,1,1,1]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm11, %xmm9
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[1,1,1,1]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: unpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movaps %xmm8, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[2,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[2,2,2,2]
+; SSE-NEXT: movaps %xmm12, %xmm4
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movapd %xmm14, %xmm0
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm13[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm0[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm8[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm0[2],xmm9[3],xmm0[3]
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm0[0],xmm9[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm1[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm1[2,3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: pshufd $255, (%rsp), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm4[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm1[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm1[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm1[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm12[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm9, 112(%rax)
+; SSE-NEXT: movapd %xmm10, 96(%rax)
+; SSE-NEXT: movapd %xmm11, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movaps %xmm9, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movaps %xmm9, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movaps %xmm9, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movaps %xmm9, 16(%rax)
+; SSE-NEXT: movaps %xmm7, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm1, 112(%rax)
+; SSE-NEXT: movaps %xmm2, 96(%rax)
+; SSE-NEXT: movaps %xmm3, 80(%rax)
+; SSE-NEXT: movaps %xmm4, 64(%rax)
+; SSE-NEXT: movaps %xmm5, 48(%rax)
+; SSE-NEXT: movaps %xmm6, 32(%rax)
+; SSE-NEXT: movaps %xmm8, 16(%rax)
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $1752, %rsp # imm = 0x6D8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i16_stride8_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $2056, %rsp # imm = 0x808
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm6[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 880(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 864(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm8[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 848(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 816(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 800(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 784(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 768(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm14[0],xmm7[0],xmm14[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 1008(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 992(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm9[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 976(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 960(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 944(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 928(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa 912(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 896(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm13[0],xmm2[1],xmm13[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 624(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 608(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 592(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 560(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 752(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 736(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 720(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 704(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 688(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 672(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 656(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 640(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm0[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm15[0],xmm1[0],xmm15[1],xmm1[1],xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm15[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm10[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm15[0,1],xmm11[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm6[0],xmm8[0],xmm6[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm9[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm15[0,1],xmm13[2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0],mem[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm1[0],mem[0],xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm1[0],mem[0],xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[0],mem[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm1[0],mem[0],xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, (%rsp), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[0],mem[0],xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm2[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm5[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm6[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm14[2],xmm7[2],xmm14[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm9[2],xmm13[2],xmm9[3],xmm13[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm15 = xmm7[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm8[0,1,2,3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm13[2],xmm2[2],xmm13[3],xmm2[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm12[2],xmm5[2],xmm12[3],xmm5[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vpermilps $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm15 = xmm11[0,1,2],xmm15[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm4[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm1[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm6[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps $7, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm15 = xmm14[2],xmm1[2],xmm14[3],xmm1[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm15[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm15[0],xmm3[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm10[2],xmm3[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm15[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm14[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm14[0],xmm3[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm7[2],xmm3[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm14[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm2[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm13[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm14[0],xmm3[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm11[2],mem[2],xmm11[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm11 = xmm5[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm12[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0],xmm11[1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm10[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm11[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm9[0],xmm15[0],xmm9[1],xmm15[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm1[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2,3,4,5],xmm7[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm3[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm12[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm2[0,0,0,0]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm7 = xmm0[0,1,0,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm7[4],mem[4],xmm7[5],mem[5],xmm7[6],mem[6],xmm7[7],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm15[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm11[0],xmm6[0],xmm11[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm11[0],xmm13[0],xmm11[1],xmm13[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1],xmm10[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm8[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm13[0],mem[0],xmm13[1],mem[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm2[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[0],mem[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpunpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm4[0],mem[0],xmm4[1],mem[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm4[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm14[0],mem[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm12[0],mem[0],xmm12[1],mem[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm12[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm14[0],mem[0],xmm14[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm6[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm14 = xmm15[2,2,2,2]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm11[0,1,2,3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm7[0,1,2],xmm0[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vpermilps $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm13[0,1,2],xmm14[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm7[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm4[2],xmm9[2],xmm4[3],xmm9[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm8[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm3[0,1,2],xmm14[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm11[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm10[0,1,2],xmm1[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vpermilps $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps $7, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm14 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm14[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm14[0],xmm1[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm1[2],xmm15[2],xmm1[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm15[0],xmm14[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm2[2],xmm7[2],xmm2[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm5[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm6[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm3[2],xmm8[2],xmm3[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm9[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, (%rsp), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm13[2,3,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm12[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: addq $2056, %rsp # imm = 0x808
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i16_stride8_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $2472, %rsp # imm = 0x9A8
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 304(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 880(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 848(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa 784(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 816(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 800(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 960(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 992(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm9 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm8[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqa 896(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 928(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm5 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm5[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm0[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm10 = ymm1[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm11 = ymm0[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 624(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 592(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm10[0],xmm7[0],xmm10[1],xmm7[1],xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm7, %xmm7
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovdqa 528(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 560(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm10[0],xmm7[0],xmm10[1],xmm7[1],xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm11[0],xmm7[1],xmm11[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 704(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm10 = ymm6[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm7[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm11 = ymm6[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm11[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 672(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm10[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm14 = ymm6[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm11[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm15 = ymm6[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm11[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm12[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm13 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm14 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm14 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm15 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm12 = xmm4[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm12 = xmm12[0],mem[1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm15[0],xmm14[1],xmm15[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm12[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm13[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm12[1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[0],mem[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm6[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm7[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm6[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm15[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm14[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm14[2],mem[2],xmm14[3],mem[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm10 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm15 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm12[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm6[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm9 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm8 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm8[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm7 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm7[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm2[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa (%rsp), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm13 = mem[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2,3,4],ymm3[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm14[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2,3,4],ymm3[5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm12[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm11[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm6 = ymm6[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4],ymm3[5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm1 = xmm4[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm5[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm8[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm7[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm12 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm12 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, %xmm6
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm12, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, %xmm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm4, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm11[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm2, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, %xmm9
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm7 = ymm2[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm7[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm14 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm14 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm4, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm14[0],xmm3[1],xmm14[1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm0[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm2[0,1,2,0,4,5,6,4]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm0[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1,1,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm13 = ymm4[0,2,2,3,4,6,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm15 = ymm13[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4],ymm0[5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm12[0],xmm6[0],xmm12[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm15 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1,2,3,4],ymm3[5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[0],mem[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm6[0],xmm15[0],xmm6[1],xmm15[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm11[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2,3,4],ymm3[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm11[0],mem[0],xmm11[1],mem[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm7[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm7 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4],ymm3[5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $85, (%rsp), %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = mem[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm14[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm7[0],xmm14[0],xmm7[1],xmm14[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX2-ONLY-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm13[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm10[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm12[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm2[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm4[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm15[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm8[2],mem[2],xmm8[3],mem[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm2[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm4[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm11[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm2[2],xmm9[2],xmm2[3],xmm9[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm6 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm11 = ymm1[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm13 = ymm12[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2,3,4],ymm11[5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm14[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm7[0,1,2],xmm5[3]
+; AVX2-ONLY-NEXT: vmovdqa (%rsp), %xmm9 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm6 = xmm9[2],xmm7[2],xmm9[3],xmm7[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm6[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,1,3,4,5,5,7]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm11 = ymm5[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm14 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm15 = mem[3,1,2,3,7,5,6,7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm0 = ymm11[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm10 = ymm15[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3,4],ymm0[5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm10 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm13 = xmm2[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm13[0],xmm10[1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm4[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm3 = ymm12[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4],ymm1[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4],ymm2[5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm2 = xmm7[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm9[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw {{.*#+}} ymm4 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm4 = ymm11[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw {{.*#+}} ymm5 = ymm15[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX2-ONLY-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = mem[3,3,3,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX2-ONLY-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-ONLY-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX2-ONLY-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm14, 64(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 96(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 64(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-ONLY-NEXT: addq $2472, %rsp # imm = 0x9A8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i16_stride8_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: subq $2424, %rsp # imm = 0x978
+; AVX512F-SLOW-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 336(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,0,4>
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm5[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpermt2d %xmm5, %xmm6, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa 272(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm20
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, %xmm10
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm4[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: movb $-64, %al
+; AVX512F-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm2[0,1,2],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm3
+; AVX512F-SLOW-NEXT: vpermt2d %xmm1, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm4[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm27 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm25 = ymm2[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm27[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm25[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm2, %ymm30
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 880(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 864(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 848(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm1[0,1,2],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, %xmm3
+; AVX512F-SLOW-NEXT: vpermt2d %xmm0, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 816(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 800(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 784(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 768(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm22
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm4
+; AVX512F-SLOW-NEXT: vmovdqa 992(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 960(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm13 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm13[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa 928(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm1[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 896(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm2[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm12[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm1[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm11[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1,2,3,4],ymm3[5],ymm15[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm4 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa 624(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 608(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 592(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 576(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm15 = xmm0[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm15[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, %xmm15
+; AVX512F-SLOW-NEXT: vpermt2d %xmm0, %xmm6, %xmm15
+; AVX512F-SLOW-NEXT: vmovdqa 560(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 544(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 528(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 512(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm28
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm21
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0,1],xmm15[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm19 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa 704(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm18 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm19[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm18[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm15 = ymm6[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa 672(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm17 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vmovdqa 640(%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm16 = ymm0[0,1,0,2]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm17[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm5[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm16[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4],ymm0[5],ymm15[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm20[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm4 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm4 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm14 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3,4],ymm4[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm4 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm4 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm14 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3,4],ymm4[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm30 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm30[1,1,1,1]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm4 = xmm4[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm22[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm7[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm8[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm13[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm12[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm11[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2,3,4],ymm4[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm28[1,1,1,1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm8[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm9[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm5[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm20[2],xmm10[2],xmm20[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm23
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm10, %xmm20
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm31
+; AVX512F-SLOW-NEXT: vpshufd $212, (%rsp), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm1[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm29
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm1[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm26
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm1[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm24
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4],ymm6[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm1[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm12 = ymm27[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm13 = ymm12[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm25[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm14[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm15[0,1,2,3,4],ymm13[5],ymm15[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm30[2],xmm2[2],xmm30[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm25
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm13 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm13 = xmm13[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm6, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm22[2],xmm7[2],xmm22[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm27
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm7 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm13 = ymm7[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm15 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm15[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm13[7]
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm13 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm13[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm2[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4],ymm1[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm10[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm28[2],xmm21[2],xmm28[3],xmm21[3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm19[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm9[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm18[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm6[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm10[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm17[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm10[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm16[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm4[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1,2,3,4],ymm1[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm16 = <3,7,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm0
+; AVX512F-SLOW-NEXT: vpermt2d %xmm20, %xmm16, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm31, %ymm1
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm29, %ymm3
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm26, %ymm3
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm24, %ymm5
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm1
+; AVX512F-SLOW-NEXT: vpermt2d %xmm25, %xmm16, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw $212, (%rsp), %ymm3 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm3 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm5 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm12[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm14[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3,4],ymm5[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm0
+; AVX512F-SLOW-NEXT: vpermt2d %xmm27, %xmm16, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm15[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm13[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm5 = ymm2[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm1
+; AVX512F-SLOW-NEXT: vpermt2d %xmm21, %xmm16, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm9[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm6[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm10[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm4[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm5 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm6 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm6 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,0,4>
+; AVX512F-SLOW-NEXT: vpermt2d %xmm5, %xmm4, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm9 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm9 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm9[0],xmm3[1],xmm9[1]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm21
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm2[0,1,2],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpermt2d %xmm1, %xmm4, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm3[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm5[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm5, %ymm30
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm22 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm22 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm23 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm23 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm22[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm3[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm23[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm13 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm1[0,1,2],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpermt2d %xmm0, %xmm4, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm13 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm13 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm24
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm26 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm26 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm27 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm27 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm26[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm1 = ymm11[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm10 = ymm27[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm3 = ymm10[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm28 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm28 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm29 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm29 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm28[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm8[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm29[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm7 = ymm6[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4],ymm3[5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm24 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm14 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm14 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, %xmm0
+; AVX512F-SLOW-NEXT: vpermi2d %xmm1, %xmm2, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm20
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm25
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm15 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm15 = xmm15[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm31 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm31 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm18 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm18 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm31[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm18[0,1,2,0,4,5,6,4]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm16 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm16 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm17 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm17 = mem[0,1,1,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm16[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm3[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm17[0,2,2,3,4,6,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm2[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm24, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm21[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, (%rsp), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm15 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1,2,3,4],ymm12[5],ymm15[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-SLOW-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm30, %ymm7
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm7[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm15 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1,2,3,4],ymm12[5],ymm15[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm30 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm12 = xmm30[1,1,1,1]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm12 = xmm12[0],xmm7[1],xmm12[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm12 = xmm12[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm10 = ymm10[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm8[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm6[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm8[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm10[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm14[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm6 = xmm6[0],mem[1],xmm6[2,3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm10
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm20[0],xmm25[0],xmm20[1],xmm25[1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm8[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm2, %zmm1, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm21[2],xmm9[2],xmm21[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm9, %xmm20
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm2[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm4 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm1, %ymm24
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm1[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm1[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm1[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4],ymm8[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm2 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm12 = ymm1[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm22[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm15 = ymm1[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm23[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm1 = ymm11[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm15[5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm30[2],xmm7[2],xmm30[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm22
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm8 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm8 = xmm8[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm2, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm23
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm2[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm26[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm15 = ymm0[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm19
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm27[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm7 = ymm8[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm15[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm15 = ymm28[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm15[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm29[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm9 = ymm4[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3,4],ymm0[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm2 {%k1}
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm25[2,2,2,2]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm26 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm7 = xmm14[2],xmm26[2],xmm14[3],xmm26[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm7[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm31[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm9 = ymm7[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm18[0,1,1,3,4,5,5,7]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm5[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm16[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm0 = ymm9[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm17[3,1,2,3,7,5,6,7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm12 = ymm3[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm16 = <3,7,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm1
+; AVX512F-SLOW-NEXT: vpermt2d %xmm20, %xmm16, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm6 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm6 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0,1,2,3,4],ymm6[5],ymm12[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm1 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm2
+; AVX512F-SLOW-NEXT: vpermt2d %xmm22, %xmm16, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm2[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm6 = mem[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm12[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-SLOW-NEXT: # ymm12 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm11 = ymm11[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm12[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm2, %zmm1, %zmm1
+; AVX512F-SLOW-NEXT: vpermt2d %xmm23, %xmm16, %xmm13
+; AVX512F-SLOW-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm2 # 16-byte Folded Reload
+; AVX512F-SLOW-NEXT: # xmm2 = xmm13[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm19, %ymm6
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm8 = ymm15[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm4 = ymm4[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm8[5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm2 {%k1}
+; AVX512F-SLOW-NEXT: vpermt2d %xmm26, %xmm16, %xmm14
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm10[2],xmm25[2],xmm10[3],xmm25[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm14[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-SLOW-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm6 = ymm9[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm6[5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm3, %zmm2, %zmm2
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%r8)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%r8)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%r9)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, 64(%rax)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm3, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm0, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm2, 64(%rax)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-SLOW-NEXT: addq $2424, %rsp # imm = 0x978
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i16_stride8_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: subq $2392, %rsp # imm = 0x958
+; AVX512F-FAST-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 352(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,4>
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm16
+; AVX512F-FAST-NEXT: vpermt2d %xmm2, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm20
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa 272(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm22
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm30
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm4[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: movb $-64, %al
+; AVX512F-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm31
+; AVX512F-FAST-NEXT: vpermt2d %xmm3, %xmm5, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm17
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm18
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, (%rsp) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm2[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm12 = ymm3[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm12[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm4 = ymm3[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm3[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm4[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm9[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm6[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm10[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 880(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 864(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa 848(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 832(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm25
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm3
+; AVX512F-FAST-NEXT: vpermt2d %xmm2, %xmm5, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm23
+; AVX512F-FAST-NEXT: vmovdqa 816(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 800(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa 784(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 768(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm21
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm24
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm8
+; AVX512F-FAST-NEXT: vmovdqa 992(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 960(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm7[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vmovdqa 928(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 896(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm1[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm2[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm4[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm5[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm5[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm8 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa 624(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 608(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa 592(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 576(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm28
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpermt2d %xmm2, %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm19
+; AVX512F-FAST-NEXT: vmovdqa 560(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 544(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 512(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm29
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm26
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 704(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm3[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vmovdqa 672(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 640(%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq {{.*#+}} ymm14 = ymm0[0,1,0,2]
+; AVX512F-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm1[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm15 = ymm0[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm14[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm1[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3,4],ymm15[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm11, %zmm8, %zmm8
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpermt2d %xmm30, %xmm11, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, %xmm13
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm16[0],xmm20[0],xmm16[1],xmm20[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm11[2,3]
+; AVX512F-FAST-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm11 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm14 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3,4,5,6],ymm11[7]
+; AVX512F-FAST-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm14 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm15 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm8, %zmm0, %zmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3,4,5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm8 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm11
+; AVX512F-FAST-NEXT: vpermt2d %xmm18, %xmm13, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm31[0],xmm15[0],xmm31[1],xmm15[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm17
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],xmm14[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm14
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm14[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm9, %zmm8, %zmm8
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm8
+; AVX512F-FAST-NEXT: vpermt2d %xmm24, %xmm13, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm11
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm25[0],xmm23[0],xmm25[1],xmm23[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm18
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm9[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm4[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm8, %zmm0, %zmm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm4
+; AVX512F-FAST-NEXT: vpermt2d %xmm26, %xmm13, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm13
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm28[0],xmm19[0],xmm28[1],xmm19[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm3[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm0[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm1[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm16[2],xmm20[2],xmm16[3],xmm20[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,2,6>
+; AVX512F-FAST-NEXT: vpermt2d %xmm20, %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, %xmm4
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm22[2],xmm30[2],xmm22[3],xmm30[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, %xmm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm31
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm30
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm3[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm29
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm5 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm5[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm28
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm24 = xmm17[2],xmm15[2],xmm17[3],xmm15[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm15, %xmm4, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm19 # 16-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 (%rsp), %xmm17 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm19[2],xmm17[2],xmm19[3],xmm17[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm26
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm9 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm9[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm5 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm5[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm10 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm10[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1,2,3,4],ymm3[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm0
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm21 = xmm18[2],xmm23[2],xmm18[3],xmm23[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm23, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm23 # 16-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm11, %xmm16
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm23[2],xmm11[2],xmm23[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm22
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm12 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm12[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm11 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm11[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm8 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm8[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm5 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm15 = ymm5[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4],ymm0[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm22 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, %xmm0
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm20 = xmm2[2],xmm13[2],xmm2[3],xmm13[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm13, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm15 = xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm15[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm15 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm4 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm14 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm14 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm14[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm13 = ymm3[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm22, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} xmm18 = <3,7,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm27, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d {{[-0-9]+}}(%r{{[sb]}}p), %xmm18, %xmm0 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm0 = xmm0[0,1],mem[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm1
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm2
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm13
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm13 = ymm13[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1,2,3,4],ymm2[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm17, %xmm18, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm2
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm9 = ymm9[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm25, %ymm9
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d %xmm16, %xmm18, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm11[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm8[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm5[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2,3,4],ymm2[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vpermt2d %xmm7, %xmm18, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm15[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm14[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm9 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm9 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,0,4>
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm5, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm16
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm30
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm17
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm8 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm8 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm3 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm3 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm23
+; AVX512F-FAST-NEXT: vpermt2d %xmm8, %xmm5, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm31
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm29
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm3[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm4[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm4 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm11 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm11[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm10 = ymm4[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm4 = ymm10[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm1 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm1 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm22
+; AVX512F-FAST-NEXT: vpermt2d %xmm4, %xmm5, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm26
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm20
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm19
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm13
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm0[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm21
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm2[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm18
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm1[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm1 = ymm6[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm7 = ymm2[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm7[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm13 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm2 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm2 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm3 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm3 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm4 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm4 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm12 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm12 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm1
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm3, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm24
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm12[0],xmm4[0],xmm12[1],xmm4[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm12, %xmm25
+; AVX512F-FAST-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm28
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm15 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm0[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5,6,4,8,9,10,11,12,13,14,12]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm1[0,1,2,0,4,5,6,4]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm5[0,1,2,3,6,4,6,7,8,9,10,11,14,12,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermq $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[0,1,1,3]
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm14 = ymm0[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm14[0,1,0,2,4,5,6,7,8,9,8,10,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[0,2,2,3,4,6,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm12 = ymm3[0,2,2,3,4,5,6,7,8,10,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm13, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vpermt2d %xmm17, %xmm15, %xmm0
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm9[0],xmm16[0],xmm9[1],xmm16[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm12 = mem[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm12 = mem[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm13 = mem[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm1
+; AVX512F-FAST-NEXT: vpermt2d %xmm29, %xmm15, %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm23[0],xmm8[0],xmm23[1],xmm8[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vpshufhw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm12 = mem[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm8
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm13 = ymm8[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm11 = ymm11[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm10 = ymm10[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4],ymm11[5],ymm10[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm0
+; AVX512F-FAST-NEXT: vpermt2d %xmm19, %xmm15, %xmm0
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm22[0],xmm26[0],xmm22[1],xmm26[1]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm8
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm6 = ymm6[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm7[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vpermi2d %xmm28, %xmm25, %xmm6
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm24[0],xmm2[0],xmm24[1],xmm2[1]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm20
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,7,5,8,9,10,11,12,13,15,13]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,7,5,6,7,8,9,10,11,15,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm14[0,1,1,3,4,5,6,7,8,9,9,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[1,3,2,3,4,5,6,7,9,11,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, %xmm1
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm9[2],xmm16[2],xmm9[3],xmm16[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,2,6>
+; AVX512F-FAST-NEXT: vpermt2d %xmm16, %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm27
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm16 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm16[2],xmm17[2],xmm16[3],xmm17[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm11
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm3 = ymm1[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm30
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm1[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm1[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm1 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm1[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm31
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4],ymm7[5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm11 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm28 = xmm23[2],xmm1[2],xmm23[3],xmm1[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm1, %xmm0, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm18
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm8 = xmm29[2],xmm18[2],xmm29[3],xmm18[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm8[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm9 = ymm0[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm26
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm8 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm10 = ymm8[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm10[0,1,2,3,4,5,6],ymm9[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm0 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm14 = ymm0[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm25
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm9 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm15 = ymm9[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm12, %zmm11, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm21 = xmm22[2],xmm0[2],xmm22[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpermt2d %xmm0, %xmm1, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm17
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm19 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm14 = xmm19[2],xmm17[2],xmm19[3],xmm17[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm14[0,1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm12, %zmm0, %zmm12
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm14 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm15 = ymm14[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm11 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm11[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm15[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm15 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm15[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm3 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm3[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4],ymm0[5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm12 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm22
+; AVX512F-FAST-NEXT: vpermi2d %xmm20, %xmm24, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm23 # 16-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm23[2],xmm10[2],xmm23[3],xmm10[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm5 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm5[0,1,2,3,4,5,4,6,8,9,10,11,12,13,12,14]
+; AVX512F-FAST-NEXT: vpshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm4 = mem[0,1,1,3,4,5,5,7]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm13 = ymm4[0,1,2,3,4,6,6,7,8,9,10,11,12,14,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm13 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm0 = ymm13[0,1,2,0,4,5,6,7,8,9,10,8,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm2 = mem[3,1,2,3,7,5,6,7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm7 = ymm2[2,0,2,3,4,5,6,7,10,8,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4],ymm0[5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm12, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} xmm24 = <3,7,u,u>
+; AVX512F-FAST-NEXT: vpermt2d %xmm27, %xmm24, %xmm1
+; AVX512F-FAST-NEXT: vpblendd $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX512F-FAST-NEXT: # xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm6
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm7 = mem[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-FAST-NEXT: vpshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: # ymm7 = mem[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm12
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm12 = ymm12[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1,2,3,4],ymm7[5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm1 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm6
+; AVX512F-FAST-NEXT: vpermt2d %xmm18, %xmm24, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm7
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm8[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm25, %ymm8
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm8[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm9 = ymm9[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5],ymm9[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm6, %zmm1, %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm6
+; AVX512F-FAST-NEXT: vpermt2d %xmm17, %xmm24, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm6, %zmm0, %zmm6
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm7 = ymm14[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm8 = ymm11[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5,6],ymm7[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm8 = ymm15[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm3 = ymm3[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm8[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm6 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm7
+; AVX512F-FAST-NEXT: vpermt2d %xmm10, %xmm24, %xmm7
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm22[2],xmm20[2],xmm22[3],xmm20[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm7[0,1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,5,7,8,9,10,11,12,13,13,15]
+; AVX512F-FAST-NEXT: vpshufhw {{.*#+}} ymm4 = ymm4[0,1,2,3,5,7,6,7,8,9,10,11,13,15,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm5 = ymm13[0,1,3,1,4,5,6,7,8,9,11,9,12,13,14,15]
+; AVX512F-FAST-NEXT: vpshuflw {{.*#+}} ymm2 = ymm2[3,1,2,3,4,5,6,7,11,9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm5[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm2, %zmm6, %zmm2
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%r8)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%r8)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%r9)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, 64(%rax)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm3, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm0, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm2, 64(%rax)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-FAST-NEXT: addq $2392, %rsp # imm = 0x958
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i16_stride8_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: subq $1032, %rsp # imm = 0x408
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm22
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm30
+; AVX512BW-NEXT: vmovdqa64 960(%rdi), %zmm29
+; AVX512BW-NEXT: vmovdqa64 896(%rdi), %zmm16
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm31
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm28
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm19
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm0 = [0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm10
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm0, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm0, %zmm3
+; AVX512BW-NEXT: movb $-64, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,0,8,16,24,32,40,48,56>
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm8
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm1, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm5
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm0, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm4, %zmm3, %zmm3
+; AVX512BW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm0, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm4
+; AVX512BW-NEXT: vpermt2w %zmm22, %zmm0, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm4 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm9, %zmm11, %zmm0
+; AVX512BW-NEXT: vpermi2w %zmm2, %zmm6, %zmm1
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57,1,9,17,25,33,41,49,57]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm5, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm5, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,1,9,17,25,33,41,49,57>
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm7, %zmm2, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm5, %zmm3
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm0 = [2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58,2,10,18,26,34,42,50,58]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm0, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm2 = [3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59,3,11,19,27,35,43,51,59]
+; AVX512BW-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm2, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm1 = [4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60,4,12,20,28,36,44,52,60]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm1, %zmm3
+; AVX512BW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm10
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61,5,13,21,29,37,45,53,61]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm12, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62,6,14,22,30,38,46,54,62]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm14, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm17 = [7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63,7,15,23,31,39,47,55,63]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2w %zmm19, %zmm17, %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm0, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm7
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm4, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm27
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm10, %zmm27
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm6
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm12, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm8
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm14, %zmm8
+; AVX512BW-NEXT: vpermt2w %zmm15, %zmm17, %zmm28
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm1, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm2
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm4, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm15
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm10, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm12, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm14, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, (%rsp) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm17, %zmm13
+; AVX512BW-NEXT: vmovdqu64 %zmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm31
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm5, %zmm31
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm1, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm18
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm4, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm20
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm10, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm21
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm12, %zmm21
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm14, %zmm23
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm17, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm29
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm0
+; AVX512BW-NEXT: vpermt2w %zmm22, %zmm5, %zmm29
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm13
+; AVX512BW-NEXT: vpermt2w %zmm22, %zmm1, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm22
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm2, %zmm22
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm24
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm10, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm25
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm12, %zmm25
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm26
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm14, %zmm26
+; AVX512BW-NEXT: vpermt2w %zmm0, %zmm17, %zmm30
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm0
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm5
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm1
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm2
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm4
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm12
+; AVX512BW-NEXT: vpermi2w %zmm11, %zmm0, %zmm14
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm17, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm31, %zmm29 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm31 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,1,9,17,25,33,41,49,57>
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm11, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm29, %zmm17
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,2,10,18,26,34,42,50,58>
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm10
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm29 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm5, %zmm10
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm3, %zmm19, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm13 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm11, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm13, %zmm16
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,3,11,19,27,35,43,51,59>
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm3
+; AVX512BW-NEXT: vpermt2w %zmm29, %zmm10, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm29, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm7, %zmm29
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm22 {%k1}
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm11, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm7 = ymm2[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm7, %zmm22, %zmm22
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,4,12,20,28,36,44,52,60>
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm11
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm9, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,5,13,21,29,37,45,53,61>
+; AVX512BW-NEXT: vpermt2w %zmm5, %zmm13, %zmm3
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,6,14,22,30,38,46,54,62>
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm1
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm5, %zmm1
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <u,u,u,u,u,u,u,u,7,15,23,31,39,47,55,63>
+; AVX512BW-NEXT: vpermt2w %zmm11, %zmm18, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm11
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm0, %zmm9
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm0, %zmm13
+; AVX512BW-NEXT: vpermi2w %zmm31, %zmm0, %zmm5
+; AVX512BW-NEXT: vpermt2w %zmm31, %zmm18, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm7
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm15[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm27 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm10, %zmm27, %zmm2
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm4[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm24 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm24, %zmm9
+; AVX512BW-NEXT: vpblendd $15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm0 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm0 = mem[0,1,2,3],ymm3[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm6 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm6, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm25 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm3, %zmm25, %zmm3
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm8 {%k1}
+; AVX512BW-NEXT: vpblendd $15, (%rsp), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm1 = mem[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm8, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm23, %zmm26 {%k1}
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm4, %zmm26, %zmm4
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm5 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm28 {%k1}
+; AVX512BW-NEXT: vpblendd $15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm5 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm5 = mem[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm28, %zmm5
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm30 {%k1}
+; AVX512BW-NEXT: vpblendd $15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm6 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm6 = mem[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm6, %zmm30, %zmm6
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm7, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%rdx)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm7, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm3, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rax)
+; AVX512BW-NEXT: addq $1032, %rsp # imm = 0x408
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <512 x i16>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120, i32 128, i32 136, i32 144, i32 152, i32 160, i32 168, i32 176, i32 184, i32 192, i32 200, i32 208, i32 216, i32 224, i32 232, i32 240, i32 248, i32 256, i32 264, i32 272, i32 280, i32 288, i32 296, i32 304, i32 312, i32 320, i32 328, i32 336, i32 344, i32 352, i32 360, i32 368, i32 376, i32 384, i32 392, i32 400, i32 408, i32 416, i32 424, i32 432, i32 440, i32 448, i32 456, i32 464, i32 472, i32 480, i32 488, i32 496, i32 504>
+ %strided.vec1 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121, i32 129, i32 137, i32 145, i32 153, i32 161, i32 169, i32 177, i32 185, i32 193, i32 201, i32 209, i32 217, i32 225, i32 233, i32 241, i32 249, i32 257, i32 265, i32 273, i32 281, i32 289, i32 297, i32 305, i32 313, i32 321, i32 329, i32 337, i32 345, i32 353, i32 361, i32 369, i32 377, i32 385, i32 393, i32 401, i32 409, i32 417, i32 425, i32 433, i32 441, i32 449, i32 457, i32 465, i32 473, i32 481, i32 489, i32 497, i32 505>
+ %strided.vec2 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122, i32 130, i32 138, i32 146, i32 154, i32 162, i32 170, i32 178, i32 186, i32 194, i32 202, i32 210, i32 218, i32 226, i32 234, i32 242, i32 250, i32 258, i32 266, i32 274, i32 282, i32 290, i32 298, i32 306, i32 314, i32 322, i32 330, i32 338, i32 346, i32 354, i32 362, i32 370, i32 378, i32 386, i32 394, i32 402, i32 410, i32 418, i32 426, i32 434, i32 442, i32 450, i32 458, i32 466, i32 474, i32 482, i32 490, i32 498, i32 506>
+ %strided.vec3 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123, i32 131, i32 139, i32 147, i32 155, i32 163, i32 171, i32 179, i32 187, i32 195, i32 203, i32 211, i32 219, i32 227, i32 235, i32 243, i32 251, i32 259, i32 267, i32 275, i32 283, i32 291, i32 299, i32 307, i32 315, i32 323, i32 331, i32 339, i32 347, i32 355, i32 363, i32 371, i32 379, i32 387, i32 395, i32 403, i32 411, i32 419, i32 427, i32 435, i32 443, i32 451, i32 459, i32 467, i32 475, i32 483, i32 491, i32 499, i32 507>
+ %strided.vec4 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124, i32 132, i32 140, i32 148, i32 156, i32 164, i32 172, i32 180, i32 188, i32 196, i32 204, i32 212, i32 220, i32 228, i32 236, i32 244, i32 252, i32 260, i32 268, i32 276, i32 284, i32 292, i32 300, i32 308, i32 316, i32 324, i32 332, i32 340, i32 348, i32 356, i32 364, i32 372, i32 380, i32 388, i32 396, i32 404, i32 412, i32 420, i32 428, i32 436, i32 444, i32 452, i32 460, i32 468, i32 476, i32 484, i32 492, i32 500, i32 508>
+ %strided.vec5 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125, i32 133, i32 141, i32 149, i32 157, i32 165, i32 173, i32 181, i32 189, i32 197, i32 205, i32 213, i32 221, i32 229, i32 237, i32 245, i32 253, i32 261, i32 269, i32 277, i32 285, i32 293, i32 301, i32 309, i32 317, i32 325, i32 333, i32 341, i32 349, i32 357, i32 365, i32 373, i32 381, i32 389, i32 397, i32 405, i32 413, i32 421, i32 429, i32 437, i32 445, i32 453, i32 461, i32 469, i32 477, i32 485, i32 493, i32 501, i32 509>
+ %strided.vec6 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126, i32 134, i32 142, i32 150, i32 158, i32 166, i32 174, i32 182, i32 190, i32 198, i32 206, i32 214, i32 222, i32 230, i32 238, i32 246, i32 254, i32 262, i32 270, i32 278, i32 286, i32 294, i32 302, i32 310, i32 318, i32 326, i32 334, i32 342, i32 350, i32 358, i32 366, i32 374, i32 382, i32 390, i32 398, i32 406, i32 414, i32 422, i32 430, i32 438, i32 446, i32 454, i32 462, i32 470, i32 478, i32 486, i32 494, i32 502, i32 510>
+ %strided.vec7 = shufflevector <512 x i16> %wide.vec, <512 x i16> poison, <64 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127, i32 135, i32 143, i32 151, i32 159, i32 167, i32 175, i32 183, i32 191, i32 199, i32 207, i32 215, i32 223, i32 231, i32 239, i32 247, i32 255, i32 263, i32 271, i32 279, i32 287, i32 295, i32 303, i32 311, i32 319, i32 327, i32 335, i32 343, i32 351, i32 359, i32 367, i32 375, i32 383, i32 391, i32 399, i32 407, i32 415, i32 423, i32 431, i32 439, i32 447, i32 455, i32 463, i32 471, i32 479, i32 487, i32 495, i32 503, i32 511>
+
+ store <64 x i16> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i16> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i16> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i16> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i16> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i16> %strided.vec5, ptr %out.vec5, align 64
+ store <64 x i16> %strided.vec6, ptr %out.vec6, align 64
+ store <64 x i16> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
-; These patterns are produced by LoopVectorizer for interleaved stores.
+; These patterns are produced by LoopVectorizer for interleaved loads.
define void @load_i32_stride2_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
; SSE-LABEL: load_i32_stride2_vf2:
; AVX-NEXT: vmovlps %xmm1, (%rsi)
; AVX-NEXT: vmovlps %xmm0, (%rdx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i32_stride2_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovaps (%rdi), %xmm0
-; AVX512-NEXT: vpermilps {{.*#+}} xmm1 = xmm0[0,2,2,3]
-; AVX512-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,3,2,3]
-; AVX512-NEXT: vmovlps %xmm1, (%rsi)
-; AVX512-NEXT: vmovlps %xmm0, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <4 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <4 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <4 x i32> %wide.vec, <4 x i32> poison, <2 x i32> <i32 0, i32 2>
%strided.vec1 = shufflevector <4 x i32> %wide.vec, <4 x i32> poison, <2 x i32> <i32 1, i32 3>
- store <2 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i32> %strided.vec1, ptr %out.vec1, align 32
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i32_stride2_vf4:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovaps (%rdi), %xmm0
-; AVX-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX-NEXT: vshufps {{.*#+}} xmm2 = xmm0[0,2],xmm1[0,2]
-; AVX-NEXT: vshufps {{.*#+}} xmm0 = xmm0[1,3],xmm1[1,3]
-; AVX-NEXT: vmovaps %xmm2, (%rsi)
-; AVX-NEXT: vmovaps %xmm0, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i32_stride2_vf4:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX1-NEXT: vshufps {{.*#+}} xmm2 = xmm0[0,2],xmm1[0,2]
+; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm0[1,3],xmm1[1,3]
+; AVX1-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-NEXT: vmovaps %xmm0, (%rdx)
+; AVX1-NEXT: retq
;
; AVX512-LABEL: load_i32_stride2_vf4:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovaps %xmm1, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <8 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <8 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
%strided.vec1 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
- store <4 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i32> %strided.vec1, ptr %out.vec1, align 32
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps %xmm2, 16(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride2_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
-; AVX1-NEXT: vmovaps %ymm2, (%rsi)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride2_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride2_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride2_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride2_vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovaps (%rdi), %ymm1
-; AVX512-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],mem[1,3],ymm1[5,7],mem[5,7]
-; AVX512-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX512-NEXT: vpmovqd %zmm0, (%rsi)
-; AVX512-NEXT: vmovaps %ymm1, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <16 x i32>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i32_stride2_vf8:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],mem[1,3],ymm1[5,7],mem[5,7]
+; AVX512F-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,1,3]
+; AVX512F-SLOW-NEXT: vpmovqd %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride2_vf8:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,5,7,9,11,13,15]
+; AVX512F-FAST-NEXT: vpermi2d 32(%rdi), %ymm1, %ymm2
+; AVX512F-FAST-NEXT: vpmovqd %zmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride2_vf8:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],mem[1,3],ymm1[5,7],mem[5,7]
+; AVX512BW-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,1,3]
+; AVX512BW-SLOW-NEXT: vpmovqd %zmm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride2_vf8:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,5,7,9,11,13,15]
+; AVX512BW-FAST-NEXT: vpermi2d 32(%rdi), %ymm1, %ymm2
+; AVX512BW-FAST-NEXT: vpmovqd %zmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm2, (%rdx)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <16 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <8 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14>
%strided.vec1 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <8 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15>
- store <8 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i32> %strided.vec1, ptr %out.vec1, align 32
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps 16(%rdi), %xmm1
; SSE-NEXT: movaps 32(%rdi), %xmm2
; SSE-NEXT: movaps 48(%rdi), %xmm3
-; SSE-NEXT: movaps 80(%rdi), %xmm4
-; SSE-NEXT: movaps 64(%rdi), %xmm5
-; SSE-NEXT: movaps 112(%rdi), %xmm6
-; SSE-NEXT: movaps 96(%rdi), %xmm7
+; SSE-NEXT: movaps 112(%rdi), %xmm4
+; SSE-NEXT: movaps 96(%rdi), %xmm5
+; SSE-NEXT: movaps 80(%rdi), %xmm6
+; SSE-NEXT: movaps 64(%rdi), %xmm7
; SSE-NEXT: movaps %xmm7, %xmm8
; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,2],xmm6[0,2]
; SSE-NEXT: movaps %xmm5, %xmm9
; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm4[0,2]
-; SSE-NEXT: movaps %xmm2, %xmm10
-; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm3[0,2]
-; SSE-NEXT: movaps %xmm0, %xmm11
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm1[0,2]
+; SSE-NEXT: movaps %xmm0, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm1[0,2]
+; SSE-NEXT: movaps %xmm2, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm3[0,2]
; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,3],xmm6[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,3],xmm4[1,3]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,3],xmm3[1,3]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,3],xmm1[1,3]
-; SSE-NEXT: movaps %xmm9, 32(%rsi)
-; SSE-NEXT: movaps %xmm11, (%rsi)
-; SSE-NEXT: movaps %xmm8, 48(%rsi)
-; SSE-NEXT: movaps %xmm10, 16(%rsi)
-; SSE-NEXT: movaps %xmm5, 32(%rdx)
-; SSE-NEXT: movaps %xmm0, (%rdx)
-; SSE-NEXT: movaps %xmm7, 48(%rdx)
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,3],xmm3[1,3]
+; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps %xmm10, (%rsi)
+; SSE-NEXT: movaps %xmm9, 48(%rsi)
+; SSE-NEXT: movaps %xmm8, 32(%rsi)
; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps %xmm5, 48(%rdx)
+; SSE-NEXT: movaps %xmm7, 32(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride2_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm0[0,2],ymm2[0,2],ymm0[4,6],ymm2[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm1[0,2],ymm4[0,2],ymm1[4,6],ymm4[4,6]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm2[1,3],ymm0[5,7],ymm2[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm4[1,3],ymm1[5,7],ymm4[5,7]
-; AVX1-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride2_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm1[0,2],ymm2[0,2],ymm1[4,6],ymm2[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[0,2],ymm4[0,2],ymm0[4,6],ymm4[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm2[1,3],ymm1[5,7],ymm2[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm4[1,3],ymm0[5,7],ymm4[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride2_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vshufps {{.*#+}} ymm4 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm5 = ymm2[0,2],ymm3[0,2],ymm2[4,6],ymm3[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm1 = ymm2[1,3],ymm3[1,3],ymm2[5,7],ymm3[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm4, (%rsi)
-; AVX2-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride2_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm2[0,2],ymm3[0,2],ymm2[4,6],ymm3[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm3[1,3],ymm2[5,7],ymm3[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride2_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30]
; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm2
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqu64 %zmm2, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm3, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm3, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <32 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <32 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <16 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30>
%strided.vec1 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <16 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31>
- store <16 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i32> %strided.vec1, ptr %out.vec1, align 32
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps (%rdi), %xmm0
; SSE-NEXT: movaps 32(%rdi), %xmm1
; SSE-NEXT: movaps 48(%rdi), %xmm8
-; SSE-NEXT: movaps 208(%rdi), %xmm10
-; SSE-NEXT: movaps 192(%rdi), %xmm2
-; SSE-NEXT: movaps 144(%rdi), %xmm11
-; SSE-NEXT: movaps 128(%rdi), %xmm3
-; SSE-NEXT: movaps 80(%rdi), %xmm12
-; SSE-NEXT: movaps 64(%rdi), %xmm6
-; SSE-NEXT: movaps 240(%rdi), %xmm13
-; SSE-NEXT: movaps 224(%rdi), %xmm4
+; SSE-NEXT: movaps 208(%rdi), %xmm9
+; SSE-NEXT: movaps 192(%rdi), %xmm3
+; SSE-NEXT: movaps 80(%rdi), %xmm11
+; SSE-NEXT: movaps 64(%rdi), %xmm2
+; SSE-NEXT: movaps 240(%rdi), %xmm10
+; SSE-NEXT: movaps 224(%rdi), %xmm5
+; SSE-NEXT: movaps 112(%rdi), %xmm12
+; SSE-NEXT: movaps 96(%rdi), %xmm4
+; SSE-NEXT: movaps 144(%rdi), %xmm13
+; SSE-NEXT: movaps 128(%rdi), %xmm6
; SSE-NEXT: movaps 176(%rdi), %xmm14
-; SSE-NEXT: movaps 160(%rdi), %xmm5
-; SSE-NEXT: movaps 112(%rdi), %xmm15
-; SSE-NEXT: movaps 96(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm9
-; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm15[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,3],xmm15[1,3]
-; SSE-NEXT: movaps %xmm5, %xmm15
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm14[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,3],xmm14[1,3]
-; SSE-NEXT: movaps %xmm4, %xmm14
+; SSE-NEXT: movaps 160(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm4, %xmm15
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm12[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,3],xmm12[1,3]
+; SSE-NEXT: movaps %xmm2, %xmm12
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm11[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,3],xmm11[1,3]
+; SSE-NEXT: movaps %xmm7, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm14[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,3],xmm14[1,3]
+; SSE-NEXT: movaps %xmm6, %xmm14
; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,2],xmm13[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,3],xmm13[1,3]
-; SSE-NEXT: movaps %xmm2, %xmm13
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,3],xmm13[1,3]
+; SSE-NEXT: movaps %xmm5, %xmm13
; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,2],xmm10[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,3],xmm10[1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,3],xmm10[1,3]
; SSE-NEXT: movaps %xmm3, %xmm10
-; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm11[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,3],xmm11[1,3]
-; SSE-NEXT: movaps %xmm6, %xmm11
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm12[0,2]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,3],xmm12[1,3]
-; SSE-NEXT: movaps %xmm1, %xmm12
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm8[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm9[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,3],xmm9[1,3]
+; SSE-NEXT: movaps %xmm1, %xmm9
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm8[0,2]
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,3],xmm8[1,3]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps 16(%rdi), %xmm8
; SSE-NEXT: movaps %xmm0, %xmm1
; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm8[0,2]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,3],xmm8[1,3]
-; SSE-NEXT: movaps %xmm13, 96(%rsi)
-; SSE-NEXT: movaps %xmm10, 64(%rsi)
-; SSE-NEXT: movaps %xmm11, 32(%rsi)
+; SSE-NEXT: movaps %xmm10, 96(%rsi)
+; SSE-NEXT: movaps %xmm12, 32(%rsi)
+; SSE-NEXT: movaps %xmm13, 112(%rsi)
+; SSE-NEXT: movaps %xmm15, 48(%rsi)
+; SSE-NEXT: movaps %xmm14, 64(%rsi)
; SSE-NEXT: movaps %xmm1, (%rsi)
-; SSE-NEXT: movaps %xmm14, 112(%rsi)
-; SSE-NEXT: movaps %xmm15, 80(%rsi)
-; SSE-NEXT: movaps %xmm9, 48(%rsi)
-; SSE-NEXT: movaps %xmm12, 16(%rsi)
+; SSE-NEXT: movaps %xmm11, 80(%rsi)
+; SSE-NEXT: movaps %xmm9, 16(%rsi)
+; SSE-NEXT: movaps %xmm3, 96(%rdx)
+; SSE-NEXT: movaps %xmm5, 112(%rdx)
+; SSE-NEXT: movaps %xmm6, 64(%rdx)
+; SSE-NEXT: movaps %xmm7, 80(%rdx)
+; SSE-NEXT: movaps %xmm2, 32(%rdx)
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
; SSE-NEXT: movaps %xmm0, (%rdx)
-; SSE-NEXT: movaps %xmm6, 32(%rdx)
-; SSE-NEXT: movaps %xmm3, 64(%rdx)
-; SSE-NEXT: movaps %xmm2, 96(%rdx)
-; SSE-NEXT: movaps %xmm4, 112(%rdx)
-; SSE-NEXT: movaps %xmm5, 80(%rdx)
-; SSE-NEXT: movaps %xmm7, 48(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride2_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm3
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm2[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm2, %ymm2
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm2[0,2],ymm4[0,2],ymm2[4,6],ymm4[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm1[0,2],ymm6[0,2],ymm1[4,6],ymm6[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vshufps {{.*#+}} ymm9 = ymm0[0,2],ymm8[0,2],ymm0[4,6],ymm8[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm3[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 224(%rdi), %ymm3, %ymm3
-; AVX1-NEXT: vshufps {{.*#+}} ymm11 = ymm3[0,2],ymm10[0,2],ymm3[4,6],ymm10[4,6]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm6[1,3],ymm1[5,7],ymm6[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm8[1,3],ymm0[5,7],ymm8[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm3[1,3],ymm10[1,3],ymm3[5,7],ymm10[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm4[1,3],ymm2[5,7],ymm4[5,7]
-; AVX1-NEXT: vmovaps %ymm11, 96(%rsi)
-; AVX1-NEXT: vmovaps %ymm9, (%rsi)
-; AVX1-NEXT: vmovaps %ymm7, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm5, 64(%rsi)
-; AVX1-NEXT: vmovaps %ymm2, 64(%rdx)
-; AVX1-NEXT: vmovaps %ymm3, 96(%rdx)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride2_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm3[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 224(%rdi), %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm3[0,2],ymm4[0,2],ymm3[4,6],ymm4[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm1[0,2],ymm6[0,2],ymm1[4,6],ymm6[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm0[0,2],ymm8[0,2],ymm0[4,6],ymm8[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm2[0,2],ymm10[0,2],ymm2[4,6],ymm10[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm6[1,3],ymm1[5,7],ymm6[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[1,3],ymm4[1,3],ymm3[5,7],ymm4[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm8[1,3],ymm0[5,7],ymm8[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm10[1,3],ymm2[5,7],ymm10[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm11, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride2_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm7
-; AVX2-NEXT: vshufps {{.*#+}} ymm8 = ymm7[0,2],ymm6[0,2],ymm7[4,6],ymm6[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm9 = ymm5[0,2],ymm4[0,2],ymm5[4,6],ymm4[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm10 = ymm2[0,2],ymm3[0,2],ymm2[4,6],ymm3[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm11 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm4 = ymm5[1,3],ymm4[1,3],ymm5[5,7],ymm4[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm5 = ymm7[1,3],ymm6[1,3],ymm7[5,7],ymm6[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm3[1,3],ymm2[5,7],ymm3[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX2-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm9, 96(%rsi)
-; AVX2-NEXT: vmovaps %ymm11, (%rsi)
-; AVX2-NEXT: vmovaps %ymm10, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm8, 64(%rsi)
-; AVX2-NEXT: vmovaps %ymm5, 64(%rdx)
-; AVX2-NEXT: vmovaps %ymm4, 96(%rdx)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vmovaps %ymm2, 32(%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride2_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm7[0,2],ymm6[0,2],ymm7[4,6],ymm6[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm5[0,2],ymm4[0,2],ymm5[4,6],ymm4[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm2[0,2],ymm3[0,2],ymm2[4,6],ymm3[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm0[0,2],ymm1[0,2],ymm0[4,6],ymm1[4,6]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm7[1,3],ymm6[1,3],ymm7[5,7],ymm6[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[1,3],ymm4[1,3],ymm5[5,7],ymm4[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm3[1,3],ymm2[5,7],ymm3[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,3],ymm1[1,3],ymm0[5,7],ymm1[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm9, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride2_vf32:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30]
; AVX512-NEXT: vmovdqa64 %zmm0, %zmm5
; AVX512-NEXT: vpermt2d %zmm1, %zmm4, %zmm5
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm6 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
; AVX512-NEXT: vpermt2d %zmm1, %zmm6, %zmm0
; AVX512-NEXT: vpermt2d %zmm3, %zmm6, %zmm2
-; AVX512-NEXT: vmovdqu64 %zmm4, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm2, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm4, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm2, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <64 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <64 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <32 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62>
%strided.vec1 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <32 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63>
- store <32 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i32> %strided.vec1, ptr %out.vec1, align 32
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+
+ ret void
+}
+
+define void @load_i32_stride2_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i32_stride2_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $152, %rsp
+; SSE-NEXT: movaps 208(%rdi), %xmm7
+; SSE-NEXT: movaps 192(%rdi), %xmm1
+; SSE-NEXT: movaps 80(%rdi), %xmm10
+; SSE-NEXT: movaps 64(%rdi), %xmm0
+; SSE-NEXT: movaps 240(%rdi), %xmm11
+; SSE-NEXT: movaps 224(%rdi), %xmm3
+; SSE-NEXT: movaps 112(%rdi), %xmm13
+; SSE-NEXT: movaps 96(%rdi), %xmm2
+; SSE-NEXT: movaps 272(%rdi), %xmm9
+; SSE-NEXT: movaps 144(%rdi), %xmm14
+; SSE-NEXT: movaps 128(%rdi), %xmm4
+; SSE-NEXT: movaps 304(%rdi), %xmm12
+; SSE-NEXT: movaps 288(%rdi), %xmm6
+; SSE-NEXT: movaps 176(%rdi), %xmm15
+; SSE-NEXT: movaps 160(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm2, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,2],xmm13[0,2]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,3],xmm13[1,3]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm0, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,2],xmm10[0,2]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,3],xmm10[1,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm5, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm15[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,3],xmm15[1,3]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm4, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm14[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,3],xmm14[1,3]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm3, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm11[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,3],xmm11[1,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm7[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,3],xmm7[1,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm12[0,2]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,3],xmm12[1,3]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm9[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,3],xmm9[1,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 352(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[1,3],xmm0[1,3]
+; SSE-NEXT: movaps 336(%rdi), %xmm0
+; SSE-NEXT: movaps 320(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm12
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm0[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[1,3],xmm0[1,3]
+; SSE-NEXT: movaps 432(%rdi), %xmm0
+; SSE-NEXT: movaps 416(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,2],xmm0[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[1,3],xmm0[1,3]
+; SSE-NEXT: movaps 400(%rdi), %xmm0
+; SSE-NEXT: movaps 384(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm0[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,3],xmm0[1,3]
+; SSE-NEXT: movaps 496(%rdi), %xmm1
+; SSE-NEXT: movaps 480(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2],xmm1[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,3],xmm1[1,3]
+; SSE-NEXT: movaps 464(%rdi), %xmm3
+; SSE-NEXT: movaps 448(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm3[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,3],xmm3[1,3]
+; SSE-NEXT: movaps 32(%rdi), %xmm11
+; SSE-NEXT: movaps 48(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm11, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,2],xmm2[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[1,3],xmm2[1,3]
+; SSE-NEXT: movaps (%rdi), %xmm8
+; SSE-NEXT: movaps 16(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm8, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,2],xmm2[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[1,3],xmm2[1,3]
+; SSE-NEXT: movaps %xmm0, 224(%rsi)
+; SSE-NEXT: movaps %xmm12, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps %xmm5, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps %xmm10, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps %xmm7, (%rsi)
+; SSE-NEXT: movaps %xmm14, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
+; SSE-NEXT: movaps %xmm1, 224(%rdx)
+; SSE-NEXT: movaps %xmm4, 240(%rdx)
+; SSE-NEXT: movaps %xmm6, 192(%rdx)
+; SSE-NEXT: movaps %xmm9, 208(%rdx)
+; SSE-NEXT: movaps %xmm13, 160(%rdx)
+; SSE-NEXT: movaps %xmm15, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps %xmm8, (%rdx)
+; SSE-NEXT: movaps %xmm11, 16(%rdx)
+; SSE-NEXT: addq $152, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride2_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm9[0,2],ymm8[0,2],ymm9[4,6],ymm8[4,6]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm3[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm3, %ymm11
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm11[0,2],ymm10[0,2],ymm11[4,6],ymm10[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm7[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 224(%rdi), %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm7[0,2],ymm12[0,2],ymm7[4,6],ymm12[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm5[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm5[0,2],ymm14[0,2],ymm5[4,6],ymm14[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm11[1,3],ymm10[1,3],ymm11[5,7],ymm10[5,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm6[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[1,3],ymm12[1,3],ymm7[5,7],ymm12[5,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm4[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[1,3],ymm14[1,3],ymm5[5,7],ymm14[5,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm2[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 416(%rdi), %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm9[1,3],ymm8[1,3],ymm9[5,7],ymm8[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm2[0,2],ymm14[0,2],ymm2[4,6],ymm14[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,3],ymm14[1,3],ymm2[5,7],ymm14[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm4[0,2],ymm12[0,2],ymm4[4,6],ymm12[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[1,3],ymm12[1,3],ymm4[5,7],ymm12[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm6[0,2],ymm11[0,2],ymm6[4,6],ymm11[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[1,3],ymm11[1,3],ymm6[5,7],ymm11[5,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,2],ymm11[0,2],ymm1[4,6],ymm11[4,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm11[1,3],ymm1[5,7],ymm11[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride2_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm15[0,2],ymm14[0,2],ymm15[4,6],ymm14[4,6]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm15[1,3],ymm14[1,3],ymm15[5,7],ymm14[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm13[0,2],ymm12[0,2],ymm13[4,6],ymm12[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm13[1,3],ymm12[1,3],ymm13[5,7],ymm12[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm11[0,2],ymm10[0,2],ymm11[4,6],ymm10[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm11[1,3],ymm10[1,3],ymm11[5,7],ymm10[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm7[0,2],ymm4[0,2],ymm7[4,6],ymm4[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm7[1,3],ymm4[1,3],ymm7[5,7],ymm4[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm8[0,2],ymm5[0,2],ymm8[4,6],ymm5[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm8[1,3],ymm5[1,3],ymm8[5,7],ymm5[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm9[0,2],ymm6[0,2],ymm9[4,6],ymm6[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm9[1,3],ymm6[1,3],ymm9[5,7],ymm6[5,7]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm1[0,2],ymm2[0,2],ymm1[4,6],ymm2[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,3],ymm2[1,3],ymm1[5,7],ymm2[5,7]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm3[0,2],ymm2[0,2],ymm3[4,6],ymm2[4,6]
+; AVX2-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm3[1,3],ymm2[1,3],ymm3[5,7],ymm2[5,7]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm11[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm7[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm8[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm13[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 224(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm15[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm9[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm6[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 128(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 192(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm10[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 224(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm12[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm14[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm1[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i32_stride2_vf64:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30]
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm9
+; AVX512-NEXT: vpermt2d %zmm6, %zmm8, %zmm9
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm10
+; AVX512-NEXT: vpermt2d %zmm4, %zmm8, %zmm10
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm11
+; AVX512-NEXT: vpermt2d %zmm3, %zmm8, %zmm11
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm12 = [1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31]
+; AVX512-NEXT: vpermt2d %zmm4, %zmm12, %zmm5
+; AVX512-NEXT: vpermt2d %zmm6, %zmm12, %zmm7
+; AVX512-NEXT: vpermt2d %zmm3, %zmm12, %zmm2
+; AVX512-NEXT: vpermt2d %zmm1, %zmm12, %zmm0
+; AVX512-NEXT: vmovdqa64 %zmm10, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm11, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm9, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm7, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm5, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, 64(%rdx)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <128 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <64 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62, i32 64, i32 66, i32 68, i32 70, i32 72, i32 74, i32 76, i32 78, i32 80, i32 82, i32 84, i32 86, i32 88, i32 90, i32 92, i32 94, i32 96, i32 98, i32 100, i32 102, i32 104, i32 106, i32 108, i32 110, i32 112, i32 114, i32 116, i32 118, i32 120, i32 122, i32 124, i32 126>
+ %strided.vec1 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <64 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63, i32 65, i32 67, i32 69, i32 71, i32 73, i32 75, i32 77, i32 79, i32 81, i32 83, i32 85, i32 87, i32 89, i32 91, i32 93, i32 95, i32 97, i32 99, i32 101, i32 103, i32 105, i32 107, i32 109, i32 111, i32 113, i32 115, i32 117, i32 119, i32 121, i32 123, i32 125, i32 127>
+
+ store <64 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i32> %strided.vec1, ptr %out.vec1, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2,AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST-ALL
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST-PERLANE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movq %xmm0, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride3_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %xmm0
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX1-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm3 = xmm1[0],xmm0[1],xmm1[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[1,0,2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
-; AVX1-NEXT: vmovlps %xmm2, (%rsi)
-; AVX1-NEXT: vmovlps %xmm3, (%rdx)
-; AVX1-NEXT: vmovlps %xmm0, (%rcx)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride3_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[1,0,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovlps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovlps %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovlps %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride3_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %xmm0
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX2-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
-; AVX2-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,0,2,3]
-; AVX2-NEXT: vbroadcastss 8(%rdi), %xmm3
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
-; AVX2-NEXT: vmovlps %xmm2, (%rsi)
-; AVX2-NEXT: vmovlps %xmm0, (%rdx)
-; AVX2-NEXT: vmovlps %xmm1, (%rcx)
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride3_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,0,2,3]
+; AVX2-ONLY-NEXT: vbroadcastss 8(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vmovlps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovlps %xmm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovlps %xmm1, (%rcx)
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride3_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovaps (%rdi), %xmm0
-; AVX512-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX512-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
-; AVX512-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
-; AVX512-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,0,2,3]
-; AVX512-NEXT: vbroadcastss 8(%rdi), %xmm3
-; AVX512-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
-; AVX512-NEXT: vmovlps %xmm2, (%rsi)
-; AVX512-NEXT: vmovlps %xmm0, (%rdx)
-; AVX512-NEXT: vmovlps %xmm1, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <6 x i32>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i32_stride3_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512F-SLOW-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,0,2,3]
+; AVX512F-SLOW-NEXT: vbroadcastss 8(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vmovlps %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovlps %xmm0, (%rdx)
+; AVX512F-SLOW-NEXT: vmovlps %xmm1, (%rcx)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride3_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <5,0,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %xmm0, %xmm1, %xmm3
+; AVX512F-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride3_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpermilps {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512BW-SLOW-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[1,0,2,3]
+; AVX512BW-SLOW-NEXT: vbroadcastss 8(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512BW-SLOW-NEXT: vmovlps %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm0, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm1, (%rcx)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride3_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm0[0,3,2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <5,0,u,u>
+; AVX512BW-FAST-NEXT: vpermi2d %xmm0, %xmm1, %xmm3
+; AVX512BW-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <6 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <6 x i32> %wide.vec, <6 x i32> poison, <2 x i32> <i32 0, i32 3>
%strided.vec1 = shufflevector <6 x i32> %wide.vec, <6 x i32> poison, <2 x i32> <i32 1, i32 4>
%strided.vec2 = shufflevector <6 x i32> %wide.vec, <6 x i32> poison, <2 x i32> <i32 2, i32 5>
- store <2 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i32> %strided.vec2, ptr %out.vec2, align 32
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movaps %xmm5, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride3_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %xmm0
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm2
-; AVX1-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0],xmm2[1],xmm0[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[0,3,2,1]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm4
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = mem[0,1],xmm4[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm1[0],xmm4[1,2],xmm1[3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,0,3,2]
-; AVX1-NEXT: vblendps {{.*#+}} xmm0 = xmm2[0,1],xmm0[2],xmm2[3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,1,0,3]
-; AVX1-NEXT: vmovaps %xmm3, (%rsi)
-; AVX1-NEXT: vmovaps %xmm4, (%rdx)
-; AVX1-NEXT: vmovaps %xmm0, (%rcx)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride3_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[0,3,2,1]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0,1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm1[0],xmm4[1,2],xmm1[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,0,3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm2[0,1],xmm0[2],xmm2[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride3_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps {{.*#+}} xmm2 = [0,3,6,1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0],ymm1[1],ymm0[2,3,4,5,6,7]
-; AVX2-NEXT: vpermps %ymm3, %ymm2, %ymm2
-; AVX2-NEXT: vmovaps {{.*#+}} xmm3 = [1,4,7,2]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm4, %ymm3, %ymm3
-; AVX2-NEXT: vmovaps {{.*#+}} xmm4 = [2,5,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
-; AVX2-NEXT: vpermps %ymm0, %ymm4, %ymm0
-; AVX2-NEXT: vmovaps %xmm2, (%rsi)
-; AVX2-NEXT: vmovaps %xmm3, (%rdx)
-; AVX2-NEXT: vmovaps %xmm0, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride3_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm2 = [0,3,6,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0],ymm1[1],ymm0[2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm3 = [1,4,7,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm4 = [2,5,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm4, %ymm0
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm0, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride3_vf4:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = [0,3,6,9]
-; AVX512-NEXT: vpermi2d %ymm1, %ymm0, %ymm2
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm0 = [0,3,6,9]
+; AVX512-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512-NEXT: vpermi2d %ymm2, %ymm1, %ymm0
; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = [1,4,7,10]
-; AVX512-NEXT: vpermi2d %ymm1, %ymm0, %ymm3
+; AVX512-NEXT: vpermi2d %ymm2, %ymm1, %ymm3
; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = [2,5,8,11]
-; AVX512-NEXT: vpermi2d %ymm1, %ymm0, %ymm4
-; AVX512-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX512-NEXT: vpermi2d %ymm2, %ymm1, %ymm4
+; AVX512-NEXT: vmovdqa %xmm0, (%rsi)
; AVX512-NEXT: vmovdqa %xmm3, (%rdx)
; AVX512-NEXT: vmovdqa %xmm4, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <12 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <12 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9>
%strided.vec1 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10>
%strided.vec2 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <4 x i32> <i32 2, i32 5, i32 8, i32 11>
- store <4 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i32> %strided.vec2, ptr %out.vec2, align 32
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movaps %xmm8, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride3_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX1-NEXT: vmovaps (%rdi), %ymm2
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm4
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,1],ymm1[1,3],ymm4[6,5],ymm1[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm3[0,3],ymm4[0,2],ymm3[4,7],ymm4[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm0[1,0],ymm4[2,0],ymm0[5,4],ymm4[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm0[2,0],ymm4[3,0],ymm0[6,4],ymm4[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm4[0,0],ymm5[2,0],ymm4[4,4],ymm5[6,4]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm6
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm7[1,2],ymm6[0,3],ymm7[5,6],ymm6[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm7[0,1,2,3,4],ymm5[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1],ymm2[2],ymm1[3,4],ymm2[5],ymm1[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm6[1,0],ymm2[2,0],ymm6[5,4],ymm2[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm2[2,0],ymm1[0,3],ymm2[6,4],ymm1[4,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm4[0,1],ymm0[0,3],ymm4[4,5],ymm0[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovaps %ymm5, (%rdx)
-; AVX1-NEXT: vmovaps %ymm0, (%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride3_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,1],ymm1[1,3],ymm4[6,5],ymm1[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[0,3],ymm4[0,2],ymm3[4,7],ymm4[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[1,0],ymm4[2,0],ymm0[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[2,0],ymm4[3,0],ymm0[6,4],ymm4[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm4[0,0],ymm5[2,0],ymm4[4,4],ymm5[6,4]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[1,2],ymm6[0,3],ymm7[5,6],ymm6[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm7[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1],ymm2[2],ymm1[3,4],ymm2[5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[1,0],ymm2[2,0],ymm6[5,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[2,0],ymm1[0,3],ymm2[6,4],ymm1[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm4[0,1],ymm0[0,3],ymm4[4,5],ymm0[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
; AVX2-SLOW-LABEL: load_i32_stride3_vf8:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: load_i32_stride3_vf8:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm3 = [21474836482,21474836482,21474836482,21474836482]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm3, %ymm3
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm5 = <0,3,6,1,4,7,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm5, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,0,3,6,0,0,3,6]
-; AVX2-FAST-ALL-NEXT: # ymm4 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm4, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm6 = <1,4,7,2,5,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm5, %ymm6, %ymm5
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm5 = <u,u,u,u,u,1,4,7>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm5, %ymm2
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm1 = <2,5,0,3,6,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm1, %ymm0
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm4, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, (%rcx)
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i32_stride3_vf8:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm3 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm5 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,0,3,6,0,0,3,6]
+; AVX2-FAST-NEXT: # ymm4 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm6 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm5, %ymm6, %ymm5
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm5 = <u,u,u,u,u,1,4,7>
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm5, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm1 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
; AVX2-FAST-PERLANE-LABEL: load_i32_stride3_vf8:
; AVX2-FAST-PERLANE: # %bb.0:
;
; AVX512-LABEL: load_i32_stride3_vf8:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = [0,3,6,9,12,15,18,21]
; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm2
; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [1,4,7,10,13,16,19,22]
; AVX512-NEXT: vmovdqa %ymm4, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <24 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <24 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <8 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21>
%strided.vec1 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <8 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22>
%strided.vec2 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <8 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23>
- store <8 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i32> %strided.vec2, ptr %out.vec2, align 32
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
ret void
}
define void @load_i32_stride3_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
; SSE-LABEL: load_i32_stride3_vf16:
; SSE: # %bb.0:
-; SSE-NEXT: movaps 96(%rdi), %xmm15
-; SSE-NEXT: movaps 128(%rdi), %xmm8
-; SSE-NEXT: movaps 112(%rdi), %xmm9
-; SSE-NEXT: movaps 144(%rdi), %xmm1
-; SSE-NEXT: movaps 176(%rdi), %xmm7
-; SSE-NEXT: movaps 160(%rdi), %xmm11
-; SSE-NEXT: movaps (%rdi), %xmm10
-; SSE-NEXT: movaps 16(%rdi), %xmm3
-; SSE-NEXT: movaps 32(%rdi), %xmm12
-; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 48(%rdi), %xmm4
+; SSE-NEXT: movaps 96(%rdi), %xmm6
+; SSE-NEXT: movaps 128(%rdi), %xmm1
+; SSE-NEXT: movaps 112(%rdi), %xmm13
+; SSE-NEXT: movaps 144(%rdi), %xmm11
+; SSE-NEXT: movaps 176(%rdi), %xmm10
+; SSE-NEXT: movaps 160(%rdi), %xmm9
+; SSE-NEXT: movaps (%rdi), %xmm7
+; SSE-NEXT: movaps 16(%rdi), %xmm8
+; SSE-NEXT: movaps 32(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 48(%rdi), %xmm15
; SSE-NEXT: movaps 80(%rdi), %xmm14
-; SSE-NEXT: movaps 64(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, %xmm0
+; SSE-NEXT: movaps 64(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm0
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm14[1,0]
-; SSE-NEXT: movaps %xmm4, %xmm6
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm11, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm7[1,0]
-; SSE-NEXT: movaps %xmm1, %xmm6
+; SSE-NEXT: movaps %xmm15, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
+; SSE-NEXT: movaps %xmm7, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm10[1,0]
+; SSE-NEXT: movaps %xmm11, %xmm4
+; SSE-NEXT: movaps %xmm11, %xmm2
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps %xmm1, %xmm4
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm6, %xmm1
; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm15, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[1,0],xmm3[0,0]
; SSE-NEXT: movaps %xmm3, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm12[1,0]
-; SSE-NEXT: movaps %xmm10, %xmm6
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm9, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm8[1,0]
-; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm15, %xmm13
-; SSE-NEXT: movaps %xmm15, %xmm5
-; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm4, %xmm12
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[1,0],xmm2[0,0]
-; SSE-NEXT: movaps %xmm2, %xmm0
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm14[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm0[0,2]
-; SSE-NEXT: movaps %xmm1, %xmm15
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[1,0],xmm11[0,0]
-; SSE-NEXT: movaps %xmm11, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm7[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm0[0,2]
-; SSE-NEXT: movaps %xmm5, %xmm1
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm9[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,0],xmm9[0,0]
; SSE-NEXT: movaps %xmm9, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm8[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm0[0,2]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,3,2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[1,0],xmm3[0,0]
-; SSE-NEXT: movaps %xmm3, %xmm8
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[3,1],xmm5[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm8[0,2]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm2[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm10[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm13[0,0]
+; SSE-NEXT: movaps %xmm13, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2],xmm1[0,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[2,3,2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,0],xmm8[0,0]
+; SSE-NEXT: movaps %xmm8, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[3,1],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,2],xmm12[0,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm3[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1]
; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm14[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm11[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm4[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
; SSE-NEXT: # xmm8 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm4[0],xmm8[1],xmm4[1]
-; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm7[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm5[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm3[0],xmm8[1],xmm3[1]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,1],xmm10[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
; SSE-NEXT: # xmm4 = mem[2,3,2,3]
; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
; SSE-NEXT: # xmm4 = xmm4[0,1],mem[0,3]
-; SSE-NEXT: movaps %xmm13, 32(%rsi)
-; SSE-NEXT: movaps %xmm6, (%rsi)
+; SSE-NEXT: movaps %xmm5, 32(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
; SSE-NEXT: movaps %xmm3, 48(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
; SSE-NEXT: movaps %xmm3, 16(%rsi)
-; SSE-NEXT: movaps %xmm1, 32(%rdx)
-; SSE-NEXT: movaps %xmm10, (%rdx)
-; SSE-NEXT: movaps %xmm15, 48(%rdx)
-; SSE-NEXT: movaps %xmm12, 16(%rdx)
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps %xmm6, 48(%rdx)
+; SSE-NEXT: movaps %xmm7, (%rdx)
+; SSE-NEXT: movaps %xmm11, 16(%rdx)
; SSE-NEXT: movaps %xmm4, 32(%rcx)
-; SSE-NEXT: movaps %xmm0, (%rcx)
; SSE-NEXT: movaps %xmm8, 48(%rcx)
+; SSE-NEXT: movaps %xmm1, (%rcx)
; SSE-NEXT: movaps %xmm2, 16(%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride3_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm3
-; AVX1-NEXT: vmovaps (%rdi), %ymm5
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm4
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm4[0],ymm2[1],ymm4[2,3],ymm2[4],ymm4[5,6],ymm2[7]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm7
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm7[2,1],ymm2[1,3],ymm7[6,5],ymm2[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm6[0,3],ymm7[0,2],ymm6[4,7],ymm7[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm0[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm0[1,0],ymm6[2,0],ymm0[5,4],ymm6[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm5[0],ymm3[1],ymm5[2,3],ymm3[4],ymm5[5,6],ymm3[7]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm9
-; AVX1-NEXT: vshufps {{.*#+}} ymm9 = ymm9[2,1],ymm3[1,3],ymm9[6,5],ymm3[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm8[0,3],ymm9[0,2],ymm8[4,7],ymm9[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm1[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm1[1,0],ymm9[2,0],ymm1[5,4],ymm9[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm10[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm1[2,0],ymm9[3,0],ymm1[6,4],ymm9[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm9[0,0],ymm10[2,0],ymm9[4,4],ymm10[6,4]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm11
-; AVX1-NEXT: vblendps {{.*#+}} ymm12 = ymm5[0,1],ymm3[2],ymm5[3,4],ymm3[5],ymm5[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm12[1,2],ymm11[0,3],ymm12[5,6],ymm11[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5,6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm0[2,0],ymm6[3,0],ymm0[6,4],ymm6[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm6[0,0],ymm12[2,0],ymm6[4,4],ymm12[6,4]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm13
-; AVX1-NEXT: vblendps {{.*#+}} ymm14 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm14 = ymm14[1,2],ymm13[0,3],ymm14[5,6],ymm13[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm3[0,1],ymm5[2],ymm3[3,4],ymm5[5],ymm3[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm11[1,0],ymm5[2,0],ymm11[5,4],ymm5[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm5[2,0],ymm3[0,3],ymm5[6,4],ymm3[4,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm9[0,1],ymm1[0,3],ymm9[4,5],ymm1[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3,4],ymm1[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm13[1,0],ymm3[2,0],ymm13[5,4],ymm3[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm3[2,0],ymm2[0,3],ymm3[6,4],ymm2[4,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm6[0,1],ymm0[0,3],ymm6[4,5],ymm0[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7]
-; AVX1-NEXT: vmovaps %ymm8, (%rsi)
-; AVX1-NEXT: vmovaps %ymm7, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm12, 32(%rdx)
-; AVX1-NEXT: vmovaps %ymm10, (%rdx)
-; AVX1-NEXT: vmovaps %ymm0, 32(%rcx)
-; AVX1-NEXT: vmovaps %ymm1, (%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride3_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5,6],ymm4[7]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[2,1],ymm4[1,3],ymm7[6,5],ymm4[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[0,3],ymm7[0,2],ymm5[4,7],ymm7[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm3[1,0],ymm7[2,0],ymm3[5,4],ymm7[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm9[2,1],ymm1[1,3],ymm9[6,5],ymm1[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm8[0,3],ymm9[0,2],ymm8[4,7],ymm9[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[1,0],ymm9[2,0],ymm0[5,4],ymm9[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm3[2,0],ymm7[3,0],ymm3[6,4],ymm7[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm7[0,0],ymm10[2,0],ymm7[4,4],ymm10[6,4]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm6[0,1],ymm4[2],ymm6[3,4],ymm4[5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm12[1,2],ymm11[0,3],ymm12[5,6],ymm11[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm0[2,0],ymm9[3,0],ymm0[6,4],ymm9[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm9[0,0],ymm12[2,0],ymm9[4,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm2[0,1],ymm1[2],ymm2[3,4],ymm1[5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[1,2],ymm13[0,3],ymm14[5,6],ymm13[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm4[0,1],ymm6[2],ymm4[3,4],ymm6[5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm11[1,0],ymm6[2,0],ymm11[5,4],ymm6[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm6[2,0],ymm4[0,3],ymm6[6,4],ymm4[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm7[0,1],ymm3[0,3],ymm7[4,5],ymm3[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1],ymm2[2],ymm1[3,4],ymm2[5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm13[1,0],ymm2[2,0],ymm13[5,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[2,0],ymm1[0,3],ymm2[6,4],ymm1[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm9[0,1],ymm0[0,3],ymm9[4,5],ymm0[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
; AVX2-SLOW-LABEL: load_i32_stride3_vf16:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: load_i32_stride3_vf16:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: vmovaps 128(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovaps 160(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovaps (%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vmovaps 32(%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovaps 64(%rdi), %ymm4
-; AVX2-FAST-ALL-NEXT: vmovaps 96(%rdi), %ymm5
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm6 = [21474836482,21474836482,21474836482,21474836482]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm6, %ymm7
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm9 = <0,3,6,1,4,7,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm9, %ymm8
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm6, %ymm6
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm5[0],ymm0[1],ymm5[2,3],ymm0[4],ymm5[5,6],ymm0[7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm9, %ymm8
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm8[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm8 = [0,0,3,6,0,0,3,6]
-; AVX2-FAST-ALL-NEXT: # ymm8 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm8, %ymm9
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm10 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm11 = <1,4,7,2,5,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm10, %ymm11, %ymm10
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm8, %ymm8
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm10 = ymm5[0,1],ymm0[2],ymm5[3,4],ymm0[5],ymm5[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm10, %ymm11, %ymm10
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm10 = [0,1,0,3,0,1,4,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm10, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm3 = <2,5,0,3,6,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm3, %ymm2
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm10, %ymm1
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm5[2],ymm0[3,4],ymm5[5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm3, %ymm0
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm6, 32(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm8, 32(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm9, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, 32(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%rcx)
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i32_stride3_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm6 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm6, %ymm7
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm9 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm9, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm5[0],ymm0[1],ymm5[2,3],ymm0[4],ymm5[5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm9, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm8 = [0,0,3,6,0,0,3,6]
+; AVX2-FAST-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm8, %ymm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm11 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm5[0,1],ymm0[2],ymm5[3,4],ymm0[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm11, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm10 = [0,1,0,3,0,1,4,7]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm10, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm3 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm3, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm5[2],ymm0[3,4],ymm5[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm8, 32(%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm9, (%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
; AVX2-FAST-PERLANE-LABEL: load_i32_stride3_vf16:
; AVX2-FAST-PERLANE: # %bb.0:
;
; AVX512-LABEL: load_i32_stride3_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = <0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u>
; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,1,2,3,4,5,6,7,8,9,10,17,20,23,26,29]
; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm0 = [0,1,2,3,4,5,6,7,8,9,16,19,22,25,28,31]
; AVX512-NEXT: vpermi2d %zmm2, %zmm3, %zmm0
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <48 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <48 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <16 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45>
%strided.vec1 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <16 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46>
%strided.vec2 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <16 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47>
- store <16 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i32> %strided.vec2, ptr %out.vec2, align 32
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
ret void
}
define void @load_i32_stride3_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
; SSE-LABEL: load_i32_stride3_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: subq $344, %rsp # imm = 0x158
-; SSE-NEXT: movaps 336(%rdi), %xmm10
-; SSE-NEXT: movaps 368(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 352(%rdi), %xmm14
-; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 240(%rdi), %xmm6
-; SSE-NEXT: movaps 272(%rdi), %xmm5
-; SSE-NEXT: movaps 256(%rdi), %xmm11
-; SSE-NEXT: movaps 144(%rdi), %xmm15
-; SSE-NEXT: movaps 176(%rdi), %xmm8
-; SSE-NEXT: movaps 160(%rdi), %xmm13
-; SSE-NEXT: movaps 48(%rdi), %xmm3
-; SSE-NEXT: movaps 80(%rdi), %xmm4
-; SSE-NEXT: movaps 64(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm4[1,0]
-; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm3, %xmm2
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm13, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm8[1,0]
-; SSE-NEXT: movaps %xmm15, %xmm2
-; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm11, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm5[1,0]
-; SSE-NEXT: movaps %xmm5, %xmm12
+; SSE-NEXT: subq $360, %rsp # imm = 0x168
+; SSE-NEXT: movaps 336(%rdi), %xmm13
+; SSE-NEXT: movaps 368(%rdi), %xmm11
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 352(%rdi), %xmm5
; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm6, %xmm2
-; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm14, %xmm0
+; SSE-NEXT: movaps 144(%rdi), %xmm4
+; SSE-NEXT: movaps 176(%rdi), %xmm2
+; SSE-NEXT: movaps 160(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 288(%rdi), %xmm14
+; SSE-NEXT: movaps 320(%rdi), %xmm3
+; SSE-NEXT: movaps 304(%rdi), %xmm9
+; SSE-NEXT: movaps 96(%rdi), %xmm6
+; SSE-NEXT: movaps 128(%rdi), %xmm1
+; SSE-NEXT: movaps 112(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
-; SSE-NEXT: movaps %xmm10, %xmm1
-; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm10, %xmm2
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 16(%rdi), %xmm5
-; SSE-NEXT: movaps 32(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm5, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
-; SSE-NEXT: movaps (%rdi), %xmm9
-; SSE-NEXT: movaps %xmm9, %xmm2
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 128(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 112(%rdi), %xmm10
-; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: movaps %xmm1, %xmm8
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm1
+; SSE-NEXT: movaps %xmm6, %xmm10
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[1,0]
+; SSE-NEXT: movaps %xmm3, %xmm6
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm0
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
-; SSE-NEXT: movaps 96(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm12
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 224(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 208(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: movaps %xmm4, %xmm15
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[2,0],xmm11[1,0]
+; SSE-NEXT: movaps %xmm13, %xmm1
+; SSE-NEXT: movaps %xmm13, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm5[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 16(%rdi), %xmm0
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
-; SSE-NEXT: movaps 192(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 320(%rdi), %xmm14
-; SSE-NEXT: movaps 304(%rdi), %xmm0
-; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm14[1,0]
-; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 288(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm7[0,0]
+; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps (%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 224(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 208(%rdi), %xmm7
; SSE-NEXT: movaps %xmm7, %xmm0
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm4[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,2],xmm0[0,2]
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 192(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 80(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 64(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 48(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm1
; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[1,0],xmm13[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 272(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 240(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm4
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm0[0,0]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm8[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm0[0,2]
-; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm6, %xmm13
-; SSE-NEXT: movaps %xmm11, %xmm0
-; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[1,0],xmm11[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, (%rsp) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[1,0],xmm9[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[3,1],xmm6[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,2],xmm9[0,2]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm15, %xmm9
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[1,0],xmm0[0,0]
; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm12[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,2],xmm0[0,2]
-; SSE-NEXT: movaps %xmm1, %xmm12
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm11, %xmm12
+; SSE-NEXT: movaps %xmm11, %xmm8
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[1,0],xmm0[0,0]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm11[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm3, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[1,0],xmm7[0,0]
+; SSE-NEXT: movaps %xmm7, %xmm0
; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[3,1],mem[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm0[0,2]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, %xmm11
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[1,0],xmm10[0,0]
-; SSE-NEXT: movaps %xmm10, %xmm0
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm15[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm0[0,2]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,2],xmm0[0,2]
+; SSE-NEXT: movaps %xmm13, %xmm15
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[1,0],xmm0[0,0]
; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[3,1],mem[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,2],xmm0[0,2]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
-; SSE-NEXT: movaps %xmm0, %xmm2
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm14[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,2],xmm2[0,2]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[2,3,2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[1,0],xmm5[0,0]
-; SSE-NEXT: movaps %xmm5, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm0[0,2]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm2[0,0]
+; SSE-NEXT: movaps %xmm2, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2],xmm0[0,2]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[3,1],xmm14[2,3]
-; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm4[0,2]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[1,1,1,1]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm14[0,0]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,2],xmm14[0,2]
+; SSE-NEXT: pshufd $85, (%rsp), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm14[0],xmm6[1],xmm14[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,1],xmm11[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm7[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm14[0],xmm3[1],xmm14[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[0,1],mem[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm11[0],xmm2[1],xmm11[1]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
; SSE-NEXT: # xmm7 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm11[0],xmm7[1],xmm11[1]
; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
; SSE-NEXT: # xmm7 = xmm7[0,1],mem[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm5[1,1,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
-; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm14[0,3]
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = mem[1,1,1,1]
-; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; SSE-NEXT: # xmm4 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm8[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm10[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm8[0],xmm5[1],xmm8[1]
-; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm15[0,3]
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; SSE-NEXT: # xmm8 = mem[1,1,1,1]
-; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
-; SSE-NEXT: # xmm14 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm8[0],xmm14[1],xmm8[1]
-; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
-; SSE-NEXT: # xmm14 = xmm14[0,1],mem[0,3]
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; SSE-NEXT: # xmm8 = mem[1,1,1,1]
-; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
-; SSE-NEXT: # xmm10 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
-; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
-; SSE-NEXT: # xmm10 = xmm10[0,1],mem[0,3]
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; SSE-NEXT: # xmm8 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm14[0],xmm11[1],xmm14[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = xmm11[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
-; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; SSE-NEXT: # xmm1 = xmm1[0,1],mem[0,3]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[1,1,1,1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,3]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 96(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 64(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 32(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 112(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 80(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 48(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; SSE-NEXT: movaps %xmm8, 16(%rsi)
-; SSE-NEXT: movaps %xmm3, 96(%rdx)
-; SSE-NEXT: movaps %xmm6, 64(%rdx)
-; SSE-NEXT: movaps %xmm11, 32(%rdx)
-; SSE-NEXT: movaps %xmm9, (%rdx)
-; SSE-NEXT: movaps %xmm12, 112(%rdx)
-; SSE-NEXT: movaps %xmm13, 80(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps %xmm3, 48(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps %xmm3, 16(%rdx)
-; SSE-NEXT: movaps %xmm0, 96(%rcx)
-; SSE-NEXT: movaps %xmm1, 112(%rcx)
-; SSE-NEXT: movaps %xmm10, 64(%rcx)
-; SSE-NEXT: movaps %xmm14, 80(%rcx)
-; SSE-NEXT: movaps %xmm5, 32(%rcx)
-; SSE-NEXT: movaps %xmm4, 48(%rcx)
-; SSE-NEXT: movaps %xmm2, (%rcx)
-; SSE-NEXT: movaps %xmm7, 16(%rcx)
-; SSE-NEXT: addq $344, %rsp # imm = 0x158
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps %xmm14, 32(%rsi)
+; SSE-NEXT: movaps %xmm5, 80(%rdx)
+; SSE-NEXT: movaps %xmm15, 16(%rdx)
+; SSE-NEXT: movaps %xmm10, 64(%rdx)
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movaps %xmm8, 112(%rdx)
+; SSE-NEXT: movaps %xmm9, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rdx)
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps %xmm11, 48(%rcx)
+; SSE-NEXT: movaps %xmm7, 32(%rcx)
+; SSE-NEXT: movaps %xmm2, 80(%rcx)
+; SSE-NEXT: movaps %xmm3, 64(%rcx)
+; SSE-NEXT: movaps %xmm12, 112(%rcx)
+; SSE-NEXT: movaps %xmm6, 96(%rcx)
+; SSE-NEXT: addq $360, %rsp # imm = 0x168
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride3_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $456, %rsp # imm = 0x1C8
-; AVX1-NEXT: vmovaps 352(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm9
-; AVX1-NEXT: vmovaps 288(%rdi), %ymm4
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm6
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm2
-; AVX1-NEXT: vmovaps (%rdi), %ymm8
-; AVX1-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm10
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm7
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm7[1],ymm0[2,3],ymm7[4],ymm0[5,6],ymm7[7]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm1
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm7[1,3],ymm1[6,5],ymm7[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm10[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm10[1,0],ymm5[2,0],ymm10[5,4],ymm5[6,4]
-; AVX1-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0],ymm2[1],ymm8[2,3],ymm2[4],ymm8[5,6],ymm2[7]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm2[1,3],ymm1[6,5],ymm2[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm6[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm6[1,0],ymm13[2,0],ymm6[5,4],ymm13[6,4]
-; AVX1-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0],ymm9[1],ymm4[2,3],ymm9[4],ymm4[5,6],ymm9[7]
-; AVX1-NEXT: vmovaps 304(%rdi), %xmm1
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm9[1,3],ymm1[6,5],ymm9[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
-; AVX1-NEXT: vmovaps %ymm3, %ymm4
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm15 = ymm3[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm3[1,0],ymm15[2,0],ymm3[5,4],ymm15[6,4]
-; AVX1-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm14
-; AVX1-NEXT: vmovaps 208(%rdi), %xmm0
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm14[1,3],ymm0[6,5],ymm14[5,7]
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0],ymm14[1],ymm2[2,3],ymm14[4],ymm2[5,6],ymm14[7]
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
-; AVX1-NEXT: vmovaps 256(%rdi), %ymm11
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm11[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm11[1,0],ymm9[2,0],ymm11[5,4],ymm9[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm12[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm11[2,0],ymm9[3,0],ymm11[6,4],ymm9[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm9[0,0],ymm8[2,0],ymm9[4,4],ymm8[6,4]
-; AVX1-NEXT: vmovaps 208(%rdi), %xmm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm2[0,1],ymm14[2],ymm2[3,4],ymm14[5],ymm2[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm8[1,2],ymm0[0,3],ymm8[5,6],ymm0[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4],ymm12[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm10[2,0],ymm5[3,0],ymm10[6,4],ymm5[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm5[0,0],ymm8[2,0],ymm5[4,4],ymm8[6,4]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm12
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm5[0,1],ymm7[2],ymm5[3,4],ymm7[5],ymm5[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm10[1,2],ymm12[0,3],ymm10[5,6],ymm12[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm6[2,0],ymm13[3,0],ymm6[6,4],ymm13[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm13[0,0],ymm8[2,0],ymm13[4,4],ymm8[6,4]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm10
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm3[0,1],ymm2[2],ymm3[3,4],ymm2[5],ymm3[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm6[1,2],ymm10[0,3],ymm6[5,6],ymm10[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm4[2,0],ymm15[3,0],ymm4[6,4],ymm15[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm15[0,0],ymm6[2,0],ymm15[4,4],ymm6[6,4]
-; AVX1-NEXT: vmovaps 304(%rdi), %xmm8
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm4[1,2],ymm8[0,3],ymm4[5,6],ymm8[4,7]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[0,2,3,1,4,6,7,5]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm6[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1],ymm5[2],ymm7[3,4],ymm5[5],ymm7[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm12[1,0],ymm6[2,0],ymm12[5,4],ymm6[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm6[2,0],ymm7[0,3],ymm6[6,4],ymm7[4,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX1-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm7 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm7 = ymm5[0,1],mem[0,3],ymm5[4,5],mem[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm10[1,0],ymm7[2,0],ymm10[5,4],ymm7[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm7[2,0],ymm2[0,3],ymm7[6,4],ymm2[4,7]
-; AVX1-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm7 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm7 = ymm13[0,1],mem[0,3],ymm13[4,5],mem[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm7[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm8[1,0],ymm7[2,0],ymm8[5,4],ymm7[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm7[2,0],ymm1[0,3],ymm7[6,4],ymm1[4,7]
-; AVX1-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm7 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm7 = ymm15[0,1],mem[0,3],ymm15[4,5],mem[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm7[5,6,7]
-; AVX1-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm3 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm3 = ymm14[0,1],mem[2],ymm14[3,4],mem[5],ymm14[6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm0[1,0],ymm3[2,0],ymm0[5,4],ymm3[6,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm3[2,0],ymm14[0,3],ymm3[6,4],ymm14[4,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm9[0,1],ymm11[0,3],ymm9[4,5],ymm11[4,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 64(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 96(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm4, 96(%rdx)
-; AVX1-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 64(%rdx)
-; AVX1-NEXT: vmovaps %ymm0, 64(%rcx)
-; AVX1-NEXT: vmovaps %ymm2, 96(%rcx)
-; AVX1-NEXT: vmovaps %ymm5, (%rcx)
-; AVX1-NEXT: vmovaps %ymm6, 32(%rcx)
-; AVX1-NEXT: addq $456, %rsp # imm = 0x1C8
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride3_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $392, %rsp # imm = 0x188
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm9[1],ymm0[2,3],ymm9[4],ymm0[5,6],ymm9[7]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm9[1,3],ymm1[6,5],ymm9[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm8[1,0],ymm10[2,0],ymm8[5,4],ymm10[6,4]
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0],ymm5[1],ymm7[2,3],ymm5[4],ymm7[5,6],ymm5[7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm5[1,3],ymm1[6,5],ymm5[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm6[1,0],ymm14[2,0],ymm6[5,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vmovups %ymm6, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0],ymm4[1],ymm3[2,3],ymm4[4],ymm3[5,6],ymm4[7]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm4[1,3],ymm1[6,5],ymm4[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[1,0],ymm12[2,0],ymm2[5,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm15[1,3],ymm0[6,5],ymm15[5,7]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0],ymm15[1],ymm11[2,3],ymm15[4],ymm11[5,6],ymm15[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm4[1,0],ymm1[2,0],ymm4[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm8[2,0],ymm10[3,0],ymm8[6,4],ymm10[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm10[0,0],ymm0[2,0],ymm10[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = mem[0,1],ymm9[2],mem[3,4],ymm9[5],mem[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm8[1,2],ymm13[0,3],ymm8[5,6],ymm13[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm6[2,0],ymm14[3,0],ymm6[6,4],ymm14[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm14[0,0],ymm0[2,0],ymm14[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm7[0,1],ymm5[2],ymm7[3,4],ymm5[5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm10[1,2],ymm8[0,3],ymm10[5,6],ymm8[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm4[2,0],ymm1[3,0],ymm4[6,4],ymm1[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,0],ymm0[2,0],ymm1[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm11[0,1],ymm15[2],ymm11[3,4],ymm15[5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[1,2],ymm10[0,3],ymm6[5,6],ymm10[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm2[2,0],ymm12[3,0],ymm2[6,4],ymm12[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm12[0,0],ymm0[2,0],ymm12[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[1,2],ymm6[0,3],ymm7[5,6],ymm6[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = ymm9[0,1],mem[2],ymm9[3,4],mem[5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm13[1,0],ymm7[2,0],ymm13[5,4],ymm7[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[2,0],ymm9[0,3],ymm7[6,4],ymm9[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm9 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm9 = ymm3[0,1],mem[0,3],ymm3[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm9[5,6,7]
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm9 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm9 = ymm5[0,1],mem[2],ymm5[3,4],mem[5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm8[1,0],ymm9[2,0],ymm8[5,4],ymm9[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm8[2,0],ymm5[0,3],ymm8[6,4],ymm5[4,7]
+; AVX1-ONLY-NEXT: vshufps $196, (%rsp), %ymm14, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = ymm14[0,1],mem[0,3],ymm14[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1],ymm11[2],ymm15[3,4],ymm11[5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm10[1,0],ymm3[2,0],ymm10[5,4],ymm3[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[2,0],ymm15[0,3],ymm3[6,4],ymm15[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[0,1],ymm4[0,3],ymm1[4,5],ymm4[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1],ymm2[2],ymm0[3,4],ymm2[5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[1,0],ymm2[2,0],ymm6[5,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm0[0,3],ymm2[6,4],ymm0[4,7]
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = ymm12[0,1],mem[0,3],ymm12[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rcx)
+; AVX1-ONLY-NEXT: addq $392, %rsp # imm = 0x188
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
; AVX2-SLOW-LABEL: load_i32_stride3_vf32:
; AVX2-SLOW: # %bb.0:
-; AVX2-SLOW-NEXT: subq $136, %rsp
-; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm15
-; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm3
-; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm6
-; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm10
-; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm4
-; AVX2-SLOW-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm7
-; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm14
-; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm12 = [21474836482,21474836482,21474836482,21474836482]
-; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm12, %ymm0
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0],ymm7[1],ymm4[2,3],ymm7[4],ymm4[5,6],ymm7[7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
-; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm13, %ymm5
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm12, %ymm0
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm14[0],ymm6[1],ymm14[2,3],ymm6[4],ymm14[5,6],ymm6[7]
-; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm13, %ymm5
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: subq $104, %rsp
+; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm13
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm8 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm15[0],ymm10[1],ymm15[2,3],ymm10[4],ymm15[5,6],ymm10[7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm11 = <0,3,6,1,4,7,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm11, %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm12, %ymm0
-; AVX2-SLOW-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
-; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm13, %ymm9
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm7[0],ymm4[1],ymm7[2,3],ymm4[4],ymm7[5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm11, %ymm9
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm11
-; AVX2-SLOW-NEXT: vmovaps %ymm15, %ymm4
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm11[0],ymm15[1],ymm11[2,3],ymm15[4],ymm11[5,6],ymm15[7]
-; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm13, %ymm13
-; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm8
-; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm12, %ymm12
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm13[0],ymm3[1],ymm13[2,3],ymm3[4],ymm13[5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm11, %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm3 = <1,4,7,2,5,u,u,u>
-; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm3, %ymm12
+; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0],ymm1[1],ymm14[2,3],ymm1[4],ymm14[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm11, %ymm11
+; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm15[0,1],ymm10[2],ymm15[3,4],ymm10[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm1 = <1,4,7,2,5,u,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm1, %ymm8
; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,0,1]
-; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm15
-; AVX2-SLOW-NEXT: vmovaps %ymm1, %ymm13
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm15[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm14[0,1],ymm6[2],ymm14[3,4],ymm6[5],ymm14[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm3, %ymm15
-; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm0, %ymm5
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm15[0,1,2,3,4],ymm5[5,6,7]
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0,1],ymm7[2],ymm1[3,4],ymm7[5],ymm1[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm3, %ymm5
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm7[0,1],ymm4[2],ymm7[3,4],ymm4[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm1, %ymm8
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm11 = ymm13[0,1],ymm3[2],ymm13[3,4],ymm3[5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm1, %ymm11
; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm0, %ymm9
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm4[2],ymm11[3,4],ymm4[5],ymm11[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm3, %ymm3
-; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm0, %ymm0
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1],ymm14[2],ymm6[3,4],ymm14[5],ymm6[6,7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm9 = <2,5,0,3,6,u,u,u>
-; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm9, %ymm3
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,0,3,4,5,4,7]
-; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,1,0,3]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1],ymm1[2],ymm7[3,4],ymm1[5],ymm7[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm9, %ymm6
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm7 = ymm2[0,1,0,3,4,5,4,7]
-; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1],ymm11[2],ymm4[3,4],ymm11[5],ymm4[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm9, %ymm2
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,0,3,4,5,4,7]
-; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm2, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2,3,4],ymm9[5,6,7]
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-SLOW-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
-; AVX2-SLOW-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm9, %ymm2
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm4 = ymm13[0,1,0,3,4,5,4,7]
-; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
-; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rsi)
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rsi)
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rsi)
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm11 = ymm14[0,1],ymm2[2],ymm14[3,4],ymm2[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1],ymm15[2],ymm10[3,4],ymm15[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm10 = <2,5,0,3,6,u,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm10, %ymm1
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm11 = ymm12[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm7[2],ymm4[3,4],ymm7[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm10, %ymm4
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm3[0,1],ymm13[2],ymm3[3,4],ymm13[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm10, %ymm5
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm2[0,1],ymm14[2],ymm2[3,4],ymm14[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm10, %ymm5
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovaps %ymm9, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm0, 96(%rdx)
-; AVX2-SLOW-NEXT: vmovaps %ymm5, (%rdx)
-; AVX2-SLOW-NEXT: vmovaps %ymm15, 32(%rdx)
-; AVX2-SLOW-NEXT: vmovaps %ymm12, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm0, 32(%rdx)
; AVX2-SLOW-NEXT: vmovaps %ymm2, 64(%rcx)
-; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%rcx)
-; AVX2-SLOW-NEXT: vmovaps %ymm6, (%rcx)
-; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX2-SLOW-NEXT: addq $136, %rsp
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-SLOW-NEXT: addq $104, %rsp
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: load_i32_stride3_vf32:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: subq $72, %rsp
-; AVX2-FAST-ALL-NEXT: vmovaps 320(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovaps 224(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vmovaps 256(%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovaps 128(%rdi), %ymm9
-; AVX2-FAST-ALL-NEXT: vmovaps 160(%rdi), %ymm10
-; AVX2-FAST-ALL-NEXT: vmovaps (%rdi), %ymm5
-; AVX2-FAST-ALL-NEXT: vmovaps 32(%rdi), %ymm7
-; AVX2-FAST-ALL-NEXT: vmovaps 64(%rdi), %ymm8
-; AVX2-FAST-ALL-NEXT: vmovaps 96(%rdi), %ymm12
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm4 = [21474836482,21474836482,21474836482,21474836482]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm4, %ymm6
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm11 = ymm5[0],ymm7[1],ymm5[2,3],ymm7[4],ymm5[5,6],ymm7[7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm11, %ymm13, %ymm11
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermps %ymm10, %ymm4, %ymm6
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0],ymm9[1],ymm12[2,3],ymm9[4],ymm12[5,6],ymm9[7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm11, %ymm13, %ymm11
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm6, (%rsp) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, %ymm6
-; AVX2-FAST-ALL-NEXT: vpermps %ymm3, %ymm4, %ymm11
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm14 = ymm2[0],ymm0[1],ymm2[2,3],ymm0[4],ymm2[5,6],ymm0[7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm14, %ymm13, %ymm14
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm14[0,1,2,3,4,5],ymm11[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps 288(%rdi), %ymm15
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm14 = ymm15[0],ymm1[1],ymm15[2,3],ymm1[4],ymm15[5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm1, %ymm3
-; AVX2-FAST-ALL-NEXT: vpermps %ymm14, %ymm13, %ymm13
-; AVX2-FAST-ALL-NEXT: vmovaps 352(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm4, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5],ymm4[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm2 = <1,4,7,2,5,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm2, %ymm4
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
-; AVX2-FAST-ALL-NEXT: # ymm0 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm6, %ymm0, %ymm13
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm6, %ymm14
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm13 = ymm4[0,1,2,3,4],ymm13[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm12[0,1],ymm9[2],ymm12[3,4],ymm9[5],ymm12[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm2, %ymm4
-; AVX2-FAST-ALL-NEXT: vpermps %ymm10, %ymm0, %ymm6
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm6[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm5[0,1],ymm7[2],ymm5[3,4],ymm7[5],ymm5[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm6, %ymm2, %ymm6
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm0, %ymm11
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm11[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1],ymm3[2],ymm15[3,4],ymm3[5],ymm15[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm11, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm0, %ymm0
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1],ymm12[2],ymm9[3,4],ymm12[5],ymm9[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm9 = [0,1,0,3,0,1,4,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm10, %ymm9, %ymm10
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm11 = <2,5,0,3,6,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm11, %ymm2
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm7[0,1],ymm5[2],ymm7[3,4],ymm5[5],ymm7[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm9, %ymm7
-; AVX2-FAST-ALL-NEXT: vpermps %ymm5, %ymm11, %ymm5
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm7[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm3[0,1],ymm15[2],ymm3[3,4],ymm15[5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm9, %ymm1
-; AVX2-FAST-ALL-NEXT: vpermps %ymm7, %ymm11, %ymm7
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm14, %ymm9, %ymm3
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
-; AVX2-FAST-ALL-NEXT: # ymm7 = ymm7[0,1],mem[2],ymm7[3,4],mem[5],ymm7[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm7, %ymm11, %ymm7
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3,4],ymm3[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, 96(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, 64(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups (%rsp), %ymm7 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, 32(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, 96(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm6, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm4, 32(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm13, 64(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, 64(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm1, 96(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm5, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, 32(%rcx)
-; AVX2-FAST-ALL-NEXT: addq $72, %rsp
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i32_stride3_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $104, %rsp
+; AVX2-FAST-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 320(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovaps 288(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovaps 352(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm15
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm8 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm8, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0],ymm9[1],ymm11[2,3],ymm9[4],ymm11[5,6],ymm9[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm13, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm8, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm3[0],ymm2[1],ymm3[2,3],ymm2[4],ymm3[5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovaps %ymm2, %ymm6
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm13, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm8, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm15[0],ymm5[1],ymm15[2,3],ymm5[4],ymm15[5,6],ymm5[7]
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm13, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 192(%rdi), %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0],ymm1[1],ymm14[2,3],ymm1[4],ymm14[5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1],ymm9[2],ymm11[3,4],ymm9[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm2 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm0, %ymm13
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1],ymm6[2],ymm3[3,4],ymm6[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm0, %ymm13
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm13 = ymm15[0,1],ymm5[2],ymm15[3,4],ymm5[5],ymm15[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm13, %ymm2, %ymm13
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm13[0,1,2,3,4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm13 = ymm14[0,1],ymm6[2],ymm14[3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm13, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1],ymm11[2],ymm9[3,4],ymm11[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm9 = [0,1,0,3,0,1,4,7]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm9, %ymm11
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm12 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,1],ymm3[2],mem[3,4],ymm3[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm9, %ymm4
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm12, %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1],ymm15[2],ymm5[3,4],ymm15[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm9, %ymm5
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm12, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm9, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1],ymm14[2],ymm6[3,4],ymm14[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm5, %ymm12, %ymm5
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm10, (%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm8, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-FAST-NEXT: addq $104, %rsp
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
; AVX2-FAST-PERLANE-LABEL: load_i32_stride3_vf32:
; AVX2-FAST-PERLANE: # %bb.0:
-; AVX2-FAST-PERLANE-NEXT: subq $136, %rsp
-; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm15
-; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm3
-; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm6
-; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm10
-; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm4
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm7
-; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm14
-; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm12 = [21474836482,21474836482,21474836482,21474836482]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm12, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0],ymm7[1],ymm4[2,3],ymm7[4],ymm4[5,6],ymm7[7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm13, %ymm5
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm12, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm14[0],ymm6[1],ymm14[2,3],ymm6[4],ymm14[5,6],ymm6[7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm13, %ymm5
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: subq $104, %rsp
+; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm8 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm15[0],ymm10[1],ymm15[2,3],ymm10[4],ymm15[5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm11 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm11, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm12, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm2[0],ymm3[1],ymm2[2,3],ymm3[4],ymm2[5,6],ymm3[7]
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm13, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm7[0],ymm4[1],ymm7[2,3],ymm4[4],ymm7[5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm11, %ymm9
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm11
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm15, %ymm4
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm11[0],ymm15[1],ymm11[2,3],ymm15[4],ymm11[5,6],ymm15[7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm13, %ymm13
-; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm8
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm12, %ymm12
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm13[0],ymm3[1],ymm13[2,3],ymm3[4],ymm13[5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm11, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm3 = <1,4,7,2,5,u,u,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm3, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0],ymm1[1],ymm14[2,3],ymm1[4],ymm14[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm11, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm15[0,1],ymm10[2],ymm15[3,4],ymm10[5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm1 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm1, %ymm8
; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,0,1]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm15
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, %ymm13
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm15[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm14[0,1],ymm6[2],ymm14[3,4],ymm6[5],ymm14[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm3, %ymm15
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm0, %ymm5
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm15[0,1,2,3,4],ymm5[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0,1],ymm7[2],ymm1[3,4],ymm7[5],ymm1[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm3, %ymm5
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm7[0,1],ymm4[2],ymm7[3,4],ymm4[5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm1, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm11 = ymm13[0,1],ymm3[2],ymm13[3,4],ymm3[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm1, %ymm11
; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm0, %ymm9
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm4[2],ymm11[3,4],ymm4[5],ymm11[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm3, %ymm3
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm0, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1],ymm14[2],ymm6[3,4],ymm14[5],ymm6[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm9 = <2,5,0,3,6,u,u,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm9, %ymm3
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,0,3,4,5,4,7]
-; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,1,0,3]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1],ymm1[2],ymm7[3,4],ymm1[5],ymm7[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm9, %ymm6
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm7 = ymm2[0,1,0,3,4,5,4,7]
-; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1],ymm11[2],ymm4[3,4],ymm11[5],ymm4[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm9, %ymm2
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,0,3,4,5,4,7]
-; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2,3,4],ymm9[5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
-; AVX2-FAST-PERLANE-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm9, %ymm2
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm4 = ymm13[0,1,0,3,4,5,4,7]
-; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%rsi)
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%rsi)
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%rsi)
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm11 = ymm14[0,1],ymm2[2],ymm14[3,4],ymm2[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1],ymm15[2],ymm10[3,4],ymm15[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm10 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm10, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm11 = ymm12[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm7[2],ymm4[3,4],ymm7[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm10, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm3[0,1],ymm13[2],ymm3[3,4],ymm13[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm10, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm2[0,1],ymm14[2],ymm2[3,4],ymm14[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm10, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm9, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, 96(%rdx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, (%rdx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm15, 32(%rdx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm12, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, 32(%rdx)
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 64(%rcx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rcx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm6, (%rcx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX2-FAST-PERLANE-NEXT: addq $136, %rsp
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: addq $104, %rsp
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
; AVX512-LABEL: load_i32_stride3_vf32:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm5
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm6 = <0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u>
; AVX512-NEXT: vmovdqa64 %zmm5, %zmm7
; AVX512-NEXT: vpermt2d %zmm1, %zmm6, %zmm7
; AVX512-NEXT: vpermt2d %zmm0, %zmm1, %zmm5
; AVX512-NEXT: vpermt2d %zmm3, %zmm10, %zmm2
; AVX512-NEXT: vpermt2d %zmm4, %zmm1, %zmm2
-; AVX512-NEXT: vmovdqu64 %zmm7, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm9, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm5, 64(%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm2, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm9, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm5, 64(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm2, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <96 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <96 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <32 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93>
%strided.vec1 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <32 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94>
%strided.vec2 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <32 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95>
- store <32 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i32> %strided.vec2, ptr %out.vec2, align 32
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i32> %strided.vec2, ptr %out.vec2, align 64
+
+ ret void
+}
+
+define void @load_i32_stride3_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i32_stride3_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1064, %rsp # imm = 0x428
+; SSE-NEXT: movaps 624(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 656(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 640(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 432(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 464(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 448(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 240(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 272(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 48(%rdi), %xmm8
+; SSE-NEXT: movaps 80(%rdi), %xmm11
+; SSE-NEXT: movaps 64(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm11[1,0]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm1
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm14, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm5[1,0]
+; SSE-NEXT: movaps %xmm7, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm6[1,0]
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm3[1,0]
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 16(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps (%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 224(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 208(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 192(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 416(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 400(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 384(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 608(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 592(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
+; SSE-NEXT: movaps 576(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 176(%rdi), %xmm6
+; SSE-NEXT: movaps 160(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm6[1,0]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, %xmm2
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 352(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[1,0]
+; SSE-NEXT: movaps 336(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm2
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 560(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 544(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
+; SSE-NEXT: movaps 528(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 752(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 736(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[1,0]
+; SSE-NEXT: movaps 720(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm0[0,2]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 128(%rdi), %xmm4
+; SSE-NEXT: movaps 112(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm4[1,0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 96(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm9
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,3],xmm2[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 320(%rdi), %xmm13
+; SSE-NEXT: movaps 304(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm13[1,0]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 288(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm9
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,3],xmm2[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 512(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 496(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[1,0]
+; SSE-NEXT: movaps 480(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,3],xmm2[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 704(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 688(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm9[1,0]
+; SSE-NEXT: movaps 672(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm9
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,3],xmm2[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[3,1],xmm11[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,2],xmm10[0,2]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm7[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[3,1],xmm6[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2],xmm7[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm3[0,0]
+; SSE-NEXT: movaps %xmm3, %xmm2
+; SSE-NEXT: movaps %xmm3, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm11[0,0]
+; SSE-NEXT: movaps %xmm11, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm9[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm5
+; SSE-NEXT: movaps %xmm12, %xmm15
+; SSE-NEXT: movaps %xmm14, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm14[0,0]
+; SSE-NEXT: movaps %xmm14, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm13[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movaps %xmm8, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm0, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[1,0],xmm2[0,0]
+; SSE-NEXT: shufps $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[3,1],mem[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2],xmm2[0,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[2,3,2,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[0,0]
+; SSE-NEXT: movaps %xmm0, %xmm2
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,2],xmm2[0,2]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm0[0,3]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,3]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0,1],mem[0,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = xmm13[0,1],mem[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,1],xmm9[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[0,1],mem[0,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = xmm9[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm4[0,3]
+; SSE-NEXT: pshufd $85, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0,1],mem[0,3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: shufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0,1],mem[0,3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rsi)
+; SSE-NEXT: movaps %xmm12, 224(%rdx)
+; SSE-NEXT: movaps %xmm14, 240(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 192(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rdx)
+; SSE-NEXT: movaps %xmm0, 240(%rcx)
+; SSE-NEXT: movaps %xmm1, 224(%rcx)
+; SSE-NEXT: movaps %xmm2, 208(%rcx)
+; SSE-NEXT: movaps %xmm3, 192(%rcx)
+; SSE-NEXT: movaps %xmm5, 176(%rcx)
+; SSE-NEXT: movaps %xmm6, 160(%rcx)
+; SSE-NEXT: movaps %xmm7, 144(%rcx)
+; SSE-NEXT: movaps %xmm8, 128(%rcx)
+; SSE-NEXT: movaps %xmm9, 112(%rcx)
+; SSE-NEXT: movaps %xmm15, 96(%rcx)
+; SSE-NEXT: movaps %xmm10, 80(%rcx)
+; SSE-NEXT: movaps %xmm11, 64(%rcx)
+; SSE-NEXT: movaps %xmm13, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: addq $1064, %rsp # imm = 0x428
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride3_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1416, %rsp # imm = 0x588
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovups %ymm9, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm9[1],ymm0[2,3],ymm9[4],ymm0[5,6],ymm9[7]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm9[1,3],ymm1[6,5],ymm9[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm8[1,0],ymm1[2,0],ymm8[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6],ymm6[7]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm6[1,3],ymm1[6,5],ymm6[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm15 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm5[1,0],ymm15[2,0],ymm5[5,4],ymm15[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0],ymm3[1],ymm4[2,3],ymm3[4],ymm4[5,6],ymm3[7]
+; AVX1-ONLY-NEXT: vmovaps 496(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm3[1,3],ymm1[6,5],ymm3[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm1[0,2],ymm0[4,7],ymm1[4,6]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[1,0],ymm5[2,0],ymm2[5,4],ymm5[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 688(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm2[1,3],ymm0[6,5],ymm2[5,7]
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3],ymm2[4],ymm1[5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,0],ymm14[2,0],ymm1[5,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm8[1,3],ymm0[6,5],ymm8[5,7]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm8[1],ymm1[2,3],ymm8[4],ymm1[5,6],ymm8[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,0],ymm13[2,0],ymm1[5,4],ymm13[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm9[1,3],ymm0[6,5],ymm9[5,7]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3],ymm9[4],ymm1[5,6],ymm9[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[1,0],ymm12[2,0],ymm2[5,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm10[1,3],ymm0[6,5],ymm10[5,7]
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm10[1],ymm1[2,3],ymm10[4],ymm1[5,6],ymm10[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[1,0],ymm7[2,0],ymm2[5,4],ymm7[6,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm11[1,3],ymm0[6,5],ymm11[5,7]
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm11[1],ymm1[2,3],ymm11[4],ymm1[5,6],ymm11[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm1[0,3],ymm0[0,2],ymm1[4,7],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm0[1,0],ymm1[2,0],ymm0[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm1[3,0],ymm0[6,4],ymm1[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,0],ymm0[2,0],ymm1[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,2],ymm2[0,3],ymm1[5,6],ymm2[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm15[3,0],ymm0[6,4],ymm15[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm15[0,0],ymm0[2,0],ymm15[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,2],ymm2[0,3],ymm1[5,6],ymm2[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm5[3,0],ymm0[6,4],ymm5[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm5[0,0],ymm0[2,0],ymm5[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 496(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,2],ymm2[0,3],ymm1[5,6],ymm2[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm14[3,0],ymm0[6,4],ymm14[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm14[0,0],ymm0[2,0],ymm14[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 688(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,2],ymm2[0,3],ymm1[5,6],ymm2[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm13[3,0],ymm0[6,4],ymm13[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm13[0,0],ymm0[2,0],ymm13[4,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1],ymm8[2],ymm0[3,4],ymm8[5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[1,2],ymm3[0,3],ymm2[5,6],ymm3[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm4[2,0],ymm12[3,0],ymm4[6,4],ymm12[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm12[0,0],ymm1[2,0],ymm12[4,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0,1],ymm9[2],ymm1[3,4],ymm9[5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[1,2],ymm4[0,3],ymm5[5,6],ymm4[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[2,0],ymm7[3,0],ymm6[6,4],ymm7[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm7[0,0],ymm2[2,0],ymm7[4,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0,1],ymm10[2],ymm2[3,4],ymm10[5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[1,2],ymm6[0,3],ymm15[5,6],ymm6[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm15[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm12[2,0],ymm7[3,0],ymm12[6,4],ymm7[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm7[0,0],ymm5[2,0],ymm7[4,4],ymm5[6,4]
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm5[0,1],ymm11[2],ymm5[3,4],ymm11[5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[1,2],ymm7[0,3],ymm14[5,6],ymm7[4,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,2,3,1,4,6,7,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm14 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm14 = ymm15[0,1],mem[2],ymm15[3,4],mem[5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm13[1,0],ymm14[2,0],ymm13[5,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[2,0],ymm15[0,3],ymm14[6,4],ymm15[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm15[0,1],mem[0,3],ymm15[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm8[0,1],ymm0[2],ymm8[3,4],ymm0[5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm3[1,0],ymm14[2,0],ymm3[5,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm8[0,3],ymm0[6,4],ymm8[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = ymm3[0,1],mem[0,3],ymm3[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm8[0,1],mem[2],ymm8[3,4],mem[5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm13[1,0],ymm0[2,0],ymm13[5,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm8[0,3],ymm0[6,4],ymm8[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = ymm8[0,1],mem[0,3],ymm8[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1],ymm1[2],ymm9[3,4],ymm1[5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm4[1,0],ymm0[2,0],ymm4[5,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm9[0,3],ymm0[6,4],ymm9[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm1[0,1],mem[0,3],ymm1[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm4[0,1],mem[2],ymm4[3,4],mem[5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm9[1,0],ymm1[2,0],ymm9[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm4[0,3],ymm1[6,4],ymm4[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm4[0,1],mem[0,3],ymm4[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm10[0,1],ymm2[2],ymm10[3,4],ymm2[5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[1,0],ymm4[2,0],ymm6[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm10[0,3],ymm2[6,4],ymm10[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm4[0,1],mem[0,3],ymm4[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm6[0,1],mem[2],ymm6[3,4],mem[5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm9[1,0],ymm4[2,0],ymm9[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,0],ymm6[0,3],ymm4[6,4],ymm6[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm6 = ymm6[0,1],mem[0,3],ymm6[4,5],mem[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm11[0,1],ymm5[2],ymm11[3,4],ymm5[5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm7[1,0],ymm6[2,0],ymm7[5,4],ymm6[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[2,0],ymm11[0,3],ymm5[6,4],ymm11[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[0,1],ymm12[0,3],ymm6[4,5],ymm12[4,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 32(%rcx)
+; AVX1-ONLY-NEXT: addq $1416, %rsp # imm = 0x588
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride3_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1096, %rsp # imm = 0x448
+; AVX2-SLOW-NEXT: vmovaps 704(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vmovaps 512(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovaps 544(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovups %ymm5, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm0 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0],ymm2[1],ymm12[2,3],ymm2[4],ymm12[5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0],ymm7[1],ymm9[2,3],ymm7[4],ymm9[5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps %ymm4, %ymm9
+; AVX2-SLOW-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 672(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5,6],ymm10[7]
+; AVX2-SLOW-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm13, %ymm1
+; AVX2-SLOW-NEXT: vmovaps 736(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm13, %ymm4
+; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0],ymm1[1],ymm5[2,3],ymm1[4],ymm5[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm13, %ymm7
+; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm13, %ymm14
+; AVX2-SLOW-NEXT: vmovaps 448(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm15
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 608(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 576(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm13, %ymm15
+; AVX2-SLOW-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1],ymm7[2],ymm12[3,4],ymm7[5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm15 = <1,4,7,2,5,u,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1],ymm13[2],mem[3,4],ymm13[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm9[2],ymm6[3,4],ymm9[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vpermps (%rsp), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1],ymm10[2],ymm11[3,4],ymm10[5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm6[2],ymm5[3,4],ymm6[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm14[0,1],mem[2],ymm14[3,4],mem[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1],ymm12[2],ymm7[3,4],ymm12[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} ymm12 = <2,5,0,3,6,u,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm13[0,1],mem[2],ymm13[3,4],mem[5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm12, %ymm1
+; AVX2-SLOW-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-SLOW-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm3 = mem[0,1],ymm3[2],mem[3,4],ymm3[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm12, %ymm3
+; AVX2-SLOW-NEXT: vpermilps $196, (%rsp), %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm10[0,1],ymm9[2],ymm10[3,4],ymm9[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm12, %ymm4
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[0,1],ymm5[2],mem[3,4],ymm5[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm12, %ymm5
+; AVX2-SLOW-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm6 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm6 = mem[0,1],ymm14[2],mem[3,4],ymm14[5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm12, %ymm6
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm7 = ymm15[0,1,0,3,4,5,4,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 192(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 128(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 224(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 160(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 192(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 128(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 224(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 160(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovaps %ymm6, 192(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm5, 224(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 128(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 160(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-SLOW-NEXT: vmovaps %ymm8, 32(%rcx)
+; AVX2-SLOW-NEXT: addq $1096, %rsp # imm = 0x448
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride3_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1000, %rsp # imm = 0x3E8
+; AVX2-FAST-NEXT: vmovaps 704(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovaps 512(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovaps 480(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 544(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 320(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovups %ymm7, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 288(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 352(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm10
+; AVX2-FAST-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm0 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm14[0],ymm10[1],ymm14[2,3],ymm10[4],ymm14[5,6],ymm10[7]
+; AVX2-FAST-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm10 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm10, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm9, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm8[0],ymm7[1],ymm8[2,3],ymm7[4],ymm8[5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm10, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm6, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0],ymm4[1],ymm5[2,3],ymm4[4],ymm5[5,6],ymm4[7]
+; AVX2-FAST-NEXT: vmovaps %ymm4, %ymm9
+; AVX2-FAST-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm10, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 672(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3],ymm3[4],ymm1[5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovaps %ymm3, %ymm6
+; AVX2-FAST-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vmovaps 736(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3],ymm3[4],ymm1[5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm10, %ymm4
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm0, %ymm5
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovaps %ymm2, %ymm5
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm10, %ymm7
+; AVX2-FAST-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovaps %ymm1, %ymm8
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm10, %ymm11
+; AVX2-FAST-NEXT: vmovaps 448(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 608(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 576(%rdi), %ymm12
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm15 = ymm12[0],ymm1[1],ymm12[2,3],ymm1[4],ymm12[5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermps %ymm15, %ymm10, %ymm15
+; AVX2-FAST-NEXT: vmovaps 640(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpermps %ymm13, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = ymm14[0,1],mem[2],ymm14[3,4],mem[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm15 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermps %ymm11, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm1[2],mem[3,4],ymm1[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm9[2],mem[3,4],ymm9[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm6[2],mem[3,4],ymm6[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm5, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm7[2],ymm5[3,4],ymm7[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermps %ymm5, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps %ymm8, %ymm10
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm8[2],ymm9[3,4],ymm8[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm12[0,1],mem[2],ymm12[3,4],mem[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-NEXT: vpermps %ymm13, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[0,1],ymm0[2],mem[3,4],ymm0[5],mem[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm15 = [0,1,0,3,0,1,4,7]
+; AVX2-FAST-NEXT: vpermps %ymm11, %ymm15, %ymm14
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm1 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm14 = ymm0[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm15, %ymm2
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = ymm2[0,1],mem[2],ymm2[3,4],mem[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm1, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm7[0,1],ymm6[2],ymm7[3,4],ymm6[5],ymm7[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm5, %ymm15, %ymm4
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm1, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm4[0,1],mem[2],ymm4[3,4],mem[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm1, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1],ymm9[2],ymm10[3,4],ymm9[5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm15, %ymm6
+; AVX2-FAST-NEXT: vpermps %ymm5, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = ymm6[0,1],mem[2],ymm6[3,4],mem[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermps %ymm6, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm13, %ymm15, %ymm7
+; AVX2-FAST-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[0,1],ymm12[2],mem[3,4],ymm12[5],mem[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 192(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 128(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 224(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 160(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 192(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 128(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 224(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 160(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm1, 192(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm6, 224(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm5, 128(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm4, 160(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm14, 32(%rcx)
+; AVX2-FAST-NEXT: addq $1000, %rsp # imm = 0x3E8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride3_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1096, %rsp # imm = 0x448
+; AVX2-FAST-PERLANE-NEXT: vmovaps 704(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovaps 512(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovaps 544(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm5, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm0 = [21474836482,21474836482,21474836482,21474836482]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0],ymm2[1],ymm12[2,3],ymm2[4],ymm12[5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm13 = <0,3,6,1,4,7,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0],ymm7[1],ymm9[2,3],ymm7[4],ymm9[5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0],ymm4[1],ymm6[2,3],ymm4[4],ymm6[5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm13, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 672(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0],ymm10[1],ymm11[2,3],ymm10[4],ymm11[5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm13, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovaps 736(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm13, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0],ymm1[1],ymm5[2,3],ymm1[4],ymm5[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm13, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm13, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovaps 448(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 608(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 576(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0],ymm1[1],ymm2[2,3],ymm1[4],ymm2[5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm13, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1],ymm7[2],ymm12[3,4],ymm7[5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm15 = <1,4,7,2,5,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm0 = [0,0,3,6,0,0,3,6]
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1],ymm13[2],mem[3,4],ymm13[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm9[2],ymm6[3,4],ymm9[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps (%rsp), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1],ymm10[2],ymm11[3,4],ymm10[5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm6[2],ymm5[3,4],ymm6[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm10[2],ymm9[3,4],ymm10[5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm14[0,1],mem[2],ymm14[3,4],mem[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1],ymm12[2],ymm7[3,4],ymm12[5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} ymm12 = <2,5,0,3,6,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm2[2],ymm4[3,4],ymm2[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $36, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm13[0,1],mem[2],ymm13[3,4],mem[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm12, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1],ymm5[2],ymm6[3,4],ymm5[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm3 = mem[0,1],ymm3[2],mem[3,4],ymm3[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm12, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermilps $196, (%rsp), %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm10[0,1],ymm9[2],ymm10[3,4],ymm9[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm12, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm11[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm5[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[0,1],ymm5[2],mem[3,4],ymm5[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm12, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermilps $196, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = mem[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $219, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm6 = mem[0,1],ymm14[2],mem[3,4],ymm14[5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm12, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm7 = ymm15[0,1,0,3,4,5,4,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 192(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 128(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 224(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 160(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 192(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 128(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 224(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 160(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm6, 192(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 224(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 128(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 160(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm8, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: addq $1096, %rsp # imm = 0x448
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512-LABEL: load_i32_stride3_vf64:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 704(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 640(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 576(%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 512(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm10
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm11
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm12 = <0,3,6,9,12,15,18,21,24,27,30,u,u,u,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm3, %zmm13
+; AVX512-NEXT: vpermt2d %zmm9, %zmm12, %zmm13
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm14 = [0,1,2,3,4,5,6,7,8,9,10,17,20,23,26,29]
+; AVX512-NEXT: vpermt2d %zmm8, %zmm14, %zmm13
+; AVX512-NEXT: vmovdqa64 %zmm1, %zmm15
+; AVX512-NEXT: vpermt2d %zmm7, %zmm12, %zmm15
+; AVX512-NEXT: vpermt2d %zmm6, %zmm14, %zmm15
+; AVX512-NEXT: vmovdqa64 %zmm0, %zmm16
+; AVX512-NEXT: vpermt2d %zmm5, %zmm12, %zmm16
+; AVX512-NEXT: vpermt2d %zmm4, %zmm14, %zmm16
+; AVX512-NEXT: vpermi2d %zmm10, %zmm2, %zmm12
+; AVX512-NEXT: vpermt2d %zmm11, %zmm14, %zmm12
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm14 = <17,20,23,26,29,0,3,6,9,12,15,u,u,u,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm17
+; AVX512-NEXT: vpermt2d %zmm1, %zmm14, %zmm17
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm18 = [0,1,2,3,4,5,6,7,8,9,10,18,21,24,27,30]
+; AVX512-NEXT: vpermt2d %zmm6, %zmm18, %zmm17
+; AVX512-NEXT: vmovdqa64 %zmm9, %zmm19
+; AVX512-NEXT: vpermt2d %zmm3, %zmm14, %zmm19
+; AVX512-NEXT: vpermt2d %zmm8, %zmm18, %zmm19
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm20
+; AVX512-NEXT: vpermt2d %zmm0, %zmm14, %zmm20
+; AVX512-NEXT: vpermt2d %zmm4, %zmm18, %zmm20
+; AVX512-NEXT: vpermi2d %zmm2, %zmm10, %zmm14
+; AVX512-NEXT: vpermt2d %zmm11, %zmm18, %zmm14
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm18 = <2,5,8,11,14,17,20,23,26,29,u,u,u,u,u,u>
+; AVX512-NEXT: vpermt2d %zmm9, %zmm18, %zmm3
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm9 = [0,1,2,3,4,5,6,7,8,9,16,19,22,25,28,31]
+; AVX512-NEXT: vpermt2d %zmm8, %zmm9, %zmm3
+; AVX512-NEXT: vpermt2d %zmm5, %zmm18, %zmm0
+; AVX512-NEXT: vpermt2d %zmm4, %zmm9, %zmm0
+; AVX512-NEXT: vpermt2d %zmm7, %zmm18, %zmm1
+; AVX512-NEXT: vpermt2d %zmm6, %zmm9, %zmm1
+; AVX512-NEXT: vpermt2d %zmm10, %zmm18, %zmm2
+; AVX512-NEXT: vpermt2d %zmm11, %zmm9, %zmm2
+; AVX512-NEXT: vmovdqa64 %zmm16, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm15, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm13, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm12, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm20, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm14, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm19, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm17, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm1, 128(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm0, 192(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm2, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm3, 64(%rcx)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <192 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <64 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93, i32 96, i32 99, i32 102, i32 105, i32 108, i32 111, i32 114, i32 117, i32 120, i32 123, i32 126, i32 129, i32 132, i32 135, i32 138, i32 141, i32 144, i32 147, i32 150, i32 153, i32 156, i32 159, i32 162, i32 165, i32 168, i32 171, i32 174, i32 177, i32 180, i32 183, i32 186, i32 189>
+ %strided.vec1 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <64 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94, i32 97, i32 100, i32 103, i32 106, i32 109, i32 112, i32 115, i32 118, i32 121, i32 124, i32 127, i32 130, i32 133, i32 136, i32 139, i32 142, i32 145, i32 148, i32 151, i32 154, i32 157, i32 160, i32 163, i32 166, i32 169, i32 172, i32 175, i32 178, i32 181, i32 184, i32 187, i32 190>
+ %strided.vec2 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <64 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95, i32 98, i32 101, i32 104, i32 107, i32 110, i32 113, i32 116, i32 119, i32 122, i32 125, i32 128, i32 131, i32 134, i32 137, i32 140, i32 143, i32 146, i32 149, i32 152, i32 155, i32 158, i32 161, i32 164, i32 167, i32 170, i32 173, i32 176, i32 179, i32 182, i32 185, i32 188, i32 191>
+
+ store <64 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i32> %strided.vec2, ptr %out.vec2, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movq %xmm1, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride4_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX1-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm1[2,3],xmm3[4,5,6,7]
-; AVX1-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovq %xmm2, (%rsi)
-; AVX1-NEXT: vmovq %xmm3, (%rdx)
-; AVX1-NEXT: vmovq %xmm0, (%rcx)
-; AVX1-NEXT: vpextrq $1, %xmm0, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride4_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm1[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovq %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rcx)
+; AVX1-ONLY-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride4_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX2-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
-; AVX2-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX2-NEXT: vmovq %xmm2, (%rsi)
-; AVX2-NEXT: vmovq %xmm3, (%rdx)
-; AVX2-NEXT: vmovq %xmm0, (%rcx)
-; AVX2-NEXT: vpextrq $1, %xmm0, (%r8)
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride4_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovq %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovq %xmm0, (%rcx)
+; AVX2-ONLY-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride4_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
-; AVX512-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
-; AVX512-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX512-NEXT: vmovq %xmm2, (%rsi)
-; AVX512-NEXT: vmovq %xmm3, (%rdx)
-; AVX512-NEXT: vmovq %xmm0, (%rcx)
-; AVX512-NEXT: vpextrq $1, %xmm0, (%r8)
-; AVX512-NEXT: retq
- %wide.vec = load <8 x i32>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i32_stride4_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-SLOW-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride4_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-FAST-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride4_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512BW-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%rcx)
+; AVX512BW-SLOW-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride4_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,u,u>
+; AVX512BW-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512BW-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512BW-FAST-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <8 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <2 x i32> <i32 0, i32 4>
%strided.vec1 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <2 x i32> <i32 1, i32 5>
%strided.vec2 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <2 x i32> <i32 2, i32 6>
%strided.vec3 = shufflevector <8 x i32> %wide.vec, <8 x i32> poison, <2 x i32> <i32 3, i32 7>
- store <2 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i32> %strided.vec3, ptr %out.vec3, align 32
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i32> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movaps %xmm0, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride4_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm0
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm1
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovaps (%rdi), %xmm3
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm4
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm5 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,0]
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm6 = xmm3[1],xmm4[1],zero,zero
-; AVX1-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm6 = zero,zero,xmm0[2],xmm1[2]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm7 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm4[3,0],xmm3[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm1[2,0],xmm0[2,3]
-; AVX1-NEXT: vmovaps %xmm2, (%rsi)
-; AVX1-NEXT: vmovaps %xmm5, (%rdx)
-; AVX1-NEXT: vmovaps %xmm6, (%rcx)
-; AVX1-NEXT: vmovaps %xmm0, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride4_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,0]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm6 = xmm3[1],xmm4[1],zero,zero
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm6 = zero,zero,xmm0[2],xmm1[2]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm7 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm4[3,0],xmm3[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm1[2,0],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride4_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps {{.*#+}} xmm0 = <u,u,0,4>
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vpermps %ymm1, %ymm0, %ymm0
-; AVX2-NEXT: vmovaps (%rdi), %xmm2
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm3
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm4
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm5 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm5
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm6 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm7 = <1,5,u,u>
-; AVX2-NEXT: vmovaps (%rdi), %ymm8
-; AVX2-NEXT: vpermps %ymm8, %ymm7, %ymm7
-; AVX2-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm7 = <u,u,2,6>
-; AVX2-NEXT: vpermps %ymm1, %ymm7, %ymm1
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm2 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm3 = <3,7,u,u>
-; AVX2-NEXT: vpermps %ymm8, %ymm3, %ymm3
-; AVX2-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
-; AVX2-NEXT: vmovaps %xmm0, (%rsi)
-; AVX2-NEXT: vmovaps %xmm6, (%rdx)
-; AVX2-NEXT: vmovaps %xmm1, (%rcx)
-; AVX2-NEXT: vmovaps %xmm2, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride4_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm0 = <u,u,0,4>
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm7 = <1,5,u,u>
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm7 = <u,u,2,6>
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm7, %ymm1
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm3 = <3,7,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm6, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride4_vf4:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovdqa %xmm5, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <16 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <16 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <4 x i32> <i32 0, i32 4, i32 8, i32 12>
%strided.vec1 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <4 x i32> <i32 1, i32 5, i32 9, i32 13>
%strided.vec2 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <4 x i32> <i32 2, i32 6, i32 10, i32 14>
%strided.vec3 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <4 x i32> <i32 3, i32 7, i32 11, i32 15>
- store <4 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i32> %strided.vec3, ptr %out.vec3, align 32
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i32> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movaps %xmm0, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride4_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm1
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm1[2,3,0,1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3,0,1]
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm5 = ymm4[0],ymm0[0],ymm4[1],ymm0[1],ymm4[4],ymm0[4],ymm4[5],ymm0[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,0],ymm5[4,5],ymm3[6,4]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm5
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm6
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm7 = xmm6[0],xmm5[0]
-; AVX1-NEXT: vmovaps (%rdi), %xmm8
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm9
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm10 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm7 = xmm10[0,1],xmm7[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5,6,7]
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm7 = ymm2[0],ymm1[0],ymm2[1],ymm1[1],ymm2[4],ymm1[4],ymm2[5],ymm1[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm0[1,0],ymm4[1,0],ymm0[5,4],ymm4[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm10[2,0],ymm7[2,3],ymm10[6,4],ymm7[6,7]
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm10 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm11 = xmm8[1],xmm9[1],zero,zero
-; AVX1-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm1[1],ymm2[1],ymm1[3],ymm2[3]
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm11 = ymm4[2],ymm0[2],ymm4[3],ymm0[3],ymm4[6],ymm0[6],ymm4[7],ymm0[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,1],ymm10[2,0],ymm11[4,5],ymm10[6,4]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm11 = zero,zero,xmm5[2],xmm6[2]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm12 = xmm8[2],xmm9[2],xmm8[3],xmm9[3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm1 = ymm2[2],ymm1[2],ymm2[3],ymm1[3],ymm2[6],ymm1[6],ymm2[7],ymm1[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm4[3,0],ymm0[7,4],ymm4[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm1[2,3],ymm0[6,4],ymm1[6,7]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm1 = xmm5[2],xmm6[2],xmm5[3],xmm6[3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm2 = xmm9[3,0],xmm8[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm2[2,0],xmm1[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovaps %ymm7, (%rdx)
-; AVX1-NEXT: vmovaps %ymm10, (%rcx)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride4_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm5 = ymm4[0],ymm0[0],ymm4[1],ymm0[1],ymm4[4],ymm0[4],ymm4[5],ymm0[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,0],ymm5[4,5],ymm3[6,4]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm6[0],xmm5[0]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm10 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm7 = xmm10[0,1],xmm7[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm7 = ymm2[0],ymm1[0],ymm2[1],ymm1[1],ymm2[4],ymm1[4],ymm2[5],ymm1[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[1,0],ymm4[1,0],ymm0[5,4],ymm4[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm10[2,0],ymm7[2,3],ymm10[6,4],ymm7[6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm10 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm11 = xmm8[1],xmm9[1],zero,zero
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm1[1],ymm2[1],ymm1[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm11 = ymm4[2],ymm0[2],ymm4[3],ymm0[3],ymm4[6],ymm0[6],ymm4[7],ymm0[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,1],ymm10[2,0],ymm11[4,5],ymm10[6,4]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm11 = zero,zero,xmm5[2],xmm6[2]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm12 = xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm2[2],ymm1[2],ymm2[3],ymm1[3],ymm2[6],ymm1[6],ymm2[7],ymm1[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm4[3,0],ymm0[7,4],ymm4[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm1[2,3],ymm0[6,4],ymm1[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm9[3,0],xmm8[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm2[2,0],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride4_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm2
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm3 = [17179869184,17179869184,17179869184,17179869184]
-; AVX2-NEXT: vpermps %ymm2, %ymm3, %ymm5
-; AVX2-NEXT: vpermps %ymm1, %ymm3, %ymm3
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm5 = <u,u,0,4>
-; AVX2-NEXT: vpermps %ymm4, %ymm5, %ymm6
-; AVX2-NEXT: vmovaps (%rdi), %xmm7
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm8
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm5
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm9 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm6 = xmm9[0,1],xmm6[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm6 = [21474836481,21474836481,21474836481,21474836481]
-; AVX2-NEXT: vpermps %ymm2, %ymm6, %ymm9
-; AVX2-NEXT: vpermps %ymm1, %ymm6, %ymm6
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm9[6,7]
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm9
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm10 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm11 = <1,5,u,u>
-; AVX2-NEXT: vpermps %ymm0, %ymm11, %ymm11
-; AVX2-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm10[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm10 = [25769803778,25769803778,25769803778,25769803778]
-; AVX2-NEXT: vpermps %ymm2, %ymm10, %ymm11
-; AVX2-NEXT: vpermps %ymm1, %ymm10, %ymm10
-; AVX2-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm11 = <u,u,2,6>
-; AVX2-NEXT: vpermps %ymm4, %ymm11, %ymm4
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm7 = xmm7[2],xmm8[2],xmm7[3],xmm8[3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm4 = xmm7[0,1],xmm4[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm7 = [30064771075,30064771075,30064771075,30064771075]
-; AVX2-NEXT: vpermps %ymm2, %ymm7, %ymm2
-; AVX2-NEXT: vpermps %ymm1, %ymm7, %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm2 = xmm5[2],xmm9[2],xmm5[3],xmm9[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm5 = <3,7,u,u>
-; AVX2-NEXT: vpermps %ymm0, %ymm5, %ymm0
-; AVX2-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-NEXT: vmovaps %ymm6, (%rdx)
-; AVX2-NEXT: vmovaps %ymm4, (%rcx)
-; AVX2-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride4_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm3 = [17179869184,17179869184,17179869184,17179869184]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm3, %ymm5
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm5 = <u,u,0,4>
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm5, %ymm6
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm9 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm9[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm6 = [21474836481,21474836481,21474836481,21474836481]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm6, %ymm9
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm10 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm11 = <1,5,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm11, %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm10[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm10 = [25769803778,25769803778,25769803778,25769803778]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm10, %ymm11
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm11 = <u,u,2,6>
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm11, %ymm4
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm7 = xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm7[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm7 = [30064771075,30064771075,30064771075,30064771075]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm7, %ymm2
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm7, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm5 = <3,7,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm5, %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride4_vf8:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovdqa {{.*#+}} ymm0 = [0,4,8,12,16,20,24,28]
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm2
; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm0
; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [1,5,9,13,17,21,25,29]
; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm3
; AVX512-NEXT: vmovdqa %ymm5, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <32 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <32 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28>
%strided.vec1 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29>
%strided.vec2 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30>
%strided.vec3 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31>
- store <8 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i32> %strided.vec3, ptr %out.vec3, align 32
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i32> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-LABEL: load_i32_stride4_vf16:
; SSE: # %bb.0:
; SSE-NEXT: subq $40, %rsp
-; SSE-NEXT: movaps 208(%rdi), %xmm8
-; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 240(%rdi), %xmm10
-; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 224(%rdi), %xmm2
-; SSE-NEXT: movaps 80(%rdi), %xmm4
-; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 64(%rdi), %xmm5
-; SSE-NEXT: movaps 112(%rdi), %xmm6
+; SSE-NEXT: movaps 208(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 240(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 224(%rdi), %xmm1
+; SSE-NEXT: movaps 144(%rdi), %xmm11
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 128(%rdi), %xmm14
+; SSE-NEXT: movaps 176(%rdi), %xmm6
; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 96(%rdi), %xmm3
+; SSE-NEXT: movaps 160(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 80(%rdi), %xmm3
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 144(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 128(%rdi), %xmm9
-; SSE-NEXT: movaps 176(%rdi), %xmm11
-; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 160(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm0
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
-; SSE-NEXT: movaps %xmm9, %xmm15
-; SSE-NEXT: unpcklps {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
-; SSE-NEXT: movaps %xmm15, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm3, %xmm1
-; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
-; SSE-NEXT: movaps %xmm5, %xmm6
-; SSE-NEXT: unpcklps {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 64(%rdi), %xmm10
+; SSE-NEXT: movaps 112(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 96(%rdi), %xmm8
+; SSE-NEXT: movaps %xmm8, %xmm0
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movaps %xmm10, %xmm5
+; SSE-NEXT: unpcklps {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: movaps %xmm5, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm0[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm2, %xmm4
+; SSE-NEXT: unpcklps {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
+; SSE-NEXT: movaps %xmm14, %xmm6
+; SSE-NEXT: unpcklps {{.*#+}} xmm6 = xmm6[0],xmm11[0],xmm6[1],xmm11[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
; SSE-NEXT: movaps %xmm6, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm4[0]
; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm1[1]
-; SSE-NEXT: movaps %xmm2, %xmm0
-; SSE-NEXT: movaps %xmm2, %xmm4
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm4[1]
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: movaps %xmm1, %xmm3
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
; SSE-NEXT: movaps 192(%rdi), %xmm12
-; SSE-NEXT: movaps %xmm12, %xmm1
-; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
-; SSE-NEXT: movaps %xmm1, %xmm2
-; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
-; SSE-NEXT: movaps 32(%rdi), %xmm3
-; SSE-NEXT: movaps 48(%rdi), %xmm14
-; SSE-NEXT: movaps %xmm3, %xmm2
-; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm14[0],xmm2[1],xmm14[1]
-; SSE-NEXT: movaps (%rdi), %xmm10
-; SSE-NEXT: movaps 16(%rdi), %xmm8
-; SSE-NEXT: movaps %xmm10, %xmm13
-; SSE-NEXT: unpcklps {{.*#+}} xmm13 = xmm13[0],xmm8[0],xmm13[1],xmm8[1]
-; SSE-NEXT: movaps %xmm13, %xmm11
-; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm2[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm2[1]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
-; SSE-NEXT: # xmm9 = xmm9[2],mem[2],xmm9[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
-; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
-; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: movaps %xmm12, %xmm4
+; SSE-NEXT: unpcklps {{.*#+}} xmm4 = xmm4[0],xmm7[0],xmm4[1],xmm7[1]
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm0[1]
+; SSE-NEXT: movaps 32(%rdi), %xmm2
+; SSE-NEXT: movaps 48(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; SSE-NEXT: movaps (%rdi), %xmm11
+; SSE-NEXT: movaps 16(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm11, %xmm13
+; SSE-NEXT: unpcklps {{.*#+}} xmm13 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; SSE-NEXT: movaps %xmm13, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm1[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm1[1]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[2],mem[2],xmm8[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
-; SSE-NEXT: unpckhps {{.*#+}} xmm3 = xmm3[2],xmm14[2],xmm3[3],xmm14[3]
-; SSE-NEXT: unpckhps {{.*#+}} xmm10 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
-; SSE-NEXT: movaps %xmm9, %xmm2
-; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm7[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm7[1]
-; SSE-NEXT: movaps %xmm5, %xmm7
-; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
-; SSE-NEXT: movaps %xmm12, %xmm8
-; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm4[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm4[1]
-; SSE-NEXT: movaps %xmm10, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm3[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm3[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps %xmm3, 48(%rsi)
-; SSE-NEXT: movaps (%rsp), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps %xmm3, 16(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: movaps %xmm3, 32(%rsi)
-; SSE-NEXT: movaps %xmm11, (%rsi)
-; SSE-NEXT: movaps %xmm1, 48(%rdx)
-; SSE-NEXT: movaps %xmm6, 16(%rdx)
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm2 = xmm2[2],xmm15[2],xmm2[3],xmm15[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm11 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; SSE-NEXT: movaps %xmm10, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm8[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm8[1]
+; SSE-NEXT: movaps %xmm14, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm0[1]
+; SSE-NEXT: movaps %xmm12, %xmm9
+; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm3[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm3[1]
+; SSE-NEXT: movaps %xmm11, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm2[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps %xmm7, (%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
; SSE-NEXT: movaps %xmm13, (%rdx)
-; SSE-NEXT: movaps %xmm15, 32(%rdx)
-; SSE-NEXT: movaps %xmm7, 16(%rcx)
-; SSE-NEXT: movaps %xmm8, 48(%rcx)
-; SSE-NEXT: movaps %xmm2, 32(%rcx)
+; SSE-NEXT: movaps %xmm6, 32(%rdx)
+; SSE-NEXT: movaps %xmm5, 16(%rdx)
+; SSE-NEXT: movaps %xmm9, 48(%rcx)
+; SSE-NEXT: movaps %xmm8, 32(%rcx)
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
; SSE-NEXT: movaps %xmm0, (%rcx)
; SSE-NEXT: movaps %xmm12, 48(%r8)
-; SSE-NEXT: movaps %xmm5, 16(%r8)
-; SSE-NEXT: movaps %xmm9, 32(%r8)
-; SSE-NEXT: movaps %xmm10, (%r8)
+; SSE-NEXT: movaps %xmm14, 32(%r8)
+; SSE-NEXT: movaps %xmm10, 16(%r8)
+; SSE-NEXT: movaps %xmm11, (%r8)
; SSE-NEXT: addq $40, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride4_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $264, %rsp # imm = 0x108
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm5
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm3
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm3[2,3,0,1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
-; AVX1-NEXT: vmovaps %ymm3, %ymm14
-; AVX1-NEXT: vmovups %ymm3, (%rsp) # 32-byte Spill
-; AVX1-NEXT: vmovaps %ymm1, %ymm15
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3,0,1]
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm7 = ymm1[0],ymm2[0],ymm1[1],ymm2[1],ymm1[4],ymm2[4],ymm1[5],ymm2[5]
-; AVX1-NEXT: vmovaps %ymm2, %ymm10
-; AVX1-NEXT: vmovaps %ymm1, %ymm3
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm7[0,1],ymm0[2,0],ymm7[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps 160(%rdi), %xmm1
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 176(%rdi), %xmm6
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm11 = xmm6[0],xmm1[0]
-; AVX1-NEXT: vmovaps %xmm6, %xmm2
-; AVX1-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 144(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 128(%rdi), %xmm6
-; AVX1-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm12 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm4[2,3,0,1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm4[0],ymm6[0],ymm4[2],ymm6[2]
-; AVX1-NEXT: vmovaps %ymm6, %ymm8
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm5[2,3,0,1]
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm13 = ymm9[0],ymm5[0],ymm9[1],ymm5[1],ymm9[4],ymm5[4],ymm9[5],ymm5[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm13[0,1],ymm0[2,0],ymm13[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm11
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm12
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm0 = xmm12[0],xmm11[0]
-; AVX1-NEXT: vmovaps (%rdi), %xmm4
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm5
-; AVX1-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm6 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm6[0,1],xmm0[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps %ymm15, %ymm4
-; AVX1-NEXT: vmovups %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm7 = ymm15[0],ymm14[0],ymm15[1],ymm14[1],ymm15[4],ymm14[4],ymm15[5],ymm14[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm10[1,0],ymm3[1,0],ymm10[5,4],ymm3[5,4]
-; AVX1-NEXT: vmovaps %ymm10, %ymm15
-; AVX1-NEXT: vmovaps %ymm3, %ymm13
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm6[2,0],ymm7[2,3],ymm6[6,4],ymm7[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vinsertps {{.*#+}} xmm6 = xmm5[1],xmm1[1],zero,zero
-; AVX1-NEXT: vmovaps %xmm1, %xmm14
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm7 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX1-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1,2,3],ymm3[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm8, %ymm10
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm3 = ymm8[0],ymm0[0],ymm8[1],ymm0[1],ymm8[4],ymm0[4],ymm8[5],ymm0[5]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm2[1,0],ymm9[1,0],ymm2[5,4],ymm9[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm6[2,0],ymm3[2,3],ymm6[6,4],ymm3[6,7]
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm6 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; AVX1-NEXT: vinsertps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm7 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm7 = mem[0],xmm8[1],zero,zero
-; AVX1-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm6 = ymm13[2],ymm15[2],ymm13[3],ymm15[3],ymm13[6],ymm15[6],ymm13[7],ymm15[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm6[0,1],ymm3[2,0],ymm6[4,5],ymm3[6,4]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm6 = xmm5[2],xmm14[2],xmm5[3],xmm14[3]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vinsertps {{.*#+}} xmm7 = zero,zero,xmm1[2],xmm3[2]
-; AVX1-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps %ymm10, %ymm14
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm0[1],ymm10[1],ymm0[3],ymm10[3]
-; AVX1-NEXT: vmovaps %ymm0, %ymm5
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm7 = ymm9[2],ymm2[2],ymm9[3],ymm2[3],ymm9[6],ymm2[6],ymm9[7],ymm2[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm7[0,1],ymm6[2,0],ymm7[4,5],ymm6[6,4]
-; AVX1-NEXT: vmovaps %xmm11, %xmm10
-; AVX1-NEXT: vmovaps %xmm12, %xmm11
-; AVX1-NEXT: vinsertps {{.*#+}} xmm7 = zero,zero,xmm10[2],xmm12[2]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm0 = xmm12[2],xmm8[2],xmm12[3],xmm8[3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpckhps (%rsp), %ymm2, %ymm4 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm4 = ymm2[2],mem[2],ymm2[3],mem[3],ymm2[6],mem[6],ymm2[7],mem[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm15[3,0],ymm13[3,0],ymm15[7,4],ymm13[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm4[2,3],ymm2[6,4],ymm4[6,7]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm4 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm6 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm6 = xmm1[3,0],mem[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm4 = xmm6[2,0],xmm4[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm3 = ymm14[2],ymm5[2],ymm14[3],ymm5[3],ymm14[6],ymm5[6],ymm14[7],ymm5[7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm1[3,0],ymm9[3,0],ymm1[7,4],ymm9[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm4[2,0],ymm3[2,3],ymm4[6,4],ymm3[6,7]
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm4 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm8[3,0],xmm12[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm1[2,0],xmm4[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX1-NEXT: vmovaps %ymm0, (%rcx)
-; AVX1-NEXT: vmovaps %ymm2, 32(%r8)
-; AVX1-NEXT: vmovaps %ymm1, (%r8)
-; AVX1-NEXT: addq $264, %rsp # imm = 0x108
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride4_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $264, %rsp # imm = 0x108
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm3, %ymm14
+; AVX1-ONLY-NEXT: vmovups %ymm3, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm15
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm7 = ymm1[0],ymm2[0],ymm1[1],ymm2[1],ymm1[4],ymm2[4],ymm1[5],ymm2[5]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm10
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm7[0,1],ymm0[2,0],ymm7[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 176(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm11 = xmm6[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 144(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm12 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm4[0],ymm6[0],ymm4[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm6, %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm13 = ymm9[0],ymm5[0],ymm9[1],ymm5[1],ymm9[4],ymm5[4],ymm9[5],ymm5[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm13[0,1],ymm0[2,0],ymm13[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm6[0,1],xmm0[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %ymm15, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm7 = ymm15[0],ymm14[0],ymm15[1],ymm14[1],ymm15[4],ymm14[4],ymm15[5],ymm14[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm10[1,0],ymm3[1,0],ymm10[5,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm10, %ymm15
+; AVX1-ONLY-NEXT: vmovaps %ymm3, %ymm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm6[2,0],ymm7[2,3],ymm6[6,4],ymm7[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm6 = xmm5[1],xmm1[1],zero,zero
+; AVX1-ONLY-NEXT: vmovaps %xmm1, %xmm14
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm7 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm8, %ymm10
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm3 = ymm8[0],ymm0[0],ymm8[1],ymm0[1],ymm8[4],ymm0[4],ymm8[5],ymm0[5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm2[1,0],ymm9[1,0],ymm2[5,4],ymm9[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm6[2,0],ymm3[2,3],ymm6[6,4],ymm3[6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[0],xmm8[1],zero,zero
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm6 = ymm13[2],ymm15[2],ymm13[3],ymm15[3],ymm13[6],ymm15[6],ymm13[7],ymm15[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm6[0,1],ymm3[2,0],ymm6[4,5],ymm3[6,4]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm6 = xmm5[2],xmm14[2],xmm5[3],xmm14[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm7 = zero,zero,xmm1[2],xmm3[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %ymm10, %ymm14
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm0[1],ymm10[1],ymm0[3],ymm10[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm7 = ymm9[2],ymm2[2],ymm9[3],ymm2[3],ymm9[6],ymm2[6],ymm9[7],ymm2[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm7[0,1],ymm6[2,0],ymm7[4,5],ymm6[6,4]
+; AVX1-ONLY-NEXT: vmovaps %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vmovaps %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm7 = zero,zero,xmm10[2],xmm12[2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm12[2],xmm8[2],xmm12[3],xmm8[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps (%rsp), %ymm2, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm2[2],mem[2],ymm2[3],mem[3],ymm2[6],mem[6],ymm2[7],mem[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm15[3,0],ymm13[3,0],ymm15[7,4],ymm13[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm4[2,3],ymm2[6,4],ymm4[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm4 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm1[3,0],mem[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm4 = xmm6[2,0],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm3 = ymm14[2],ymm5[2],ymm14[3],ymm5[3],ymm14[6],ymm5[6],ymm14[7],ymm5[7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm1[3,0],ymm9[3,0],ymm1[7,4],ymm9[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm4[2,0],ymm3[2,3],ymm4[6,4],ymm3[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm4 = xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm8[3,0],xmm12[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm1[2,0],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: addq $264, %rsp # imm = 0x108
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride4_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: subq $104, %rsp
-; AVX2-NEXT: vmovaps (%rdi), %ymm8
-; AVX2-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm7
-; AVX2-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm12
-; AVX2-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm3
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm2
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm0 = [17179869184,17179869184,17179869184,17179869184]
-; AVX2-NEXT: vpermps %ymm2, %ymm0, %ymm1
-; AVX2-NEXT: vpermps %ymm3, %ymm0, %ymm6
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vmovaps 144(%rdi), %xmm10
-; AVX2-NEXT: vmovaps 128(%rdi), %xmm11
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm6 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm9 = <u,u,0,4>
-; AVX2-NEXT: vpermps %ymm12, %ymm9, %ymm12
-; AVX2-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm12[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm5, %ymm0, %ymm1
-; AVX2-NEXT: vpermps %ymm4, %ymm0, %ymm0
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vpermps %ymm7, %ymm9, %ymm1
-; AVX2-NEXT: vmovaps (%rdi), %xmm12
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm13
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm6 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm0 = [21474836481,21474836481,21474836481,21474836481]
-; AVX2-NEXT: vpermps %ymm5, %ymm0, %ymm1
-; AVX2-NEXT: vpermps %ymm4, %ymm0, %ymm6
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm15
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm6
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm9 = xmm15[0],xmm6[0],xmm15[1],xmm6[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm7 = <1,5,u,u>
-; AVX2-NEXT: vpermps %ymm8, %ymm7, %ymm14
-; AVX2-NEXT: vblendps {{.*#+}} xmm9 = xmm14[0,1],xmm9[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm2, %ymm0, %ymm1
-; AVX2-NEXT: vpermps %ymm3, %ymm0, %ymm0
-; AVX2-NEXT: vblendps {{.*#+}} ymm9 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm14
-; AVX2-NEXT: vpermps %ymm14, %ymm7, %ymm7
-; AVX2-NEXT: vmovaps 176(%rdi), %xmm1
-; AVX2-NEXT: vmovaps 160(%rdi), %xmm0
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm8 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm8[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm7 = [25769803778,25769803778,25769803778,25769803778]
-; AVX2-NEXT: vpermps %ymm2, %ymm7, %ymm8
-; AVX2-NEXT: vpermps %ymm3, %ymm7, %ymm9
-; AVX2-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm9 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm10 = <u,u,2,6>
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm11 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],xmm11[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm5, %ymm7, %ymm9
-; AVX2-NEXT: vpermps %ymm4, %ymm7, %ymm7
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm9[6,7]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm9 # 32-byte Folded Reload
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm10 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm9 = [30064771075,30064771075,30064771075,30064771075]
-; AVX2-NEXT: vpermps %ymm5, %ymm9, %ymm5
-; AVX2-NEXT: vpermps %ymm4, %ymm9, %ymm4
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm5 = xmm15[2],xmm6[2],xmm15[3],xmm6[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm6 = <3,7,u,u>
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm10 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm2, %ymm9, %ymm2
-; AVX2-NEXT: vpermps %ymm3, %ymm9, %ymm3
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX2-NEXT: vpermps %ymm14, %ymm6, %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm1, 32(%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm1, (%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX2-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm1, (%rdx)
-; AVX2-NEXT: vmovaps %ymm8, 32(%rcx)
-; AVX2-NEXT: vmovaps %ymm7, (%rcx)
-; AVX2-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX2-NEXT: vmovaps %ymm4, (%r8)
-; AVX2-NEXT: addq $104, %rsp
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride4_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $104, %rsp
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm0 = [17179869184,17179869184,17179869184,17179869184]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 144(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm9 = <u,u,0,4>
+; AVX2-ONLY-NEXT: vpermps %ymm12, %ymm9, %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm9, %ymm1
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm0 = [21474836481,21474836481,21474836481,21474836481]
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm9 = xmm15[0],xmm6[0],xmm15[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm7 = <1,5,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm7, %ymm14
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm14[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vmovaps 176(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm8 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm7 = [25769803778,25769803778,25769803778,25769803778]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm7, %ymm8
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm7, %ymm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm9 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm10 = <u,u,2,6>
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm7, %ymm9
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm10 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm9 = [30064771075,30064771075,30064771075,30064771075]
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm9, %ymm5
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm9, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm5 = xmm15[2],xmm6[2],xmm15[3],xmm6[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm6 = <3,7,u,u>
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm10 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm9, %ymm2
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm9, %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm6, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-ONLY-NEXT: addq $104, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride4_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,4,8,12,16,20,24,28,0,4,8,12,16,20,24,28]
; AVX512-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
; AVX512-NEXT: vmovdqa64 %zmm2, %zmm5
; AVX512-NEXT: vpermt2d %zmm3, %zmm7, %zmm2
; AVX512-NEXT: vpermt2d %zmm1, %zmm7, %zmm0
; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%r8)
+; AVX512-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <64 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <64 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60>
%strided.vec1 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <16 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61>
%strided.vec2 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <16 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62>
%strided.vec3 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <16 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63>
- store <16 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i32> %strided.vec3, ptr %out.vec3, align 32
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i32> %strided.vec3, ptr %out.vec3, align 64
ret void
}
define void @load_i32_stride4_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
; SSE-LABEL: load_i32_stride4_vf32:
; SSE: # %bb.0:
-; SSE-NEXT: subq $456, %rsp # imm = 0x1C8
-; SSE-NEXT: movaps 336(%rdi), %xmm5
-; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 368(%rdi), %xmm6
-; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 352(%rdi), %xmm4
-; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 208(%rdi), %xmm7
+; SSE-NEXT: subq $440, %rsp # imm = 0x1B8
+; SSE-NEXT: movaps 272(%rdi), %xmm7
; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 192(%rdi), %xmm8
+; SSE-NEXT: movaps 304(%rdi), %xmm8
; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 240(%rdi), %xmm9
+; SSE-NEXT: movaps 288(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 336(%rdi), %xmm9
; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 224(%rdi), %xmm12
-; SSE-NEXT: movaps 80(%rdi), %xmm10
+; SSE-NEXT: movaps 320(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm10
; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 64(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 112(%rdi), %xmm11
+; SSE-NEXT: movaps 352(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 80(%rdi), %xmm11
; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 64(%rdi), %xmm1
+; SSE-NEXT: movaps 112(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps 96(%rdi), %xmm0
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
-; SSE-NEXT: movaps %xmm1, %xmm2
-; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1]
-; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movaps %xmm1, %xmm3
+; SSE-NEXT: movaps %xmm1, %xmm14
+; SSE-NEXT: unpcklps {{.*#+}} xmm3 = xmm3[0],xmm11[0],xmm3[1],xmm11[1]
+; SSE-NEXT: movaps %xmm3, %xmm1
; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm12, %xmm1
-; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1]
-; SSE-NEXT: movaps %xmm8, %xmm3
-; SSE-NEXT: unpcklps {{.*#+}} xmm3 = xmm3[0],xmm7[0],xmm3[1],xmm7[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm3, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm1[1]
+; SSE-NEXT: movaps %xmm4, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1]
+; SSE-NEXT: movaps %xmm2, %xmm4
+; SSE-NEXT: unpcklps {{.*#+}} xmm4 = xmm4[0],xmm9[0],xmm4[1],xmm9[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm4, %xmm0
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
-; SSE-NEXT: movaps 320(%rdi), %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm1[1]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm5, %xmm0
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movaps 256(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
; SSE-NEXT: movaps %xmm1, %xmm2
; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 496(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 480(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, %xmm0
-; SSE-NEXT: movaps %xmm1, %xmm13
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
-; SSE-NEXT: movaps 464(%rdi), %xmm3
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 448(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm1, %xmm2
-; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; SSE-NEXT: movaps %xmm2, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 176(%rdi), %xmm1
+; SSE-NEXT: movaps 240(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 160(%rdi), %xmm9
-; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: movaps 224(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm0
; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: movaps 144(%rdi), %xmm3
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 128(%rdi), %xmm1
+; SSE-NEXT: movaps 208(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 192(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
; SSE-NEXT: movaps %xmm1, %xmm2
-; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; SSE-NEXT: movaps %xmm2, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 304(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 288(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm0
-; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: movaps 272(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 256(%rdi), %xmm15
-; SSE-NEXT: movaps %xmm15, %xmm11
-; SSE-NEXT: unpcklps {{.*#+}} xmm11 = xmm11[0],xmm1[0],xmm11[1],xmm1[1]
-; SSE-NEXT: movaps %xmm11, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm0[1]
-; SSE-NEXT: movaps 432(%rdi), %xmm1
+; SSE-NEXT: movaps 496(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 416(%rdi), %xmm10
-; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: movaps 480(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: movaps 400(%rdi), %xmm1
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 384(%rdi), %xmm8
-; SSE-NEXT: movaps %xmm8, %xmm3
-; SSE-NEXT: unpcklps {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: movaps 464(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 448(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm15
+; SSE-NEXT: unpcklps {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; SSE-NEXT: movaps %xmm15, %xmm1
; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
-; SSE-NEXT: movaps 32(%rdi), %xmm2
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 176(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 160(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps 144(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 128(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm11
+; SSE-NEXT: unpcklps {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: movaps %xmm11, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm1[1]
+; SSE-NEXT: movaps 432(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 416(%rdi), %xmm8
+; SSE-NEXT: movaps %xmm8, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps 400(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 384(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm7
+; SSE-NEXT: unpcklps {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movaps %xmm7, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm1[1]
+; SSE-NEXT: movaps 32(%rdi), %xmm5
; SSE-NEXT: movaps 48(%rdi), %xmm0
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: movaps %xmm5, %xmm1
; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: movaps (%rdi), %xmm5
+; SSE-NEXT: movaps (%rdi), %xmm10
; SSE-NEXT: movaps 16(%rdi), %xmm0
-; SSE-NEXT: movaps %xmm0, (%rsp) # 16-byte Spill
-; SSE-NEXT: movaps %xmm5, %xmm4
-; SSE-NEXT: unpcklps {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
-; SSE-NEXT: movaps %xmm4, %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm2
+; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movaps %xmm2, %xmm0
; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm1[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm1[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: movaps %xmm14, %xmm0
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
-; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
-; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
-; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
-; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
-; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
-; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm13, %xmm12
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
; SSE-NEXT: # xmm13 = xmm13[2],mem[2],xmm13[3],mem[3]
-; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[2],mem[2],xmm8[3],mem[3]
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
; SSE-NEXT: # xmm9 = xmm9[2],mem[2],xmm9[3],mem[3]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
-; SSE-NEXT: # xmm13 = xmm13[2],mem[2],xmm13[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
-; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
-; SSE-NEXT: # xmm15 = xmm15[2],mem[2],xmm15[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
-; SSE-NEXT: # xmm8 = xmm8[2],mem[2],xmm8[3],mem[3]
-; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
-; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
-; SSE-NEXT: unpckhps (%rsp), %xmm5 # 16-byte Folded Reload
-; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
-; SSE-NEXT: movaps %xmm0, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm6[0]
-; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm6[1]
+; SSE-NEXT: movaps %xmm0, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm4[0]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm4[1]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm14, %xmm0
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm3[0]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm1[1]
-; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm3[1]
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, %xmm1
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm14[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm14[1]
+; SSE-NEXT: movaps %xmm0, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm12[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm12[1]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: movaps %xmm14, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm12[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm12[1]
-; SSE-NEXT: movaps %xmm13, %xmm12
-; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm9[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm9[1]
-; SSE-NEXT: movaps %xmm15, %xmm9
-; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm7[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm7[1]
-; SSE-NEXT: movaps %xmm8, %xmm7
-; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm10[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm10[1]
-; SSE-NEXT: movaps %xmm5, %xmm6
-; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm2[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm2[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 96(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 64(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 32(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 112(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 80(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 48(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 16(%rsi)
-; SSE-NEXT: movaps %xmm3, 96(%rdx)
-; SSE-NEXT: movaps %xmm11, 64(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 32(%rdx)
-; SSE-NEXT: movaps %xmm4, (%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 112(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 80(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 48(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 16(%rdx)
-; SSE-NEXT: movaps %xmm7, 96(%rcx)
-; SSE-NEXT: movaps %xmm9, 64(%rcx)
-; SSE-NEXT: movaps %xmm12, 32(%rcx)
-; SSE-NEXT: movaps %xmm6, (%rcx)
-; SSE-NEXT: movaps %xmm0, 112(%rcx)
-; SSE-NEXT: movaps %xmm1, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm12
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm1, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps %xmm3, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm8[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm8[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm14[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm14[1]
+; SSE-NEXT: movaps %xmm3, %xmm8
+; SSE-NEXT: movaps %xmm10, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm5[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm5[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
+; SSE-NEXT: movaps %xmm7, 96(%rdx)
+; SSE-NEXT: movaps %xmm11, 32(%rdx)
+; SSE-NEXT: movaps %xmm15, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps %xmm2, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps %xmm6, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps %xmm4, 112(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps %xmm12, 64(%rcx)
+; SSE-NEXT: movaps %xmm14, (%rcx)
+; SSE-NEXT: movaps %xmm1, 80(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%rcx)
-; SSE-NEXT: movaps %xmm8, 96(%r8)
-; SSE-NEXT: movaps %xmm15, 64(%r8)
-; SSE-NEXT: movaps %xmm13, 32(%r8)
-; SSE-NEXT: movaps %xmm5, (%r8)
-; SSE-NEXT: movaps %xmm14, 112(%r8)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm8, 112(%r8)
+; SSE-NEXT: movaps %xmm9, 96(%r8)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 80(%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps %xmm13, 32(%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%r8)
-; SSE-NEXT: addq $456, %rsp # imm = 0x1C8
+; SSE-NEXT: movaps %xmm10, (%r8)
+; SSE-NEXT: addq $440, %rsp # imm = 0x1B8
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride4_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $1000, %rsp # imm = 0x3E8
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 352(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 448(%rdi), %ymm2
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 480(%rdi), %ymm1
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm1 = ymm1[0],ymm2[0],ymm1[1],ymm2[1],ymm1[4],ymm2[4],ymm1[5],ymm2[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps 416(%rdi), %xmm2
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 432(%rdi), %xmm1
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
-; AVX1-NEXT: vmovaps 400(%rdi), %xmm5
-; AVX1-NEXT: vmovaps %xmm5, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vmovaps 384(%rdi), %xmm2
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm4[2,3,0,1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm4[0],ymm1[0],ymm4[2],ymm1[2]
-; AVX1-NEXT: vmovaps %ymm1, %ymm6
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm3[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm1 = ymm1[0],ymm3[0],ymm1[1],ymm3[1],ymm1[4],ymm3[4],ymm1[5],ymm3[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps 288(%rdi), %xmm2
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 304(%rdi), %xmm1
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
-; AVX1-NEXT: vmovaps 272(%rdi), %xmm4
-; AVX1-NEXT: vmovaps 256(%rdi), %xmm5
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm2 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vmovaps %xmm5, %xmm8
-; AVX1-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm7
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm7[2,3,0,1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
-; AVX1-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3,0,1]
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm3 = ymm1[0],ymm0[0],ymm1[1],ymm0[1],ymm1[4],ymm0[4],ymm1[5],ymm0[5]
-; AVX1-NEXT: vmovaps %ymm1, %ymm13
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps %ymm0, %ymm12
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,0],ymm3[4,5],ymm2[6,4]
-; AVX1-NEXT: vmovaps 160(%rdi), %xmm0
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 176(%rdi), %xmm1
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm3 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovaps %xmm1, %xmm14
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 144(%rdi), %xmm0
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 128(%rdi), %xmm5
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm10 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
-; AVX1-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm10[0,1],xmm3[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm2
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm11 = ymm1[0],ymm0[0],ymm1[1],ymm0[1],ymm1[4],ymm0[4],ymm1[5],ymm0[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm11[0,1],ymm10[2,0],ymm11[4,5],ymm10[6,4]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm2
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm0
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm2[0]
-; AVX1-NEXT: vmovaps (%rdi), %xmm2
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm3
-; AVX1-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm15 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm15[0,1],xmm0[2,0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm0 = ymm6[0],ymm11[0],ymm6[1],ymm11[1],ymm6[4],ymm11[4],ymm6[5],ymm11[5]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX1-NEXT: vshufps $17, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm1 = ymm6[1,0],mem[1,0],ymm6[5,4],mem[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm1 = xmm8[1],xmm4[1],zero,zero
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm15 = xmm4[0],xmm8[0],xmm4[1],xmm8[1]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm0 = ymm9[0],ymm7[0],ymm9[1],ymm7[1],ymm9[4],ymm7[4],ymm9[5],ymm7[5]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm12[1,0],ymm13[1,0],ymm12[5,4],ymm13[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
-; AVX1-NEXT: vinsertps {{.*#+}} xmm1 = xmm5[1],xmm7[1],zero,zero
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm15 = xmm2[0],xmm14[0],xmm2[1],xmm14[1]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} ymm0 = ymm10[0],ymm2[0],ymm10[1],ymm2[1],ymm10[4],ymm2[4],ymm10[5],ymm2[5]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
-; AVX1-NEXT: vshufps $17, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm1 = ymm14[1,0],mem[1,0],ymm14[5,4],mem[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; AVX1-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vinsertps {{.*#+}} xmm1 = xmm13[1],xmm1[1],zero,zero
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm15 = xmm3[0],xmm9[0],xmm3[1],xmm9[1]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm0 = ymm0[0],mem[0],ymm0[1],mem[1],ymm0[4],mem[4],ymm0[5],mem[5]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vshufps $17, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm1 = ymm1[1,0],mem[1,0],ymm1[5,4],mem[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vunpcklps {{.*#+}} xmm1 = xmm5[0],xmm12[0],xmm5[1],xmm12[1]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vinsertps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm15 = mem[0],xmm15[1],zero,zero
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm15[0,1],xmm1[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm0 = ymm11[1],mem[1],ymm11[3],mem[3]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm1 = ymm1[2],ymm6[2],ymm1[3],ymm6[3],ymm1[6],ymm6[6],ymm1[7],ymm6[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm15 = zero,zero,xmm4[2],xmm8[2]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX1-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm0 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm0 = ymm6[1],mem[1],ymm6[3],mem[3]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm1 = ymm8[2],mem[2],ymm8[3],mem[3],ymm8[6],mem[6],ymm8[7],mem[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm1 = xmm11[2],xmm7[2],xmm11[3],xmm7[3]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vinsertps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm15 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm15 = zero,zero,xmm4[2],mem[0]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm2[1],ymm10[1],ymm2[3],ymm10[3]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm1 = ymm2[2],ymm14[2],ymm2[3],ymm14[3],ymm2[6],ymm14[6],ymm2[7],ymm14[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vmovaps (%rsp), %xmm7 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm1 = xmm13[2],xmm7[2],xmm13[3],xmm7[3]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm15 = zero,zero,xmm3[2],xmm9[2]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm15[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm0 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm0 = ymm3[1],mem[1],ymm3[3],mem[3]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm1 = ymm13[2],ymm14[2],ymm13[3],ymm14[3],ymm13[6],ymm14[6],ymm13[7],ymm14[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm1 = zero,zero,xmm5[2],xmm12[2]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm15 = xmm9[2],xmm10[2],xmm9[3],xmm10[3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm15[0,1],xmm1[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm15 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm0 = ymm0[2],ymm6[2],ymm0[3],ymm6[3],ymm0[6],ymm6[6],ymm0[7],ymm6[7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[3,0],ymm8[3,0],ymm1[7,4],ymm8[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm1 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm1 = xmm4[2],mem[2],xmm4[3],mem[3]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} xmm4 = xmm4[3,0],xmm11[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm4[2,0],xmm1[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm1 = ymm1[2],mem[2],ymm1[3],mem[3],ymm1[6],mem[6],ymm1[7],mem[7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm4[3,0],ymm2[3,0],ymm4[7,4],ymm2[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm4[2,0],ymm1[2,3],ymm4[6,4],ymm1[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm4 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm4 = xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX1-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = xmm7[3,0],mem[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm4 = xmm5[2,0],xmm4[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm4 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm4 = ymm2[2],mem[2],ymm2[3],mem[3],ymm2[6],mem[6],ymm2[7],mem[7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm5 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm5 = ymm2[3,0],mem[3,0],ymm2[7,4],mem[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm5[2,0],ymm4[2,3],ymm5[6,4],ymm4[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm5 = xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX1-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm6 # 16-byte Folded Reload
-; AVX1-NEXT: # xmm6 = xmm2[3,0],mem[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm5 = xmm6[2,0],xmm5[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} ymm2 = ymm2[2],ymm3[2],ymm2[3],ymm3[3],ymm2[6],ymm3[6],ymm2[7],ymm3[7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm14[3,0],ymm13[3,0],ymm14[7,4],ymm13[7,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm3[2,0],ymm2[2,3],ymm3[6,4],ymm2[6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vunpckhps {{.*#+}} xmm3 = xmm3[2],xmm12[2],xmm3[3],xmm12[3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm5 = xmm10[3,0],xmm9[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm5[2,0],xmm3[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 64(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 96(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 96(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 64(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 96(%rcx)
-; AVX1-NEXT: vmovaps %ymm15, (%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 64(%rcx)
-; AVX1-NEXT: vmovaps %ymm4, 64(%r8)
-; AVX1-NEXT: vmovaps %ymm1, 96(%r8)
-; AVX1-NEXT: vmovaps %ymm2, (%r8)
-; AVX1-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX1-NEXT: addq $1000, %rsp # imm = 0x3E8
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride4_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1000, %rsp # imm = 0x3E8
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm5[0],ymm13[0],ymm5[2],ymm13[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm1 = ymm5[0],ymm2[0],ymm5[1],ymm2[1],ymm5[4],ymm2[4],ymm5[5],ymm2[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm7, %xmm9
+; AVX1-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm4[0],ymm0[0],ymm4[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm1 = ymm1[0],ymm3[0],ymm1[1],ymm3[1],ymm1[4],ymm3[4],ymm1[5],ymm3[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 432(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm2[0],ymm0[0],ymm2[2],ymm0[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm3 = ymm0[0],ymm1[0],ymm0[1],ymm1[1],ymm0[4],ymm1[4],ymm0[5],ymm1[5]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm12
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,0],ymm3[4,5],ymm2[6,4]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm3 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps 144(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm8 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm10 = ymm1[0],ymm0[0],ymm1[1],ymm0[1],ymm1[4],ymm0[4],ymm1[5],ymm0[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm10[0,1],ymm8[2,0],ymm10[4,5],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm14 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm14[0,1],xmm0[2,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm0 = ymm13[0],ymm6[0],ymm13[1],ymm6[1],ymm13[4],ymm6[4],ymm13[5],ymm6[5]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, %ymm10
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm5[1,0],ymm10[1,0],ymm5[5,4],ymm10[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = xmm9[1],xmm11[1],zero,zero
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm14 = xmm6[0],xmm9[0],xmm6[1],xmm9[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[0],mem[0],ymm0[1],mem[1],ymm0[4],mem[4],ymm0[5],mem[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm12[1,0],ymm15[1,0],ymm12[5,4],ymm15[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = xmm7[1],xmm4[1],zero,zero
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm2[0],mem[0],xmm2[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm14 = ymm0[0],ymm2[0],ymm0[1],ymm2[1],ymm0[4],ymm2[4],ymm0[5],ymm2[5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,0],ymm3[1,0],ymm1[5,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm1[2,0],ymm14[2,3],ymm1[6,4],ymm14[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0],xmm1[1],zero,zero
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm4[0],mem[0],xmm4[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm8 = ymm12[0],ymm7[0],ymm12[1],ymm7[1],ymm12[4],ymm7[4],ymm12[5],ymm7[5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[1,0],ymm15[1,0],ymm1[5,4],ymm15[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm1[2,0],ymm8[2,3],ymm1[6,4],ymm8[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = mem[0],xmm14[1],zero,zero
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm14[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm1[1],ymm13[1],ymm1[3],ymm13[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm10[2],ymm5[2],ymm10[3],ymm5[3],ymm10[6],ymm5[6],ymm10[7],ymm5[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm1[0,1],ymm8[2,0],ymm1[4,5],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm1[2],xmm11[2],xmm1[3],xmm11[3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm14 = zero,zero,xmm6[2],xmm9[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm2[1],ymm0[1],ymm2[3],ymm0[3]
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm3[2],mem[2],ymm3[3],mem[3],ymm3[6],mem[6],ymm3[7],mem[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm8[2,0],ymm1[4,5],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX1-ONLY-NEXT: vinsertps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = zero,zero,xmm4[2],mem[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm4[1],ymm6[1],ymm4[3],ymm6[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm8[2],ymm5[2],ymm8[3],ymm5[3],ymm8[6],ymm5[6],ymm8[7],ymm5[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm14 = zero,zero,xmm2[2],xmm3[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm12[1],ymm7[3],ymm12[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm15[2],ymm13[2],ymm15[3],ymm13[3],ymm15[6],ymm13[6],ymm15[7],ymm13[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = zero,zero,xmm7[2],mem[0]
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm14 = xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm14[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[2],mem[2],ymm0[3],mem[3],ymm0[6],mem[6],ymm0[7],mem[7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm1[3,0],mem[3,0],ymm1[7,4],mem[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm9[3,0],mem[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm9[2,0],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm6[2],ymm4[2],ymm6[3],ymm4[3],ymm6[6],ymm4[6],ymm6[7],ymm4[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[3,0],ymm8[3,0],ymm5[7,4],ymm8[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm4[2,0],ymm1[2,3],ymm4[6,4],ymm1[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm4 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm10[3,0],xmm11[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm4 = xmm5[2,0],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm2[2],mem[2],ymm2[3],mem[3],ymm2[6],mem[6],ymm2[7],mem[7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = ymm2[3,0],mem[3,0],ymm2[7,4],mem[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[2,0],ymm4[2,3],ymm5[6,4],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm2[3,0],mem[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm6[2,0],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = ymm2[2],mem[2],ymm2[3],mem[3],ymm2[6],mem[6],ymm2[7],mem[7]
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = ymm13[3,0],mem[3,0],ymm13[7,4],mem[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm3[2,0],ymm2[2,3],ymm3[6,4],ymm2[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm7[2],mem[2],xmm7[3],mem[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm15[3,0],xmm12[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm3 = xmm5[2,0],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: addq $1000, %rsp # imm = 0x3E8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride4_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: subq $680, %rsp # imm = 0x2A8
-; AVX2-NEXT: vmovaps 288(%rdi), %ymm12
-; AVX2-NEXT: vmovaps 320(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 352(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 416(%rdi), %ymm7
-; AVX2-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 448(%rdi), %ymm2
-; AVX2-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 480(%rdi), %ymm1
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm3 = [17179869184,17179869184,17179869184,17179869184]
-; AVX2-NEXT: vpermps %ymm1, %ymm3, %ymm0
-; AVX2-NEXT: vmovaps %ymm1, %ymm14
-; AVX2-NEXT: vpermps %ymm2, %ymm3, %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vmovaps 400(%rdi), %xmm2
-; AVX2-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 384(%rdi), %xmm1
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm4 = <u,u,0,4>
-; AVX2-NEXT: vpermps %ymm7, %ymm4, %ymm2
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm6, %ymm3, %ymm0
-; AVX2-NEXT: vmovaps %ymm6, %ymm7
-; AVX2-NEXT: vpermps %ymm5, %ymm3, %ymm1
-; AVX2-NEXT: vmovaps %ymm5, %ymm6
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vmovaps 272(%rdi), %xmm2
-; AVX2-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 256(%rdi), %xmm1
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX2-NEXT: vpermps %ymm12, %ymm4, %ymm2
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm5
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm10
-; AVX2-NEXT: vpermps %ymm10, %ymm3, %ymm0
-; AVX2-NEXT: vpermps %ymm5, %ymm3, %ymm2
-; AVX2-NEXT: vmovaps %ymm5, %ymm8
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm1
-; AVX2-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 144(%rdi), %xmm5
-; AVX2-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 128(%rdi), %xmm2
-; AVX2-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
-; AVX2-NEXT: vpermps %ymm1, %ymm4, %ymm5
-; AVX2-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm5[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm15
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm11
-; AVX2-NEXT: vpermps %ymm11, %ymm3, %ymm5
-; AVX2-NEXT: vpermps %ymm15, %ymm3, %ymm3
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm0, %ymm4, %ymm4
-; AVX2-NEXT: vmovaps (%rdi), %xmm0
-; AVX2-NEXT: vmovaps %xmm0, (%rsp) # 16-byte Spill
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm5 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm3 = [21474836481,21474836481,21474836481,21474836481]
-; AVX2-NEXT: vpermps %ymm7, %ymm3, %ymm4
-; AVX2-NEXT: vmovaps %ymm7, %ymm2
-; AVX2-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps %ymm6, %ymm1
-; AVX2-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm6, %ymm3, %ymm5
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm4[6,7]
-; AVX2-NEXT: vmovaps 256(%rdi), %ymm0
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 304(%rdi), %xmm4
-; AVX2-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 288(%rdi), %xmm6
-; AVX2-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm4 = <1,5,u,u>
-; AVX2-NEXT: vpermps %ymm0, %ymm4, %ymm7
-; AVX2-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm5[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm10, %ymm3, %ymm5
-; AVX2-NEXT: vpermps %ymm8, %ymm3, %ymm6
-; AVX2-NEXT: vmovaps %ymm8, %ymm7
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm0
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 176(%rdi), %xmm8
-; AVX2-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 160(%rdi), %xmm5
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm8 = xmm5[0],xmm8[0],xmm5[1],xmm8[1]
-; AVX2-NEXT: vpermps %ymm0, %ymm4, %ymm9
-; AVX2-NEXT: vblendps {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm11, %ymm3, %ymm6
-; AVX2-NEXT: vpermps %ymm15, %ymm3, %ymm8
-; AVX2-NEXT: vblendps {{.*#+}} ymm9 = ymm8[0,1,2,3,4,5],ymm6[6,7]
-; AVX2-NEXT: vmovaps (%rdi), %ymm8
-; AVX2-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm0
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm6
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
-; AVX2-NEXT: vpermps %ymm8, %ymm4, %ymm13
-; AVX2-NEXT: vblendps {{.*#+}} xmm0 = xmm13[0,1],xmm0[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps %ymm14, %ymm9
-; AVX2-NEXT: vpermps %ymm14, %ymm3, %ymm0
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
-; AVX2-NEXT: vpermps %ymm8, %ymm3, %ymm3
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vmovaps 384(%rdi), %ymm3
-; AVX2-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm3, %ymm4, %ymm13
-; AVX2-NEXT: vmovaps 432(%rdi), %xmm4
-; AVX2-NEXT: vmovaps 416(%rdi), %xmm3
-; AVX2-NEXT: vunpcklps {{.*#+}} xmm14 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; AVX2-NEXT: vblendps {{.*#+}} xmm13 = xmm13[0,1],xmm14[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm0 = [25769803778,25769803778,25769803778,25769803778]
-; AVX2-NEXT: vpermps %ymm2, %ymm0, %ymm13
-; AVX2-NEXT: vpermps %ymm1, %ymm0, %ymm14
-; AVX2-NEXT: vblendps {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm14 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm14 = xmm1[2],mem[2],xmm1[3],mem[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm1 = <u,u,2,6>
-; AVX2-NEXT: vpermps %ymm12, %ymm1, %ymm12
-; AVX2-NEXT: vblendps {{.*#+}} xmm12 = xmm14[0,1],xmm12[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0,1,2,3],ymm13[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm10, %ymm0, %ymm12
-; AVX2-NEXT: vpermps %ymm7, %ymm0, %ymm13
-; AVX2-NEXT: vblendps {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5],ymm12[6,7]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm13 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm13 = xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm14 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm13 = xmm13[0,1],xmm14[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm13[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpermps %ymm9, %ymm0, %ymm12
-; AVX2-NEXT: vpermps %ymm8, %ymm0, %ymm13
-; AVX2-NEXT: vblendps {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5],ymm12[6,7]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm13 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm13 = xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm14 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm13 = xmm13[0,1],xmm14[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm14 = ymm13[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm11, %ymm0, %ymm12
-; AVX2-NEXT: vpermps %ymm15, %ymm0, %ymm0
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm12[6,7]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
-; AVX2-NEXT: vmovaps (%rsp), %xmm2 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm12 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm12 = xmm2[2],mem[2],xmm2[3],mem[3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm12[0,1],xmm1[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd {{.*#+}} ymm12 = [30064771075,30064771075,30064771075,30064771075]
-; AVX2-NEXT: vpermps %ymm10, %ymm12, %ymm0
-; AVX2-NEXT: vpermps %ymm7, %ymm12, %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm1 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm1 = xmm5[2],mem[2],xmm5[3],mem[3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm5 = <3,7,u,u>
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm7 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm7[0,1],xmm1[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm11, %ymm12, %ymm0
-; AVX2-NEXT: vpermps %ymm15, %ymm12, %ymm2
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm2 = xmm2[2],xmm6[2],xmm2[3],xmm6[3]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm6 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vpermps %ymm9, %ymm12, %ymm2
-; AVX2-NEXT: vpermps %ymm8, %ymm12, %ymm6
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vunpckhps {{.*#+}} xmm3 = xmm3[2],xmm4[2],xmm3[3],xmm4[3]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm4 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm3 # 32-byte Folded Reload
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm4 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX2-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
-; AVX2-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
-; AVX2-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
-; AVX2-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, (%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 32(%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 64(%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 96(%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 96(%rdx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, (%rdx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 32(%rdx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 64(%rdx)
-; AVX2-NEXT: vmovaps %ymm14, 96(%rcx)
-; AVX2-NEXT: vmovaps %ymm13, (%rcx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 32(%rcx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm4, 64(%rcx)
-; AVX2-NEXT: vmovaps %ymm3, 64(%r8)
-; AVX2-NEXT: vmovaps %ymm2, 96(%r8)
-; AVX2-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-NEXT: vmovaps %ymm1, 32(%r8)
-; AVX2-NEXT: addq $680, %rsp # imm = 0x2A8
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride4_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $712, %rsp # imm = 0x2C8
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm0 = [17179869184,17179869184,17179869184,17179869184]
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovaps %ymm2, %ymm10
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vmovaps %ymm3, %ymm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 272(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm3 = <u,u,0,4>
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm3, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm6, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 400(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm3, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 144(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm3, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpermps %ymm15, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm3, %ymm1
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm3 = [21474836481,21474836481,21474836481,21474836481]
+; AVX2-ONLY-NEXT: vpermps %ymm10, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vpermps %ymm9, %ymm3, %ymm1
+; AVX2-ONLY-NEXT: vmovaps %ymm9, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 304(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm6 = <1,5,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm5, %ymm6, %ymm2
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm15, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm3, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm10 = xmm12[0],xmm5[0],xmm12[1],xmm5[1]
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm6, %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm3, %ymm9
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm3, %ymm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 176(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm6, %ymm13
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm13[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm3, %ymm6, %ymm13
+; AVX2-ONLY-NEXT: vmovaps 432(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm11 = xmm9[0],xmm3[0],xmm9[1],xmm3[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm13[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm0 = [25769803778,25769803778,25769803778,25769803778]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermps %ymm6, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm13[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm13 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm13 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm3 = <u,u,2,6>
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm10 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm13[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm2, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpermps %ymm1, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm11 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm11 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm11 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm11 = xmm1[2],mem[2],xmm1[3],mem[3]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm15, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm10 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm10 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm10[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd {{.*#+}} ymm10 = [30064771075,30064771075,30064771075,30064771075]
+; AVX2-ONLY-NEXT: vpermps %ymm15, %ymm10, %ymm0
+; AVX2-ONLY-NEXT: vpermps %ymm14, %ymm10, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm12[2],xmm5[2],xmm12[3],xmm5[3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm2 = <3,7,u,u>
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm6, %ymm10, %ymm1
+; AVX2-ONLY-NEXT: vpermps %ymm4, %ymm10, %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm8, %ymm10, %ymm5
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm10, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm6 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm6 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm9[2],mem[2],xmm9[3],mem[3]
+; AVX2-ONLY-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX2-ONLY-NEXT: addq $712, %rsp # imm = 0x2C8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i32_stride4_vf32:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 448(%rdi), %zmm6
-; AVX512-NEXT: vmovdqu64 384(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm7
; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,4,8,12,16,20,24,28,0,4,8,12,16,20,24,28]
; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
; AVX512-NEXT: vmovdqa64 %zmm7, %zmm9
; AVX512-NEXT: vpermt2d %zmm3, %zmm14, %zmm2
; AVX512-NEXT: vpermt2d %zmm1, %zmm14, %zmm0
; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
-; AVX512-NEXT: vmovdqu64 %zmm9, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm11, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm10, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm13, 64(%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm12, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm4, 64(%r8)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%r8)
+; AVX512-NEXT: vmovdqa64 %zmm9, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm11, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm10, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm13, 64(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm12, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm4, 64(%r8)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <128 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <128 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124>
%strided.vec1 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <32 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125>
%strided.vec2 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <32 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126>
%strided.vec3 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <32 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127>
- store <32 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i32> %strided.vec3, ptr %out.vec3, align 32
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i32> %strided.vec3, ptr %out.vec3, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i32_stride5_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i32_stride5_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[1,1,1,1]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: movq %xmm4, (%rsi)
+; SSE-NEXT: movq %xmm5, (%rdx)
+; SSE-NEXT: movq %xmm0, (%rcx)
+; SSE-NEXT: movq %xmm6, (%r8)
+; SSE-NEXT: movq %xmm1, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride5_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[1,2,2,3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1],mem[2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vpextrq $1, %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm1, (%r9)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride5_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[1,2,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX2-ONLY-NEXT: vpbroadcastd 16(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0],xmm2[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vmovq %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm4, (%rdx)
+; AVX2-ONLY-NEXT: vpextrq $1, %xmm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovq %xmm0, (%r8)
+; AVX2-ONLY-NEXT: vmovq %xmm2, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i32_stride5_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[1,2,2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512F-SLOW-NEXT: vpbroadcastd 16(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0],xmm2[1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%rdx)
+; AVX512F-SLOW-NEXT: vpextrq $1, %xmm1, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%r9)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride5_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [25769803777,25769803777]
+; AVX512F-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm4
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm5 = [30064771074,30064771074]
+; AVX512F-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm5
+; AVX512F-FAST-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512F-FAST-NEXT: vpbroadcastd 16(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%r9)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride5_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[1,2,2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512BW-SLOW-NEXT: vpbroadcastd 16(%rdi), %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0],xmm2[1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm4, (%rdx)
+; AVX512BW-SLOW-NEXT: vpextrq $1, %xmm1, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovq %xmm2, (%r9)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride5_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [25769803777,25769803777]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm4
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm5 = [30064771074,30064771074]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm5
+; AVX512BW-FAST-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512BW-FAST-NEXT: vpbroadcastd 16(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm4, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm5, (%rcx)
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%r8)
+; AVX512BW-FAST-NEXT: vmovq %xmm1, (%r9)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <10 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <10 x i32> %wide.vec, <10 x i32> poison, <2 x i32> <i32 0, i32 5>
+ %strided.vec1 = shufflevector <10 x i32> %wide.vec, <10 x i32> poison, <2 x i32> <i32 1, i32 6>
+ %strided.vec2 = shufflevector <10 x i32> %wide.vec, <10 x i32> poison, <2 x i32> <i32 2, i32 7>
+ %strided.vec3 = shufflevector <10 x i32> %wide.vec, <10 x i32> poison, <2 x i32> <i32 3, i32 8>
+ %strided.vec4 = shufflevector <10 x i32> %wide.vec, <10 x i32> poison, <2 x i32> <i32 4, i32 9>
+
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i32> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i32_stride5_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i32_stride5_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa (%rdi), %xmm5
+; SSE-NEXT: movdqa 16(%rdi), %xmm2
+; SSE-NEXT: movdqa 32(%rdi), %xmm4
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm6[0],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm4[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm7[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm5[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm5[0],xmm6[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[2,2,2,2]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm7[0],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm2[0],xmm9[1]
+; SSE-NEXT: movapd %xmm3, (%rsi)
+; SSE-NEXT: movapd %xmm8, (%rdx)
+; SSE-NEXT: movapd %xmm6, (%rcx)
+; SSE-NEXT: movapd %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm9, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride5_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2],xmm3[3]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm3[0,1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],mem[2],xmm5[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[1,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],mem[2],xmm7[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm7 = xmm7[1,0]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm7 = xmm7[0,1,2],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm3 = xmm3[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],mem[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1,2],xmm6[3]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride5_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = [0,5,2,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <1,6,3,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm4, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm4, %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm5[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <2,7,4,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm6, %ymm5, %ymm5
+; AVX2-ONLY-NEXT: vpbroadcastd 68(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm6[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm4[2,2,2,2]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm7 = ymm0[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm0[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <4,1,6,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm7, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i32_stride5_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [0,5,10,15]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpermt2d 32(%rdi), %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrd $3, %xmm3, %eax
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[1,2,2,3]
+; AVX512F-SLOW-NEXT: vpinsrd $2, %eax, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovd %xmm6, %eax
+; AVX512F-SLOW-NEXT: vpinsrd $3, %eax, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm0[0,1,2],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,3,2,3]
+; AVX512F-SLOW-NEXT: vpinsrd $2, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrd $1, %xmm6, %eax
+; AVX512F-SLOW-NEXT: vpinsrd $3, %eax, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrd $1, %xmm4, %eax
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512F-SLOW-NEXT: vpinsrd $2, %eax, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm6, %eax
+; AVX512F-SLOW-NEXT: vpinsrd $3, %eax, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],xmm6[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, (%r9)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride5_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [0,5,10,15]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpermt2d 32(%rdi), %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm0 = [25769803777,25769803777]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm0
+; AVX512F-FAST-NEXT: vpextrd $3, %xmm4, %eax
+; AVX512F-FAST-NEXT: vpinsrd $2, %eax, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vmovd %xmm6, %eax
+; AVX512F-FAST-NEXT: vpinsrd $3, %eax, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [30064771074,30064771074]
+; AVX512F-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm5, %eax
+; AVX512F-FAST-NEXT: vpinsrd $2, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrd $1, %xmm6, %eax
+; AVX512F-FAST-NEXT: vpinsrd $3, %eax, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrd $1, %xmm5, %eax
+; AVX512F-FAST-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512F-FAST-NEXT: vpinsrd $2, %eax, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrd $2, %xmm6, %eax
+; AVX512F-FAST-NEXT: vpinsrd $3, %eax, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm5[2],xmm3[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[3]
+; AVX512F-FAST-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride5_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [0,5,10,15]
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vpermt2d 32(%rdi), %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpextrd $3, %xmm3, %eax
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm0[0,1],xmm2[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[1,2,2,3]
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, %eax
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %eax, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %eax
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm0[0,1,2],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,3,2,3]
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %eax, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrd $1, %xmm6, %eax
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %eax, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrd $1, %xmm4, %eax
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %eax, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm6, %eax
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %eax, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm2, (%r9)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride5_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = [0,5,10,15]
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vpermt2d 32(%rdi), %ymm0, %ymm1
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm0 = [25769803777,25769803777]
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm0
+; AVX512BW-FAST-NEXT: vpextrd $3, %xmm4, %eax
+; AVX512BW-FAST-NEXT: vpinsrd $2, %eax, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vmovd %xmm6, %eax
+; AVX512BW-FAST-NEXT: vpinsrd $3, %eax, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [30064771074,30064771074]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm7
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %eax
+; AVX512BW-FAST-NEXT: vpinsrd $2, %eax, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrd $1, %xmm6, %eax
+; AVX512BW-FAST-NEXT: vpinsrd $3, %eax, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrd $1, %xmm5, %eax
+; AVX512BW-FAST-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10,11]
+; AVX512BW-FAST-NEXT: vpinsrd $2, %eax, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpextrd $2, %xmm6, %eax
+; AVX512BW-FAST-NEXT: vpinsrd $3, %eax, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm5[2],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[3]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <20 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <20 x i32> %wide.vec, <20 x i32> poison, <4 x i32> <i32 0, i32 5, i32 10, i32 15>
+ %strided.vec1 = shufflevector <20 x i32> %wide.vec, <20 x i32> poison, <4 x i32> <i32 1, i32 6, i32 11, i32 16>
+ %strided.vec2 = shufflevector <20 x i32> %wide.vec, <20 x i32> poison, <4 x i32> <i32 2, i32 7, i32 12, i32 17>
+ %strided.vec3 = shufflevector <20 x i32> %wide.vec, <20 x i32> poison, <4 x i32> <i32 3, i32 8, i32 13, i32 18>
+ %strided.vec4 = shufflevector <20 x i32> %wide.vec, <20 x i32> poison, <4 x i32> <i32 4, i32 9, i32 14, i32 19>
+
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i32> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i32_stride5_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i32_stride5_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa 144(%rdi), %xmm3
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa 128(%rdi), %xmm4
+; SSE-NEXT: movdqa 112(%rdi), %xmm5
+; SSE-NEXT: movdqa 80(%rdi), %xmm11
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa (%rdi), %xmm14
+; SSE-NEXT: movdqa 16(%rdi), %xmm7
+; SSE-NEXT: movdqa 32(%rdi), %xmm9
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa %xmm14, %xmm8
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm9[2,2,2,2]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm8[0],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
+; SSE-NEXT: movdqa %xmm11, %xmm10
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[2,2,2,2]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm4[2],xmm8[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm10[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm7[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm14[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm10[0],xmm12[1],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm9[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm12[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm11[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm3[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm5[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm13[0],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm7[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm14[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm2[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm14[0],xmm13[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm1[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm14[2],xmm11[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm4[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm11[0],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm15[0],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm7[0],xmm11[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd %xmm8, 16(%rsi)
+; SSE-NEXT: movapd %xmm6, (%rsi)
+; SSE-NEXT: movapd %xmm12, 16(%rdx)
+; SSE-NEXT: movapd %xmm10, (%rdx)
+; SSE-NEXT: movapd %xmm14, 16(%rcx)
+; SSE-NEXT: movapd %xmm13, (%rcx)
+; SSE-NEXT: movapd %xmm4, 16(%r8)
+; SSE-NEXT: movapd %xmm2, (%r8)
+; SSE-NEXT: movapd %xmm15, 16(%r9)
+; SSE-NEXT: movapd %xmm11, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride5_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0,1],ymm3[2,3],ymm4[4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0],xmm7[1],xmm5[2],xmm7[3]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm8[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm1[4],ymm9[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2],ymm7[3],ymm5[4,5,6],ymm7[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm9[2,1],ymm1[1,3],ymm9[6,5],ymm1[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm9[2,0],ymm7[3,0],ymm9[6,4],ymm7[7,4]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm9[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],mem[2],xmm11[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm11 = xmm11[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 144(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm11[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm8[3,0],ymm1[2,0],ymm8[7,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm8[2,0],ymm1[2,1],ymm8[6,4],ymm1[6,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm11, %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],mem[2],xmm11[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm11 = xmm11[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1,2],ymm8[3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm0[1,0],ymm11[0,0],ymm0[5,4],ymm11[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm12[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm2[0,0],ymm1[3,0],ymm2[4,4],ymm1[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm12[2,0],ymm1[2,2],ymm12[6,4],ymm1[6,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm9 = xmm9[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2],ymm12[3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[2,0],ymm11[1,0],ymm0[6,4],ymm11[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0],mem[1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3,4,5,6],ymm0[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride5_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm4[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm3[4],ymm5[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = [0,5,2,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, 128(%rdi), %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2],ymm6[3],ymm5[4,5,6],ymm6[7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,6,3,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm1[0,1],ymm2[2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm3[0,1],ymm4[2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [5,2,7,0,5,2,7,0]
+; AVX2-ONLY-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm8, %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2],ymm7[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 144(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,7,4,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm8, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vinserti128 $1, 96(%rdi), %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm3[0,1,2],ymm8[3],ymm3[4,5,6],ymm8[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2],ymm8[3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm8 = [21474836480,21474836480,21474836480,21474836480]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm8 = [25769803777,25769803777,25769803777,25769803777]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm1[12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2],ymm9[3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm3[0,1],ymm4[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3,4],ymm4[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <4,1,6,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm4, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm2 = [30064771074,30064771074,30064771074,30064771074]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm2, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i32_stride5_vf8:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm0 = <0,5,10,15,20,25,30,u>
+; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm0
+; AVX512-NEXT: vinserti128 $1, 128(%rdi), %ymm0, %ymm3
+; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm3[3],ymm0[4,5,6],ymm3[7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = <17,22,27,0,5,10,15,u>
+; AVX512-NEXT: vpermi2d %zmm1, %zmm2, %zmm3
+; AVX512-NEXT: vpbroadcastd 144(%rdi), %ymm4
+; AVX512-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <2,7,12,17,22,27,u,u>
+; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm4
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = [0,1,2,3,4,5,8,13]
+; AVX512-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512-NEXT: vpermi2d %ymm6, %ymm4, %ymm5
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <3,8,13,18,23,28,u,u>
+; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm4
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = [0,1,2,3,4,5,9,14]
+; AVX512-NEXT: vpermi2d %ymm6, %ymm4, %ymm7
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <4,9,14,19,24,29,u,u>
+; AVX512-NEXT: vpermi2d %zmm2, %zmm1, %zmm4
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,2,3,4,5,10,15]
+; AVX512-NEXT: vpermi2d %ymm6, %ymm4, %ymm1
+; AVX512-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512-NEXT: vmovdqa %ymm5, (%rcx)
+; AVX512-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512-NEXT: vmovdqa %ymm1, (%r9)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <40 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <40 x i32> %wide.vec, <40 x i32> poison, <8 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35>
+ %strided.vec1 = shufflevector <40 x i32> %wide.vec, <40 x i32> poison, <8 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36>
+ %strided.vec2 = shufflevector <40 x i32> %wide.vec, <40 x i32> poison, <8 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37>
+ %strided.vec3 = shufflevector <40 x i32> %wide.vec, <40 x i32> poison, <8 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38>
+ %strided.vec4 = shufflevector <40 x i32> %wide.vec, <40 x i32> poison, <8 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39>
+
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i32> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i32_stride5_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i32_stride5_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $296, %rsp # imm = 0x128
+; SSE-NEXT: movdqa 208(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm4
+; SSE-NEXT: movdqa 160(%rdi), %xmm9
+; SSE-NEXT: movdqa 176(%rdi), %xmm2
+; SSE-NEXT: movdqa 288(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm6
+; SSE-NEXT: movdqa 240(%rdi), %xmm11
+; SSE-NEXT: movdqa 256(%rdi), %xmm15
+; SSE-NEXT: movdqa (%rdi), %xmm5
+; SSE-NEXT: movdqa 16(%rdi), %xmm12
+; SSE-NEXT: movdqa 32(%rdi), %xmm8
+; SSE-NEXT: movdqa 48(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[1,1,1,1]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,2,2]
+; SSE-NEXT: movdqa %xmm6, %xmm11
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm10
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 128(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm8[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa %xmm14, %xmm13
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 304(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 224(%rdi), %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm7
+; SSE-NEXT: movdqa %xmm10, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[2,2,3,3]
+; SSE-NEXT: movdqa %xmm15, %xmm11
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa %xmm6, %xmm10
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm4[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm4[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm1[0],xmm13[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm0[0],xmm13[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm8, %xmm7
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,3,3]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm2, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,3,3]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,3,3]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $255, (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[2],mem[2],xmm1[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm9[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm11[0],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm6[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm15[0],xmm10[1],xmm15[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm10[0],xmm15[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm14[0],xmm10[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[2],mem[2],xmm14[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm10[0],xmm14[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movapd %xmm13, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movapd %xmm0, 16(%r8)
+; SSE-NEXT: movapd %xmm2, 32(%r8)
+; SSE-NEXT: movapd %xmm5, 48(%r8)
+; SSE-NEXT: movapd %xmm7, (%r8)
+; SSE-NEXT: movapd %xmm14, 16(%r9)
+; SSE-NEXT: movapd %xmm15, 32(%r9)
+; SSE-NEXT: movapd %xmm12, 48(%r9)
+; SSE-NEXT: movapd %xmm1, (%r9)
+; SSE-NEXT: addq $296, %rsp # imm = 0x128
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride5_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $168, %rsp
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1],ymm1[2,3],ymm3[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm3, %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm13
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm14[0,1,2,3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3],ymm0[4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1],ymm4[2,3],ymm12[4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm2[4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm6[2,3],ymm5[4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[2,1],ymm5[1,3],ymm3[6,5],ymm5[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm3[2,0],ymm1[3,0],ymm3[6,4],ymm1[7,4]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm15[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 144(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm11[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,1],ymm2[1,3],ymm1[6,5],ymm2[5,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0,1],ymm11[2,3],ymm2[4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm3[3,0],ymm1[6,4],ymm3[7,4]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm9[0,1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 304(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm14[3,0],ymm5[2,0],ymm14[7,4],ymm5[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm5[2,1],ymm1[6,4],ymm5[6,5]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm13[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm3 = xmm3[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm1[1,0],ymm4[0,0],ymm1[5,4],ymm4[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm2[2,0],ymm0[7,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[2,1],ymm0[6,4],ymm2[6,5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm12[0,1,2,3],ymm7[4,5],ymm12[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm3 = xmm3[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm3[0,1,2],ymm0[3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm0[1,0],ymm3[0,0],ymm0[5,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0,1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm6[0,0],ymm5[3,0],ymm6[4,4],ymm5[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[2,0],ymm5[2,2],ymm14[6,4],ymm5[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm10 = xmm10[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2],ymm14[3,4,5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm1[2,0],ymm4[1,0],ymm1[6,4],ymm4[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm11[0,0],ymm2[3,0],ymm11[4,4],ymm2[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm9[2,0],ymm2[2,2],ymm9[6,4],ymm2[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm8[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2],ymm9[3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm0[2,0],ymm3[1,0],ymm0[6,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm9 = ymm9[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm6 = ymm6[0,1,2,3],mem[4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],mem[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2],ymm5[3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0],ymm11[1],ymm2[2,3,4],ymm11[5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm12[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0],mem[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2],ymm2[3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6],ymm0[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: addq $168, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride5_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: pushq %rax
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [0,5,2,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm6[0,1],ymm4[2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm10, %ymm7
+; AVX2-ONLY-NEXT: vinserti128 $1, 288(%rdi), %ymm7, %ymm11
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm12 = ymm2[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm1[4],ymm12[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2],ymm11[3],ymm7[4,5,6],ymm11[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm11 = ymm9[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm8[4],ymm11[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1],ymm5[2,3],ymm3[4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm12, %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, 128(%rdi), %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm10[3],ymm11[4,5,6],ymm10[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <1,6,3,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1],ymm5[2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm11, %ymm12, %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm8[0,1],ymm9[2,3],ymm8[4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm14 = [5,2,7,0,5,2,7,0]
+; AVX2-ONLY-NEXT: # ymm14 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2],ymm13[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 144(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm6[0,1],ymm4[2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2],ymm13[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 304(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <2,7,4,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1,2,3],ymm5[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vinserti128 $1, 96(%rdi), %ymm0, %ymm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm15 = ymm8[0,1,2],ymm15[3],ymm8[4,5,6],ymm15[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2],ymm15[3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm15 = [21474836480,21474836480,21474836480,21474836480]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm15, %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm6[0,1,2,3],ymm4[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm14, %ymm7
+; AVX2-ONLY-NEXT: vinserti128 $1, 256(%rdi), %ymm0, %ymm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm1[0,1,2],ymm14[3],ymm1[4,5,6],ymm14[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm14 = ymm14[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2],ymm14[3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm15, %ymm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm15 = ymm8[0,1,2,3],ymm9[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm15 = ymm15[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm3[12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10,11],ymm3[28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2],ymm15[3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm15 = [25769803777,25769803777,25769803777,25769803777]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm15, %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm11[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm12 = ymm6[12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11],ymm6[28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm12 = ymm12[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2],ymm11[3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm15, %ymm12
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm8 = ymm8[0,1],ymm9[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0],ymm9[1],ymm8[2,3,4],ymm9[5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <4,1,6,u>
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm5, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm8 = [30064771074,30064771074,30064771074,30064771074]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm8, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm5, %ymm3
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm1[0,1],ymm2[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm8, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 32(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-ONLY-NEXT: popq %rax
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride5_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [8,13,18,23,28,0,0,3,8,13,18,23,28,0,0,3]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,u>
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm1, %zmm6
+; AVX512F-NEXT: movw $8064, %ax # imm = 0x1F80
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm5, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm6, %zmm5
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [9,14,19,24,29,0,0,4,9,14,19,24,29,0,0,4]
+; AVX512F-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <17,22,27,0,5,10,15,u>
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm2, %zmm7
+; AVX512F-NEXT: vmovdqa32 %zmm6, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm7, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <2,7,12,17,22,27,u,u>
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm1, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [10,15,20,25,30,0,0,5,10,15,20,25,30,0,0,5]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512F-NEXT: movb $7, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm8 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm8, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <3,8,13,18,23,28,u,u>
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm1, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [27,0,5,10,15,0,17,22,27,0,5,10,15,0,17,22]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm4, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm9, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [12,17,22,27,0,0,2,7,12,17,22,27,0,0,2,7]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm3 = <4,9,14,19,24,29,u,u>
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm1, %zmm3
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm3 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm1 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm1
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride5_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [8,13,18,23,28,0,0,3,8,13,18,23,28,0,0,3]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,u>
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm1, %zmm6
+; AVX512BW-NEXT: movw $8064, %ax # imm = 0x1F80
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm5, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm6, %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [9,14,19,24,29,0,0,4,9,14,19,24,29,0,0,4]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <17,22,27,0,5,10,15,u>
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm2, %zmm7
+; AVX512BW-NEXT: vmovdqa32 %zmm6, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm7, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <2,7,12,17,22,27,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm1, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [10,15,20,25,30,0,0,5,10,15,20,25,30,0,0,5]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm8, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <3,8,13,18,23,28,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm1, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [27,0,5,10,15,0,17,22,27,0,5,10,15,0,17,22]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm4, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm9, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [12,17,22,27,0,0,2,7,12,17,22,27,0,0,2,7]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = <4,9,14,19,24,29,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm1, %zmm3
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm1 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <80 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <80 x i32> %wide.vec, <80 x i32> poison, <16 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75>
+ %strided.vec1 = shufflevector <80 x i32> %wide.vec, <80 x i32> poison, <16 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76>
+ %strided.vec2 = shufflevector <80 x i32> %wide.vec, <80 x i32> poison, <16 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77>
+ %strided.vec3 = shufflevector <80 x i32> %wide.vec, <80 x i32> poison, <16 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78>
+ %strided.vec4 = shufflevector <80 x i32> %wide.vec, <80 x i32> poison, <16 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79>
+
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i32> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i32_stride5_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i32_stride5_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $904, %rsp # imm = 0x388
+; SSE-NEXT: movdqa 288(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm9
+; SSE-NEXT: movdqa 240(%rdi), %xmm12
+; SSE-NEXT: movdqa 256(%rdi), %xmm10
+; SSE-NEXT: movdqa 528(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 512(%rdi), %xmm3
+; SSE-NEXT: movdqa 480(%rdi), %xmm13
+; SSE-NEXT: movdqa 496(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm8
+; SSE-NEXT: movdqa 160(%rdi), %xmm11
+; SSE-NEXT: movdqa 176(%rdi), %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; SSE-NEXT: movdqa %xmm8, %xmm11
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[1,1,1,1]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: movdqa %xmm3, %xmm13
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa %xmm10, %xmm6
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 560(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 576(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 608(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 592(%rdi), %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm3
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa 368(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm14
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,1,1]
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm3[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 416(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movdqa 448(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm3[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 224(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm11[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm7[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 544(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm6[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 304(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[2,3,2,3]
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 624(%rdi), %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm15[0,0,1,1]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm10[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 384(%rdi), %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm6[0,0,1,1]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,0,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm2[0],xmm10[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm3[0],xmm10[1]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movdqa 464(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[0,0,1,1]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm3[0],xmm10[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm2[0],xmm10[1]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm7[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[0],mem[0],xmm3[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[3,3,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm1[2],xmm14[3],xmm1[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,2,3,3]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[2,2,3,3]
+; SSE-NEXT: movdqa %xmm11, %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm0[0],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[2,2,3,3]
+; SSE-NEXT: movdqa %xmm15, %xmm13
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm0[0],xmm13[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm0[0],xmm12[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm0[0],xmm9[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm6[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = xmm8[2],mem[2],xmm8[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm6[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[2],mem[2],xmm6[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm3[0],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[2],mem[2],xmm5[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[2],mem[2],xmm4[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[2],mem[2],xmm2[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movaps %xmm15, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rcx)
+; SSE-NEXT: movapd %xmm7, 112(%r8)
+; SSE-NEXT: movapd %xmm9, 96(%r8)
+; SSE-NEXT: movapd %xmm11, 80(%r8)
+; SSE-NEXT: movapd %xmm12, 64(%r8)
+; SSE-NEXT: movapd %xmm13, 48(%r8)
+; SSE-NEXT: movapd %xmm14, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movapd %xmm0, 112(%r9)
+; SSE-NEXT: movapd %xmm2, 96(%r9)
+; SSE-NEXT: movapd %xmm3, 80(%r9)
+; SSE-NEXT: movapd %xmm4, 64(%r9)
+; SSE-NEXT: movapd %xmm5, 48(%r9)
+; SSE-NEXT: movapd %xmm6, 32(%r9)
+; SSE-NEXT: movapd %xmm8, 16(%r9)
+; SSE-NEXT: movapd %xmm10, (%r9)
+; SSE-NEXT: addq $904, %rsp # imm = 0x388
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride5_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $984, %rsp # imm = 0x3D8
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3],ymm2[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm13[4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3],ymm0[4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1],ymm3[2,3],ymm5[4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, 608(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3],ymm0[4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm2[2,3],ymm0[4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm15
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm1[1],xmm0[2],xmm1[3]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0,1,2,3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm14[4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3],ymm0[4,5,6],ymm1[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2],xmm2[3]
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 448(%rdi), %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3],ymm0[4,5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm13[1,3],ymm0[6,5],ymm13[5,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm13[0,1],ymm8[2,3],ymm13[4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[3,0],ymm0[6,4],ymm2[7,4]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 304(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm9[1,3],ymm0[6,5],ymm9[5,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1],ymm4[2,3],ymm9[4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[3,0],ymm0[6,4],ymm2[7,4]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 624(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm11[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm14[1,3],ymm0[6,5],ymm14[5,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm14[0,1],ymm11[2,3],ymm14[4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[3,0],ymm0[6,4],ymm2[7,4]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 144(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,1],ymm5[1,3],ymm0[6,5],ymm5[5,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1],ymm1[2,3],ymm5[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[3,0],ymm0[6,4],ymm2[7,4]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vbroadcastss 464(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm6[3,0],ymm13[2,0],ymm6[7,4],ymm13[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm13[2,1],ymm0[6,4],ymm13[6,5]
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = ymm7[0,1,2,3],mem[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm2 = xmm2[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[1,0],ymm10[0,0],ymm6[5,4],ymm10[4,4]
+; AVX1-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm9, %ymm11
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm9[2,0],ymm0[7,4],ymm9[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm9[2,1],ymm0[6,4],ymm9[6,5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = mem[0,1,2,3],ymm1[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm2 = xmm2[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm8[1,0],ymm7[0,0],ymm8[5,4],ymm7[4,4]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm12[3,0],ymm14[2,0],ymm12[7,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm14[2,1],ymm0[6,4],ymm14[6,5]
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = mem[0,1,2,3],ymm15[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],mem[2],xmm4[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm4 = xmm4[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm12[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm12[1,0],ymm3[0,0],ymm12[5,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm5[2,0],ymm0[7,4],ymm5[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm5[2,1],ymm0[6,4],ymm5[6,5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm1[0,1,2,3],mem[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],mem[2],xmm4[3]
+; AVX1-ONLY-NEXT: vpermilpd {{.*#+}} xmm4 = xmm4[1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm4[1,0],ymm9[0,0],ymm4[5,4],ymm9[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm1[0,0],ymm13[3,0],ymm1[4,4],ymm13[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[2,0],ymm13[2,2],ymm15[6,4],ymm13[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm15[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm6[2,0],ymm10[1,0],ymm6[6,4],ymm10[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm2[0,0],ymm11[3,0],ymm2[4,4],ymm11[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[2,0],ymm11[2,2],ymm15[6,4],ymm11[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm15[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm8[2,0],ymm7[1,0],ymm8[6,4],ymm7[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm10[0,0],ymm14[3,0],ymm10[4,4],ymm14[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[2,0],ymm14[2,2],ymm15[6,4],ymm14[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm15[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm12[2,0],ymm3[1,0],ymm12[6,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm1[0,0],ymm5[3,0],ymm1[4,4],ymm5[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[2,0],ymm5[2,2],ymm15[6,4],ymm5[6,6]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,0],mem[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm15[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm4[2,0],ymm9[1,0],ymm4[6,4],ymm9[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = ymm7[0],mem[1],ymm7[2,3,4],mem[5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = mem[0,1,2,3],ymm3[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm15 = xmm15[0],mem[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm15[0,1,2],ymm7[3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vblendps $127, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = mem[0,1,2,3,4,5,6],ymm6[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0],ymm2[1],ymm6[2,3,4],ymm2[5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = ymm7[0,1,2,3],mem[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0],mem[1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3,4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vblendps $127, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = mem[0,1,2,3,4,5,6],ymm8[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0],ymm1[1],ymm5[2,3,4],ymm1[5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm6 = mem[0,1,2,3],ymm6[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],mem[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2],ymm5[3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm4[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0],ymm10[1],ymm4[2,3,4],ymm10[5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = ymm5[0,1,2,3],mem[4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2],ymm4[3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps $127, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = mem[0,1,2,3,4,5,6],ymm12[7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 96(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX1-ONLY-NEXT: addq $984, %rsp # imm = 0x3D8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride5_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $1032, %rsp # imm = 0x408
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = [0,5,2,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm4[2,3],ymm1[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 288(%rdi), %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm12[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4],ymm3[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3],ymm1[4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm15[2,3],ymm8[4,5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm15, %ymm9
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm11[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4],ymm2[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, 608(%rdi), %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1],ymm6[2,3],ymm7[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm13[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm0[4],ymm2[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, 448(%rdi), %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1],ymm3[2,3],ymm7[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, %ymm13
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm5, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm2[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, %ymm14
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4],ymm1[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, %ymm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, 128(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5,6],ymm0[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <1,6,3,u>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1],ymm4[2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1],ymm12[2,3],ymm5[4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm3 = [5,2,7,0,5,2,7,0]
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpermd %ymm2, %ymm3, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 304(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1],ymm9[2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1],ymm11[2,3],ymm6[4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm2, %ymm3, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 624(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1],ymm13[2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0,1],ymm14[2,3],ymm15[4,5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm15, %ymm14
+; AVX2-ONLY-NEXT: vpermd %ymm2, %ymm3, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 144(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1],ymm11[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd $204, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = ymm10[0,1],mem[2,3],ymm10[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm3, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 464(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <2,7,4,u>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm12[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm13, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 256(%rdi), %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1,2],ymm2[3],ymm5[4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, %ymm7
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm0 = [21474836480,21474836480,21474836480,21474836480]
+; AVX2-ONLY-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm9[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm13, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 576(%rdi), %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2],ymm2[3],ymm6[4,5,6],ymm2[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpermd %ymm9, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1,2,3],ymm5[4,5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm13, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 96(%rdi), %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovdqa %ymm14, %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2],ymm4[3],ymm14[4,5,6],ymm4[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm4[3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm11[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm13, %ymm4
+; AVX2-ONLY-NEXT: vinserti128 $1, 416(%rdi), %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2],ymm8[3],ymm1[4,5,6],ymm8[7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm4[0,1,2],ymm8[3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermd %ymm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm13[4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vpalignr $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm8 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm8 = mem[12,13,14,15],ymm12[0,1,2,3,4,5,6,7,8,9,10,11],mem[28,29,30,31],ymm12[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm8[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2],ymm0[3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm8 = [25769803777,25769803777,25769803777,25769803777]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermd %ymm11, %ymm8, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm12[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm6[12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11],ymm6[28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm9, %ymm8, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm2[0,1,2,3],mem[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm15[12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10,11],ymm15[28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm8, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm5[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,0,2,2,7,4,6,6]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm3[12,13,14,15],ymm15[0,1,2,3,4,5,6,7,8,9,10,11],ymm3[28,29,30,31],ymm15[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, %ymm14
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[0,1],ymm13[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0],ymm13[1],ymm7[2,3,4],ymm13[5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <4,1,6,u>
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm8, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm7[3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm7 = [30064771074,30064771074,30064771074,30064771074]
+; AVX2-ONLY-NEXT: vpermd %ymm11, %ymm7, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vperm2i128 $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm9 = mem[0,1],ymm12[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0],ymm12[1],ymm9[2,3,4],ymm12[5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm8, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm9[3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1,2,3],ymm14[4,5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vperm2i128 $2, (%rsp), %ymm5, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm9 = mem[0,1],ymm5[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0],ymm5[1],ymm9[2,3,4],ymm5[5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm8, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm9[3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm7, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vperm2i128 $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1],ymm4[0,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3,4],ymm4[5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm4[0,1,2,3],mem[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm5, %ymm8, %ymm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 64(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 96(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%r9)
+; AVX2-ONLY-NEXT: addq $1032, %rsp # imm = 0x408
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride5_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm11
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [8,13,18,23,28,0,0,3,8,13,18,23,28,0,0,3]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm12, %zmm13
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm8
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm6, %zmm8
+; AVX512F-NEXT: movw $8064, %ax # imm = 0x1F80
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm13, %zmm8 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm13 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm13, %zmm8
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm4, %zmm12
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm0, %zmm6
+; AVX512F-NEXT: vmovdqa32 %zmm12, %zmm6 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm13, %zmm6
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [9,14,19,24,29,0,0,4,9,14,19,24,29,0,0,4]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm12 = <17,22,27,0,5,10,15,u>
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm13
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm12, %zmm13
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm15, %zmm13
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm4, %zmm14
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm12
+; AVX512F-NEXT: vmovdqa32 %zmm14, %zmm12 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm15, %zmm12
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,7,12,17,22,27,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm16, %zmm17
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [10,15,20,25,30,0,0,5,10,15,20,25,30,0,0,5]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm14
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm15, %zmm14
+; AVX512F-NEXT: movb $7, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm14 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm17, %zmm14
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm4, %zmm15
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm0, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm15 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm17, %zmm15
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <3,8,13,18,23,28,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm16, %zmm17
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [27,0,5,10,15,0,17,22,27,0,5,10,15,0,17,22]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512F-NEXT: vpermt2d %zmm9, %zmm18, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm19 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm17, %zmm19
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm5, %zmm18
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm0, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm18 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm17, %zmm18
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [12,17,22,27,0,0,2,7,12,17,22,27,0,0,2,7]
+; AVX512F-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm16, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <4,9,14,19,24,29,u,u>
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm11, %zmm1
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm9 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm9, %zmm1
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm16, %zmm4
+; AVX512F-NEXT: vpermt2d %zmm3, %zmm11, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm0 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm9, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm12, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm15, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm14, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride5_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [8,13,18,23,28,0,0,3,8,13,18,23,28,0,0,3]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,5,10,15,20,25,30,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm8
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm6, %zmm8
+; AVX512BW-NEXT: movw $8064, %ax # imm = 0x1F80
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm13, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm13 = [0,1,2,3,4,5,6,7,8,9,10,11,12,17,22,27]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm13, %zmm8
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm4, %zmm12
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm0, %zmm6
+; AVX512BW-NEXT: vmovdqa32 %zmm12, %zmm6 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm13, %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [9,14,19,24,29,0,0,4,9,14,19,24,29,0,0,4]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = <17,22,27,0,5,10,15,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm13
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,6,7,8,9,10,11,12,18,23,28]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm15, %zmm13
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm4, %zmm14
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm12
+; AVX512BW-NEXT: vmovdqa32 %zmm14, %zmm12 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm15, %zmm12
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,7,12,17,22,27,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm16, %zmm17
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [10,15,20,25,30,0,0,5,10,15,20,25,30,0,0,5]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm14
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm15, %zmm14
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,19,24,29]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm17, %zmm14
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm4, %zmm15
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm0, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm15 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm17, %zmm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <3,8,13,18,23,28,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm16, %zmm17
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [27,0,5,10,15,0,17,22,27,0,5,10,15,0,17,22]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2d %zmm9, %zmm18, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm17 = [0,1,2,3,4,5,6,7,8,9,10,11,12,20,25,30]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm17, %zmm19
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm5, %zmm18
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm0, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm18 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm17, %zmm18
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [12,17,22,27,0,0,2,7,12,17,22,27,0,0,2,7]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm16, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <4,9,14,19,24,29,u,u>
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm11, %zmm1
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm9 = [0,1,2,3,4,5,6,7,8,9,10,11,16,21,26,31]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm9, %zmm1
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm16, %zmm4
+; AVX512BW-NEXT: vpermt2d %zmm3, %zmm11, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm0 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm9, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <160 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <160 x i32> %wide.vec, <160 x i32> poison, <32 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155>
+ %strided.vec1 = shufflevector <160 x i32> %wide.vec, <160 x i32> poison, <32 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156>
+ %strided.vec2 = shufflevector <160 x i32> %wide.vec, <160 x i32> poison, <32 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77, i32 82, i32 87, i32 92, i32 97, i32 102, i32 107, i32 112, i32 117, i32 122, i32 127, i32 132, i32 137, i32 142, i32 147, i32 152, i32 157>
+ %strided.vec3 = shufflevector <160 x i32> %wide.vec, <160 x i32> poison, <32 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158>
+ %strided.vec4 = shufflevector <160 x i32> %wide.vec, <160 x i32> poison, <32 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159>
+
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i32> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2,AVX2-SLOW
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST-ALL
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST-PERLANE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movq %xmm7, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride6_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps (%rdi), %xmm0
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm2
-; AVX1-NEXT: vpermilps {{.*#+}} xmm3 = xmm1[2,2,3,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0],xmm3[1],xmm0[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0,1],xmm0[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[2,0,2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[3,3,3,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm6 = xmm2[2,2,3,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm6 = xmm1[0],xmm6[1],xmm1[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[1,3,2,3]
-; AVX1-NEXT: vmovlps %xmm3, (%rsi)
-; AVX1-NEXT: vmovlps %xmm4, (%rdx)
-; AVX1-NEXT: vmovlps %xmm5, (%rcx)
-; AVX1-NEXT: vmovlps %xmm0, (%r8)
-; AVX1-NEXT: vmovlps %xmm6, (%r9)
-; AVX1-NEXT: vmovlps %xmm1, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride6_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm1[2,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0],xmm3[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[2,0,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm2[2,2,3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm1[0],xmm6[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[1,3,2,3]
+; AVX1-ONLY-NEXT: vmovlps %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovlps %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovlps %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovlps %xmm0, (%r8)
+; AVX1-ONLY-NEXT: vmovlps %xmm6, (%r9)
+; AVX1-ONLY-NEXT: vmovlps %xmm1, (%rax)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride6_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX2-NEXT: vmovaps (%rdi), %xmm1
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm2
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm3
-; AVX2-NEXT: vpermilps {{.*#+}} xmm4 = xmm2[2,2,3,3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm4 = xmm1[0],xmm4[1],xmm1[2,3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0,1],xmm2[2,3]
-; AVX2-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm5 = xmm3[0,1],xmm1[2,3]
-; AVX2-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[2,0,2,3]
-; AVX2-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,3,3,3]
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
-; AVX2-NEXT: vmovaps {{.*#+}} xmm3 = <4,2,u,u>
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
-; AVX2-NEXT: vpermps %ymm0, %ymm3, %ymm3
-; AVX2-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
-; AVX2-NEXT: vpermps %ymm0, %ymm6, %ymm0
-; AVX2-NEXT: vmovlps %xmm4, (%rsi)
-; AVX2-NEXT: vmovlps %xmm2, (%rdx)
-; AVX2-NEXT: vmovlps %xmm5, (%rcx)
-; AVX2-NEXT: vmovlps %xmm1, (%r8)
-; AVX2-NEXT: vmovlps %xmm3, (%r9)
-; AVX2-NEXT: vmovlps %xmm0, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride6_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm2[2,2,3,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm1[0],xmm4[1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm3[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[2,0,2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,3,3,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm3 = <4,2,u,u>
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX2-ONLY-NEXT: vpermps %ymm0, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovlps %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovlps %xmm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovlps %xmm5, (%rcx)
+; AVX2-ONLY-NEXT: vmovlps %xmm1, (%r8)
+; AVX2-ONLY-NEXT: vmovlps %xmm3, (%r9)
+; AVX2-ONLY-NEXT: vmovlps %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride6_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX512-NEXT: vmovaps (%rdi), %xmm1
-; AVX512-NEXT: vmovaps 16(%rdi), %xmm2
-; AVX512-NEXT: vmovaps 32(%rdi), %xmm3
-; AVX512-NEXT: vpermilps {{.*#+}} xmm4 = xmm2[2,2,3,3]
-; AVX512-NEXT: vblendps {{.*#+}} xmm4 = xmm1[0],xmm4[1],xmm1[2,3]
-; AVX512-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0,1],xmm2[2,3]
-; AVX512-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[1,3,2,3]
-; AVX512-NEXT: vblendps {{.*#+}} xmm5 = xmm3[0,1],xmm1[2,3]
-; AVX512-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[2,0,2,3]
-; AVX512-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,3,3,3]
-; AVX512-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
-; AVX512-NEXT: vmovaps {{.*#+}} xmm3 = <4,2,u,u>
-; AVX512-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
-; AVX512-NEXT: vpermps %ymm0, %ymm3, %ymm3
-; AVX512-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
-; AVX512-NEXT: vpermps %ymm0, %ymm6, %ymm0
-; AVX512-NEXT: vmovlps %xmm4, (%rsi)
-; AVX512-NEXT: vmovlps %xmm2, (%rdx)
-; AVX512-NEXT: vmovlps %xmm5, (%rcx)
-; AVX512-NEXT: vmovlps %xmm1, (%r8)
-; AVX512-NEXT: vmovlps %xmm3, (%r9)
-; AVX512-NEXT: vmovlps %xmm0, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i32>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i32_stride6_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm1, %r10d
+; AVX512F-SLOW-NEXT: vpinsrd $1, %r10d, %xmm0, %xmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[1,3,2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,0,2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vmovaps {{.*#+}} xmm2 = <4,2,u,u>
+; AVX512F-SLOW-NEXT: vmovaps 32(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],mem[4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpermps %ymm5, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX512F-SLOW-NEXT: vpermps %ymm5, %ymm6, %ymm5
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovlps %xmm2, (%r9)
+; AVX512F-SLOW-NEXT: vmovlps %xmm5, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride6_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm0 = [25769803776,25769803776]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [30064771073,30064771073]
+; AVX512F-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm4
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm2 = [17179869186,17179869186]
+; AVX512F-FAST-NEXT: vpermi2d %xmm3, %xmm1, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <3,5,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %xmm3, %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vmovaps {{.*#+}} xmm1 = <4,2,u,u>
+; AVX512F-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],mem[4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpermps %ymm3, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX512F-FAST-NEXT: vpermps %ymm3, %ymm6, %ymm3
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovlps %xmm1, (%r9)
+; AVX512F-FAST-NEXT: vmovlps %xmm3, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride6_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm1, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrd $1, %r10d, %xmm0, %xmm3
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm0[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[1,3,2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[2,0,2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vmovaps {{.*#+}} xmm2 = <4,2,u,u>
+; AVX512BW-SLOW-NEXT: vmovaps 32(%rdi), %ymm5
+; AVX512BW-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],mem[4,5],ymm5[6,7]
+; AVX512BW-SLOW-NEXT: vpermps %ymm5, %ymm2, %ymm2
+; AVX512BW-SLOW-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX512BW-SLOW-NEXT: vpermps %ymm5, %ymm6, %ymm5
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm2, (%r9)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm5, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride6_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm0 = [25769803776,25769803776]
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm0
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [30064771073,30064771073]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm4
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm2 = [17179869186,17179869186]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm3, %xmm1, %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <3,5,u,u>
+; AVX512BW-FAST-NEXT: vpermi2d %xmm3, %xmm1, %xmm5
+; AVX512BW-FAST-NEXT: vmovaps {{.*#+}} xmm1 = <4,2,u,u>
+; AVX512BW-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX512BW-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],mem[4,5],ymm3[6,7]
+; AVX512BW-FAST-NEXT: vpermps %ymm3, %ymm1, %ymm1
+; AVX512BW-FAST-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX512BW-FAST-NEXT: vpermps %ymm3, %ymm6, %ymm3
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm4, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm2, (%rcx)
+; AVX512BW-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-FAST-NEXT: vmovlps %xmm1, (%r9)
+; AVX512BW-FAST-NEXT: vmovlps %xmm3, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <12 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <2 x i32> <i32 0, i32 6>
%strided.vec1 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <2 x i32> <i32 1, i32 7>
%strided.vec4 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <2 x i32> <i32 4, i32 10>
%strided.vec5 = shufflevector <12 x i32> %wide.vec, <12 x i32> poison, <2 x i32> <i32 5, i32 11>
- store <2 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i32> %strided.vec3, ptr %out.vec3, align 32
- store <2 x i32> %strided.vec4, ptr %out.vec4, align 32
- store <2 x i32> %strided.vec5, ptr %out.vec5, align 32
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i32> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: movapd %xmm0, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride6_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX1-NEXT: vmovaps (%rdi), %ymm1
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm2, %xmm3
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm2[0,1],xmm3[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm4 = xmm4[0,2],xmm3[0,3]
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm5
-; AVX1-NEXT: vinsertps {{.*#+}} xmm4 = xmm4[0,1,2],xmm5[2]
-; AVX1-NEXT: vshufps {{.*#+}} xmm2 = xmm2[1,0],xmm3[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm2 = xmm2[0,2],xmm3[1,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm5[3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm0, %xmm1
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm0[2,0],xmm1[2,3]
-; AVX1-NEXT: vmovaps 80(%rdi), %xmm6
-; AVX1-NEXT: vinsertps {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[3,3]
-; AVX1-NEXT: vinsertps {{.*#+}} xmm0 = xmm0[0,1,2],xmm6[1]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm1
-; AVX1-NEXT: vpermilps {{.*#+}} xmm7 = xmm1[2,2,3,3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm8
-; AVX1-NEXT: vblendps {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm9 = xmm5[0,1],xmm6[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[0,1,0,2]
-; AVX1-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
-; AVX1-NEXT: vpmovzxdq {{.*#+}} xmm5 = xmm5[0],zero,xmm5[1],zero
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm6[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm8[0,1],xmm1[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[1,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3]
-; AVX1-NEXT: vmovaps %xmm4, (%rsi)
-; AVX1-NEXT: vmovaps %xmm2, (%rdx)
-; AVX1-NEXT: vmovaps %xmm3, (%rcx)
-; AVX1-NEXT: vmovaps %xmm0, (%r8)
-; AVX1-NEXT: vmovaps %xmm7, (%r9)
-; AVX1-NEXT: vmovaps %xmm1, (%rax)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride6_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm2[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm4 = xmm4[0,2],xmm3[0,3]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm4 = xmm4[0,1,2],xmm5[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm2[1,0],xmm3[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm2[0,2],xmm3[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm5[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm3 = xmm0[2,0],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[3,3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm0 = xmm0[0,1,2],xmm6[1]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm1[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm5[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[0,1,0,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm5 = xmm5[0],zero,xmm5[1],zero
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm8[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm7, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i32_stride6_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovdqa (%rdi), %ymm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm2
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm0 = <0,6,4,u>
-; AVX2-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
-; AVX2-NEXT: vpermd %ymm3, %ymm0, %ymm0
-; AVX2-NEXT: vmovdqa 64(%rdi), %xmm4
-; AVX2-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[2,2,2,2]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm5[3]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm5 = <1,7,5,u>
-; AVX2-NEXT: vpermd %ymm3, %ymm5, %ymm3
-; AVX2-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3]
-; AVX2-NEXT: vmovdqa (%rdi), %xmm5
-; AVX2-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,3,2,3]
-; AVX2-NEXT: vpshufd {{.*#+}} ymm7 = ymm2[0,0,2,3,4,4,6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0],ymm7[1,2,3],ymm6[4],ymm7[5,6,7]
-; AVX2-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,3,2,3]
-; AVX2-NEXT: vmovdqa 80(%rdi), %xmm7
-; AVX2-NEXT: vpbroadcastd %xmm7, %xmm8
-; AVX2-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
-; AVX2-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,3,3,3]
-; AVX2-NEXT: vpshufd {{.*#+}} ymm8 = ymm2[0,1,3,3,4,5,7,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm8[1,2,3],ymm5[4],ymm8[5,6,7]
-; AVX2-NEXT: vpermq {{.*#+}} ymm5 = ymm5[0,3,2,3]
-; AVX2-NEXT: vpbroadcastd 84(%rdi), %xmm8
-; AVX2-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm8 = xmm4[0,1],xmm7[2,3]
-; AVX2-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,2]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm9 = <4,2,u,u>
-; AVX2-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
-; AVX2-NEXT: vpermd %ymm1, %ymm9, %ymm2
-; AVX2-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm8[2,3]
-; AVX2-NEXT: vpmovzxdq {{.*#+}} xmm4 = xmm4[0],zero,xmm4[1],zero
-; AVX2-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1,2],xmm7[3]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm7 = <5,3,u,u>
-; AVX2-NEXT: vpermd %ymm1, %ymm7, %ymm1
-; AVX2-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm4[2,3]
-; AVX2-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX2-NEXT: vmovdqa %xmm3, (%rdx)
-; AVX2-NEXT: vmovdqa %xmm6, (%rcx)
-; AVX2-NEXT: vmovdqa %xmm5, (%r8)
-; AVX2-NEXT: vmovdqa %xmm2, (%r9)
-; AVX2-NEXT: vmovdqa %xmm1, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i32_stride6_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <0,6,4,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm4[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm5[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <1,7,5,u>
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm5, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm6 = xmm5[2,3,2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm7 = ymm2[0,0,2,3,4,4,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0],ymm7[1,2,3],ymm6[4],ymm7[5,6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,3,2,3]
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpbroadcastd %xmm7, %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[3,3,3,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm8 = ymm2[0,1,3,3,4,5,7,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm8[1,2,3],ymm5[4],ymm8[5,6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm5[0,3,2,3]
+; AVX2-ONLY-NEXT: vpbroadcastd 84(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm4[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm8 = xmm8[0,1,0,2]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <4,2,u,u>
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm9, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm4 = xmm4[0],zero,xmm4[1],zero
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1,2],xmm7[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <5,3,u,u>
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm7, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride6_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %xmm2
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX512-NEXT: vpextrd $2, %xmm0, %r10d
-; AVX512-NEXT: vpinsrd $1, %r10d, %xmm2, %xmm4
-; AVX512-NEXT: vmovd %xmm3, %r10d
-; AVX512-NEXT: vpinsrd $2, %r10d, %xmm4, %xmm4
-; AVX512-NEXT: vmovdqa 64(%rdi), %xmm5
-; AVX512-NEXT: vpextrd $2, %xmm5, %r10d
-; AVX512-NEXT: vpinsrd $3, %r10d, %xmm4, %xmm4
-; AVX512-NEXT: vpextrd $1, %xmm3, %r10d
-; AVX512-NEXT: vpblendd {{.*#+}} xmm6 = xmm2[0,1],xmm0[2,3]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,3,2,3]
-; AVX512-NEXT: vpinsrd $2, %r10d, %xmm6, %xmm6
-; AVX512-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm5[3]
-; AVX512-NEXT: vpblendd {{.*#+}} xmm7 = xmm1[0,1],xmm2[2,3]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,0,2,3]
-; AVX512-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm3[2],xmm7[3]
-; AVX512-NEXT: vmovdqa 80(%rdi), %xmm8
-; AVX512-NEXT: vmovd %xmm8, %edi
-; AVX512-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
-; AVX512-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm1[1],xmm2[2,3]
-; AVX512-NEXT: vpextrd $3, %xmm3, %edi
-; AVX512-NEXT: vpinsrd $2, %edi, %xmm2, %xmm2
-; AVX512-NEXT: vpextrd $1, %xmm8, %edi
-; AVX512-NEXT: vpinsrd $3, %edi, %xmm2, %xmm2
-; AVX512-NEXT: vpextrd $2, %xmm1, %edi
-; AVX512-NEXT: vpinsrd $1, %edi, %xmm0, %xmm3
-; AVX512-NEXT: vmovd %xmm5, %edi
-; AVX512-NEXT: vpinsrd $2, %edi, %xmm3, %xmm3
-; AVX512-NEXT: vpextrd $2, %xmm8, %edi
-; AVX512-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
-; AVX512-NEXT: vpextrd $1, %xmm5, %edi
-; AVX512-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
-; AVX512-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[1,3,2,3]
-; AVX512-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3]
-; AVX512-NEXT: vmovdqa %xmm4, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm6, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm7, (%rcx)
-; AVX512-NEXT: vmovdqa %xmm2, (%r8)
-; AVX512-NEXT: vmovdqa %xmm3, (%r9)
-; AVX512-NEXT: vmovdqa %xmm0, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i32>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i32_stride6_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrd $1, %r10d, %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vmovd %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpinsrd $2, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm5, %r10d
+; AVX512F-SLOW-NEXT: vpinsrd $3, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrd $1, %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,3,2,3]
+; AVX512F-SLOW-NEXT: vpinsrd $2, %r10d, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm1[0,1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,0,2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm3[2],xmm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $2, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $3, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $1, %edi, %xmm0, %xmm3
+; AVX512F-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $2, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512F-SLOW-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrd $1, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[1,3,2,3]
+; AVX512F-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3]
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i32_stride6_vf4:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm1 = [25769803776,25769803776]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm6 = [17179869186,17179869186]
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836483,21474836483]
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm1, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm4, %r10d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %r10d, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm8, %r10d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %r10d, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [30064771073,30064771073]
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm9, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm4, %r10d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %r10d, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm4[2],xmm6[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm10, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpextrd $3, %xmm4, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm10, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm10, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm3, %xmm9, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm10[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i32_stride6_vf4:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [25769803776,25769803776]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, %xmm5
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm6 = [17179869186,17179869186]
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm2, %xmm0, %xmm6
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836483,21474836483]
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm2, %xmm0, %xmm7
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm1, %xmm4, %xmm0
+; AVX512DQ-FAST-NEXT: vmovd %xmm3, %r10d
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %r10d, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm8, %r10d
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %r10d, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [30064771073,30064771073]
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm1, %xmm9, %xmm5
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm3, %r10d
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %r10d, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm3[2],xmm6[3]
+; AVX512DQ-FAST-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX512DQ-FAST-NEXT: vmovd %xmm10, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm3
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm10, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm4
+; AVX512DQ-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm10, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm2, %xmm9, %xmm1
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm10[3]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm4, (%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride6_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrd $1, %r10d, %xmm2, %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %r10d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm5, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %r10d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrd $1, %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,3,2,3]
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %r10d, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm1[0,1],xmm2[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm7[2,0,2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm3[2],xmm7[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512BW-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512BW-SLOW-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $1, %edi, %xmm0, %xmm3
+; AVX512BW-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512BW-SLOW-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrd $1, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[1,3,2,3]
+; AVX512BW-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-ONLY-FAST-LABEL: load_i32_stride6_vf4:
+; AVX512BW-ONLY-FAST: # %bb.0:
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm1 = [25769803776,25769803776]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm2, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm6 = [17179869186,17179869186]
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836483,21474836483]
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm2, %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm1, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm4, %r10d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %r10d, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm8, %r10d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %r10d, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [30064771073,30064771073]
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm9, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm4, %r10d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %r10d, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm4[2],xmm6[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm10, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $3, %xmm4, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm10, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm3, %xmm0, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm10, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm1, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm3, %xmm9, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm10[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-ONLY-FAST-NEXT: retq
+;
+; AVX512DQBW-FAST-LABEL: load_i32_stride6_vf4:
+; AVX512DQBW-FAST: # %bb.0:
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512DQBW-FAST-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512DQBW-FAST-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512DQBW-FAST-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm4 = [25769803776,25769803776]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm0, %xmm5
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm6 = [17179869186,17179869186]
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm2, %xmm0, %xmm6
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836483,21474836483]
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm2, %xmm0, %xmm7
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm1, %xmm4, %xmm0
+; AVX512DQBW-FAST-NEXT: vmovd %xmm3, %r10d
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %r10d, %xmm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm8, %r10d
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %r10d, %xmm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [30064771073,30064771073]
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm1, %xmm9, %xmm5
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm3, %r10d
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %r10d, %xmm5, %xmm5
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1,2],xmm8[3]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],xmm3[2],xmm6[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX512DQBW-FAST-NEXT: vmovd %xmm10, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512DQBW-FAST-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm3
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm10, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm2, %xmm1, %xmm4
+; AVX512DQBW-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm4, %xmm4
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm10, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm2, %xmm9, %xmm1
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm10[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm4, (%r9)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512DQBW-FAST-NEXT: retq
+ %wide.vec = load <24 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <4 x i32> <i32 0, i32 6, i32 12, i32 18>
%strided.vec1 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <4 x i32> <i32 1, i32 7, i32 13, i32 19>
%strided.vec4 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <4 x i32> <i32 4, i32 10, i32 16, i32 22>
%strided.vec5 = shufflevector <24 x i32> %wide.vec, <24 x i32> poison, <4 x i32> <i32 5, i32 11, i32 17, i32 23>
- store <4 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i32> %strided.vec3, ptr %out.vec3, align 32
- store <4 x i32> %strided.vec4, ptr %out.vec4, align 32
- store <4 x i32> %strided.vec5, ptr %out.vec5, align 32
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i32> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: movapd %xmm6, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride6_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm6
-; AVX1-NEXT: vmovaps (%rdi), %ymm7
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm5
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm0[2,0],ymm5[0,0],ymm0[6,4],ymm5[4,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm5[2,2],ymm2[6,4],ymm5[6,6]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm7[0,1,2,3],ymm6[4,5],ymm7[6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm8, %xmm9
-; AVX1-NEXT: vblendps {{.*#+}} xmm10 = xmm8[0,1],xmm9[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm10 = xmm10[0,2],xmm9[0,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm10[0,1,2],ymm2[3,4,5],ymm10[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm10[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm11[2,0],ymm10[0,0],ymm11[6,4],ymm10[4,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm12[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm0[3,0],ymm5[1,0],ymm0[7,4],ymm5[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm12[2,0],ymm5[2,3],ymm12[6,4],ymm5[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} xmm8 = xmm8[1,0],xmm9[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm8 = xmm8[0,2],xmm9[1,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm8[0,1,2],ymm5[3,4,5],ymm8[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm11[3,0],ymm10[1,0],ymm11[7,4],ymm10[5,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm8[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm8[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm9[0,0],ymm8[2,0],ymm9[4,4],ymm8[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm6[0,1],ymm7[2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm7, %xmm11
-; AVX1-NEXT: vshufps {{.*#+}} xmm6 = xmm7[2,0],xmm11[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm0[2,1],ymm1[2,0],ymm0[6,5],ymm1[6,4]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm12[2,3,0,1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4],ymm6[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm10[5,6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm9[0,1],ymm8[3,1],ymm9[4,5],ymm8[7,5]
-; AVX1-NEXT: vshufps {{.*#+}} xmm7 = xmm7[3,1],xmm11[3,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm9 = ymm0[3,1],ymm1[2,1],ymm0[7,5],ymm1[6,5]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm9[2,3,0,1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2],ymm9[3,4],ymm7[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm3[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm3[2,0],ymm4[0,0],ymm3[6,4],ymm4[4,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm4[0,2],ymm8[2,0],ymm4[4,6],ymm8[6,4]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm9
-; AVX1-NEXT: vpermilps {{.*#+}} xmm10 = xmm9[2,2,3,3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm11
-; AVX1-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
-; AVX1-NEXT: vmovapd 80(%rdi), %xmm12
-; AVX1-NEXT: vshufpd {{.*#+}} ymm13 = ymm12[1],ymm1[0],ymm12[2],ymm1[2]
-; AVX1-NEXT: vshufps {{.*#+}} ymm13 = ymm0[0,1],ymm13[2,0],ymm0[4,5],ymm13[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1],ymm13[2,3,4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm3[3,0],ymm4[1,0],ymm3[7,4],ymm4[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm4[0,3],ymm3[2,0],ymm4[4,7],ymm3[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm11[0,1],xmm9[2,3]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm12[3,1],ymm1[1,3],ymm12[7,5],ymm1[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,1],ymm1[2,0],ymm0[5,5],ymm1[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3,4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vmovaps %ymm2, (%rsi)
-; AVX1-NEXT: vmovaps %ymm5, (%rdx)
-; AVX1-NEXT: vmovaps %ymm6, (%rcx)
-; AVX1-NEXT: vmovaps %ymm7, (%r8)
-; AVX1-NEXT: vmovaps %ymm8, (%r9)
-; AVX1-NEXT: vmovaps %ymm0, (%rax)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride6_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm5
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm0[2,0],ymm5[0,0],ymm0[6,4],ymm5[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm5[2,2],ymm2[6,4],ymm5[6,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm7[0,1,2,3],ymm6[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm8, %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm8[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm10 = xmm10[0,2],xmm9[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm10[0,1,2],ymm2[3,4,5],ymm10[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm10[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm11[2,0],ymm10[0,0],ymm11[6,4],ymm10[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm12[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm0[3,0],ymm5[1,0],ymm0[7,4],ymm5[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm12[2,0],ymm5[2,3],ymm12[6,4],ymm5[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm8[1,0],xmm9[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm8[0,2],xmm9[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm8[0,1,2],ymm5[3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm11[3,0],ymm10[1,0],ymm11[7,4],ymm10[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm9[0,0],ymm8[2,0],ymm9[4,4],ymm8[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm6[0,1],ymm7[2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm11
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm6 = xmm7[2,0],xmm11[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm0[2,1],ymm1[2,0],ymm0[6,5],ymm1[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm12[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm9[0,1],ymm8[3,1],ymm9[4,5],ymm8[7,5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm7 = xmm7[3,1],xmm11[3,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm0[3,1],ymm1[2,1],ymm0[7,5],ymm1[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm9[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2],ymm9[3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm3[2,0],ymm4[0,0],ymm3[6,4],ymm4[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm4[0,2],ymm8[2,0],ymm4[4,6],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm9[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm12[1],ymm1[0],ymm12[2],ymm1[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm0[0,1],ymm13[2,0],ymm0[4,5],ymm13[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1],ymm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[3,0],ymm4[1,0],ymm3[7,4],ymm4[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm4[0,3],ymm3[2,0],ymm4[4,7],ymm3[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm11[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm12[3,1],ymm1[1,3],ymm12[7,5],ymm1[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,1],ymm1[2,0],ymm0[5,5],ymm1[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
; AVX2-SLOW-LABEL: load_i32_stride6_vf8:
; AVX2-SLOW: # %bb.0:
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: load_i32_stride6_vf8:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-FAST-ALL-NEXT: vmovaps 128(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovaps 160(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovaps 96(%rdi), %ymm5
-; AVX2-FAST-ALL-NEXT: vmovaps (%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovaps 32(%rdi), %ymm4
-; AVX2-FAST-ALL-NEXT: vmovaps 64(%rdi), %ymm6
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm2 = <0,6,4,u>
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm7, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm6[0,1],ymm5[0,1]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm9 = ymm8[0,1,2,2,4,5,6,6]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm5[2,2,2,2,6,6,6,6]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm10[1],ymm9[2,3,4],ymm10[5],ymm9[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm9[3,4,5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm10 = [8589934596,8589934596,8589934596,8589934596]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm9, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm10[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm10 = <1,7,5,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm7, %ymm10, %ymm7
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[1,1,2,3,5,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm5[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0],ymm10[1],ymm8[2,3,4],ymm10[5],ymm8[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2],ymm8[3,4,5],ymm7[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm8 = [12884901893,12884901893,12884901893,12884901893]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm9, %ymm8, %ymm8
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm9 = <u,u,u,4,2,u,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm8, %ymm9, %ymm8
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm9 = ymm3[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm4[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm10[1,2,3],ymm9[4],ymm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4],ymm9[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm9 = ymm1[0,0,0,0,4,4,4,4]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm0[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2],ymm9[3],ymm10[4,5,6],ymm9[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm9 = ymm5[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm6[1],ymm9[2,3,4],ymm6[5],ymm9[6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,0,3]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm3[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm11 = ymm4[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0],ymm11[1,2,3],ymm10[4],ymm11[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2],ymm9[3,4],ymm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm10 = ymm1[0,1,0,1,4,5,4,5]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm11 = ymm0[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2],ymm10[3],ymm11[4,5,6],ymm10[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps 80(%rdi), %xmm10
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm5[0,1],ymm10[2,3],ymm5[4,5],ymm10[6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[0,1,0,2,4,5,4,6]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm11 = <4,2,u,u>
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm3, %ymm11, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm6[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm1 = [0,2,0,6,0,2,0,6]
-; AVX2-FAST-ALL-NEXT: # ymm1 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm1, %ymm1
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm4 = ymm5[1,1,1,1,5,5,5,5]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2],ymm10[3],ymm4[4,5,6],ymm10[7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm5 = <5,3,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm3, %ymm5, %ymm3
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,3,1,7,0,3,1,7]
-; AVX2-FAST-ALL-NEXT: # ymm4 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm4, %ymm0
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm8, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm9, (%r8)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm1, (%r9)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, (%rax)
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i32_stride6_vf8:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm2 = <0,6,4,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm6[0,1],ymm5[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm9 = ymm8[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm5[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm10[1],ymm9[2,3,4],ymm10[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm9[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm10 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-FAST-NEXT: vpermps %ymm9, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm10 = <1,7,5,u>
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm10, %ymm7
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm5[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0],ymm10[1],ymm8[2,3,4],ymm10[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2],ymm8[3,4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm8 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-FAST-NEXT: vpermps %ymm9, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm9 = <u,u,u,4,2,u,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm9, %ymm8
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm9 = ymm3[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm4[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm10[1,2,3],ymm9[4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm9[0,1,2],ymm8[3,4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm9 = ymm1[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm0[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2],ymm9[3],ymm10[4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm9 = ymm5[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0],ymm6[1],ymm9[2,3,4],ymm6[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,0,3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm3[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm11 = ymm4[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0],ymm11[1,2,3],ymm10[4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2],ymm9[3,4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm10 = ymm1[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm11 = ymm0[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2],ymm10[3],ymm11[4,5,6],ymm10[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vmovaps 80(%rdi), %xmm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm5[0,1],ymm10[2,3],ymm5[4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm11 = <4,2,u,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm11, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm6[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm1 = [0,2,0,6,0,2,0,6]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm4 = ymm5[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2],ymm10[3],ymm4[4,5,6],ymm10[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm5 = <5,3,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm5, %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,3,1,7,0,3,1,7]
+; AVX2-FAST-NEXT: # ymm4 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm4, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %ymm7, (%rdx)
+; AVX2-FAST-NEXT: vmovaps %ymm8, (%rcx)
+; AVX2-FAST-NEXT: vmovaps %ymm9, (%r8)
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
; AVX2-FAST-PERLANE-LABEL: load_i32_stride6_vf8:
; AVX2-FAST-PERLANE: # %bb.0:
; AVX512-LABEL: load_i32_stride6_vf8:
; AVX512: # %bb.0:
; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm3
; AVX512-NEXT: vmovdqa 128(%rdi), %ymm0
; AVX512-NEXT: vmovdqa 160(%rdi), %ymm1
; AVX512-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
; AVX512-NEXT: vmovdqa %ymm2, (%rax)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <48 x i32>, ptr %in.vec, align 32
+ %wide.vec = load <48 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <8 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42>
%strided.vec1 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <8 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43>
%strided.vec4 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <8 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46>
%strided.vec5 = shufflevector <48 x i32> %wide.vec, <48 x i32> poison, <8 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47>
- store <8 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i32> %strided.vec3, ptr %out.vec3, align 32
- store <8 x i32> %strided.vec4, ptr %out.vec4, align 32
- store <8 x i32> %strided.vec5, ptr %out.vec5, align 32
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i32> %strided.vec5, ptr %out.vec5, align 64
ret void
}
define void @load_i32_stride6_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
; SSE-LABEL: load_i32_stride6_vf16:
; SSE: # %bb.0:
-; SSE-NEXT: subq $360, %rsp # imm = 0x168
-; SSE-NEXT: movdqa 144(%rdi), %xmm8
-; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 160(%rdi), %xmm4
-; SSE-NEXT: movdqa 96(%rdi), %xmm11
-; SSE-NEXT: movdqa %xmm11, (%rsp) # 16-byte Spill
-; SSE-NEXT: movdqa 112(%rdi), %xmm5
-; SSE-NEXT: movdqa 240(%rdi), %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 256(%rdi), %xmm7
-; SSE-NEXT: movdqa 192(%rdi), %xmm15
+; SSE-NEXT: subq $376, %rsp # imm = 0x178
+; SSE-NEXT: movdqa 64(%rdi), %xmm4
+; SSE-NEXT: movdqa (%rdi), %xmm15
; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 208(%rdi), %xmm14
-; SSE-NEXT: movdqa 64(%rdi), %xmm12
-; SSE-NEXT: movdqa (%rdi), %xmm9
-; SSE-NEXT: movdqa 16(%rdi), %xmm13
-; SSE-NEXT: movdqa 48(%rdi), %xmm1
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[2,3,2,3]
-; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm9, %xmm3
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,2,3,3]
-; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm3[0],xmm6[1]
-; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[2,3,2,3]
+; SSE-NEXT: movdqa 16(%rdi), %xmm5
+; SSE-NEXT: movdqa 48(%rdi), %xmm14
; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm15, %xmm3
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[2,2,3,3]
-; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: movdqa 336(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm7
+; SSE-NEXT: movdqa 288(%rdi), %xmm13
+; SSE-NEXT: movdqa 304(%rdi), %xmm8
+; SSE-NEXT: movdqa 240(%rdi), %xmm6
+; SSE-NEXT: movdqa 256(%rdi), %xmm3
+; SSE-NEXT: movdqa 192(%rdi), %xmm0
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,2,3,3]
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm6[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,3,2,3]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[2,2,3,3]
; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm3[0],xmm6[1]
-; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[2,3,2,3]
-; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[2,3,2,3]
; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm11, %xmm3
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[2,2,3,3]
-; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm14
+; SSE-NEXT: movdqa 112(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
+; SSE-NEXT: movdqa %xmm2, %xmm11
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm15
+; SSE-NEXT: movdqa 160(%rdi), %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa %xmm4, %xmm12
; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[0,0,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm10[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[2,3,2,3]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm4
; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa 288(%rdi), %xmm2
-; SSE-NEXT: movdqa 304(%rdi), %xmm0
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[2,3,2,3]
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa %xmm2, %xmm4
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; SSE-NEXT: movdqa 336(%rdi), %xmm11
-; SSE-NEXT: movdqa 352(%rdi), %xmm5
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[2,2,3,3]
-; SSE-NEXT: movdqa %xmm5, %xmm15
-; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm11[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm4[0],xmm5[1]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[3,3,3,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[2,3,2,3]
-; SSE-NEXT: movdqa %xmm1, %xmm8
-; SSE-NEXT: movdqa %xmm1, %xmm5
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[3,3,3,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm10[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
-; SSE-NEXT: movdqa %xmm10, %xmm5
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movdqa (%rsp), %xmm14 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[3,3,3,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm6[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
-; SSE-NEXT: movdqa %xmm6, %xmm5
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[1,1,1,1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[3,3,3,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[2,3,2,3]
-; SSE-NEXT: movdqa %xmm11, %xmm5
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[2,2,3,3]
-; SSE-NEXT: movdqa %xmm8, %xmm15
-; SSE-NEXT: movdqa 80(%rdi), %xmm0
-; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
-; SSE-NEXT: movdqa %xmm9, %xmm13
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[2,3,2,3]
-; SSE-NEXT: movdqa 32(%rdi), %xmm5
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1]
-; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movdqa %xmm13, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,3,3]
-; SSE-NEXT: movdqa 272(%rdi), %xmm9
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm9[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,3,2,3]
-; SSE-NEXT: movdqa %xmm1, %xmm8
-; SSE-NEXT: movdqa 224(%rdi), %xmm1
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
-; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,2,3,3]
-; SSE-NEXT: movdqa 368(%rdi), %xmm12
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm11[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,3,2,3]
+; SSE-NEXT: movdqa %xmm15, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa 272(%rdi), %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,0,1,1]
+; SSE-NEXT: movdqa %xmm3, %xmm11
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa 224(%rdi), %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[2,2,3,3]
+; SSE-NEXT: movdqa 368(%rdi), %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,0,1,1]
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[2,3,2,3]
; SSE-NEXT: movdqa 320(%rdi), %xmm7
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm7[0],xmm3[1],xmm7[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
-; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,3,3]
-; SSE-NEXT: movdqa 176(%rdi), %xmm3
-; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[2,3,2,3]
-; SSE-NEXT: movdqa 128(%rdi), %xmm6
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
-; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[3,3,3,3]
-; SSE-NEXT: movdqa %xmm5, %xmm4
-; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[1,1,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm5[0],xmm15[1],xmm5[1]
-; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[3,3,3,3]
-; SSE-NEXT: movdqa %xmm1, %xmm13
-; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa 80(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,0,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,3,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm15[2,2,3,3]
+; SSE-NEXT: movdqa 176(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,3,2,3]
+; SSE-NEXT: movdqa 128(%rdi), %xmm13
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[2,3,2,3]
-; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
-; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm0[0],xmm10[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[3,3,3,3]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm11[0],xmm1[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[3,3,3,3]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[1,1,1,1]
; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm11[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm12[0],xmm8[1],xmm12[1]
-; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm0[0],xmm8[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,3,3,3]
-; SSE-NEXT: movdqa %xmm6, %xmm3
-; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,3,2,3]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm8
; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
; SSE-NEXT: # xmm11 = mem[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm2[0],xmm11[1],xmm2[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
-; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
-; SSE-NEXT: # xmm6 = mem[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm15[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm5[0],xmm14[1],xmm5[1]
+; SSE-NEXT: movdqa %xmm5, (%rsp) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm0[0],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm1
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,3,3]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm9[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm9[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: movdqa %xmm8, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,3,2,3]
; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[2,2,3,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm13[0,0,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
-; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[1,1,1,1]
-; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,2,3,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm10[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,0,1,1]
; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[3,3,3,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm2[0],xmm14[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm1[0],xmm14[1]
-; SSE-NEXT: movapd %xmm14, %xmm3
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[1,1,1,1]
; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[3,3,3,3]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
; SSE-NEXT: # xmm2 = mem[2,3,2,3]
; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1]
; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm1[0],xmm9[1]
-; SSE-NEXT: movapd %xmm9, %xmm14
-; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
-; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[1,1,1,1]
; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[3,3,3,3]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[2,3,2,3]
-; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
-; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm1[0],xmm9[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm2[0],xmm12[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm1[0],xmm12[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm2[0],xmm10[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
; SSE-NEXT: # xmm1 = mem[1,1,1,1]
; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[3,3,3,3]
; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $238, (%rsp), %xmm2 # 16-byte Folded Reload
; SSE-NEXT: # xmm2 = mem[2,3,2,3]
-; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm1[0],xmm13[1]
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rsi)
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 16(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, (%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps %xmm1, 48(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps %xmm1, 32(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, (%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 16(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 48(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movapd %xmm14, 16(%r8)
+; SSE-NEXT: movapd %xmm11, (%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, (%rcx)
-; SSE-NEXT: movapd %xmm11, 16(%r8)
-; SSE-NEXT: movapd %xmm8, 48(%r8)
-; SSE-NEXT: movapd %xmm10, 32(%r8)
-; SSE-NEXT: movapd %xmm15, (%r8)
-; SSE-NEXT: movapd %xmm0, 48(%r9)
-; SSE-NEXT: movapd %xmm4, 16(%r9)
-; SSE-NEXT: movapd %xmm5, 32(%r9)
-; SSE-NEXT: movapd %xmm6, (%r9)
+; SSE-NEXT: movaps %xmm1, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movapd %xmm0, 16(%r9)
+; SSE-NEXT: movapd %xmm3, (%r9)
+; SSE-NEXT: movapd %xmm4, 48(%r9)
+; SSE-NEXT: movapd %xmm15, 32(%r9)
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; SSE-NEXT: movapd %xmm13, 16(%rax)
-; SSE-NEXT: movapd %xmm9, (%rax)
-; SSE-NEXT: movapd %xmm14, 32(%rax)
-; SSE-NEXT: movapd %xmm3, 48(%rax)
-; SSE-NEXT: addq $360, %rsp # imm = 0x168
+; SSE-NEXT: movapd %xmm5, 16(%rax)
+; SSE-NEXT: movapd %xmm10, (%rax)
+; SSE-NEXT: movapd %xmm12, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: addq $376, %rsp # imm = 0x178
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i32_stride6_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $360, %rsp # imm = 0x168
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm6
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm7
-; AVX1-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm2
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 352(%rdi), %ymm3
-; AVX1-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm4
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm5
-; AVX1-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 288(%rdi), %ymm1
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 256(%rdi), %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm9
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm9[0,0],ymm1[6,4],ymm9[4,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm9[2,2],ymm0[6,4],ymm9[6,6]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm5[0,1,2,3],ymm4[4,5],ymm5[6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm10, %xmm15
-; AVX1-NEXT: vblendps {{.*#+}} xmm1 = xmm10[0,1],xmm15[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm1[0,2],xmm15[0,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm3[0,1,2,3],ymm2[4,5],ymm3[6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm5[2,3,0,1]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm0[2,0],ymm5[0,0],ymm0[6,4],ymm5[4,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm2[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm7, %ymm2
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm6[2,0],ymm2[0,0],ymm6[6,4],ymm2[4,4]
-; AVX1-NEXT: vmovaps %ymm6, %ymm7
-; AVX1-NEXT: vshufps {{.*#+}} ymm13 = ymm1[2,0],ymm2[2,2],ymm1[6,4],ymm2[6,6]
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm11
-; AVX1-NEXT: vmovaps (%rdi), %ymm8
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm8[0,1,2,3],ymm11[4,5],ymm8[6,7]
-; AVX1-NEXT: vextractf128 $1, %ymm3, %xmm0
-; AVX1-NEXT: vblendps {{.*#+}} xmm14 = xmm3[0,1],xmm0[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} xmm14 = xmm14[0,2],xmm0[0,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm14[0,1,2],ymm13[3,4,5],ymm14[6,7]
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm12
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm12[0,1,2,3],ymm4[4,5],ymm12[6,7]
-; AVX1-NEXT: vmovaps %ymm12, %ymm13
-; AVX1-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps %ymm4, %ymm14
-; AVX1-NEXT: vmovups %ymm4, (%rsp) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm1[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm12 = ymm4[2,0],ymm1[0,0],ymm4[6,4],ymm1[4,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm12[6,7]
-; AVX1-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm6 = ymm7[3,0],ymm2[1,0],ymm7[7,4],ymm2[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm6[2,0],ymm2[2,3],ymm6[6,4],ymm2[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm3[1,0],xmm0[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm0 = xmm3[0,2],xmm0[1,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm4[3,0],ymm1[1,0],ymm4[7,4],ymm1[5,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm6[3,0],ymm9[1,0],ymm6[7,4],ymm9[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm9[2,3],ymm0[6,4],ymm9[6,7]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm10[1,0],xmm15[3,0]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm1[0,2],xmm15[1,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm1 = ymm1[3,0],ymm5[1,0],ymm1[7,4],ymm5[5,4]
-; AVX1-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1],ymm8[2,3],ymm11[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm7, %ymm9
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm7[2,1],ymm15[2,0],ymm7[6,5],ymm15[6,4]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3,0,1]
-; AVX1-NEXT: vextractf128 $1, %ymm1, %xmm2
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm1[2,0],xmm2[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3,4],ymm3[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm14[0,1,2,3],ymm13[4,5],ymm14[6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm3[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm4[0,0],ymm3[2,0],ymm4[4,4],ymm3[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm5[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm5 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm6, %ymm10
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
-; AVX1-NEXT: vshufps {{.*#+}} ymm0 = ymm6[2,1],ymm12[2,0],ymm6[6,5],ymm12[6,4]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3,0,1]
-; AVX1-NEXT: vextractf128 $1, %ymm5, %xmm6
-; AVX1-NEXT: vshufps {{.*#+}} xmm7 = xmm5[2,0],xmm6[2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2],ymm0[3,4],ymm7[5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm13[0,1,2,3],ymm14[4,5],ymm13[6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm7[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm11 = ymm8[0,0],ymm7[2,0],ymm8[4,4],ymm7[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm11[5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm4[0,1],ymm3[3,1],ymm4[4,5],ymm3[7,5]
-; AVX1-NEXT: vshufps {{.*#+}} xmm1 = xmm1[3,1],xmm2[3,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm9[3,1],ymm15[2,1],ymm9[7,5],ymm15[6,5]
-; AVX1-NEXT: vmovaps %ymm15, %ymm0
-; AVX1-NEXT: vmovaps %ymm9, %ymm15
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3,0,1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm8[0,1],ymm7[3,1],ymm8[4,5],ymm7[7,5]
-; AVX1-NEXT: vshufps {{.*#+}} xmm3 = xmm5[3,1],xmm6[3,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm4 = ymm10[3,1],ymm12[2,1],ymm10[7,5],ymm12[6,5]
-; AVX1-NEXT: vmovaps %ymm12, %ymm1
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm4[2,3,0,1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3,4],ymm3[5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm2 = mem[0,1],ymm2[2,3],mem[4,5,6,7]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm3
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm3[2,2,3,3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm5
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
-; AVX1-NEXT: vmovapd 80(%rdi), %xmm6
-; AVX1-NEXT: vshufpd {{.*#+}} ymm7 = ymm6[1],ymm0[0],ymm6[2],ymm0[2]
-; AVX1-NEXT: vshufps {{.*#+}} ymm7 = ymm9[0,1],ymm7[2,0],ymm9[4,5],ymm7[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm7[2,3,4,5,6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm2[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm2[2,0],ymm7[0,0],ymm2[6,4],ymm7[4,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm8 = ymm7[0,2],ymm8[2,0],ymm7[4,6],ymm8[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm8[5,6,7]
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm14[0,1],ymm13[2,3],ymm14[4,5,6,7]
-; AVX1-NEXT: vmovaps 224(%rdi), %xmm8
-; AVX1-NEXT: vpermilps {{.*#+}} xmm11 = xmm8[2,2,3,3]
-; AVX1-NEXT: vmovaps 208(%rdi), %xmm12
-; AVX1-NEXT: vblendps {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2,3]
-; AVX1-NEXT: vmovapd 272(%rdi), %xmm14
-; AVX1-NEXT: vshufpd {{.*#+}} ymm9 = ymm14[1],ymm1[0],ymm14[2],ymm1[2]
-; AVX1-NEXT: vmovaps %ymm10, %ymm13
-; AVX1-NEXT: vshufps {{.*#+}} ymm9 = ymm10[0,1],ymm9[2,0],ymm10[4,5],ymm9[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm4[2,3,0,1]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm4[2,0],ymm11[0,0],ymm4[6,4],ymm11[4,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,2],ymm10[2,0],ymm11[4,6],ymm10[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm2[3,0],ymm7[1,0],ymm2[7,4],ymm7[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm2 = ymm7[0,3],ymm2[2,0],ymm7[4,7],ymm2[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} xmm3 = xmm5[0,1],xmm3[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm6[3,1],ymm0[1,3],ymm6[7,5],ymm0[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm15[1,1],ymm5[2,0],ymm15[5,5],ymm5[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[1,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3,4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm4[3,0],ymm11[1,0],ymm4[7,4],ymm11[5,4]
-; AVX1-NEXT: vshufps {{.*#+}} ymm3 = ymm11[0,3],ymm3[2,0],ymm11[4,7],ymm3[6,4]
-; AVX1-NEXT: vblendps {{.*#+}} xmm4 = xmm12[0,1],xmm8[2,3]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm14[3,1],ymm1[1,3],ymm14[7,5],ymm1[5,7]
-; AVX1-NEXT: vshufps {{.*#+}} ymm5 = ymm13[1,1],ymm5[2,0],ymm13[5,5],ymm5[6,4]
-; AVX1-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vmovaps %ymm9, 32(%r9)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm0, (%r9)
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps %ymm3, 32(%rax)
-; AVX1-NEXT: vmovaps %ymm2, (%rax)
-; AVX1-NEXT: addq $360, %rsp # imm = 0x168
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i32_stride6_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm2[2,0],ymm6[0,0],ymm2[6,4],ymm6[4,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm12
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,0],ymm6[2,2],ymm4[6,4],ymm6[6,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm8[0,1,2,3],ymm5[4,5],ymm8[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm9, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm9[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm11 = xmm11[0,2],xmm2[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm11[0,1,2],ymm4[3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm3[0,1,2,3],ymm1[4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm13
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm10[2,0],ymm5[0,0],ymm10[6,4],ymm5[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm7, %ymm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm15[2,0],ymm1[0,0],ymm15[6,4],ymm1[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm4[2,0],ymm1[2,2],ymm4[6,4],ymm1[6,6]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm0[4,5],ymm14[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm4[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm11 = xmm11[0,2],xmm0[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1,2],ymm3[3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm7[0,1,2,3],ymm3[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm7[2,0],ymm3[0,0],ymm7[6,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm12[3,0],ymm6[1,0],ymm12[7,4],ymm6[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm8[2,0],ymm6[2,3],ymm8[6,4],ymm6[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm9[1,0],xmm2[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm8[0,2],xmm2[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm6[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm10[3,0],ymm5[1,0],ymm10[7,4],ymm5[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm15[3,0],ymm1[1,0],ymm15[7,4],ymm1[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm2[2,0],ymm1[2,3],ymm2[6,4],ymm1[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm4[1,0],xmm0[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm2[0,2],xmm0[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm7[3,0],ymm3[1,0],ymm7[7,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm12[2,1],ymm9[2,0],ymm12[6,5],ymm9[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm0[2,0],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm13[0,1,2,3],ymm12[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm5[0,0],ymm4[2,0],ymm5[4,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = mem[0,1],ymm14[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm15[2,1],ymm6[2,0],ymm15[6,5],ymm6[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm10 = xmm7[2,0],xmm8[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm10[0,1,2],ymm2[3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm1[0,1,2,3],ymm13[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm10[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm11[0,0],ymm10[2,0],ymm11[4,4],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[0,1],ymm4[3,1],ymm5[4,5],ymm4[7,5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm0[3,1],xmm3[3,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm2[3,1],ymm9[2,1],ymm2[7,5],ymm9[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm3[3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm11[0,1],ymm10[3,1],ymm11[4,5],ymm10[7,5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm3 = xmm7[3,1],xmm8[3,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm15[3,1],ymm6[2,1],ymm15[7,5],ymm6[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = ymm12[0,1],mem[2,3],ymm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm4[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm5[0],xmm0[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm8 = ymm7[1],ymm9[0],ymm7[2],ymm9[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm2[0,1],ymm8[2,0],ymm2[4,5],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm8[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm3[2,0],ymm8[0,0],ymm3[6,4],ymm8[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm8[0,2],ymm10[2,0],ymm8[4,6],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm13[0,1],ymm1[2,3],ymm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm11[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovapd 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm0[1],ymm6[0],ymm0[2],ymm6[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm15[0,1],ymm9[2,0],ymm15[4,5],ymm9[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm9[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm10[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm10[2,0],ymm9[0,0],ymm10[6,4],ymm9[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm9[0,2],ymm14[2,0],ymm9[4,6],ymm14[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[3,0],ymm8[1,0],ymm3[7,4],ymm8[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm8[0,3],ymm3[2,0],ymm8[4,7],ymm3[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vshufps $215, (%rsp), %ymm7, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = ymm7[3,1],mem[1,3],ymm7[7,5],mem[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm12[1,1],ymm5[2,0],ymm12[5,5],ymm5[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm10[3,0],ymm9[1,0],ymm10[7,4],ymm9[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm9[0,3],ymm4[2,0],ymm9[4,7],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm11[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,1],ymm6[1,3],ymm0[7,5],ymm6[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm15[1,1],ymm0[2,0],ymm15[5,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX1-ONLY-NEXT: addq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
; AVX2-SLOW-LABEL: load_i32_stride6_vf16:
; AVX2-SLOW: # %bb.0:
-; AVX2-SLOW-NEXT: subq $232, %rsp
-; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm8
+; AVX2-SLOW-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %ymm3
; AVX2-SLOW-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm2
-; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm7
-; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm9
-; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm10
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm4 = <0,6,4,u>
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1,2,3],ymm9[4,5],ymm10[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm4, %ymm6
-; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm1[0,1],ymm7[0,1]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm14 = <0,6,4,u>
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm14, %ymm0
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm3[0,1],ymm5[0,1]
; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm12 = ymm11[0,1,2,2,4,5,6,6]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm13 = ymm7[2,2,2,2,6,6,6,6]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm13 = ymm5[2,2,2,2,6,6,6,6]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4,5],ymm6[6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7]
-; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm2 = [8589934596,8589934596,8589934596,8589934596]
-; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm2, %ymm12
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm12[3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm1[0,1,2,3],ymm7[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm6 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm6, %ymm13
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm13[6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm3[0,1],ymm8[0,1]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm12 = ymm6[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm9[0,1],ymm8[0,1]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,2,2,4,5,6,6]
; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm13 = ymm8[2,2,2,2,6,6,6,6]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm14
-; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm15
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm15[4,5],ymm14[6,7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm1 = <0,6,4,u>
-; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm1, %ymm13
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm13[0,1,2],ymm12[3,4,5],ymm13[6,7]
-; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm12
-; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm13
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm13[0,1,2,3],ymm12[4,5],ymm13[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm2, %ymm2
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[1,1,2,3,5,5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[2,3,2,3,6,7,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4],ymm3[5],ymm2[6,7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm3 = <1,7,5,u>
-; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm3, %ymm0
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
-; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm2 = [12884901893,12884901893,12884901893,12884901893]
-; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm2, %ymm1
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermps %ymm5, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0],ymm13[1],ymm1[2,3,4],ymm13[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm15[4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm14, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2],ymm13[3,4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm13[4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm6, %ymm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[1,1,2,3,5,5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm7[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm6 = ymm5[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm6 = <1,7,5,u>
+; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm6, %ymm10
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2],ymm1[3,4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm10, %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm6, %ymm0
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[1,1,2,3,5,5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[2,3,2,3,6,7,6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3,4],ymm3[5],ymm1[6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm10, %ymm1
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[2,3,2,3,6,7,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,0,2,3,4,4,6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm8[2,3],ymm6[4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,0,0,0,4,4,4,4]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm12[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,0,2,3,4,4,6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[2,3,2,3,6,7,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,0,2,3,4,4,6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm7[2,3],ymm5[4,5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm8[2,3],ymm9[4,5],ymm8[6,7]
; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,0,2,3,4,4,6,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[3,3,3,3,7,7,7,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm11[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,1,3,3,4,5,7,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[3,3,3,3,7,7,7,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,0,1,4,5,4,5]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm12[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vmovaps %ymm3, %ymm11
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm7, %ymm10
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-SLOW-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm7[3,3,3,3,7,7,7,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3,4],ymm9[5],ymm1[6,7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,1,3,3,4,5,7,7]
-; AVX2-SLOW-NEXT: vmovaps %ymm4, %ymm11
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,1,3,3,4,5,7,7]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm10[4,5],ymm9[6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-SLOW-NEXT: vmovaps 272(%rdi), %xmm5
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1],ymm5[2,3],ymm4[4,5],ymm5[6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,0,2,4,5,4,6]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm7 = <4,2,u,u>
-; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm7, %ymm9
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm1[2,3,4,5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm3[0,1],ymm11[2,3],ymm3[4,5,6,7]
-; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm10 = [0,2,0,6,0,2,0,6]
-; AVX2-SLOW-NEXT: # ymm10 = mem[0,1,0,1]
-; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm10, %ymm11
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm11[5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm6[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1,2,3],ymm14[4,5],ymm15[6,7]
-; AVX2-SLOW-NEXT: vmovaps 80(%rdi), %xmm14
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm8[0,1],ymm14[2,3],ymm8[4,5],ymm14[6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,0,2,4,5,4,6]
-; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm7, %ymm7
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1],ymm15[2,3,4,5,6,7]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm13[0,1],ymm12[2,3],ymm13[4,5,6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm10, %ymm10
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[1,1,1,1,5,5,5,5]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2],ymm5[3],ymm4[4,5,6],ymm5[7]
-; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm5 = <5,3,u,u>
-; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm5, %ymm2
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
-; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,3,1,7,0,3,1,7]
-; AVX2-SLOW-NEXT: # ymm4 = mem[0,1,0,1]
-; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm4, %ymm9
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[1,1,1,1,5,5,5,5]
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2],ymm14[3],ymm8[4,5,6],ymm14[7]
-; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm5, %ymm5
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm8[2,3,4,5,6,7]
-; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm4, %ymm4
-; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm15[0,1,2,3],ymm4[4,5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 272(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm4 = <4,2,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm14[0,1],ymm13[2,3],ymm14[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm9 = [0,2,0,6,0,2,0,6]
+; AVX2-SLOW-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm9, %ymm13
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = ymm12[0,1,2,3],mem[4,5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vmovaps 80(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm14 = ymm5[0,1],ymm13[2,3],ymm5[4,5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm14 = ymm11[0,1],ymm10[2,3],ymm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm14, %ymm9, %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm3[3],ymm2[4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm3 = <5,3,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm2 = [0,3,1,7,0,3,1,7]
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpermps %ymm8, %ymm2, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2],ymm13[3],ymm5[4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm14, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rsi)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm5, 32(%rsi)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rdx)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rcx)
; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rcx)
-; AVX2-SLOW-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
-; AVX2-SLOW-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%r9)
-; AVX2-SLOW-NEXT: vmovaps %ymm7, (%r9)
+; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-SLOW-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r9)
; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-SLOW-NEXT: vmovaps %ymm2, 32(%rax)
-; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rax)
-; AVX2-SLOW-NEXT: addq $232, %rsp
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-SLOW-NEXT: addq $264, %rsp # imm = 0x108
; AVX2-SLOW-NEXT: vzeroupper
; AVX2-SLOW-NEXT: retq
;
-; AVX2-FAST-ALL-LABEL: load_i32_stride6_vf16:
-; AVX2-FAST-ALL: # %bb.0:
-; AVX2-FAST-ALL-NEXT: subq $232, %rsp
-; AVX2-FAST-ALL-NEXT: vmovaps 96(%rdi), %ymm8
-; AVX2-FAST-ALL-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX2-FAST-ALL-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps 320(%rdi), %ymm3
-; AVX2-FAST-ALL-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps 288(%rdi), %ymm7
-; AVX2-FAST-ALL-NEXT: vmovaps 256(%rdi), %ymm2
-; AVX2-FAST-ALL-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovaps 224(%rdi), %ymm9
-; AVX2-FAST-ALL-NEXT: vmovaps 192(%rdi), %ymm10
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm4 = <0,6,4,u>
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1,2,3],ymm9[4,5],ymm10[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm5, %ymm4, %ymm6
-; AVX2-FAST-ALL-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm2[0,1],ymm7[0,1]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm12 = ymm11[0,1,2,2,4,5,6,6]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm13 = ymm7[2,2,2,2,6,6,6,6]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4,5],ymm6[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm3[4,5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm2 = [8589934596,8589934596,8589934596,8589934596]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm2, %ymm12
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm12[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[0,1],ymm8[0,1]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm12 = ymm6[0,1,2,2,4,5,6,6]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm13 = ymm8[2,2,2,2,6,6,6,6]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps (%rdi), %ymm14
-; AVX2-FAST-ALL-NEXT: vmovaps 32(%rdi), %ymm15
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm15[4,5],ymm14[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm1 = <0,6,4,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm1, %ymm13
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm3 = ymm13[0,1,2],ymm12[3,4,5],ymm13[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps 128(%rdi), %ymm12
-; AVX2-FAST-ALL-NEXT: vmovaps 160(%rdi), %ymm13
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm13[0,1,2,3],ymm12[4,5],ymm13[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm2, %ymm2
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[1,1,2,3,5,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4],ymm3[5],ymm2[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm3 = <1,7,5,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm3, %ymm0
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastsd {{.*#+}} ymm2 = [12884901893,12884901893,12884901893,12884901893]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm2, %ymm1
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermps %ymm5, %ymm3, %ymm0
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[1,1,2,3,5,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm3 = ymm7[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3,4],ymm3[5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm4, %ymm2, %ymm1
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm8[2,3],ymm6[4,5],ymm8[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} ymm2 = [2,0,6,4,2,0,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm1, %ymm2, %ymm1
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,0,0,0,4,4,4,4]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm3 = ymm12[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1],ymm7[2,3],ymm5[4,5],ymm7[6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm0, %ymm2, %ymm0
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[2,3,2,3,6,7,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm2 = ymm9[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3],ymm1[4],ymm2[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,0,2,3,4,4,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,0,1,4,5,4,5]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm2 = ymm12[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm7[3,3,3,3,7,7,7,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,1,3,3,4,5,7,7]
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm4, %ymm11
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
-; AVX2-FAST-ALL-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm10[4,5],ymm9[6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps 272(%rdi), %xmm5
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1],ymm5[2,3],ymm4[4,5],ymm5[6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,0,2,4,5,4,6]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm7 = <4,2,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm7, %ymm9
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm1[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm9 = ymm3[0,1],ymm11[2,3],ymm3[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm10 = [0,2,0,6,0,2,0,6]
-; AVX2-FAST-ALL-NEXT: # ymm10 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm9, %ymm10, %ymm11
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm11[5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm6[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1,2,3],ymm14[4,5],ymm15[6,7]
-; AVX2-FAST-ALL-NEXT: vmovaps 80(%rdi), %xmm14
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm15 = ymm8[0,1],ymm14[2,3],ymm8[4,5],ymm14[6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,0,2,4,5,4,6]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm11, %ymm7, %ymm7
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1],ymm15[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm12 = ymm13[0,1],ymm12[2,3],ymm13[4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm12, %ymm10, %ymm10
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[1,1,1,1,5,5,5,5]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2],ymm5[3],ymm4[4,5,6],ymm5[7]
-; AVX2-FAST-ALL-NEXT: vmovaps {{.*#+}} xmm5 = <5,3,u,u>
-; AVX2-FAST-ALL-NEXT: vpermps %ymm2, %ymm5, %ymm2
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,3,1,7,0,3,1,7]
-; AVX2-FAST-ALL-NEXT: # ymm4 = mem[0,1,0,1]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm9, %ymm4, %ymm9
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[1,1,1,1,5,5,5,5]
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2],ymm14[3],ymm8[4,5,6],ymm14[7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm11, %ymm5, %ymm5
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm8[2,3,4,5,6,7]
-; AVX2-FAST-ALL-NEXT: vpermps %ymm12, %ymm4, %ymm4
-; AVX2-FAST-ALL-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm5, (%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm5, 32(%rdx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm5, (%rdx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX2-FAST-ALL-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm3, (%rcx)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX2-FAST-ALL-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm1, 32(%r9)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm7, (%r9)
-; AVX2-FAST-ALL-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm2, 32(%rax)
-; AVX2-FAST-ALL-NEXT: vmovaps %ymm4, (%rax)
-; AVX2-FAST-ALL-NEXT: addq $232, %rsp
-; AVX2-FAST-ALL-NEXT: vzeroupper
-; AVX2-FAST-ALL-NEXT: retq
+; AVX2-FAST-LABEL: load_i32_stride6_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-FAST-NEXT: vmovaps 288(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovaps 256(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm14 = <0,6,4,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm14, %ymm0
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm2[0,1],ymm5[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm12 = ymm11[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm13 = ymm5[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm12[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm12 = ymm7[0,1,2,3],ymm3[4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm6 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm6, %ymm13
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm9[0,1],ymm8[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm13 = ymm8[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0],ymm13[1],ymm1[2,3,4],ymm13[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps 224(%rdi), %ymm15
+; AVX2-FAST-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm15[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm14, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2],ymm13[3,4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX2-FAST-NEXT: vmovaps 352(%rdi), %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm13[4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm6 = ymm5[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm6 = <1,7,5,u>
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm6, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2],ymm1[3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm10, %ymm11
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm6, %ymm0
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3,4],ymm3[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm12[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm2 = [2,0,6,4,2,0,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovaps %ymm7, %ymm10
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm7[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm3 = ymm7[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1],ymm8[2,3],ymm9[4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm4[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3],ymm1[4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm12[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vmovaps %ymm11, %ymm12
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vmovaps %ymm10, %ymm11
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vmovaps %ymm7, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3,4],ymm9[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm15[0,1,2,3],ymm4[4,5],ymm15[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovaps 272(%rdi), %xmm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm4 = <4,2,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm4, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm8 = ymm14[0,1],ymm13[2,3],ymm14[4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm9 = [0,2,0,6,0,2,0,6]
+; AVX2-FAST-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm9, %ymm13
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm7 = ymm12[0,1,2,3],mem[4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vmovaps 80(%rdi), %xmm13
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm14 = ymm5[0,1],ymm13[2,3],ymm5[4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm14 = ymm11[0,1],ymm10[2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm14, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm3[3],ymm2[4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm3 = <5,3,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm2 = [0,3,1,7,0,3,1,7]
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm8, %ymm2, %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2],ymm13[3],ymm5[4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm14, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX2-FAST-NEXT: vmovaps %ymm4, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-NEXT: addq $264, %rsp # imm = 0x108
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
;
; AVX2-FAST-PERLANE-LABEL: load_i32_stride6_vf16:
; AVX2-FAST-PERLANE: # %bb.0:
-; AVX2-FAST-PERLANE-NEXT: subq $232, %rsp
-; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %ymm3
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm2
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm7
-; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm9
-; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm10
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm4 = <0,6,4,u>
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1,2,3],ymm9[4,5],ymm10[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm4, %ymm6
-; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm1[0,1],ymm7[0,1]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm14 = <0,6,4,u>
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm14, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm3[0,1],ymm5[0,1]
; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm12 = ymm11[0,1,2,2,4,5,6,6]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm13 = ymm7[2,2,2,2,6,6,6,6]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm13 = ymm5[2,2,2,2,6,6,6,6]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2],ymm12[3,4,5],ymm6[6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm2[4,5],ymm0[6,7]
-; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm2 = [8589934596,8589934596,8589934596,8589934596]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm2, %ymm12
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm12[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm1[0,1,2,3],ymm7[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm6 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm6, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm13[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm3[0,1],ymm8[0,1]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm12 = ymm6[0,1,2,2,4,5,6,6]
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm9[0,1],ymm8[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,2,2,4,5,6,6]
; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm13 = ymm8[2,2,2,2,6,6,6,6]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm14
-; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm15
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm15[4,5],ymm14[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm1 = <0,6,4,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm1, %ymm13
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm13[0,1,2],ymm12[3,4,5],ymm13[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm12
-; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm13
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm13[0,1,2,3],ymm12[4,5],ymm13[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm2, %ymm2
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0],ymm13[1],ymm1[2,3,4],ymm13[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm15[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm14, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2],ymm13[3,4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm13[4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm6, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm6 = ymm5[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm6 = <1,7,5,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm6, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2],ymm1[3,4,5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm10, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm6, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[1,1,2,3,5,5,6,7]
; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm8[2,3,2,3,6,7,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2,3,4],ymm3[5],ymm2[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm3 = <1,7,5,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm3, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3,4,5],ymm0[6,7]
-; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm2 = [12884901893,12884901893,12884901893,12884901893]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm2, %ymm1
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm5, %ymm3, %ymm0
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[1,1,2,3,5,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm7[2,3,2,3,6,7,6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm3[1],ymm1[2,3,4],ymm3[5],ymm1[6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm10, %ymm1
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[2,3,2,3,6,7,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,0,2,3,4,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm8[2,3],ymm6[4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1],ymm5[2,3],ymm6[4,5],ymm5[6,7]
; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,0,0,0,4,4,4,4]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm12[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,0,2,3,4,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[2,3,2,3,6,7,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,0,2,3,4,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1],ymm7[2,3],ymm5[4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm8[2,3],ymm9[4,5],ymm8[6,7]
; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,0,2,3,4,4,6,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[3,3,3,3,7,7,7,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm11[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,1,3,3,4,5,7,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[3,3,3,3,7,7,7,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm6[1],ymm1[2,3,4],ymm6[5],ymm1[6,7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,0,1,4,5,4,5]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm12[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, %ymm10
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm15[0,1,3,3,4,5,7,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm7[3,3,3,3,7,7,7,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3,4],ymm9[5],ymm1[6,7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm4[0,1,3,3,4,5,7,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm13[0,1,3,3,4,5,7,7]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm10[4,5],ymm9[6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps 272(%rdi), %xmm5
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm4[0,1],ymm5[2,3],ymm4[4,5],ymm5[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,0,2,4,5,4,6]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm7 = <4,2,u,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm7, %ymm9
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm1[2,3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm3[0,1],ymm11[2,3],ymm3[4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm10 = [0,2,0,6,0,2,0,6]
-; AVX2-FAST-PERLANE-NEXT: # ymm10 = mem[0,1,0,1]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm10, %ymm11
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm11[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm6[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1,2,3],ymm14[4,5],ymm15[6,7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps 80(%rdi), %xmm14
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm8[0,1],ymm14[2,3],ymm8[4,5],ymm14[6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,0,2,4,5,4,6]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm7, %ymm7
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1],ymm15[2,3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm13[0,1],ymm12[2,3],ymm13[4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm10, %ymm10
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm10[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[1,1,1,1,5,5,5,5]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2],ymm5[3],ymm4[4,5,6],ymm5[7]
-; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm5 = <5,3,u,u>
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm5, %ymm2
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm4 = [0,3,1,7,0,3,1,7]
-; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[0,1,0,1]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm4, %ymm9
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm9[5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[1,1,1,1,5,5,5,5]
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2],ymm14[3],ymm8[4,5,6],ymm14[7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm5, %ymm5
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm8[2,3,4,5,6,7]
-; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm4, %ymm4
-; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm15[0,1,2,3],ymm4[4,5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 272(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm4 = <4,2,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm14[0,1],ymm13[2,3],ymm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm9 = [0,2,0,6,0,2,0,6]
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm9, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = ymm12[0,1,2,3],mem[4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 80(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm14 = ymm5[0,1],ymm13[2,3],ymm5[4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm14 = ymm11[0,1],ymm10[2,3],ymm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm14, %ymm9, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4],ymm9[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm3[3],ymm2[4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm3 = <5,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm2 = [0,3,1,7,0,3,1,7]
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm8, %ymm2, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2],ymm13[3],ymm5[4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm14, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rsi)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 32(%rsi)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rdx)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r9)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%r9)
; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 32(%rax)
-; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rax)
-; AVX2-FAST-PERLANE-NEXT: addq $232, %rsp
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $264, %rsp # imm = 0x108
; AVX2-FAST-PERLANE-NEXT: vzeroupper
; AVX2-FAST-PERLANE-NEXT: retq
;
-; AVX512-LABEL: load_i32_stride6_vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm6
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,12,0,0,0,20,26,0,6,12,0,0,0,20,26]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm5, %zmm6, %zmm7
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = <0,6,12,18,24,30,u,u>
-; AVX512-NEXT: vpermi2d %zmm4, %zmm3, %zmm2
-; AVX512-NEXT: movb $56, %dil
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa64 %zmm7, %zmm2 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm7
-; AVX512-NEXT: movw $-2048, %di # imm = 0xF800
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqa32 %zmm7, %zmm2 {%k1}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [1,7,13,0,0,0,21,27,1,7,13,0,0,0,21,27]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm5, %zmm6, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <1,7,13,19,25,31,u,u>
-; AVX512-NEXT: vpermi2d %zmm4, %zmm3, %zmm7
-; AVX512-NEXT: vmovdqa64 %zmm8, %zmm7 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm7 {%k1}
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <2,8,14,20,26,u,u,u>
-; AVX512-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [18,24,30,0,0,0,6,12,18,24,30,0,0,0,6,12]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm6, %zmm5, %zmm9
-; AVX512-NEXT: movw $31, %di
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm9 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm9 {%k1}
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <3,9,15,21,27,u,u,u>
-; AVX512-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [19,25,31,0,0,1,7,13,19,25,31,0,0,1,7,13]
-; AVX512-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm6, %zmm5, %zmm10
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm10 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm10 {%k1}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [20,26,0,0,0,2,8,14,20,26,0,0,0,2,8,14]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm11 = <20,26,0,6,12,u,u,u>
-; AVX512-NEXT: vpermi2d %zmm3, %zmm4, %zmm11
-; AVX512-NEXT: movw $992, %di # imm = 0x3E0
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm11 {%k1}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: movb $-32, %dil
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa64 %zmm8, %zmm11 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [21,27,0,0,0,3,9,15,21,27,0,0,0,3,9,15]
-; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = <21,27,1,7,13,u,u,u>
-; AVX512-NEXT: vpermi2d %zmm3, %zmm4, %zmm5
-; AVX512-NEXT: vmovdqa32 %zmm8, %zmm5 {%k1}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
-; AVX512-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm3
-; AVX512-NEXT: vmovdqa64 %zmm3, %zmm5 {%k2}
-; AVX512-NEXT: vmovdqu64 %zmm2, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm7, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm9, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm10, (%r8)
-; AVX512-NEXT: vmovdqu64 %zmm11, (%r9)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <96 x i32>, ptr %in.vec, align 32
+; AVX512F-LABEL: load_i32_stride6_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,12,0,0,0,20,26,0,6,12,0,0,0,20,26]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm6, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = <0,6,12,18,24,30,u,u>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm2
+; AVX512F-NEXT: movb $56, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm2 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm7
+; AVX512F-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm7, %zmm2 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [1,7,13,0,0,0,21,27,1,7,13,0,0,0,21,27]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm6, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <1,7,13,19,25,31,u,u>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm7 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <2,8,14,20,26,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [18,24,30,0,0,0,6,12,18,24,30,0,0,0,6,12]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm5, %zmm9
+; AVX512F-NEXT: movw $31, %di
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm9 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <3,9,15,21,27,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [19,25,31,0,0,1,7,13,19,25,31,0,0,1,7,13]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm5, %zmm10
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm10 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm10 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [20,26,0,0,0,2,8,14,20,26,0,0,0,2,8,14]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <20,26,0,6,12,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm4, %zmm11
+; AVX512F-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm11 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm11 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [21,27,0,0,0,3,9,15,21,27,0,0,0,3,9,15]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = <21,27,1,7,13,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm5 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm5 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm11, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride6_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,12,0,0,0,20,26,0,6,12,0,0,0,20,26]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm6, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <0,6,12,18,24,30,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm2
+; AVX512BW-NEXT: movb $56, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm2 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm7
+; AVX512BW-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm7, %zmm2 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [1,7,13,0,0,0,21,27,1,7,13,0,0,0,21,27]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm6, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <1,7,13,19,25,31,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm7 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <2,8,14,20,26,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [18,24,30,0,0,0,6,12,18,24,30,0,0,0,6,12]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm5, %zmm9
+; AVX512BW-NEXT: movw $31, %di
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <3,9,15,21,27,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [19,25,31,0,0,1,7,13,19,25,31,0,0,1,7,13]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm5, %zmm10
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm10 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm10 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [20,26,0,0,0,2,8,14,20,26,0,0,0,2,8,14]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <20,26,0,6,12,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm4, %zmm11
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm11 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm11 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [21,27,0,0,0,3,9,15,21,27,0,0,0,3,9,15]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm5, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <21,27,1,7,13,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm4, %zmm5
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm5 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm5 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <96 x i32>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <16 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90>
%strided.vec1 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <16 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91>
%strided.vec4 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <16 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94>
%strided.vec5 = shufflevector <96 x i32> %wide.vec, <96 x i32> poison, <16 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95>
- store <16 x i32> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i32> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i32> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i32> %strided.vec3, ptr %out.vec3, align 32
- store <16 x i32> %strided.vec4, ptr %out.vec4, align 32
- store <16 x i32> %strided.vec5, ptr %out.vec5, align 32
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i32> %strided.vec5, ptr %out.vec5, align 64
+
+ ret void
+}
+
+define void @load_i32_stride6_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i32_stride6_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1032, %rsp # imm = 0x408
+; SSE-NEXT: movdqa 336(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm5
+; SSE-NEXT: movdqa 288(%rdi), %xmm12
+; SSE-NEXT: movdqa 304(%rdi), %xmm6
+; SSE-NEXT: movdqa 624(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 640(%rdi), %xmm3
+; SSE-NEXT: movdqa 576(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 592(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm2
+; SSE-NEXT: movdqa 192(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa %xmm2, %xmm14
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,3,2,3]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,3,3]
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,3,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm8
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm11[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 672(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 688(%rdi), %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,3,2,3]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 720(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 736(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa %xmm2, %xmm11
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 384(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 400(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movdqa 432(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[2,3,2,3]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,2,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm5[0],xmm6[1]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 480(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 496(%rdi), %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; SSE-NEXT: movdqa 528(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 544(%rdi), %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm10[2,2,3,3]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm13[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm14[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm6[0],xmm14[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm5[0],xmm14[1]
+; SSE-NEXT: movapd %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm9[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm12[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm8[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm8[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm15[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm11[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, (%rsp), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm5[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm7[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm5[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm7[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm10[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,3,3]
+; SSE-NEXT: movdqa 656(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm13[2,3,2,3]
+; SSE-NEXT: movdqa 608(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa 752(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm8[2,3,2,3]
+; SSE-NEXT: movdqa 704(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa 464(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[2,3,2,3]
+; SSE-NEXT: movdqa 416(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,2,3,3]
+; SSE-NEXT: movdqa 560(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm7[2,3,2,3]
+; SSE-NEXT: movdqa 512(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa 272(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm12[2,3,2,3]
+; SSE-NEXT: movdqa 224(%rdi), %xmm11
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm11[0],xmm5[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,3,3]
+; SSE-NEXT: movdqa 368(%rdi), %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm13[2,3,2,3]
+; SSE-NEXT: movdqa 320(%rdi), %xmm10
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm10[0],xmm5[1],xmm10[1]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,3,3]
+; SSE-NEXT: movdqa 80(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm8[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa (%rsp), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm4[2,3,2,3]
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,3,3]
+; SSE-NEXT: movdqa 176(%rdi), %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm15[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm6[2,3,2,3]
+; SSE-NEXT: movdqa 128(%rdi), %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[1,1,1,1]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm12[0],xmm1[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,3,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm1[0],xmm8[1]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,3,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm1[0],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm1[0],xmm8[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm9[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,3,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,3,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, %xmm10
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm0[0],xmm9[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm1[0],xmm13[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm0[0],xmm13[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm1[0],xmm11[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm1[0],xmm15[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm2[0],xmm12[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movaps (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movapd %xmm3, 112(%r9)
+; SSE-NEXT: movapd %xmm4, 96(%r9)
+; SSE-NEXT: movapd %xmm5, 80(%r9)
+; SSE-NEXT: movapd %xmm6, 64(%r9)
+; SSE-NEXT: movapd %xmm7, 48(%r9)
+; SSE-NEXT: movapd %xmm8, 32(%r9)
+; SSE-NEXT: movapd %xmm14, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm12, 112(%rax)
+; SSE-NEXT: movapd %xmm15, 96(%rax)
+; SSE-NEXT: movapd %xmm11, 80(%rax)
+; SSE-NEXT: movapd %xmm13, 64(%rax)
+; SSE-NEXT: movapd %xmm9, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movapd %xmm10, (%rax)
+; SSE-NEXT: addq $1032, %rsp # imm = 0x408
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride6_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1064, %rsp # imm = 0x428
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm10[0,0],ymm1[6,4],ymm10[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm10[2,2],ymm0[6,4],ymm10[6,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3],ymm6[4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm1[0,2],xmm9[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm4[0,0],ymm1[6,4],ymm4[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm3, %ymm7
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm2[2,0],ymm7[0,0],ymm2[6,4],ymm7[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm7[2,2],ymm0[6,4],ymm7[6,6]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm1[0,2],xmm5[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm14[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm14[0,0],ymm1[6,4],ymm14[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm3[0,0],ymm1[6,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm3[2,2],ymm0[6,4],ymm3[6,6]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm2[0,1,2,3],ymm1[4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm13, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm13[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm1 = xmm1[0,2],xmm2[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm4[0,1,2,3],ymm1[4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm12[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm12[0,0],ymm1[6,4],ymm12[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 672(%rdi), %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm6[0,0],ymm1[6,4],ymm6[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm0[2,0],ymm6[2,2],ymm0[6,4],ymm6[6,6]
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm11, %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm15 = xmm11[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm15 = xmm15[0,2],xmm1[0,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm15[0,1,2],ymm4[3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3],ymm8[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm0[2,0],ymm8[0,0],ymm0[6,4],ymm8[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm15[3,0],ymm10[1,0],ymm15[7,4],ymm10[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,0],ymm10[2,3],ymm4[6,4],ymm10[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm10 = xmm0[1,0],xmm9[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm9 = xmm10[0,2],xmm9[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2],ymm4[3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $19, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm9 = ymm0[3,0],mem[1,0],ymm0[7,4],mem[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm9 = ymm9[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm9[3,0],ymm7[1,0],ymm9[7,4],ymm7[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[2,0],ymm7[2,3],ymm4[6,4],ymm7[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm7 = xmm0[1,0],xmm5[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm7[0,2],xmm5[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2],ymm4[3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[3,0],ymm14[1,0],ymm0[7,4],ymm14[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm14[3,0],ymm3[1,0],ymm14[7,4],ymm3[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm4[2,0],ymm3[2,3],ymm4[6,4],ymm3[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm4 = xmm13[1,0],xmm2[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm4[0,2],xmm2[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm3[3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm0[3,0],ymm12[1,0],ymm0[7,4],ymm12[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm5[3,0],ymm6[1,0],ymm5[7,4],ymm6[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm2[2,0],ymm6[2,3],ymm2[6,4],ymm6[6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm11[1,0],xmm1[3,0]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm2[0,2],xmm1[1,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm3[3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[3,0],ymm8[1,0],ymm1[7,4],ymm8[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vshufps $38, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm15[2,1],mem[2,0],ymm15[6,5],mem[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm3[2,0],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,0],ymm4[2,0],ymm0[4,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vshufps $38, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm9[2,1],mem[2,0],ymm9[6,5],mem[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm6 = xmm2[2,0],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2],ymm1[3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm10 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm10[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm0[0,0],ymm10[2,0],ymm0[4,4],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm11 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm11 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm5[2,1],ymm7[2,0],ymm5[6,5],ymm7[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm11, %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm9 = xmm11[2,0],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm9[0,1,2],ymm8[3,4],ymm9[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm9[0,0],ymm8[2,0],ymm9[4,4],ymm8[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm13[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm12 = ymm0[0,1],mem[2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm14[2,1],ymm1[2,0],ymm14[6,5],ymm1[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm13[2,3,0,1]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm14
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm15 = xmm12[2,0],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm15[0,1,2],ymm13[3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm15[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[0,0],ymm15[2,0],ymm0[4,4],ymm15[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[0,1],ymm4[3,1],ymm5[4,5],ymm4[7,5]
+; AVX1-ONLY-NEXT: vshufps $247, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm3[3,1],mem[3,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm13[3,1],ymm6[2,1],ymm13[7,5],ymm6[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm5[3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[0,1],ymm10[3,1],ymm3[4,5],ymm10[7,5]
+; AVX1-ONLY-NEXT: vshufps $247, (%rsp), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = xmm2[3,1],mem[3,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[3,1],ymm10[2,1],ymm5[7,5],ymm10[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm4[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,1],ymm15[3,1],ymm0[4,5],ymm15[7,5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm12[3,1],xmm14[3,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, %ymm14
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm4[3,1],ymm1[2,1],ymm4[7,5],ymm1[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm3[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2],ymm3[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm9[0,1],ymm8[3,1],ymm9[4,5],ymm8[7,5]
+; AVX1-ONLY-NEXT: vshufps $247, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm11[3,1],mem[3,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm8[3,1],ymm7[2,1],ymm8[7,5],ymm7[6,5]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = mem[0,1],ymm0[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm6[0],ymm1[2],ymm6[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm13[0,1],ymm1[2,0],ymm13[4,5],ymm1[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm7[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm7[2,0],ymm11[0,0],ymm7[6,4],ymm11[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm11[0,2],ymm1[2,0],ymm11[4,6],ymm1[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm6 = mem[0,1],ymm0[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovapd 464(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm10[0],ymm1[2],ymm10[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm5[0,1],ymm1[2,0],ymm5[4,5],ymm1[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm6[2,0],ymm1[0,0],ymm6[6,4],ymm1[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm1[0,2],ymm2[2,0],ymm1[4,6],ymm2[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm12 = mem[0,1],ymm0[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm15[0],xmm0[1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vmovapd 272(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[1],ymm14[0],ymm2[2],ymm14[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm4[0,1],ymm2[2,0],ymm4[4,5],ymm2[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1],ymm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm12[2,0],ymm0[0,0],ymm12[6,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm0[0,2],ymm3[2,0],ymm0[4,6],ymm3[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = mem[0,1],ymm2[2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm13[2,2,3,3]
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vmovapd 656(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm10 = ymm9[1],ymm3[0],ymm9[2],ymm3[2]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm8[0,1],ymm10[2,0],ymm8[4,5],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm10[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm4[2,0],ymm10[0,0],ymm4[6,4],ymm10[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm10[0,2],ymm14[2,0],ymm10[4,6],ymm14[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm7[3,0],ymm11[1,0],ymm7[7,4],ymm11[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm11[0,3],ymm2[2,0],ymm11[4,7],ymm2[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm7[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $215, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm11 = ymm11[3,1],mem[1,3],ymm11[7,5],mem[5,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm14[1,1],ymm11[2,0],ymm14[5,5],ymm11[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm7[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1],ymm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm7[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[3,0],ymm1[1,0],ymm6[7,4],ymm1[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[0,3],ymm6[2,0],ymm1[4,7],ymm6[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $215, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = ymm7[3,1],mem[1,3],ymm7[7,5],mem[5,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm11[1,1],ymm7[2,0],ymm11[5,5],ymm7[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm6[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm12[3,0],ymm0[1,0],ymm12[7,4],ymm0[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[0,3],ymm6[2,0],ymm0[4,7],ymm6[6,4]
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm15[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $215, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = ymm7[3,1],mem[1,3],ymm7[7,5],mem[5,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm11[1,1],ymm7[2,0],ymm11[5,5],ymm7[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm6[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4],ymm0[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm4[3,0],ymm10[1,0],ymm4[7,4],ymm10[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm10[0,3],ymm4[2,0],ymm10[4,7],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],xmm13[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm9[3,1],ymm3[1,3],ymm9[7,5],ymm3[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm8[1,1],ymm3[2,0],ymm8[5,5],ymm3[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[1,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: addq $1064, %rsp # imm = 0x428
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride6_vf32:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1160, %rsp # imm = 0x488
+; AVX2-SLOW-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovaps 448(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm12 = <0,6,4,u>
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[0,1],ymm11[0,1]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[2,2,2,2,6,6,6,6]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm3 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm7[0,1],ymm6[0,1]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[2,2,2,2,6,6,6,6]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovaps 416(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm12, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovaps 512(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm1[0,1],ymm0[0,1]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm12, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 352(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm0, %ymm3, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 672(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm1[0,1],ymm0[0,1]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,2,2,4,5,6,6]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm15 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-SLOW-NEXT: vmovaps %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm15[1],ymm1[2,3,4],ymm15[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovaps 608(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 576(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm12, %ymm12
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0,1,2],ymm1[3,4,5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vmovaps 704(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovaps 736(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm12 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm3, %ymm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[1,1,2,3,5,5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm1 = <1,7,5,u>
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-SLOW-NEXT: vpermps %ymm9, %ymm10, %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm8[1,1,2,3,5,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm8 = ymm9[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm8[1],ymm0[2,3,4],ymm8[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm1, %ymm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2],ymm0[3,4,5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm10, %ymm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm5[1,1,2,3,5,5,6,7]
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm5[1],ymm0[2,3,4],ymm5[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm4, %ymm1, %ymm4
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm3 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermps %ymm15, %ymm1, %ymm0
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[1,1,2,3,5,5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm14[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm12, %ymm10, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm11, %ymm8
+; AVX2-SLOW-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1],ymm11[2,3],ymm7[4,5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm12[0,1],ymm9[2,3],ymm12[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm4[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vblendps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1],ymm14[2,3],mem[4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps $0, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm3[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpermilps $224, (%rsp), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm13[2,3],ymm9[4,5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,0,0,0,4,4,4,4]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm7[1],ymm1[2,3,4],ymm7[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm7[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm12[1],ymm1[2,3,4],ymm12[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm4[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm10[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm3[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3,4],ymm9[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm14, %ymm8
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[3,3,3,3,7,7,7,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1,0,1,4,5,4,5]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1,2,3],ymm7[4,5],ymm11[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm12 = ymm12[0,1,2,3],mem[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 464(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1],ymm0[2,3],ymm12[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm2 = <4,2,u,u>
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm11 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm11 = mem[0,1],ymm10[2,3],mem[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm7 = [0,2,0,6,0,2,0,6]
+; AVX2-SLOW-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm6[0,1,2,3],mem[4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm13 = ymm9[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 272(%rdi), %xmm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1],ymm9[2,3],ymm13[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm8[0,1],mem[2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 656(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1],ymm8[2,3],ymm3[4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm2, %ymm14
+; AVX2-SLOW-NEXT: vmovaps %ymm2, %ymm4
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1],ymm15[2,3],mem[4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm7, %ymm15
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm15 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovaps 80(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm14 = ymm15[0,1],ymm0[2,3],ymm15[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm4, %ymm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm14 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm14 = mem[0,1],ymm4[2,3],mem[4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm14, %ymm7, %ymm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm12[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps $136, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm5[0,1,2],mem[3],ymm5[4,5,6],mem[7]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm12 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm12[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastf128 {{.*#+}} ymm12 = [0,3,1,7,0,3,1,7]
+; AVX2-SLOW-NEXT: # ymm12 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm12, %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm11 = ymm13[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2],ymm9[3],ymm11[4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vpermps (%rsp), %ymm6, %ymm11 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm12, %ymm4
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3],ymm3[4,5,6],ymm8[7]
+; AVX2-SLOW-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm8 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm8[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm15[1,1,1,1,5,5,5,5]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm6, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm14, %ymm12, %ymm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX2-SLOW-NEXT: vmovaps %ymm7, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm5, 64(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-SLOW-NEXT: addq $1160, %rsp # imm = 0x488
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride6_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1192, %rsp # imm = 0x4A8
+; AVX2-FAST-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovaps 448(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm12 = <0,6,4,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[0,1],ymm11[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm3 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-FAST-NEXT: vpermps %ymm9, %ymm3, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm7[0,1],ymm6[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps 416(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovaps 512(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm6, %ymm3, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 352(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm3, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 672(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,2,2,4,5,6,6]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm15 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-FAST-NEXT: vmovaps %ymm0, %ymm14
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm15[1],ymm1[2,3,4],ymm15[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps 608(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 576(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm15, %ymm12, %ymm12
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0,1,2],ymm1[3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vmovaps 704(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 736(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm12 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm1 = <1,7,5,u>
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-FAST-NEXT: vpermps %ymm9, %ymm10, %ymm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm8[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm8 = ymm9[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm8[1],ymm0[2,3,4],ymm8[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm7, %ymm1, %ymm7
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2],ymm0[3,4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm6, %ymm10, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm5[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm5[1],ymm0[2,3,4],ymm5[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm1, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermps %ymm15, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[1,1,2,3,5,5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm14[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm12, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, %ymm5
+; AVX2-FAST-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm8[0,1],ymm11[2,3],ymm8[4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm2 = [2,0,6,4,2,0,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm3 = ymm7[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1],ymm9[2,3],ymm11[4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps $0, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpermilps $224, (%rsp), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vblendps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1],ymm14[2,3],mem[4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps $0, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm13[2,3],ymm4[4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm0, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm9[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1,2,3],ymm1[4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,0,0,0,4,4,4,4]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm8[1],ymm1[2,3,4],ymm8[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm7[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = mem[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm7[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm11[1],ymm1[2,3,4],ymm11[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm12[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps %ymm14, %ymm8
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm14[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vmovaps %ymm9, %ymm6
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm9[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vmovaps %ymm13, %ymm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm4[1],ymm1[2,3,4],ymm4[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vmovaps %ymm4, %ymm13
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[3,3,3,3,7,7,7,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1,4,5,4,5]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm7[0,1,2,3],mem[4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps $15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovaps 464(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3],ymm2[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm2 = <4,2,u,u>
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm7 = [0,2,0,6,0,2,0,6]
+; AVX2-FAST-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm11, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm8[4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vmovaps 272(%rdi), %xmm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1],ymm9[2,3],ymm13[4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = mem[0,1],ymm1[2,3],mem[4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-FAST-NEXT: vmovaps 656(%rdi), %xmm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1],ymm8[2,3],ymm3[4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm2, %ymm14
+; AVX2-FAST-NEXT: vmovaps %ymm2, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm2 = mem[0,1],ymm15[2,3],mem[4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm7, %ymm15
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm15 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovaps 80(%rdi), %xmm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm14 = ymm15[0,1],ymm0[2,3],ymm15[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm4, %ymm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm14 = mem[0,1],ymm4[2,3],mem[4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm14, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm7 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-NEXT: vpermilps $85, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = mem[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps $136, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm5 = ymm5[0,1,2],mem[3],ymm5[4,5,6],mem[7]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm12[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vbroadcastf128 {{.*#+}} ymm12 = [0,3,1,7,0,3,1,7]
+; AVX2-FAST-NEXT: # ymm12 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpermps %ymm11, %ymm12, %ymm11
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm11 = ymm13[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2],ymm9[3],ymm11[4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm10, %ymm12, %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3],ymm3[4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpermps (%rsp), %ymm6, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm8[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm3 = ymm15[1,1,1,1,5,5,5,5]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpermps %ymm1, %ymm6, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpermps %ymm14, %ymm12, %ymm1
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX2-FAST-NEXT: vmovaps %ymm7, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX2-FAST-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-FAST-NEXT: vmovaps %ymm5, 64(%rax)
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-FAST-NEXT: addq $1192, %rsp # imm = 0x4A8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride6_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1160, %rsp # imm = 0x488
+; AVX2-FAST-PERLANE-NEXT: vmovaps 480(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovaps 448(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm12 = <0,6,4,u>
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm12, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[0,1],ymm11[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm10[0,1,2,2,4,5,6,6]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[2,2,2,2,6,6,6,6]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm4[0,1,2,3],ymm3[4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm3 = [8589934596,8589934596,8589934596,8589934596]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm7[0,1],ymm6[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[0,1,2,2,4,5,6,6]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm6[2,2,2,2,6,6,6,6]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 416(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm12, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 512(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,1,2,2,4,5,6,6]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm12, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 352(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm0, %ymm3, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 672(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm1[0,1],ymm0[0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[0,1,2,2,4,5,6,6]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm15 = ymm0[2,2,2,2,6,6,6,6]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm15[1],ymm1[2,3,4],ymm15[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 608(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 576(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm15 = ymm2[0,1,2,3],ymm0[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm12, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm12[0,1,2],ymm1[3,4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 704(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovaps 736(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm12 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm3, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm1 = <1,7,5,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2],ymm0[3,4,5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm10 = [12884901893,12884901893,12884901893,12884901893]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm9, %ymm10, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm8[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm8 = ymm9[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm8[1],ymm0[2,3,4],ymm8[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm1, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2],ymm0[3,4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm10, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm5[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm5[1],ymm0[2,3,4],ymm5[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm4, %ymm1, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm0[3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm15, %ymm1, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[1,1,2,3,5,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm14[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm2[1],ymm1[2,3,4],ymm2[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm12, %ymm10, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm11, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1],ymm11[2,3],ymm7[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm12[0,1],ymm9[2,3],ymm12[4,5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm4[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1],ymm14[2,3],mem[4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $0, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $224, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm3[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $224, (%rsp), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm9[0,1],ymm13[2,3],ymm9[4,5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,0,2,3,6,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,0,0,0,4,4,4,4]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,0,2,3,4,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm10[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm8[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm7[1],ymm1[2,3,4],ymm7[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm5[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm7[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm11[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $255, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm12[1],ymm1[2,3,4],ymm12[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm4[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm10[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm3[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm6[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm13[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm9[1],ymm1[2,3,4],ymm9[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm14, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm4[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm3[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1,2,3],ymm0[4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm1 = ymm14[3,3,3,3,7,7,7,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2,3,4],ymm5[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1,0,1,4,5,4,5]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm2 = ymm15[0,1,3,3,4,5,7,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm11[0,1,2,3],ymm7[4,5],ymm11[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = ymm12[0,1,2,3],mem[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 464(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1],ymm0[2,3],ymm12[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm2 = <4,2,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm11 = mem[0,1],ymm10[2,3],mem[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm7 = [0,2,0,6,0,2,0,6]
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm6[0,1,2,3],mem[4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm13 = ymm9[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 272(%rdi), %xmm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1],ymm9[2,3],ymm13[4,5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm8[0,1],mem[2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm4[4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 656(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1],ymm8[2,3],ymm3[4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm2, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1],ymm15[2,3],mem[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm7, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm15 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = ymm0[0,1,2,3],mem[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 80(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm14 = ymm15[0,1],ymm0[2,3],ymm15[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm14 = ymm14[0,1,0,2,4,5,4,6]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm4, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm14[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm14 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm14 = mem[0,1],ymm4[2,3],mem[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm14, %ymm7, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm6[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm12[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps $136, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm5[0,1,2],mem[3],ymm5[4,5,6],mem[7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm6 = <5,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm12[0,1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastf128 {{.*#+}} ymm12 = [0,3,1,7,0,3,1,7]
+; AVX2-FAST-PERLANE-NEXT: # ymm12 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm12, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm11 = ymm13[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2],ymm9[3],ymm11[4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps (%rsp), %ymm6, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm12, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3],ymm3[4,5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm8[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm12, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm15[1,1,1,1,5,5,5,5]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm6, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm14, %ymm12, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $1160, %rsp # imm = 0x488
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride6_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm12
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm13
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,6,12,0,0,0,20,26,0,6,12,0,0,0,20,26]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm15
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <0,6,12,18,24,30,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm8
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm7, %zmm8
+; AVX512F-NEXT: movb $56, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm8 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm16
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm15, %zmm16
+; AVX512F-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm16, %zmm8 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm4, %zmm15
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm5, %zmm14
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm7 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm7 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [1,7,13,0,0,0,21,27,1,7,13,0,0,0,21,27]
+; AVX512F-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm16, %zmm17
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm14 = <1,7,13,19,25,31,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm15 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
+; AVX512F-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm17, %zmm18
+; AVX512F-NEXT: vmovdqa32 %zmm18, %zmm15 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm4, %zmm17
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm5, %zmm16
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm14 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm17, %zmm14 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm18 = <2,8,14,20,26,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm18, %zmm19
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [18,24,30,0,0,0,6,12,18,24,30,0,0,0,6,12]
+; AVX512F-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm16
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm17, %zmm16
+; AVX512F-NEXT: movw $31, %di
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa32 %zmm19, %zmm16 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
+; AVX512F-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm20
+; AVX512F-NEXT: vpermt2d %zmm9, %zmm19, %zmm20
+; AVX512F-NEXT: vmovdqa32 %zmm20, %zmm16 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm6, %zmm19
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm2, %zmm17
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm18
+; AVX512F-NEXT: vmovdqa32 %zmm18, %zmm17 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm19, %zmm17 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm20 = <3,9,15,21,27,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm20, %zmm21
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [19,25,31,0,0,1,7,13,19,25,31,0,0,1,7,13]
+; AVX512F-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm18
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm19, %zmm18
+; AVX512F-NEXT: vmovdqa32 %zmm21, %zmm18 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm22
+; AVX512F-NEXT: vpermt2d %zmm9, %zmm21, %zmm22
+; AVX512F-NEXT: vmovdqa32 %zmm22, %zmm18 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm6, %zmm21
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm2, %zmm19
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm3, %zmm20
+; AVX512F-NEXT: vmovdqa32 %zmm20, %zmm19 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm21, %zmm19 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [20,26,0,0,0,2,8,14,20,26,0,0,0,2,8,14]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm21
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm20, %zmm21
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm22 = <20,26,0,6,12,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm23
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm22, %zmm23
+; AVX512F-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm21, %zmm23 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm24
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm21, %zmm24
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm24, %zmm23 {%k2}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm4, %zmm21
+; AVX512F-NEXT: vpermi2d %zmm5, %zmm2, %zmm20
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm0, %zmm22
+; AVX512F-NEXT: vmovdqa32 %zmm20, %zmm22 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm22 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [21,27,0,0,0,3,9,15,21,27,0,0,0,3,9,15]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm20, %zmm12
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm13 = <21,27,1,7,13,u,u,u>
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm13, %zmm1
+; AVX512F-NEXT: vmovdqa32 %zmm12, %zmm1 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm11, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm1 {%k2}
+; AVX512F-NEXT: vpermt2d %zmm6, %zmm11, %zmm4
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm20, %zmm2
+; AVX512F-NEXT: vpermt2d %zmm3, %zmm13, %zmm0
+; AVX512F-NEXT: vmovdqa32 %zmm2, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm0 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm14, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm15, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm17, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm16, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm19, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm18, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm22, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm23, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride6_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm12
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm13
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,6,12,0,0,0,20,26,0,6,12,0,0,0,20,26]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm15
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <0,6,12,18,24,30,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm8
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm7, %zmm8
+; AVX512BW-NEXT: movb $56, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm8 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,0,0,2,8,14,20,26,0,0,0,2,8,14,20,26]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm16
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm15, %zmm16
+; AVX512BW-NEXT: movw $-2048, %di # imm = 0xF800
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm16, %zmm8 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm4, %zmm15
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm5, %zmm14
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm7 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm7 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [1,7,13,0,0,0,21,27,1,7,13,0,0,0,21,27]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <1,7,13,19,25,31,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm15 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [0,0,0,3,9,15,21,27,0,0,0,3,9,15,21,27]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm17, %zmm18
+; AVX512BW-NEXT: vmovdqa32 %zmm18, %zmm15 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm4, %zmm17
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm5, %zmm16
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm14 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm17, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <2,8,14,20,26,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm18, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [18,24,30,0,0,0,6,12,18,24,30,0,0,0,6,12]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm16
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm17, %zmm16
+; AVX512BW-NEXT: movw $31, %di
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm19, %zmm16 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,0,20,26,0,6,12,0,0,0,20,26,0,6,12]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm20
+; AVX512BW-NEXT: vpermt2d %zmm9, %zmm19, %zmm20
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm16 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm6, %zmm19
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm2, %zmm17
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm18
+; AVX512BW-NEXT: vmovdqa32 %zmm18, %zmm17 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm19, %zmm17 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm20 = <3,9,15,21,27,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm20, %zmm21
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [19,25,31,0,0,1,7,13,19,25,31,0,0,1,7,13]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm18
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm19, %zmm18
+; AVX512BW-NEXT: vmovdqa32 %zmm21, %zmm18 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,0,21,27,1,7,13,0,0,0,21,27,1,7,13]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm22
+; AVX512BW-NEXT: vpermt2d %zmm9, %zmm21, %zmm22
+; AVX512BW-NEXT: vmovdqa32 %zmm22, %zmm18 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm6, %zmm21
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm2, %zmm19
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm3, %zmm20
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm19 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm21, %zmm19 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [20,26,0,0,0,2,8,14,20,26,0,0,0,2,8,14]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm21
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm20, %zmm21
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm22 = <20,26,0,6,12,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm22, %zmm23
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm21, %zmm23 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,0,6,12,18,24,30,0,0,0,6,12,18,24,30]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm24
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm21, %zmm24
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm24, %zmm23 {%k2}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm4, %zmm21
+; AVX512BW-NEXT: vpermi2d %zmm5, %zmm2, %zmm20
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm0, %zmm22
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm22 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm22 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [21,27,0,0,0,3,9,15,21,27,0,0,0,3,9,15]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm20, %zmm12
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <21,27,1,7,13,u,u,u>
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm13, %zmm1
+; AVX512BW-NEXT: vmovdqa32 %zmm12, %zmm1 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,0,1,7,13,19,25,31,0,0,1,7,13,19,25,31]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm11, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1 {%k2}
+; AVX512BW-NEXT: vpermt2d %zmm6, %zmm11, %zmm4
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm20, %zmm2
+; AVX512BW-NEXT: vpermt2d %zmm3, %zmm13, %zmm0
+; AVX512BW-NEXT: vmovdqa32 %zmm2, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186>
+ %strided.vec1 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187>
+ %strided.vec2 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 2, i32 8, i32 14, i32 20, i32 26, i32 32, i32 38, i32 44, i32 50, i32 56, i32 62, i32 68, i32 74, i32 80, i32 86, i32 92, i32 98, i32 104, i32 110, i32 116, i32 122, i32 128, i32 134, i32 140, i32 146, i32 152, i32 158, i32 164, i32 170, i32 176, i32 182, i32 188>
+ %strided.vec3 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 3, i32 9, i32 15, i32 21, i32 27, i32 33, i32 39, i32 45, i32 51, i32 57, i32 63, i32 69, i32 75, i32 81, i32 87, i32 93, i32 99, i32 105, i32 111, i32 117, i32 123, i32 129, i32 135, i32 141, i32 147, i32 153, i32 159, i32 165, i32 171, i32 177, i32 183, i32 189>
+ %strided.vec4 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190>
+ %strided.vec5 = shufflevector <192 x i32> %wide.vec, <192 x i32> poison, <32 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191>
+
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i32> %strided.vec5, ptr %out.vec5, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i32_stride7_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i32_stride7_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; SSE-NEXT: movq %xmm0, (%rsi)
+; SSE-NEXT: movq %xmm4, (%rdx)
+; SSE-NEXT: movq %xmm5, (%rcx)
+; SSE-NEXT: movq %xmm6, (%r8)
+; SSE-NEXT: movq %xmm1, (%r9)
+; SSE-NEXT: movq %xmm3, (%r10)
+; SSE-NEXT: movq %xmm7, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride7_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm3[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0],xmm5[1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm6[1,0,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm2[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm4[0,1,2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[3,2,2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0],xmm4[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm1[0,0],ymm0[1,0],ymm1[4,4],ymm0[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[1,0],ymm0[2,0],ymm1[5,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vmovlps %xmm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovlps %xmm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovlps %xmm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovlps %xmm2, (%r8)
+; AVX1-ONLY-NEXT: vmovlps %xmm3, (%r9)
+; AVX1-ONLY-NEXT: vmovlps %xmm4, (%r10)
+; AVX1-ONLY-NEXT: vmovlps %xmm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride7_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vbroadcastss 28(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[1,0,2,3]
+; AVX2-ONLY-NEXT: vbroadcastss 8(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX2-ONLY-NEXT: vmovaps {{.*#+}} xmm4 = <4,3,u,u>
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermps %ymm7, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[1,0,2,3,5,4,6,7]
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vmovlps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovlps %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovlps %xmm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovlps %xmm3, (%r8)
+; AVX2-ONLY-NEXT: vmovlps %xmm4, (%r9)
+; AVX2-ONLY-NEXT: vmovlps %xmm7, (%r10)
+; AVX2-ONLY-NEXT: vmovlps %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i32_stride7_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpinsrd $1, 28(%rdi), %xmm0, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[1,0,2,3]
+; AVX512F-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,2,2,3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <4,11,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vpermi2d %ymm5, %ymm6, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[1,0,2,3,5,4,6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[2,3,2,3,6,7,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovq %xmm1, (%r9)
+; AVX512F-SLOW-NEXT: vmovq %xmm7, (%r10)
+; AVX512F-SLOW-NEXT: vmovq %xmm5, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride7_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpinsrd $1, 28(%rdi), %xmm0, %xmm2
+; AVX512F-FAST-NEXT: vpbroadcastq {{.*#+}} xmm3 = [17179869185,17179869185]
+; AVX512F-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <7,2,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %xmm0, %xmm1, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <4,11,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-FAST-NEXT: vpermi2d %ymm1, %ymm6, %ymm0
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm7 = [13,4,6,7,13,4,6,7]
+; AVX512F-FAST-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermi2d %ymm6, %ymm1, %ymm7
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [6,13,6,7,6,13,6,7]
+; AVX512F-FAST-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermi2d %ymm1, %ymm6, %ymm8
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm8, %xmm1
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%r9)
+; AVX512F-FAST-NEXT: vmovq %xmm7, (%r10)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride7_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpinsrd $1, 28(%rdi), %xmm0, %xmm2
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0],xmm0[1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[1,0,2,3]
+; AVX512BW-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,2,2,3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <4,11,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512BW-SLOW-NEXT: vpermi2d %ymm5, %ymm6, %ymm1
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[1,0,2,3,5,4,6,7]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[2,3,2,3,6,7,6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0],ymm5[1],ymm6[2,3,4],ymm5[5],ymm6[6,7]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovq %xmm1, (%r9)
+; AVX512BW-SLOW-NEXT: vmovq %xmm7, (%r10)
+; AVX512BW-SLOW-NEXT: vmovq %xmm5, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride7_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpinsrd $1, 28(%rdi), %xmm0, %xmm2
+; AVX512BW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm3 = [17179869185,17179869185]
+; AVX512BW-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512BW-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm1[1],xmm4[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <7,2,u,u>
+; AVX512BW-FAST-NEXT: vpermi2d %xmm0, %xmm1, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <4,11,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512BW-FAST-NEXT: vpermi2d %ymm1, %ymm6, %ymm0
+; AVX512BW-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm7 = [13,4,6,7,13,4,6,7]
+; AVX512BW-FAST-NEXT: # ymm7 = mem[0,1,0,1]
+; AVX512BW-FAST-NEXT: vpermi2d %ymm6, %ymm1, %ymm7
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX512BW-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [6,13,6,7,6,13,6,7]
+; AVX512BW-FAST-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX512BW-FAST-NEXT: vpermi2d %ymm1, %ymm6, %ymm8
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm8, %xmm1
+; AVX512BW-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-FAST-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%r9)
+; AVX512BW-FAST-NEXT: vmovq %xmm7, (%r10)
+; AVX512BW-FAST-NEXT: vmovq %xmm1, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <14 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 0, i32 7>
+ %strided.vec1 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 1, i32 8>
+ %strided.vec2 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 2, i32 9>
+ %strided.vec3 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 3, i32 10>
+ %strided.vec4 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 4, i32 11>
+ %strided.vec5 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 5, i32 12>
+ %strided.vec6 = shufflevector <14 x i32> %wide.vec, <14 x i32> poison, <2 x i32> <i32 6, i32 13>
+
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i32> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i32_stride7_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i32_stride7_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa 80(%rdi), %xmm2
+; SSE-NEXT: movdqa (%rdi), %xmm7
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa 32(%rdi), %xmm4
+; SSE-NEXT: movdqa 48(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm3[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm7[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm7[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm7[2,2,3,3]
+; SSE-NEXT: movdqa %xmm7, %xmm11
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm9[0],xmm11[1],xmm9[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm5[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm11[0],xmm7[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm2[2,2,2,2]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm3[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm5[0],xmm11[1],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm6[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm6[0],xmm9[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm8[0],xmm9[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,0,1,1]
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm4[2],xmm10[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm10[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm3[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm11[0],xmm0[1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm12[0],xmm6[1],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm6[0],xmm2[1]
+; SSE-NEXT: movapd %xmm7, (%rsi)
+; SSE-NEXT: movapd %xmm5, (%rdx)
+; SSE-NEXT: movapd %xmm9, (%rcx)
+; SSE-NEXT: movapd %xmm8, (%r8)
+; SSE-NEXT: movapd %xmm4, (%r9)
+; SSE-NEXT: movapd %xmm0, (%rdi)
+; SSE-NEXT: movapd %xmm2, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride7_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5],ymm0[6],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm6[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm7[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm8[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm8 = xmm8[0,1,2],xmm6[2]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm9[0,1,2],xmm6[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm3[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0],xmm4[1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm9[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm9[0],xmm5[1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm10[0,1,1,0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm9[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm5[0,1,2],xmm10[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0],xmm4[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[0,0],ymm1[1,0],ymm0[4,4],ymm1[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm10[0,1],xmm5[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1,2],xmm9[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,0],ymm1[2,0],ymm0[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, (%r10)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride7_vf4:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-SLOW-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm2 = <0,7,6,u>
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpermps %ymm3, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vbroadcastss 84(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3]
+; AVX2-SLOW-NEXT: vmovaps 80(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm3 = xmm4[2,2,2,2]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm6 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,3,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3]
+; AVX2-SLOW-NEXT: vbroadcastss 8(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovaps 32(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vbroadcastss %xmm8, %xmm9
+; AVX2-SLOW-NEXT: vunpckhps {{.*#+}} xmm4 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm9 = xmm6[0],xmm8[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[0,1,1,0]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm7 = xmm7[3,2,2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; AVX2-SLOW-NEXT: vbroadcastss 100(%rdi), %xmm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm9 = xmm8[0,1,2],xmm9[3]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm10 = <4,3,u,u>
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm11 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm10, %ymm10
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm8 = xmm6[0,1,2],xmm8[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm8 = xmm8[0,1,3,2]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],xmm8[2,3]
+; AVX2-SLOW-NEXT: vbroadcastss 80(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-SLOW-NEXT: vmovaps %xmm3, (%rdx)
+; AVX2-SLOW-NEXT: vmovaps %xmm4, (%rcx)
+; AVX2-SLOW-NEXT: vmovaps %xmm7, (%r8)
+; AVX2-SLOW-NEXT: vmovaps %xmm9, (%r9)
+; AVX2-SLOW-NEXT: vmovaps %xmm5, (%r10)
+; AVX2-SLOW-NEXT: vmovaps %xmm0, (%rax)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride7_vf4:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm2 = <0,7,6,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-NEXT: vpermps %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vbroadcastss 84(%rdi), %xmm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} ymm3 = <1,0,7,u,u,u,u,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm4 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovaps 80(%rdi), %xmm5
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} xmm6 = xmm5[2,2,2,2]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1,2],xmm6[3]
+; AVX2-FAST-NEXT: vbroadcastss 8(%rdi), %xmm6
+; AVX2-FAST-NEXT: vmovaps 32(%rdi), %xmm7
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3]
+; AVX2-FAST-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX2-FAST-NEXT: vbroadcastss %xmm8, %xmm9
+; AVX2-FAST-NEXT: vunpckhps {{.*#+}} xmm5 = xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm9 = xmm6[0],xmm8[1],xmm6[2,3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[0,1,1,0]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} xmm7 = xmm7[3,2,2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vbroadcastss 100(%rdi), %xmm9
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm9 = xmm8[0,1,2],xmm9[3]
+; AVX2-FAST-NEXT: vmovaps {{.*#+}} xmm10 = <4,3,u,u>
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm11 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermps %ymm11, %ymm10, %ymm10
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm8 = xmm6[0,1,2],xmm8[3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} xmm8 = xmm8[0,1,3,2]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vbroadcastss 80(%rdi), %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; AVX2-FAST-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-FAST-NEXT: vmovaps %xmm3, (%rdx)
+; AVX2-FAST-NEXT: vmovaps %xmm5, (%rcx)
+; AVX2-FAST-NEXT: vmovaps %xmm7, (%r8)
+; AVX2-FAST-NEXT: vmovaps %xmm9, (%r9)
+; AVX2-FAST-NEXT: vmovaps %xmm4, (%r10)
+; AVX2-FAST-NEXT: vmovaps %xmm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride7_vf4:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-PERLANE-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm2 = <0,7,6,u>
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm3, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 84(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 80(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm3 = xmm4[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm6 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 8(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovaps 32(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm7[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss %xmm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vunpckhps {{.*#+}} xmm4 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm9 = xmm6[0],xmm8[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[0,1,1,0]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm7 = xmm7[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 100(%rdi), %xmm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm9 = xmm8[0,1,2],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm10 = <4,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm11 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm10, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm8 = xmm6[0,1,2],xmm8[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm8 = xmm8[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],xmm8[2,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 80(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm7, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm9, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm5, (%r10)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %xmm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i32_stride7_vf4:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm3, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $1, %r11d, %xmm4, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm2, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,0,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $2, %xmm2, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm5[1],xmm7[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm8, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1,2],xmm2[3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,2,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm4, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm9, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm4, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm5, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $1, %r11d, %xmm3, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm8[2],xmm5[3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm9, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm8, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm3[1],xmm0[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[1,0,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $2, %xmm9, %r11d
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpbroadcastd 24(%rdi), %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0],xmm0[1],xmm8[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm5, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm3, (%r10)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i32_stride7_vf4:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm2 = [30064771072,30064771072]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [25769803779,25769803779]
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm4, %xmm3, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm2, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [17179869185,17179869185]
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm4, %xmm9, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpextrd $3, %xmm1, %r11d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm8, %r11d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [21474836482,21474836482]
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm11, %r11d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm11, %r11d
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 96(%rdi), %xmm12
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm12, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm4, %xmm0, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm11[2],xmm2[3]
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm12, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpextrd $3, %xmm11, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm9, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm12, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm1, %xmm10, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm12[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm7, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, (%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i32_stride7_vf4:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm2, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $1, %r11d, %xmm3, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm1, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,0,2,3]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpextrd $2, %xmm1, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %r11d, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512DQ-SLOW-NEXT: vmovd %xmm8, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1,2],xmm1[3]
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %r11d, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX512DQ-SLOW-NEXT: vmovd %xmm9, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm4, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $1, %r11d, %xmm2, %xmm4
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm8[2],xmm4[3]
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm9, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %r11d, %xmm4, %xmm4
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm8, %r11d
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,0,2,3]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %r11d, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpextrd $2, %xmm9, %r11d
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %r11d, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpbroadcastd 24(%rdi), %xmm8
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0],xmm0[1],xmm8[2,3]
+; AVX512DQ-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm4, (%r9)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm2, (%r10)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i32_stride7_vf4:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm1 = [30064771072,30064771072]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm2, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm2, %xmm6
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [25769803779,25769803779]
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm4, %xmm2, %xmm7
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm3, %xmm1, %xmm2
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm0[2],xmm2[3]
+; AVX512DQ-FAST-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %r11d, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [17179869185,17179869185]
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm4, %xmm9, %xmm5
+; AVX512DQ-FAST-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %r11d, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm8, %r11d
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [21474836482,21474836482]
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX512DQ-FAST-NEXT: vmovd %xmm11, %r11d
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm11, %r11d
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vmovdqa 96(%rdi), %xmm12
+; AVX512DQ-FAST-NEXT: vmovd %xmm12, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm4, %xmm3, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm11[2],xmm1[3]
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm12, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm0, %xmm3, %xmm9
+; AVX512DQ-FAST-NEXT: vpextrd $3, %xmm11, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm9, %xmm4
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm12, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm0, %xmm10, %xmm3
+; AVX512DQ-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm3, %xmm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm12[3]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm7, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-ONLY-SLOW-LABEL: load_i32_stride7_vf4:
+; AVX512BW-ONLY-SLOW: # %bb.0:
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm3, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $1, %r11d, %xmm4, %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm2, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm1, %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,0,2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $2, %xmm2, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm6, %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm7
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm5[1],xmm7[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm8, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1,2],xmm2[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm4 = xmm4[3,2,2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm4, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm9, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm4, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm5, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $1, %r11d, %xmm3, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm8[2],xmm5[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm9, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm8, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0],xmm3[1],xmm0[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[1,0,2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %r11d, %xmm3, %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $2, %xmm9, %r11d
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vpbroadcastd 24(%rdi), %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0],xmm0[1],xmm8[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm4, (%r8)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm5, (%r9)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm3, (%r10)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-ONLY-SLOW-NEXT: retq
+;
+; AVX512BW-ONLY-FAST-LABEL: load_i32_stride7_vf4:
+; AVX512BW-ONLY-FAST: # %bb.0:
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm2 = [30064771072,30064771072]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm3, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm3, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [25769803779,25769803779]
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm4, %xmm3, %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm0, %xmm2, %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm1[2],xmm3[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [17179869185,17179869185]
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm4, %xmm9, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $3, %xmm1, %r11d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm8, %r11d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [21474836482,21474836482]
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm11, %r11d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm11, %r11d
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 96(%rdi), %xmm12
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm12, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm4, %xmm0, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm11[2],xmm2[3]
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm12, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $3, %xmm11, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm9, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm12, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm1, %xmm10, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm12[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm7, (%r8)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm2, (%r9)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-ONLY-FAST-NEXT: retq
+;
+; AVX512DQBW-SLOW-LABEL: load_i32_stride7_vf4:
+; AVX512DQBW-SLOW: # %bb.0:
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQBW-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512DQBW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512DQBW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQBW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm2, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $1, %r11d, %xmm3, %xmm1
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0,1],xmm0[2],xmm1[3]
+; AVX512DQBW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm1, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[1,0,2,3]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512DQBW-SLOW-NEXT: vpextrd $2, %xmm1, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %r11d, %xmm6, %xmm6
+; AVX512DQBW-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm7
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX512DQBW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm8, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1,2],xmm1[3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3]
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %r11d, %xmm3, %xmm3
+; AVX512DQBW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm9, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %r11d, %xmm3, %xmm3
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm4, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $1, %r11d, %xmm2, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm8[2],xmm4[3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm9, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %r11d, %xmm4, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm8, %r11d
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[1,0,2,3]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %r11d, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpextrd $2, %xmm9, %r11d
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %r11d, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpbroadcastd 24(%rdi), %xmm8
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0],xmm0[1],xmm8[2,3]
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm9[3]
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm4, (%r9)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm2, (%r10)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQBW-SLOW-NEXT: retq
+;
+; AVX512DQBW-FAST-LABEL: load_i32_stride7_vf4:
+; AVX512DQBW-FAST: # %bb.0:
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQBW-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512DQBW-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512DQBW-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQBW-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm1 = [30064771072,30064771072]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm2, %xmm5
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm2, %xmm6
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [25769803779,25769803779]
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm4, %xmm2, %xmm7
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm3, %xmm1, %xmm2
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm0[2],xmm2[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm8, %r11d
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %r11d, %xmm2, %xmm2
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm9 = [17179869185,17179869185]
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm4, %xmm9, %xmm5
+; AVX512DQBW-FAST-NEXT: vpextrd $3, %xmm0, %r11d
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %r11d, %xmm5, %xmm5
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm8, %r11d
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %r11d, %xmm5, %xmm5
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [21474836482,21474836482]
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm6
+; AVX512DQBW-FAST-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX512DQBW-FAST-NEXT: vmovd %xmm11, %r11d
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %r11d, %xmm6, %xmm6
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3]
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm11, %r11d
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %r11d, %xmm7, %xmm7
+; AVX512DQBW-FAST-NEXT: vmovdqa 96(%rdi), %xmm12
+; AVX512DQBW-FAST-NEXT: vmovd %xmm12, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm4, %xmm3, %xmm1
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm11[2],xmm1[3]
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm12, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm1, %xmm1
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm0, %xmm3, %xmm9
+; AVX512DQBW-FAST-NEXT: vpextrd $3, %xmm11, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm9, %xmm4
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm12, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm0, %xmm10, %xmm3
+; AVX512DQBW-FAST-NEXT: vmovd %xmm8, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm3, %xmm0
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm12[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm7, (%r8)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQBW-FAST-NEXT: retq
+ %wide.vec = load <28 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 0, i32 7, i32 14, i32 21>
+ %strided.vec1 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 1, i32 8, i32 15, i32 22>
+ %strided.vec2 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 2, i32 9, i32 16, i32 23>
+ %strided.vec3 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 3, i32 10, i32 17, i32 24>
+ %strided.vec4 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 4, i32 11, i32 18, i32 25>
+ %strided.vec5 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 5, i32 12, i32 19, i32 26>
+ %strided.vec6 = shufflevector <28 x i32> %wide.vec, <28 x i32> poison, <4 x i32> <i32 6, i32 13, i32 20, i32 27>
+
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i32> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i32_stride7_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i32_stride7_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: pushq %rax
+; SSE-NEXT: movdqa 144(%rdi), %xmm11
+; SSE-NEXT: movdqa 80(%rdi), %xmm3
+; SSE-NEXT: movdqa (%rdi), %xmm14
+; SSE-NEXT: movdqa 16(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm10
+; SSE-NEXT: movdqa 192(%rdi), %xmm13
+; SSE-NEXT: movdqa 160(%rdi), %xmm9
+; SSE-NEXT: movdqa 112(%rdi), %xmm8
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[2,3,2,3]
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[2,2,3,3]
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm4[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[3,3,3,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa %xmm14, %xmm7
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm7[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm0[0],xmm9[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm4[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movdqa 176(%rdi), %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm13[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm7[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm2[0],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm13[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movdqa 208(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,0,1,1]
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm11[2],xmm1[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: movdqa 96(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,0,1,1]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm1[0],xmm14[1],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm7[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm5[0],xmm11[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm14[0],xmm11[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm13[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm8[0],xmm14[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm1[0],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm13 = xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm0[0],xmm13[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movapd %xmm10, (%rdx)
+; SSE-NEXT: movapd %xmm9, 16(%rdx)
+; SSE-NEXT: movapd %xmm15, (%rcx)
+; SSE-NEXT: movapd %xmm12, 16(%rcx)
+; SSE-NEXT: movapd %xmm4, (%r8)
+; SSE-NEXT: movapd %xmm6, 16(%r8)
+; SSE-NEXT: movapd %xmm14, (%r9)
+; SSE-NEXT: movapd %xmm11, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm13, (%rax)
+; SSE-NEXT: movapd %xmm7, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm5, (%rax)
+; SSE-NEXT: movapd %xmm3, 16(%rax)
+; SSE-NEXT: popq %rax
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride7_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm12[0],ymm2[0],ymm12[2],ymm2[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm1[0,1,2,3,4,5],ymm0[6],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm13[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm8 = zero,xmm8[1,2],xmm10[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm12[1,1],ymm11[2,2],ymm12[5,5],ymm11[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm8[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm9[0],xmm13[1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm14 = xmm14[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm14[0,1,2],ymm8[3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm7[0,0],ymm14[3,3],ymm7[4,4],ymm14[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm14 = zero,xmm14[1,2],xmm10[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm13[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm9[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm2[3,1],ymm11[0,3],ymm2[7,5],ymm11[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm12[2,1],ymm15[2,0],ymm12[6,5],ymm15[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm14[0,1],ymm15[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm7[0],ymm4[0],ymm7[2],ymm4[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm14[0,1,2],xmm10[3]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm15[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm11[1,0],ymm12[0,0],ymm11[5,4],ymm12[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm11 = ymm12[3,1],ymm11[0,2],ymm12[7,5],ymm11[4,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm9[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm12 = xmm12[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm14[0,1],ymm4[1,3],ymm14[4,5],ymm4[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm7[0,2],ymm12[2,0],ymm7[4,6],ymm12[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm12[5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm14[1,0],ymm4[2,0],ymm14[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm7[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[3,0],ymm13[0,0],ymm7[7,4],ymm13[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm7[2,0],ymm12[2,0],ymm7[6,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm12[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm15[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = mem[0],xmm9[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],xmm13[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm14[2,1],ymm4[3,3],ymm14[6,5],ymm4[7,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm5[0],xmm6[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm9[1,0],ymm4[2,0],ymm9[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm12[0,1,2],xmm15[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm0[0,0],ymm1[1,0],ymm0[4,4],ymm1[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm13, %xmm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm9 = xmm13[0,1],xmm9[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm14[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm14[3,0],ymm9[0,0],ymm14[7,4],ymm9[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm6[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[0,1],ymm9[2,0],ymm5[4,5],ymm9[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1,2],xmm12[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,0],ymm1[2,0],ymm0[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride7_vf8:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vpbroadcastq 80(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <0,7,6,u>
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-SLOW-NEXT: vpermd %ymm6, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm3[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpbroadcastd 196(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm6 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm7 = ymm4[12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10,11],ymm4[28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1],ymm9[2,3],ymm10[4,5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm7 = ymm7[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm11 = ymm8[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm11 = ymm11[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm11 = ymm10[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3],ymm11[4,5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1],ymm7[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm11 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[3,2,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0],ymm9[1],ymm10[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm10 = ymm5[0,2],ymm4[1,3],ymm5[4,6],ymm4[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 208(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 100(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <4,3,u,u>
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1],xmm10[2,3]
+; AVX2-SLOW-NEXT: vpbroadcastq {{.*#+}} ymm12 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-SLOW-NEXT: vpermd %ymm5, %ymm12, %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 212(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4],ymm5[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-SLOW-NEXT: vpbroadcastd 216(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm5[0,1,2],xmm11[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,3,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm11[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vpermd 192(%rdi), %ymm12, %ymm8
+; AVX2-SLOW-NEXT: vpbroadcastd 136(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm11[0],xmm3[1],xmm11[2,3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 80(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm8[0,1,2],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm10, (%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, (%r10)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride7_vf8:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-FAST-NEXT: vpbroadcastq 80(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <0,7,6,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm3[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpbroadcastd 196(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm6 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm7 = ymm4[12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10,11],ymm4[28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1],ymm9[2,3],ymm10[4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm8 = [25769803781,25769803781,25769803781,25769803781]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm8, %ymm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <1,0,7,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm11 = ymm10[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3],ymm11[4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm11
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1],ymm7[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm11 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-FAST-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[3,2,2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0],ymm9[1],ymm10[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm10 = ymm5[0,2],ymm4[1,3],ymm5[4,6],ymm4[5,7]
+; AVX2-FAST-NEXT: vbroadcastss 208(%rdi), %ymm11
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 100(%rdi), %xmm10
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <4,3,u,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1],xmm10[2,3]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm12 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm12, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 212(%rdi), %ymm14
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4],ymm5[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,0,7,u>
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vpbroadcastd 216(%rdi), %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm5[0,1,2],xmm11[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm11[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpermd 192(%rdi), %ymm12, %ymm8
+; AVX2-FAST-NEXT: vpbroadcastd 136(%rdi), %xmm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm11[0],xmm3[1],xmm11[2,3]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 80(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm8[0,1,2],xmm5[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX2-FAST-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm10, (%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%r10)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride7_vf8:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 80(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <0,7,6,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm6, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm6 = xmm6[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 196(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm6 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm7 = ymm4[12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10,11],ymm4[28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1],ymm9[2,3],ymm10[4,5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm7 = ymm7[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm7 = ymm7[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0],ymm0[1],ymm1[2,3,4],ymm0[5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm11 = ymm8[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm11 = ymm11[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm11 = ymm10[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1,2],ymm7[3],ymm11[4,5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 8(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0],xmm12[1],xmm11[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm11[0,1],ymm7[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm11 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0],ymm9[1],ymm10[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm9 = ymm9[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm10 = ymm5[0,2],ymm4[1,3],ymm5[4,6],ymm4[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 208(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 100(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <4,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1],xmm10[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq {{.*#+}} ymm12 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm5, %ymm12, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 212(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2,3,4],ymm5[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 216(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm11 = xmm5[0,1,2],xmm11[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm11 = xmm11[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm8 = ymm8[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm11[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermd 192(%rdi), %ymm12, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 136(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm11[0],xmm3[1],xmm11[2,3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 80(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm8[0,1,2],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, (%r10)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512-LABEL: load_i32_stride7_vf8:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,3,10,17>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm4
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = <0,7,14,21,28,u,u,u>
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm5
+; AVX512-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,4,11,18>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm5
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <1,8,15,22,29,u,u,u>
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm6
+; AVX512-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,5,12,19>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm6
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <18,25,0,7,14,u,u,u>
+; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm7
+; AVX512-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,6,13,20>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm7
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <19,26,1,8,15,u,u,u>
+; AVX512-NEXT: vpermi2d %zmm0, %zmm1, %zmm8
+; AVX512-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4],ymm7[5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,0,7,14,21>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm8
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm9 = [4,11,18,25]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm9
+; AVX512-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,1,8,15,22>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm9
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm10 = [5,12,19,26]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm10
+; AVX512-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,2,9,16,23>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm10
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = [6,13,20,27]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm2
+; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm10[4,5,6,7]
+; AVX512-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX512-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512-NEXT: vmovdqa %ymm9, (%r10)
+; AVX512-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <56 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49>
+ %strided.vec1 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50>
+ %strided.vec2 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51>
+ %strided.vec3 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52>
+ %strided.vec4 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53>
+ %strided.vec5 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54>
+ %strided.vec6 = shufflevector <56 x i32> %wide.vec, <56 x i32> poison, <8 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55>
+
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i32> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i32_stride7_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i32_stride7_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $424, %rsp # imm = 0x1A8
+; SSE-NEXT: movdqa 304(%rdi), %xmm9
+; SSE-NEXT: movdqa 272(%rdi), %xmm2
+; SSE-NEXT: movdqa 224(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm3
+; SSE-NEXT: movdqa (%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm6
+; SSE-NEXT: movdqa 192(%rdi), %xmm7
+; SSE-NEXT: movdqa 160(%rdi), %xmm8
+; SSE-NEXT: movdqa 112(%rdi), %xmm11
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,3,3]
+; SSE-NEXT: movdqa %xmm8, %xmm14
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[3,3,3,3]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa %xmm2, %xmm8
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 336(%rdi), %xmm7
+; SSE-NEXT: movdqa 352(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 416(%rdi), %xmm2
+; SSE-NEXT: movdqa 384(%rdi), %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[2,2,2,2]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa 32(%rdi), %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; SSE-NEXT: movdqa 256(%rdi), %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: movdqa %xmm5, %xmm13
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa 368(%rdi), %xmm7
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa 176(%rdi), %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm6[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa 288(%rdi), %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm13[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm8[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm8[0,0,1,1]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm15[2],xmm11[3],xmm15[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm11[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm11[0,0,1,1]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[2,2,3,3]
+; SSE-NEXT: movdqa %xmm6, %xmm5
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm6[2],xmm10[3],xmm6[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm10[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: movdqa %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm9 = xmm9[2],xmm14[2],xmm9[3],xmm14[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm9[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm7[2],xmm0[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,3,3]
+; SSE-NEXT: movdqa %xmm3, %xmm12
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm15
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm15[0],xmm9[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm14[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm14
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm7[0],xmm14[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm10, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm10[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm13[0],xmm7[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm14[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm8[2,2,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm14[2],xmm0[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm2[0],xmm14[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm11[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm14[2],xmm0[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm4[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm4[0],xmm14[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm1[2,2,2,2]
+; SSE-NEXT: movdqa %xmm1, %xmm10
+; SSE-NEXT: movdqa (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm14[2],xmm1[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm15[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm14[0],xmm1[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm13[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm14[2],xmm6[3],xmm14[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm14[0],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm12[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm8[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm14[0],xmm8[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm15[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm4[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm11[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm14[0],xmm11[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm15[0],xmm11[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm0[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm10[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm15[0],xmm12[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm3[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm15[0],xmm14[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movaps %xmm13, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movapd %xmm7, 48(%r9)
+; SSE-NEXT: movapd %xmm5, 32(%r9)
+; SSE-NEXT: movapd %xmm9, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm6, 48(%rax)
+; SSE-NEXT: movapd %xmm1, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm14, 48(%rax)
+; SSE-NEXT: movapd %xmm12, 32(%rax)
+; SSE-NEXT: movapd %xmm11, (%rax)
+; SSE-NEXT: movapd %xmm8, 16(%rax)
+; SSE-NEXT: addq $424, %rsp # imm = 0x1A8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride7_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $456, %rsp # imm = 0x1C8
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm8[0],ymm0[0],ymm8[2],ymm0[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm15[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = zero,xmm1[1,2],xmm12[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm4[6],ymm5[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm9[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = zero,xmm1[1,2],xmm7[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm8[1,1],ymm5[2,2],ymm8[5,5],ymm5[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm10[0],xmm15[1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm2[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm2[0,0],ymm3[3,3],ymm2[4,4],ymm3[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm3
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm3 = zero,xmm3[1,2],xmm12[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm13[1,1],ymm3[2,2],ymm13[5,5],ymm3[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm11[0],xmm9[1],xmm11[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm4 = xmm4[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2],ymm1[3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm4[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm1[0,0],ymm14[3,3],ymm1[4,4],ymm14[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm14 = zero,xmm14[1,2],xmm7[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm15[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[3,1],ymm5[0,3],ymm14[7,5],ymm5[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm8[2,1],ymm14[2,0],ymm8[6,5],ymm14[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm14[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm6[0],ymm2[2],ymm6[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm14[0,1,2],xmm12[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm12[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm9[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm11[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm12[3,1],ymm3[0,3],ymm12[7,5],ymm3[4,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm13[2,1],ymm12[2,0],ymm13[6,5],ymm12[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm1[0],ymm4[0],ymm1[2],ymm4[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm12[0,1,2],xmm7[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm5[1,0],ymm8[0,0],ymm5[5,4],ymm8[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm8[3,1],ymm0[0,2],ymm8[7,5],ymm0[4,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1,2],xmm15[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm0[0,1],ymm6[1,3],ymm0[4,5],ymm6[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm2[0,2],ymm7[2,0],ymm2[4,6],ymm7[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm3[1,0],ymm13[0,0],ymm3[5,4],ymm13[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm13[3,1],ymm3[0,2],ymm13[7,5],ymm3[4,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm11[0,1,2],xmm9[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm5[0,1],ymm4[1,3],ymm5[4,5],ymm4[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm1[0,2],ymm7[2,0],ymm1[4,6],ymm7[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[3,0],ymm3[0,0],ymm2[7,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm0[1,0],ymm6[2,0],ymm0[5,4],ymm6[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm2[2,0],ymm3[2,0],ymm2[6,4],ymm3[6,4]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm9[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm10[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = mem[0],xmm10[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm10[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[3,0],ymm3[0,0],ymm1[7,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm5[1,0],ymm4[2,0],ymm5[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm3[2,0],ymm1[6,4],ymm3[6,4]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm7[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm12[0,1,2],xmm10[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm11 = xmm11[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm11 = mem[0],xmm11[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm0[2,1],ymm6[3,3],ymm0[6,5],ymm6[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm10[1,0],ymm6[2,0],ymm10[5,4],ymm6[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm14[0,0],ymm13[1,0],ymm14[4,4],ymm13[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm10[0,1],xmm8[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[2,1],ymm4[3,3],ymm5[6,5],ymm4[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm6[0],xmm3[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm8[1,0],ymm4[2,0],ymm8[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm7[0,1,2],xmm12[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm11[0,0],ymm12[1,0],ymm11[4,4],ymm12[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm8 = xmm10[0,1],xmm8[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[3,0],ymm8[0,0],ymm0[7,4],ymm8[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm8 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0],xmm2[1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,0],ymm8[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm9 = ymm14[1,0],ymm13[2,0],ymm14[5,4],ymm13[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm9 = ymm9[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm9, %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm5[3,0],ymm8[0,0],ymm5[7,4],ymm8[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm8 = xmm3[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0],xmm6[1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm8[0,1],ymm5[2,0],ymm8[4,5],ymm5[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1,2],xmm7[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm11[1,0],ymm12[2,0],ymm11[5,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $456, %rsp # imm = 0x1C8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride7_vf16:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vpbroadcastq 80(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm12[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,7,6,u>
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3,4,5],ymm4[6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-SLOW-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm4[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpbroadcastd 196(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5],ymm0[6],ymm10[7]
+; AVX2-SLOW-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vpbroadcastq 304(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpbroadcastd 420(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm2 = ymm8[12,13,14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11],ymm8[28,29,30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1],ymm15[2,3],ymm5[4,5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0],ymm10[1],ymm0[2,3,4],ymm10[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm4 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1],ymm10[2,3],ymm12[4,5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm4[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0],ymm9[1],ymm7[2,3,4],ymm9[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm14 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm14 = ymm14[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2],ymm0[3,4],ymm14[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm3 = ymm12[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm14[1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm3 = ymm5[8,9,10,11,12,13,14,15],ymm15[0,1,2,3,4,5,6,7],ymm5[24,25,26,27,28,29,30,31],ymm15[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 232(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm13[1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm6[0],ymm8[0],ymm6[2],ymm8[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 428(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0],ymm10[1],ymm12[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm14[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm3 = ymm1[0,2],ymm2[1,3],ymm1[4,6],ymm2[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 208(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm15[1],ymm5[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm13[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm3 = ymm6[0,2],ymm8[1,3],ymm6[4,6],ymm8[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 432(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpbroadcastd 100(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <4,3,u,u>
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm7[0,1,2,3],ymm9[4,5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, %ymm12
+; AVX2-SLOW-NEXT: vpermd %ymm10, %ymm5, %ymm10
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vpbroadcastq {{.*#+}} ymm0 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-SLOW-NEXT: vpermd %ymm1, %ymm0, %ymm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 212(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm15 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1,2,3],ymm7[4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpermd %ymm10, %ymm5, %ymm5
+; AVX2-SLOW-NEXT: vpbroadcastd 324(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm10[2,3]
+; AVX2-SLOW-NEXT: vpermd %ymm6, %ymm0, %ymm10
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 436(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0],ymm1[1],ymm2[2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-SLOW-NEXT: vpbroadcastd 216(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0,1,2],xmm3[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm4[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm11[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-SLOW-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm4 = mem[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-SLOW-NEXT: vpbroadcastd 440(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 136(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm4 = xmm4[0],mem[1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vpermd 192(%rdi), %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 80(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm6 = ymm9[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0],ymm12[1],ymm6[2,3,4],ymm12[5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 360(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpermd 416(%rdi), %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpbroadcastd 304(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0,1,2],xmm3[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm5 = ymm7[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm14[1],ymm5[2,3,4],ymm14[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0,1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm10, 32(%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm15, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, 32(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-SLOW-NEXT: addq $264, %rsp # imm = 0x108
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride7_vf16:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $296, %rsp # imm = 0x128
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm10
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm12
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm11
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpbroadcastq 80(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <0,7,6,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5],ymm5[6],ymm12[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2],ymm2[3,4],ymm8[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm8 = xmm8[1],xmm5[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vpbroadcastd 196(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm8[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm13
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5],ymm0[6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm7, %ymm2
+; AVX2-FAST-NEXT: vpbroadcastq 304(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm4[4,5],ymm7[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm7[3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %xmm7
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-NEXT: vpbroadcastd 420(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm7[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm7 = ymm9[12,13,14,15],ymm10[0,1,2,3,4,5,6,7,8,9,10,11],ymm9[28,29,30,31],ymm10[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm3[0,1],ymm11[2,3],ymm3[4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm0 = [25769803781,25769803781,25769803781,25769803781]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,0,7,7,5,4,7,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0],ymm12[1],ymm6[2,3,4],ymm12[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm7, %ymm14
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0,1,2],ymm8[3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm14
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm15
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm8 = ymm14[12,13,14,15],ymm15[0,1,2,3,4,5,6,7,8,9,10,11],ymm14[28,29,30,31],ymm15[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm8 = ymm8[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1],ymm8[2,3],ymm4[4,5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0],ymm5[1],ymm13[2,3,4],ymm5[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm7, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2],ymm0[3,4],ymm5[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm1 = ymm3[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm5[1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm1 = ymm10[0],ymm9[0],ymm10[2],ymm9[2]
+; AVX2-FAST-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm1 = ymm4[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm4[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpbroadcastd 232(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %xmm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm13[1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm1 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
+; AVX2-FAST-NEXT: vpbroadcastd 428(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0],ymm11[1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm5[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm1 = ymm10[0,2],ymm9[1,3],ymm10[4,6],ymm9[5,7]
+; AVX2-FAST-NEXT: vbroadcastss 208(%rdi), %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0],ymm8[1],ymm4[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm13[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm1 = ymm15[0,2],ymm14[1,3],ymm15[4,6],ymm14[5,7]
+; AVX2-FAST-NEXT: vbroadcastss 432(%rdi), %ymm3
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpbroadcastd 100(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <4,3,u,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm12[4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm8
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm3, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm0 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-NEXT: vpermd %ymm10, %ymm0, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 212(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm13[4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpbroadcastd 324(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpermd %ymm15, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 436(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0],ymm10[1],ymm9[2,3,4],ymm10[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [1,0,3,3,1,0,7,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vpbroadcastd 216(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm7 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm7[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0,1,2],xmm5[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0],ymm15[1],ymm14[2,3,4],ymm15[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm4, %ymm3
+; AVX2-FAST-NEXT: vpbroadcastd 440(%rdi), %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 136(%rdi), %xmm3
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpermd 192(%rdi), %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 80(%rdi), %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1,2],xmm9[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm5 = ymm12[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm8[1],ymm5[2,3,4],ymm8[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 360(%rdi), %xmm4
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm4 = xmm4[0],mem[1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpermd 416(%rdi), %ymm0, %ymm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 304(%rdi), %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1,2],xmm1[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm4 = ymm13[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0],ymm6[1],ymm4[2,3,4],ymm6[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm11, 32(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm2, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-FAST-NEXT: addq $296, %rsp # imm = 0x128
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride7_vf16:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $264, %rsp # imm = 0x108
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 80(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm12[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <0,7,6,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm9[0,1,2,3,4,5],ymm4[6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm3 = xmm3[1],xmm4[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 196(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5],ymm0[6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 304(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 420(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm2 = ymm8[12,13,14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10,11],ymm8[28,29,30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm5[0,1],ymm15[2,3],ymm5[4,5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0],ymm10[1],ymm0[2,3,4],ymm10[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm4 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm12[0,1],ymm10[2,3],ymm12[4,5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm0 = ymm4[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0],ymm9[1],ymm7[2,3,4],ymm9[5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm14 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm14 = ymm14[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2],ymm0[3,4],ymm14[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm3 = ymm12[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 8(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm14[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 204(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm3 = ymm5[8,9,10,11,12,13,14,15],ymm15[0,1,2,3,4,5,6,7],ymm5[24,25,26,27,28,29,30,31],ymm15[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3],ymm3[4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 232(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm13[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm6[0],ymm8[0],ymm6[2],ymm8[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 428(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0],ymm10[1],ymm12[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm14[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm3 = ymm1[0,2],ymm2[1,3],ymm1[4,6],ymm2[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 208(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm15[1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm13[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm3 = ymm6[0,2],ymm8[1,3],ymm6[4,6],ymm8[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 432(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 100(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <4,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm7[0,1,2,3],ymm9[4,5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm10, %ymm5, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq {{.*#+}} ymm0 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm1, %ymm0, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 212(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm15 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm14[0,1,2,3],ymm7[4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm10, %ymm5, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 324(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm10[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm6, %ymm0, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 436(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm10 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0],ymm1[1],ymm2[2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 216(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm5[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm3 = ymm4[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm11[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm4 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm4 = ymm4[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 440(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 136(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm4 = xmm4[0],mem[1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpermd 192(%rdi), %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 80(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm6 = ymm9[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0],ymm12[1],ymm6[2,3,4],ymm12[5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 360(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermd 416(%rdi), %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 304(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm5 = ymm7[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0],ymm14[1],ymm5[2,3,4],ymm14[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0,1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm10, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm15, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $264, %rsp # imm = 0x108
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride7_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [8,15,0,0,0,19,26,1,8,15,0,0,0,19,26,1]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm7, %zmm6, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = <0,7,14,21,28,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm1, %zmm5
+; AVX512F-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm8, %zmm5 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [20,27,6,13,20,27,6,13,20,27,6,13,20,27,6,13]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,10,11,12,13,18,25,0,0,10,11,12,13,18,25]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm8, %zmm9
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm5 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [25,4,11,18,25,4,11,18,25,4,11,18,25,4,11,18]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm9
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [27,6,13,20,27,6,13,20,27,6,13,20,27,6,13,20]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm7, %zmm10
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [28,0,0,0,0,7,14,21,28,0,0,0,0,7,14,21]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm7, %zmm11
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [29,0,0,0,1,8,15,22,29,0,0,0,1,8,15,22]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm7, %zmm12
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [14,0,0,0,18,25,0,7,14,0,0,0,18,25,0,7]
+; AVX512F-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm7, %zmm6, %zmm13
+; AVX512F-NEXT: vpermt2d %zmm6, %zmm8, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm14 = <1,8,15,22,29,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm1, %zmm14
+; AVX512F-NEXT: movw $480, %di # imm = 0x1E0
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa32 %zmm7, %zmm14 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,7,14,21,28,0,0,0,0,7,14,21,28,0,0]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,19,26,0,9,10,11,12,13,19,26]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm7, %zmm15
+; AVX512F-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm14 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [26,5,12,19,26,5,12,19,26,5,12,19,26,5,12,19]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm6, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <18,25,0,7,14,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm3, %zmm6
+; AVX512F-NEXT: vmovdqa32 %zmm9, %zmm6 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,1,8,15,22,29,0,0,0,1,8,15,22,29,0,0]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,20,27,0,9,10,11,12,13,20,27]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm9, %zmm15
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <19,26,1,8,15,u,u,u>
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm3, %zmm9
+; AVX512F-NEXT: vmovdqa32 %zmm10, %zmm9 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,18,25,0,7,14,0,0,0,18,25,0,7,14,0,0]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm2, %zmm10
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,21,28,0,9,10,11,12,13,21,28]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm10, %zmm15
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm9 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,19,26,1,8,15,0,0,0,19,26,1,8,15,0,0]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm2, %zmm10
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,22,29,0,9,10,11,12,13,22,29]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm10, %zmm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = [4,11,18,25]
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm1, %zmm10
+; AVX512F-NEXT: vinserti32x4 $0, %xmm10, %zmm11, %zmm10
+; AVX512F-NEXT: vmovdqa32 %zmm15, %zmm10 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,9,10,11,12,16,23,30,0,9,10,11,12,16,23,30]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm8, %zmm11
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = [5,12,19,26]
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm1, %zmm8
+; AVX512F-NEXT: vinserti32x4 $0, %xmm8, %zmm12, %zmm8
+; AVX512F-NEXT: vmovdqa32 %zmm11, %zmm8 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm7, %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,9,10,11,12,17,24,31,0,9,10,11,12,17,24,31]
+; AVX512F-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm4, %zmm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = [6,13,20,27]
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm1, %zmm0
+; AVX512F-NEXT: vinserti32x4 $0, %xmm0, %zmm13, %zmm0
+; AVX512F-NEXT: vmovdqa32 %zmm2, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm14, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride7_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [8,15,0,0,0,19,26,1,8,15,0,0,0,19,26,1]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm7, %zmm6, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <0,7,14,21,28,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm1, %zmm5
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm8, %zmm5 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [20,27,6,13,20,27,6,13,20,27,6,13,20,27,6,13]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,10,11,12,13,18,25,0,0,10,11,12,13,18,25]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm8, %zmm9
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm5 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [25,4,11,18,25,4,11,18,25,4,11,18,25,4,11,18]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [27,6,13,20,27,6,13,20,27,6,13,20,27,6,13,20]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm7, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [28,0,0,0,0,7,14,21,28,0,0,0,0,7,14,21]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm7, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [29,0,0,0,1,8,15,22,29,0,0,0,1,8,15,22]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm7, %zmm12
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [14,0,0,0,18,25,0,7,14,0,0,0,18,25,0,7]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm7, %zmm6, %zmm13
+; AVX512BW-NEXT: vpermt2d %zmm6, %zmm8, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <1,8,15,22,29,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm1, %zmm14
+; AVX512BW-NEXT: movw $480, %di # imm = 0x1E0
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm7, %zmm14 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,0,7,14,21,28,0,0,0,0,7,14,21,28,0,0]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,19,26,0,9,10,11,12,13,19,26]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm7, %zmm15
+; AVX512BW-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm14 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [26,5,12,19,26,5,12,19,26,5,12,19,26,5,12,19]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm6, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <18,25,0,7,14,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm3, %zmm6
+; AVX512BW-NEXT: vmovdqa32 %zmm9, %zmm6 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,1,8,15,22,29,0,0,0,1,8,15,22,29,0,0]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,20,27,0,9,10,11,12,13,20,27]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm9, %zmm15
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <19,26,1,8,15,u,u,u>
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm3, %zmm9
+; AVX512BW-NEXT: vmovdqa32 %zmm10, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,18,25,0,7,14,0,0,0,18,25,0,7,14,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm2, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,21,28,0,9,10,11,12,13,21,28]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm10, %zmm15
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm9 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,19,26,1,8,15,0,0,0,19,26,1,8,15,0,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm2, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,13,22,29,0,9,10,11,12,13,22,29]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm10, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm10 = [4,11,18,25]
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm1, %zmm10
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm10, %zmm11, %zmm10
+; AVX512BW-NEXT: vmovdqa32 %zmm15, %zmm10 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,9,10,11,12,16,23,30,0,9,10,11,12,16,23,30]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm8, %zmm11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = [5,12,19,26]
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm1, %zmm8
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm8, %zmm12, %zmm8
+; AVX512BW-NEXT: vmovdqa32 %zmm11, %zmm8 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm7, %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,9,10,11,12,17,24,31,0,9,10,11,12,17,24,31]
+; AVX512BW-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm4, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = [6,13,20,27]
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm1, %zmm0
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm0, %zmm13, %zmm0
+; AVX512BW-NEXT: vmovdqa32 %zmm2, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <112 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105>
+ %strided.vec1 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106>
+ %strided.vec2 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107>
+ %strided.vec3 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108>
+ %strided.vec4 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109>
+ %strided.vec5 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110>
+ %strided.vec6 = shufflevector <112 x i32> %wide.vec, <112 x i32> poison, <16 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111>
+
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i32> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i32_stride7_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i32_stride7_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1176, %rsp # imm = 0x498
+; SSE-NEXT: movdqa 416(%rdi), %xmm6
+; SSE-NEXT: movdqa 384(%rdi), %xmm8
+; SSE-NEXT: movdqa 336(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 352(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 752(%rdi), %xmm2
+; SSE-NEXT: movdqa 720(%rdi), %xmm14
+; SSE-NEXT: movdqa 672(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 688(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 304(%rdi), %xmm7
+; SSE-NEXT: movdqa 272(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm7, %xmm13
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[3,3,3,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,3,3]
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[3,3,3,3]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,3,3]
+; SSE-NEXT: movdqa %xmm8, %xmm11
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 784(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 800(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 864(%rdi), %xmm9
+; SSE-NEXT: movdqa 832(%rdi), %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: movdqa %xmm5, %xmm10
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 80(%rdi), %xmm7
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 448(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 528(%rdi), %xmm5
+; SSE-NEXT: movdqa 496(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 560(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 576(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,3,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa 640(%rdi), %xmm12
+; SSE-NEXT: movdqa 608(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa 256(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; SSE-NEXT: movdqa (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: movdqa 704(%rdi), %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm0[0],xmm14[1]
+; SSE-NEXT: movapd %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa 368(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa 816(%rdi), %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: movdqa 480(%rdi), %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[1,1,1,1]
+; SSE-NEXT: movdqa 144(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm2[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm2[2],xmm8[3],xmm2[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[1,1,1,1]
+; SSE-NEXT: movdqa 592(%rdi), %xmm0
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm7[0],xmm8[1]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm6[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 736(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm13[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm10[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 848(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm9[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm11[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 512(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 624(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm12[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm4[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm11[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 288(%rdi), %xmm0
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa %xmm0, %xmm12
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm5[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm10[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm6[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm9[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 64(%rdi), %xmm2
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm2[0,0,1,1]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[2,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; SSE-NEXT: movdqa 176(%rdi), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm14[2,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[0,0,1,1]
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm7[0],xmm2[1],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm6[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,0,1,1]
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm15[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm6[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa %xmm12, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,2,3,3]
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm11[2],xmm4[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm4[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 432(%rdi), %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,0,1,1]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm5[2,2,3,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm10[2],xmm4[3],xmm10[3]
+; SSE-NEXT: movdqa %xmm10, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm4[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 544(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm5
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: punpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 656(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 768(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshufd $250, (%rsp), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm14[2],xmm3[3],xmm14[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa 880(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm11[2],xmm3[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm3[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,2,3,3]
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm3[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[2,2,3,3]
+; SSE-NEXT: movdqa %xmm8, %xmm13
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,3,3]
+; SSE-NEXT: punpckldq {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[0],mem[0],xmm0[1],mem[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[3,3,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[2,2,3,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $170, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,2,2]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[2,2,2,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm1[0],xmm8[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm1[0],xmm4[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm12[1,1,1,1]
+; SSE-NEXT: pshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm14[2,3,2,3]
+; SSE-NEXT: pshufd $80, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,0,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%r8)
+; SSE-NEXT: movaps (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, 112(%rax)
+; SSE-NEXT: movapd %xmm3, 96(%rax)
+; SSE-NEXT: movapd %xmm4, 80(%rax)
+; SSE-NEXT: movapd %xmm5, 64(%rax)
+; SSE-NEXT: movapd %xmm6, 48(%rax)
+; SSE-NEXT: movapd %xmm7, 32(%rax)
+; SSE-NEXT: movapd %xmm8, 16(%rax)
+; SSE-NEXT: movapd %xmm10, (%rax)
+; SSE-NEXT: addq $1176, %rsp # imm = 0x498
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride7_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1496, %rsp # imm = 0x5D8
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm6[0],ymm0[0],ymm6[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm6, %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = zero,xmm1[1,2],xmm2[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 528(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm5[0],ymm0[0],ymm5[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm4[6],ymm3[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm7[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm1 = zero,xmm1[1,2],xmm13[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6],ymm0[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm0[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm2 = zero,xmm2[1,2],xmm6[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm0[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 752(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm2 = zero,xmm2[1,2],xmm0[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm8[1,1],ymm10[2,2],ymm8[5,5],ymm10[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm0[0],xmm12[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm2[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm0[0,0],ymm2[3,3],ymm0[4,4],ymm2[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vinsertps $49, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = zero,xmm2[1,2],mem[0]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm5[1,1],ymm0[2,2],ymm5[5,5],ymm0[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm0[0],xmm7[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm7, %xmm12
+; AVX1-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm2 = xmm2[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm5 = ymm0[0,0],ymm5[3,3],ymm0[4,4],ymm5[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm5 = zero,xmm5[1,2],xmm13[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm4[1,1],ymm0[2,2],ymm4[5,5],ymm0[6,6]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm0[0],xmm9[1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm5 = xmm5[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2],ymm1[3,4],ymm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm0[0,0],ymm7[3,3],ymm0[4,4],ymm7[7,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm7 = zero,xmm7[1,2],xmm6[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm7[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm11[1,1],ymm8[2,2],ymm11[5,5],ymm8[6,6]
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm7[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm3[0],xmm15[1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm14 = xmm14[1,0],mem[3,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1,2],ymm7[3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm15 = ymm6[2,3,0,1]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm2[0,0],ymm15[3,3],ymm2[4,4],ymm15[7,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vinsertps {{.*#+}} xmm15 = zero,xmm15[1,2],xmm4[2]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm11[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm0[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[3,1],ymm10[0,3],ymm15[7,5],ymm10[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm9[2,1],ymm15[2,0],ymm9[6,5],ymm15[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm15[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm7[0],mem[0],ymm7[2],mem[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm12[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm5[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $199, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm15[3,1],mem[0,3],ymm15[7,5],mem[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm12[2,1],ymm15[2,0],ymm12[6,5],ymm15[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm15[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm12[0],mem[0],ymm12[2],mem[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm15 = xmm15[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1,2,3,4],ymm15[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm14 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm14[0],xmm3[1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm15[3,1],ymm8[0,3],ymm15[7,5],ymm8[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm1[2,1],ymm15[2,0],ymm1[6,5],ymm15[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm14[0,1],ymm15[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm2[0],ymm6[0],ymm2[2],ymm6[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm15[0,1,2],xmm4[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm13[2,3,2,3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm1[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm14[3,1],ymm4[0,3],ymm14[7,5],ymm4[4,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm3[2,1],ymm14[2,0],ymm3[6,5],ymm14[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm14[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm15[0],ymm2[2],ymm15[2]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm14 = xmm14[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm14[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm10[1,0],ymm9[0,0],ymm10[5,4],ymm9[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm9[3,1],ymm6[0,2],ymm9[7,5],ymm6[4,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm0[0,1,2],xmm11[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm10[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm10[0,1],ymm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[0,1],ymm11[1,3],ymm0[4,5],ymm11[5,7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm7[0,2],ymm10[2,0],ymm7[4,6],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm0[1,0],ymm10[0,0],ymm0[5,4],ymm10[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm10[3,1],ymm6[0,2],ymm10[7,5],ymm6[4,6]
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm5[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm9[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1],ymm6[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm0[0,1],ymm14[1,3],ymm0[4,5],ymm14[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm12[0,2],ymm10[2,0],ymm12[4,6],ymm10[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm10[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm4[1,0],ymm3[0,0],ymm4[5,4],ymm3[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm3[3,1],ymm8[0,2],ymm3[7,5],ymm8[4,6]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm1[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm8 = xmm8[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1],ymm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm1[0,1],ymm15[1,3],ymm1[4,5],ymm15[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm15, %ymm9
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm2[0,2],ymm8[2,0],ymm2[4,6],ymm8[6,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm8[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[1,0],ymm2[0,0],ymm0[5,4],ymm2[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm2[3,1],ymm0[0,2],ymm2[7,5],ymm0[4,6]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $7, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,2],xmm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm4[3,2,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm5[0,1],ymm13[1,3],ymm5[4,5],ymm13[5,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, %ymm15
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm4 = ymm8[0,2],ymm4[2,0],ymm8[4,6],ymm4[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm2[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm2[3,0],ymm0[0,0],ymm2[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm6[1,0],ymm11[2,0],ymm6[5,4],ymm11[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm3[2,0],ymm0[6,4],ymm3[6,4]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm11[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm10[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0],xmm4[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm12[3,0],ymm0[0,0],ymm12[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm7[1,0],ymm14[2,0],ymm7[5,4],ymm14[6,4]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm0[2,0],ymm2[2,0],ymm0[6,4],ymm2[6,4]
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm2[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm12[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0],xmm4[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[0,0],ymm1[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm5[1,0],ymm9[2,0],ymm5[5,4],ymm9[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm0[2,0],ymm1[2,0],ymm0[6,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm9[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0],xmm4[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm8[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm8[3,0],ymm1[0,0],ymm8[7,4],ymm1[4,4]
+; AVX1-ONLY-NEXT: vmovaps %ymm15, %ymm14
+; AVX1-ONLY-NEXT: vmovups %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm15[1,0],ymm13[2,0],ymm15[5,4],ymm13[6,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm1[2,0],ymm3[2,0],ymm1[6,4],ymm3[6,4]
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm8[0,1,0,1]
+; AVX1-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm15[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = mem[0],xmm13[1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm13[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps $246, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm6[2,1],mem[3,3],ymm6[6,5],mem[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $13, (%rsp), %xmm2, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0],xmm2[1],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm13[1,0],ymm1[2,0],ymm13[5,4],ymm1[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $16, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = ymm3[0,0],mem[1,0],ymm3[4,4],mem[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm13, %xmm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm10 = xmm13[0,1],xmm10[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps $246, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm10 = ymm7[2,1],mem[3,3],ymm7[6,5],mem[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm13[1,0],ymm10[2,0],ymm13[5,4],ymm10[6,4]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm7[0,1,2],xmm12[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm13 = ymm3[0,0],ymm4[1,0],ymm3[4,4],ymm4[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm13, %xmm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm12 = xmm13[0,1],xmm12[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm12[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps $246, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm12 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm12 = ymm5[2,1],mem[3,3],ymm5[6,5],mem[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm10[0],xmm11[1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm13[1,0],ymm12[2,0],ymm13[5,4],ymm12[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $16, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = ymm9[0,0],mem[1,0],ymm9[4,4],mem[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm13 = ymm13[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm13, %xmm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm0 = xmm13[0,1],xmm0[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps $246, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm14[2,1],mem[3,3],ymm14[6,5],mem[7,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = xmm12[0],mem[1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm13[1,0],ymm0[2,0],ymm13[5,4],ymm0[6,4]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm8[0,1,2],xmm15[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $16, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm14[0,0],mem[1,0],ymm14[4,4],mem[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} xmm13 = xmm15[0,1],xmm13[3,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm5[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm5[3,0],ymm0[0,0],ymm5[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm2[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,0],ymm6[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm6[0,1,2],xmm7[3]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm3[1,0],ymm4[2,0],ymm3[5,4],ymm4[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[0,0],ymm1[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps $2, (%rsp), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[0],mem[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,0],ymm6[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm6[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps $33, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm6 = ymm1[1,0],mem[2,0],ymm1[5,4],mem[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[0,0],ymm1[7,4],ymm0[4,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm11[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm10[1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,0],ymm6[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = xmm6[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vshufps $33, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm9 = ymm9[1,0],mem[2,0],ymm9[5,4],mem[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm9 = ymm9[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm9, %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm9[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[2,3,0,1]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm1[3,0],ymm6[0,0],ymm1[7,4],ymm6[4,4]
+; AVX1-ONLY-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[2,3,2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0],xmm12[1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm8[0,1],ymm6[2,0],ymm8[4,5],ymm6[6,4]
+; AVX1-ONLY-NEXT: vpermilps $68, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vblendps $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm8[0,1,2],mem[3]
+; AVX1-ONLY-NEXT: vshufps $33, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = ymm14[1,0],mem[2,0],ymm14[5,4],mem[6,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rax)
+; AVX1-ONLY-NEXT: addq $1496, %rsp # imm = 0x5D8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i32_stride7_vf32:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $1224, %rsp # imm = 0x4C8
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 544(%rdi), %ymm11
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vpbroadcastq 80(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm10[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <0,7,6,u>
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm6[6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm12
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm13
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpbroadcastd 196(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm7[6],ymm8[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, %ymm14
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpbroadcastq 528(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm11[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 576(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 608(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpbroadcastd 644(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm4[6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpbroadcastq 304(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, %ymm15
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpbroadcastd 420(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 672(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm5
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermd %ymm1, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 768(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vpbroadcastq 752(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa 800(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpbroadcastd 868(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 608(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1],ymm2[2,3],ymm11[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0],ymm14[1],ymm7[2,3,4],ymm14[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1],ymm1[2,3],ymm15[4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0],ymm6[1],ymm4[2,3,4],ymm6[5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 832(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 800(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm15
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa 736(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm2[2,3],ymm9[4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm6
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0],ymm5[1],ymm3[2,3,4],ymm5[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm4
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1],ymm0[2,3],ymm10[4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,2,2,3,5,6,6,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,2,2,2]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,3,2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm2 = ymm10[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 8(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm10
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpbroadcastd 204(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm3 = ymm11[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 456(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm1[1],xmm14[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm14 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 652(%rdi), %ymm12
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm12[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 752(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm12 = ymm9[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2],ymm3[3],ymm12[4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 680(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vmovdqa 704(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm3[1],xmm14[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1],ymm12[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm14 = ymm15[0],ymm9[0],ymm15[2],ymm9[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 876(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 304(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpalignr {{.*#+}} ymm13 = ymm5[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm5[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2],ymm12[3],ymm13[4,5,6],ymm12[7]
+; AVX2-SLOW-NEXT: vpbroadcastd 232(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0],xmm14[1],xmm13[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1],ymm12[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm13 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX2-SLOW-NEXT: vpbroadcastd 428(%rdi), %ymm15
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd $253, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = mem[0],ymm0[1],mem[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,2,2,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm2 = ymm10[0,2],ymm12[1,3],ymm10[4,6],ymm12[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 208(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = ymm11[0],mem[1],ymm11[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, %ymm13
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm1 = ymm7[0,2],ymm8[1,3],ymm7[4,6],ymm8[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 656(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm6[1],ymm5[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm14[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-SLOW-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm10
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm15
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm1 = ymm3[0,2],ymm4[1,3],ymm3[4,6],ymm4[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 432(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm0 = ymm0[0],mem[1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, %ymm14
+; AVX2-SLOW-NEXT: vshufps {{.*#+}} ymm1 = ymm11[0,2],ymm9[1,3],ymm11[4,6],ymm9[5,7]
+; AVX2-SLOW-NEXT: vbroadcastss 880(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vbroadcastss 100(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovaps {{.*#+}} xmm3 = <4,3,u,u>
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,2,3],ymm2[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vbroadcastsd {{.*#+}} ymm4 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpermps %ymm6, %ymm4, %ymm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm12, %ymm5
+; AVX2-SLOW-NEXT: vbroadcastss 212(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1,2,3],ymm1[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm1, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vbroadcastss 548(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vmovaps 512(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm7 = xmm1[0,1,2],xmm7[3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,3]
+; AVX2-SLOW-NEXT: vpermps %ymm13, %ymm4, %ymm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm8, %ymm12
+; AVX2-SLOW-NEXT: vbroadcastss 660(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm2 = mem[0,1,2,3],ymm2[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm2, %ymm3, %ymm7
+; AVX2-SLOW-NEXT: vbroadcastss 324(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vmovaps 288(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm8 = xmm2[0,1,2],xmm8[3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm8[2,3]
+; AVX2-SLOW-NEXT: vpermps %ymm10, %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 436(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = mem[0,1,2,3],ymm7[4,5],mem[6,7]
+; AVX2-SLOW-NEXT: vpermps %ymm7, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vbroadcastss 772(%rdi), %xmm8
+; AVX2-SLOW-NEXT: vmovaps 736(%rdi), %xmm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm8 = xmm7[0,1,2],xmm8[3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm8[2,3]
+; AVX2-SLOW-NEXT: vpermps %ymm11, %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vmovaps %ymm14, %ymm10
+; AVX2-SLOW-NEXT: vbroadcastss 884(%rdi), %ymm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-SLOW-NEXT: vbroadcastss 216(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovaps 96(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm0 = xmm14[0,1,2],xmm0[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[0,1,3,2]
+; AVX2-SLOW-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 544(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,1,3,2]
+; AVX2-SLOW-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vbroadcastss 664(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 320(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm11[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-SLOW-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm15[0],mem[1],ymm15[2,3,4],mem[5],ymm15[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-SLOW-NEXT: vbroadcastss 440(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovaps 768(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0,1,2],xmm7[3]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[0,1,3,2]
+; AVX2-SLOW-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = mem[1,0,2,3,5,4,6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm7[0,1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm7 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm7 = ymm10[0],mem[1],ymm10[2,3,4],mem[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[1,0,3,3,5,4,7,7]
+; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-SLOW-NEXT: vbroadcastss 888(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm7 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 584(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpermps 640(%rdi), %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 528(%rdi), %ymm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1,2],xmm3[3]
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm8 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm8 = ymm8[0],mem[1],ymm8[2,3,4],mem[5],ymm8[6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 136(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpermps 192(%rdi), %ymm4, %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 80(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1,2],xmm14[3]
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = ymm9[0],mem[1],ymm9[2,3,4],mem[5],ymm9[6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm9, %xmm9
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm9 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 360(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-SLOW-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpermps 416(%rdi), %ymm4, %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 304(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1,2],xmm11[3]
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm10[0],mem[1],ymm10[2,3,4],mem[5],ymm10[6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 808(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-SLOW-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpermps 864(%rdi), %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vbroadcastss 752(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = mem[2,3,2,3,6,7,6,7]
+; AVX2-SLOW-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm5[0],mem[1],ymm5[2,3,4],mem[5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX2-SLOW-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-SLOW-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 96(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 32(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, 64(%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm4, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovaps %ymm7, 96(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm6, 32(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm9, (%rax)
+; AVX2-SLOW-NEXT: vmovaps %ymm8, 64(%rax)
+; AVX2-SLOW-NEXT: addq $1224, %rsp # imm = 0x4C8
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i32_stride7_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $1224, %rsp # imm = 0x4C8
+; AVX2-FAST-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 544(%rdi), %ymm13
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-FAST-NEXT: vpbroadcastq 80(%rdi), %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm10[4,5],ymm0[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <0,7,6,u>
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm6[6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm12
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpbroadcastd 196(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm9[6],ymm8[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastq 528(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm13[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 576(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa 608(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpbroadcastd 644(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm4[6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm15
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm14
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastq 304(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm7[4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpbroadcastd 420(%rdi), %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 672(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm2[6],ymm8[7]
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm13
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 768(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpbroadcastq 752(%rdi), %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 800(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastd 868(%rdi), %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1],ymm6[2,3],ymm10[4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm0 = [25769803781,25769803781,25769803781,25769803781]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [1,0,7,7,5,4,7,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0],ymm12[1],ymm11[2,3,4],ymm12[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa 608(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 576(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm3 = ymm4[12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10,11],ymm4[28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa 512(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1],ymm4[2,3],ymm12[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm4 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm4 = ymm9[0],mem[1],ymm9[2,3,4],mem[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2],ymm3[3,4],ymm4[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm3 = ymm4[12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10,11],ymm4[28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1],ymm3[2,3],ymm7[4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm14[0],ymm15[1],ymm14[2,3,4],ymm15[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm1, %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1,2],ymm3[3,4],ymm15[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = mem[2,2,2,2]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqa 832(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 800(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm3 = ymm9[12,13,14,15],ymm7[0,1,2,3,4,5,6,7,8,9,10,11],ymm9[28,29,30,31],ymm7[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,0]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa 736(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm15 = ymm14[0,1],ymm4[2,3],ymm14[4,5],ymm4[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm15, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0],ymm8[1],ymm13[2,3,4],ymm8[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm1 = ymm10[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3],ymm1[4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpbroadcastd 8(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm2 = ymm3[0],ymm8[0],ymm3[2],ymm8[2]
+; AVX2-FAST-NEXT: vpbroadcastd 204(%rdi), %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 528(%rdi), %xmm0
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm2 = ymm12[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2],ymm0[3],ymm2[4,5,6],ymm0[7]
+; AVX2-FAST-NEXT: vpbroadcastd 456(%rdi), %xmm15
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm15 = xmm15[0],xmm0[1],xmm15[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0,1],ymm2[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm10[0],ymm5[0],ymm10[2],ymm5[2]
+; AVX2-FAST-NEXT: vpbroadcastd 652(%rdi), %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm15[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm11[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 752(%rdi), %xmm2
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm11 = ymm14[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],ymm14[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2],ymm2[3],ymm11[4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpbroadcastd 680(%rdi), %xmm15
+; AVX2-FAST-NEXT: vmovdqa 704(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm15 = xmm15[0],xmm2[1],xmm15[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm15[0,1],ymm11[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
+; AVX2-FAST-NEXT: vpbroadcastd 876(%rdi), %ymm14
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 304(%rdi), %xmm11
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpalignr {{.*#+}} ymm14 = ymm9[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2],ymm11[3],ymm14[4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpbroadcastd 232(%rdi), %xmm14
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm2[1],xmm14[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1],ymm11[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpunpcklqdq {{.*#+}} ymm14 = ymm15[0],ymm12[0],ymm15[2],ymm12[2]
+; AVX2-FAST-NEXT: vpbroadcastd 428(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd $253, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = mem[0],ymm6[1],mem[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm6 = ymm6[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm6[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm8, %ymm14
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm6 = ymm3[0,2],ymm8[1,3],ymm3[4,6],ymm8[5,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm7
+; AVX2-FAST-NEXT: vbroadcastss 208(%rdi), %ymm8
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm6[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0],mem[1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[3,2,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm10, %ymm13
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm1 = ymm10[0,2],ymm5[1,3],ymm10[4,6],ymm5[5,7]
+; AVX2-FAST-NEXT: vbroadcastss 656(%rdi), %ymm5
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0],ymm4[1],ymm9[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm1 = ymm15[0,2],ymm12[1,3],ymm15[4,6],ymm12[5,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm12, %ymm10
+; AVX2-FAST-NEXT: vbroadcastss 432(%rdi), %ymm4
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vblendps $2, (%rsp), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm0 = ymm0[0],mem[1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vshufps {{.*#+}} ymm1 = ymm8[0,2],ymm9[1,3],ymm8[4,6],ymm9[5,7]
+; AVX2-FAST-NEXT: vbroadcastss 880(%rdi), %ymm2
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpbroadcastd 100(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <4,3,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = mem[0,1,2,3],ymm3[4,5],mem[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm3, %ymm0, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpbroadcastq {{.*#+}} ymm11 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-NEXT: vpermd %ymm7, %ymm11, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm7, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 212(%rdi), %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0,1,2,3],mem[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastd 548(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa 512(%rdi), %xmm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpermd %ymm13, %ymm11, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 660(%rdi), %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $48, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm1 = ymm1[0,1,2,3],mem[4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastd 324(%rdi), %xmm6
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm5[0,1,2],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,3]
+; AVX2-FAST-NEXT: vpermd %ymm15, %ymm11, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm10, %ymm13
+; AVX2-FAST-NEXT: vpbroadcastd 436(%rdi), %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm6 = mem[0,1,2,3],ymm1[4,5],mem[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpbroadcastd 772(%rdi), %xmm7
+; AVX2-FAST-NEXT: vmovdqa 736(%rdi), %xmm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm6[0,1,2],xmm7[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm11, %ymm7
+; AVX2-FAST-NEXT: vmovdqa %ymm8, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm1
+; AVX2-FAST-NEXT: vpbroadcastd 884(%rdi), %ymm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0],ymm12[1],ymm14[2,3,4],ymm12[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = [1,0,3,3,1,0,7,7]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm8
+; AVX2-FAST-NEXT: vpbroadcastd 216(%rdi), %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm15[0,1,2],xmm2[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0,1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 544(%rdi), %xmm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm10[0,1,2],xmm3[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm3 = xmm3[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = ymm8[0],mem[1],ymm8[2,3,4],mem[5],ymm8[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm8
+; AVX2-FAST-NEXT: vpbroadcastd 664(%rdi), %ymm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %xmm9
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm5 = xmm5[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm8[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = ymm13[0],mem[1],ymm13[2,3,4],mem[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm8, %ymm7, %ymm8
+; AVX2-FAST-NEXT: vpbroadcastd 440(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa 768(%rdi), %xmm8
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm8[0,1,2],xmm6[3]
+; AVX2-FAST-NEXT: vpshufd {{.*#+}} xmm6 = xmm6[0,1,3,2]
+; AVX2-FAST-NEXT: vpshufd $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm12[0,1],xmm6[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0],ymm4[1],ymm1[2,3,4],ymm4[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpermd %ymm12, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpbroadcastd 888(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 584(%rdi), %xmm7
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm7 = xmm7[0],mem[1],xmm7[2,3]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-NEXT: vpermd 640(%rdi), %ymm11, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 528(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1,2],xmm10[3]
+; AVX2-FAST-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = ymm12[0],mem[1],ymm12[2,3,4],mem[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1],xmm10[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 136(%rdi), %xmm10
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10, %xmm10 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm10 = xmm10[0],mem[1],xmm10[2,3]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vpermd 192(%rdi), %ymm11, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 80(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm12[0,1,2],xmm15[3]
+; AVX2-FAST-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm13 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm13 = ymm13[0],mem[1],ymm13[2,3,4],mem[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 360(%rdi), %xmm12
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm12 = xmm12[0],mem[1],xmm12[2,3]
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpermd 416(%rdi), %ymm11, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 304(%rdi), %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1,2],xmm9[3]
+; AVX2-FAST-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm13 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm13 = ymm13[0],mem[1],ymm13[2,3,4],mem[5],ymm13[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm13[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 808(%rdi), %xmm12
+; AVX2-FAST-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX2-FAST-NEXT: # xmm12 = xmm12[0],mem[1],xmm12[2,3]
+; AVX2-FAST-NEXT: vpermd 864(%rdi), %ymm11, %ymm11
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpbroadcastd 752(%rdi), %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm12[0,1,2],xmm8[3]
+; AVX2-FAST-NEXT: vpshufd $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-NEXT: vpblendd $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm12 = ymm12[0],mem[1],ymm12[2,3,4],mem[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm12[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 96(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 64(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 96(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, 64(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm11, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, 96(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, 64(%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm0, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm6, 96(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm5, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 64(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm8, 96(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm9, 32(%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm10, (%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, 64(%rax)
+; AVX2-FAST-NEXT: addq $1224, %rsp # imm = 0x4C8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i32_stride7_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $1224, %rsp # imm = 0x4C8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 544(%rdi), %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 80(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm10[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <0,7,6,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm6[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 196(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm7[6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 528(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm11[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 576(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 608(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 644(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm4[6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 304(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2],ymm2[3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 420(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 704(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 672(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm2[6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermd %ymm1, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 768(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastq 752(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 800(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 832(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpckhqdq {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 868(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 608(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 512(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1],ymm2[2,3],ymm11[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0],ymm14[1],ymm7[2,3,4],ymm14[5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm15[0,1],ymm1[2,3],ymm15[4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0],ymm6[1],ymm4[2,3,4],ymm6[5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 832(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 800(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10,11],ymm1[28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 736(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1],ymm2[2,3],ymm9[4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0],ymm5[1],ymm3[2,3,4],ymm5[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4],ymm0[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm0 = mem[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm1 = ymm2[12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10,11],ymm2[28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26,27]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1],ymm0[2,3],ymm10[4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[1,2,2,3,5,6,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm2 = ymm2[2,2,2,2]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,3,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm2 = ymm10[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3],ymm2[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 8(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1],ymm1[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm3 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 204(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm14[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm3 = ymm11[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2],ymm1[3],ymm3[4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 456(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm1[1],xmm14[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm14[0,1],ymm3[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm14 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 652(%rdi), %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm12[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 752(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm12 = ymm9[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2],ymm3[3],ymm12[4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 680(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 704(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0],xmm3[1],xmm14[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1],ymm12[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm14 = ymm15[0],ymm9[0],ymm15[2],ymm9[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 876(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpalignr {{.*#+}} ymm13 = ymm5[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm5[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2],ymm12[3],ymm13[4,5,6],ymm12[7]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 232(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0],xmm14[1],xmm13[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1],ymm12[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpunpcklqdq {{.*#+}} ymm13 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX2-FAST-PERLANE-NEXT: vpbroadcastd 428(%rdi), %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm15[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3,4],ymm13[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd $253, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0],ymm0[1],mem[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm2 = xmm2[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm2 = ymm10[0,2],ymm12[1,3],ymm10[4,6],ymm12[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 208(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = ymm11[0],mem[1],ymm11[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm1 = ymm7[0,2],ymm8[1,3],ymm7[4,6],ymm8[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 656(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0],ymm6[1],ymm5[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm14[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm1 = ymm3[0,2],ymm4[1,3],ymm3[4,6],ymm4[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 432(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = ymm0[0],mem[1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1,2],mem[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[3,2,2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[3,1,1,0,7,5,5,4]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3,4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vshufps {{.*#+}} ymm1 = ymm11[0,2],ymm9[1,3],ymm11[4,6],ymm9[5,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 880(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 100(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovaps {{.*#+}} xmm3 = <4,3,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1,2,3],ymm2[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastsd {{.*#+}} ymm4 = [30064771072,30064771072,30064771072,30064771072]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm6, %ymm4, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm12, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 212(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1,2,3],ymm1[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm1, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 548(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovaps 512(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm7 = xmm1[0,1,2],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm13, %ymm4, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm8, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 660(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm2 = mem[0,1,2,3],ymm2[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm2, %ymm3, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 324(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovaps 288(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm8 = xmm2[0,1,2],xmm8[3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],xmm8[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm10, %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 436(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = mem[0,1,2,3],ymm7[4,5],mem[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm7, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 772(%rdi), %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovaps 736(%rdi), %xmm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm8 = xmm7[0,1,2],xmm8[3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm8[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermps %ymm11, %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm14, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 884(%rdi), %ymm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 216(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 96(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm0 = xmm14[0,1,2],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 544(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm12[0],ymm13[1],ymm12[2,3,4],ymm13[5],ymm12[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 664(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 320(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm11[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm2 = xmm2[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm15[0],mem[1],ymm15[2,3,4],mem[5],ymm15[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 440(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovaps 768(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0,1,2],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} xmm5 = xmm5[0,1,3,2]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $225, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = mem[1,0,2,3,5,4,6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm7[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm7 = ymm10[0],mem[1],ymm10[2,3,4],mem[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[1,0,3,3,5,4,7,7]
+; AVX2-FAST-PERLANE-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 888(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm7 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 584(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpermps 640(%rdi), %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 528(%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1,2],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm8 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm8 = ymm8[0],mem[1],ymm8[2,3,4],mem[5],ymm8[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm3 = xmm8[0,1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 136(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermps 192(%rdi), %ymm4, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 80(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1,2],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = ymm9[0],mem[1],ymm9[2,3,4],mem[5],ymm9[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm9 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 360(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm3 = xmm3[0],mem[1],xmm3[2,3]
+; AVX2-FAST-PERLANE-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpermps 416(%rdi), %ymm4, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 304(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1,2],xmm11[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm10[0],mem[1],ymm10[2,3,4],mem[5],ymm10[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 808(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # xmm5 = xmm5[0],mem[1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpermps 864(%rdi), %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vbroadcastss 752(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpermilps $238, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = mem[2,3,2,3,6,7,6,7]
+; AVX2-FAST-PERLANE-NEXT: vblendps $34, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm5[0],mem[1],ymm5[2,3,4],mem[5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} xmm2 = xmm5[0,1],xmm2[2,3]
+; AVX2-FAST-PERLANE-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 96(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, 64(%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm4, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm7, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm6, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm2, 96(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm9, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm8, 64(%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $1224, %rsp # imm = 0x4C8
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride7_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm13
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm14
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm12
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [8,15,0,0,0,19,26,1,8,15,0,0,0,19,26,1]
+; AVX512F-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm14, %zmm16, %zmm17
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <0,7,14,21,28,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm8
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm7, %zmm8
+; AVX512F-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm17, %zmm8 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm17 = [20,27,6,13,20,27,6,13,20,27,6,13,20,27,6,13]
+; AVX512F-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512F-NEXT: vpermt2d %zmm15, %zmm17, %zmm18
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,10,11,12,13,18,25,0,0,10,11,12,13,18,25]
+; AVX512F-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm19, %zmm18
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm8 {%k2}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm3, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm19, %zmm17
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm2, %zmm16
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqa32 %zmm16, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm7 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [25,4,11,18,25,4,11,18,25,4,11,18,25,4,11,18]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm19
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm18, %zmm19
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <1,8,15,22,29,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm17
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm16, %zmm17
+; AVX512F-NEXT: movw $480, %di # imm = 0x1E0
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa32 %zmm19, %zmm17 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,7,14,21,28,0,0,0,0,7,14,21,28,0,0]
+; AVX512F-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm20
+; AVX512F-NEXT: vpermt2d %zmm15, %zmm19, %zmm20
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,9,10,11,12,13,19,26,0,9,10,11,12,13,19,26]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm21, %zmm20
+; AVX512F-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa32 %zmm20, %zmm17 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm3, %zmm19
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm21, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm20
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm18, %zmm20
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm16
+; AVX512F-NEXT: vmovdqa32 %zmm20, %zmm16 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm19, %zmm16 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm21 = [26,5,12,19,26,5,12,19,26,5,12,19,26,5,12,19]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm22
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm21, %zmm22
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm19 = <18,25,0,7,14,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm20
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm19, %zmm20
+; AVX512F-NEXT: vmovdqa32 %zmm22, %zmm20 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,1,8,15,22,29,0,0,0,1,8,15,22,29,0,0]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm23
+; AVX512F-NEXT: vpermt2d %zmm15, %zmm22, %zmm23
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,9,10,11,12,13,20,27,0,9,10,11,12,13,20,27]
+; AVX512F-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm24, %zmm23
+; AVX512F-NEXT: vmovdqa32 %zmm23, %zmm20 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm3, %zmm22
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm24, %zmm22
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm23
+; AVX512F-NEXT: vpermt2d %zmm2, %zmm21, %zmm23
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm19
+; AVX512F-NEXT: vmovdqa32 %zmm23, %zmm19 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm22, %zmm19 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm24 = [27,6,13,20,27,6,13,20,27,6,13,20,27,6,13,20]
+; AVX512F-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm25
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm24, %zmm25
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm22 = <19,26,1,8,15,u,u,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm23
+; AVX512F-NEXT: vpermt2d %zmm10, %zmm22, %zmm23
+; AVX512F-NEXT: vmovdqa32 %zmm25, %zmm23 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm25 = [0,18,25,0,7,14,0,0,0,18,25,0,7,14,0,0]
+; AVX512F-NEXT: # zmm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm26
+; AVX512F-NEXT: vpermt2d %zmm9, %zmm25, %zmm26
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,13,21,28,0,9,10,11,12,13,21,28]
+; AVX512F-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm27, %zmm26
+; AVX512F-NEXT: vmovdqa32 %zmm26, %zmm23 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm6, %zmm25
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm27, %zmm25
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm24
+; AVX512F-NEXT: vpermi2d %zmm0, %zmm1, %zmm22
+; AVX512F-NEXT: vmovdqa32 %zmm24, %zmm22 {%k2}
+; AVX512F-NEXT: vmovdqa32 %zmm25, %zmm22 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,19,26,1,8,15,0,0,0,19,26,1,8,15,0,0]
+; AVX512F-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm25
+; AVX512F-NEXT: vpermt2d %zmm9, %zmm26, %zmm25
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,13,22,29,0,9,10,11,12,13,22,29]
+; AVX512F-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm27, %zmm25
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm28 = [28,0,0,0,0,7,14,21,28,0,0,0,0,7,14,21]
+; AVX512F-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm24
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm28, %zmm24
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} xmm29 = [4,11,18,25]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm30
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm29, %zmm30
+; AVX512F-NEXT: vinserti32x4 $0, %xmm30, %zmm24, %zmm24
+; AVX512F-NEXT: vmovdqa32 %zmm25, %zmm24 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm3, %zmm6, %zmm26
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm27, %zmm26
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm28
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm29
+; AVX512F-NEXT: vinserti32x4 $0, %xmm29, %zmm28, %zmm25
+; AVX512F-NEXT: vmovdqa32 %zmm26, %zmm25 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512F-NEXT: vpermt2d %zmm15, %zmm18, %zmm26
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,16,23,30,0,9,10,11,12,16,23,30]
+; AVX512F-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm27, %zmm26
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm28 = [29,0,0,0,1,8,15,22,29,0,0,0,1,8,15,22]
+; AVX512F-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm29
+; AVX512F-NEXT: vpermt2d %zmm12, %zmm28, %zmm29
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} xmm30 = [5,12,19,26]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm31
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm30, %zmm31
+; AVX512F-NEXT: vinserti32x4 $0, %xmm31, %zmm29, %zmm29
+; AVX512F-NEXT: vmovdqa32 %zmm26, %zmm29 {%k1}
+; AVX512F-NEXT: vpermi2d %zmm6, %zmm3, %zmm18
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm27, %zmm18
+; AVX512F-NEXT: vpermi2d %zmm2, %zmm4, %zmm28
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm30
+; AVX512F-NEXT: vinserti32x4 $0, %xmm30, %zmm28, %zmm26
+; AVX512F-NEXT: vmovdqa32 %zmm18, %zmm26 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm15, %zmm21, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,17,24,31,0,9,10,11,12,17,24,31]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm13, %zmm15, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [14,0,0,0,18,25,0,7,14,0,0,0,18,25,0,7]
+; AVX512F-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm14, %zmm13, %zmm12
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm14 = [6,13,20,27]
+; AVX512F-NEXT: vpermt2d %zmm11, %zmm14, %zmm10
+; AVX512F-NEXT: vinserti32x4 $0, %xmm10, %zmm12, %zmm10
+; AVX512F-NEXT: vmovdqa32 %zmm9, %zmm10 {%k1}
+; AVX512F-NEXT: vpermt2d %zmm6, %zmm21, %zmm3
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm15, %zmm3
+; AVX512F-NEXT: vpermt2d %zmm4, %zmm13, %zmm2
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm14, %zmm0
+; AVX512F-NEXT: vinserti32x4 $0, %xmm0, %zmm2, %zmm0
+; AVX512F-NEXT: vmovdqa32 %zmm3, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm16, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm19, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm20, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm23, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm25, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm24, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm26, 64(%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm29, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride7_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm14
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm12
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [8,15,0,0,0,19,26,1,8,15,0,0,0,19,26,1]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm14, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <0,7,14,21,28,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm8
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm7, %zmm8
+; AVX512BW-NEXT: movw $992, %di # imm = 0x3E0
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm17, %zmm8 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm17 = [20,27,6,13,20,27,6,13,20,27,6,13,20,27,6,13]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512BW-NEXT: vpermt2d %zmm15, %zmm17, %zmm18
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,10,11,12,13,18,25,0,0,10,11,12,13,18,25]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm19, %zmm18
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm8 {%k2}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm3, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm19, %zmm17
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm2, %zmm16
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm7
+; AVX512BW-NEXT: vmovdqa32 %zmm16, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm7 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [25,4,11,18,25,4,11,18,25,4,11,18,25,4,11,18]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm19
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm18, %zmm19
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <1,8,15,22,29,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm17
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm16, %zmm17
+; AVX512BW-NEXT: movw $480, %di # imm = 0x1E0
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa32 %zmm19, %zmm17 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,0,7,14,21,28,0,0,0,0,7,14,21,28,0,0]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm20
+; AVX512BW-NEXT: vpermt2d %zmm15, %zmm19, %zmm20
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,9,10,11,12,13,19,26,0,9,10,11,12,13,19,26]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm21, %zmm20
+; AVX512BW-NEXT: movw $-512, %di # imm = 0xFE00
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm17 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm3, %zmm19
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm21, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm20
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm18, %zmm20
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm16
+; AVX512BW-NEXT: vmovdqa32 %zmm20, %zmm16 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm19, %zmm16 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm21 = [26,5,12,19,26,5,12,19,26,5,12,19,26,5,12,19]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm22
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm21, %zmm22
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm19 = <18,25,0,7,14,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm20
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm19, %zmm20
+; AVX512BW-NEXT: vmovdqa32 %zmm22, %zmm20 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,1,8,15,22,29,0,0,0,1,8,15,22,29,0,0]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm23
+; AVX512BW-NEXT: vpermt2d %zmm15, %zmm22, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [0,9,10,11,12,13,20,27,0,9,10,11,12,13,20,27]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm24, %zmm23
+; AVX512BW-NEXT: vmovdqa32 %zmm23, %zmm20 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm3, %zmm22
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm24, %zmm22
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm23
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm21, %zmm23
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm19
+; AVX512BW-NEXT: vmovdqa32 %zmm23, %zmm19 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm22, %zmm19 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm24 = [27,6,13,20,27,6,13,20,27,6,13,20,27,6,13,20]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm25
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm24, %zmm25
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm22 = <19,26,1,8,15,u,u,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm23
+; AVX512BW-NEXT: vpermt2d %zmm10, %zmm22, %zmm23
+; AVX512BW-NEXT: vmovdqa32 %zmm25, %zmm23 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm25 = [0,18,25,0,7,14,0,0,0,18,25,0,7,14,0,0]
+; AVX512BW-NEXT: # zmm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm26
+; AVX512BW-NEXT: vpermt2d %zmm9, %zmm25, %zmm26
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,13,21,28,0,9,10,11,12,13,21,28]
+; AVX512BW-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm27, %zmm26
+; AVX512BW-NEXT: vmovdqa32 %zmm26, %zmm23 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm6, %zmm25
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm27, %zmm25
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm24
+; AVX512BW-NEXT: vpermi2d %zmm0, %zmm1, %zmm22
+; AVX512BW-NEXT: vmovdqa32 %zmm24, %zmm22 {%k2}
+; AVX512BW-NEXT: vmovdqa32 %zmm25, %zmm22 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,19,26,1,8,15,0,0,0,19,26,1,8,15,0,0]
+; AVX512BW-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm25
+; AVX512BW-NEXT: vpermt2d %zmm9, %zmm26, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,13,22,29,0,9,10,11,12,13,22,29]
+; AVX512BW-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm27, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm28 = [28,0,0,0,0,7,14,21,28,0,0,0,0,7,14,21]
+; AVX512BW-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm24
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm28, %zmm24
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm29 = [4,11,18,25]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm30
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm29, %zmm30
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm30, %zmm24, %zmm24
+; AVX512BW-NEXT: vmovdqa32 %zmm25, %zmm24 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm3, %zmm6, %zmm26
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm27, %zmm26
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm28
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm29
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm29, %zmm28, %zmm25
+; AVX512BW-NEXT: vmovdqa32 %zmm26, %zmm25 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512BW-NEXT: vpermt2d %zmm15, %zmm18, %zmm26
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm27 = [0,9,10,11,12,16,23,30,0,9,10,11,12,16,23,30]
+; AVX512BW-NEXT: # zmm27 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm27, %zmm26
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm28 = [29,0,0,0,1,8,15,22,29,0,0,0,1,8,15,22]
+; AVX512BW-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm29
+; AVX512BW-NEXT: vpermt2d %zmm12, %zmm28, %zmm29
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm30 = [5,12,19,26]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm31
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm30, %zmm31
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm31, %zmm29, %zmm29
+; AVX512BW-NEXT: vmovdqa32 %zmm26, %zmm29 {%k1}
+; AVX512BW-NEXT: vpermi2d %zmm6, %zmm3, %zmm18
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm27, %zmm18
+; AVX512BW-NEXT: vpermi2d %zmm2, %zmm4, %zmm28
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm30
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm30, %zmm28, %zmm26
+; AVX512BW-NEXT: vmovdqa32 %zmm18, %zmm26 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm15, %zmm21, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm15 = [0,9,10,11,12,17,24,31,0,9,10,11,12,17,24,31]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm13, %zmm15, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [14,0,0,0,18,25,0,7,14,0,0,0,18,25,0,7]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm14, %zmm13, %zmm12
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm14 = [6,13,20,27]
+; AVX512BW-NEXT: vpermt2d %zmm11, %zmm14, %zmm10
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm10, %zmm12, %zmm10
+; AVX512BW-NEXT: vmovdqa32 %zmm9, %zmm10 {%k1}
+; AVX512BW-NEXT: vpermt2d %zmm6, %zmm21, %zmm3
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm15, %zmm3
+; AVX512BW-NEXT: vpermt2d %zmm4, %zmm13, %zmm2
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm14, %zmm0
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm0, %zmm2, %zmm0
+; AVX512BW-NEXT: vmovdqa32 %zmm3, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm20, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm25, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm24, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm26, 64(%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <224 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217>
+ %strided.vec1 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218>
+ %strided.vec2 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219>
+ %strided.vec3 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220>
+ %strided.vec4 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221>
+ %strided.vec5 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222>
+ %strided.vec6 = shufflevector <224 x i32> %wide.vec, <224 x i32> poison, <32 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223>
+
+ store <32 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i32> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i32_stride8_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i32_stride8_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm4[2,3,2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[2,3,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm6[2,3,2,3]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,3,2,3]
+; SSE-NEXT: movq %xmm4, (%rsi)
+; SSE-NEXT: movq %xmm5, (%rdx)
+; SSE-NEXT: movq %xmm0, (%rcx)
+; SSE-NEXT: movq %xmm2, (%r8)
+; SSE-NEXT: movq %xmm6, (%r9)
+; SSE-NEXT: movq %xmm7, (%r11)
+; SSE-NEXT: movq %xmm1, (%r10)
+; SSE-NEXT: movq %xmm3, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride8_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm3[1,1,1,1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm2[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm3 = ymm0[0],ymm1[0],ymm0[1],ymm1[1],ymm0[4],ymm1[4],ymm0[5],ymm1[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm3
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm1[1,0],ymm0[1,0],ymm1[5,4],ymm0[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm7 = ymm0[2],ymm1[2],ymm0[3],ymm1[3],ymm0[6],ymm1[6],ymm0[7],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[3,0],ymm1[7,4],ymm0[7,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm2, (%rcx)
+; AVX1-ONLY-NEXT: vpextrq $1, %xmm2, (%r8)
+; AVX1-ONLY-NEXT: vmovlps %xmm3, (%r9)
+; AVX1-ONLY-NEXT: vmovlps %xmm6, (%r11)
+; AVX1-ONLY-NEXT: vmovlps %xmm7, (%r10)
+; AVX1-ONLY-NEXT: vmovlps %xmm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride8_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} xmm5 = xmm2[1,1,1,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0],xmm3[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-ONLY-NEXT: vbroadcastss 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vbroadcastss 16(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm1[1,1,1,1,5,5,5,5]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0],ymm0[1],ymm6[2,3,4],ymm0[5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} ymm0 = ymm1[2],ymm0[2],ymm1[3],ymm0[3],ymm1[6],ymm0[6],ymm1[7],ymm0[7]
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovq %xmm2, (%rcx)
+; AVX2-ONLY-NEXT: vpextrq $1, %xmm2, (%r8)
+; AVX2-ONLY-NEXT: vmovlps %xmm3, (%r9)
+; AVX2-ONLY-NEXT: vmovlps %xmm6, (%r11)
+; AVX2-ONLY-NEXT: vmovlps %xmm1, (%r10)
+; AVX2-ONLY-NEXT: vmovlps %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i32_stride8_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vunpcklps {{.*#+}} ymm5 = ymm4[0],ymm1[0],ymm4[1],ymm1[1],ymm4[4],ymm1[4],ymm4[5],ymm1[5]
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX512F-SLOW-NEXT: vpermilps {{.*#+}} ymm6 = ymm4[1,1,1,1,5,5,5,5]
+; AVX512F-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0],ymm1[1],ymm6[2,3,4],ymm1[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX512F-SLOW-NEXT: vunpckhps {{.*#+}} ymm1 = ymm4[2],ymm1[2],ymm4[3],ymm1[3],ymm4[6],ymm1[6],ymm4[7],ymm1[7]
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm1, %xmm4
+; AVX512F-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,3,2,3,6,7,6,7]
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-SLOW-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512F-SLOW-NEXT: vmovlps %xmm5, (%r9)
+; AVX512F-SLOW-NEXT: vmovlps %xmm6, (%r11)
+; AVX512F-SLOW-NEXT: vmovlps %xmm4, (%r10)
+; AVX512F-SLOW-NEXT: vmovlps %xmm1, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i32_stride8_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,u,u>
+; AVX512F-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpunpckldq {{.*#+}} ymm5 = ymm4[0],ymm1[0],ymm4[1],ymm1[1],ymm4[4],ymm1[4],ymm4[5],ymm1[5]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512F-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [5,13,5,5,5,13,5,5]
+; AVX512F-FAST-NEXT: # ymm6 = mem[0,1,0,1]
+; AVX512F-FAST-NEXT: vpermi2d %ymm1, %ymm4, %ymm6
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpunpckhdq {{.*#+}} ymm1 = ymm4[2],ymm1[2],ymm4[3],ymm1[3],ymm4[6],ymm1[6],ymm4[7],ymm1[7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512F-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[2,3,2,3,6,7,6,7]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512F-FAST-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512F-FAST-NEXT: vmovq %xmm5, (%r9)
+; AVX512F-FAST-NEXT: vmovq %xmm6, (%r11)
+; AVX512F-FAST-NEXT: vmovq %xmm4, (%r10)
+; AVX512F-FAST-NEXT: vmovq %xmm1, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i32_stride8_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512BW-SLOW-NEXT: vpshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0],xmm1[1],xmm3[2,3]
+; AVX512BW-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %ymm4
+; AVX512BW-SLOW-NEXT: vunpcklps {{.*#+}} ymm5 = ymm4[0],ymm1[0],ymm4[1],ymm1[1],ymm4[4],ymm1[4],ymm4[5],ymm1[5]
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpermilps {{.*#+}} ymm6 = ymm4[1,1,1,1,5,5,5,5]
+; AVX512BW-SLOW-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0],ymm1[1],ymm6[2,3,4],ymm1[5],ymm6[6,7]
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm6, %xmm6
+; AVX512BW-SLOW-NEXT: vunpckhps {{.*#+}} ymm1 = ymm4[2],ymm1[2],ymm4[3],ymm1[3],ymm4[6],ymm1[6],ymm4[7],ymm1[7]
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm1, %xmm4
+; AVX512BW-SLOW-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,3,2,3,6,7,6,7]
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX512BW-SLOW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovq %xmm0, (%rcx)
+; AVX512BW-SLOW-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm5, (%r9)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm6, (%r11)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm4, (%r10)
+; AVX512BW-SLOW-NEXT: vmovlps %xmm1, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i32_stride8_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,u,u>
+; AVX512BW-FAST-NEXT: vpermi2d %xmm1, %xmm0, %xmm3
+; AVX512BW-FAST-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512BW-FAST-NEXT: vpunpckldq {{.*#+}} ymm5 = ymm4[0],ymm1[0],ymm4[1],ymm1[1],ymm4[4],ymm1[4],ymm4[5],ymm1[5]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512BW-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [5,13,5,5,5,13,5,5]
+; AVX512BW-FAST-NEXT: # ymm6 = mem[0,1,0,1]
+; AVX512BW-FAST-NEXT: vpermi2d %ymm1, %ymm4, %ymm6
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512BW-FAST-NEXT: vpunpckhdq {{.*#+}} ymm1 = ymm4[2],ymm1[2],ymm4[3],ymm1[3],ymm4[6],ymm1[6],ymm4[7],ymm1[7]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512BW-FAST-NEXT: vpshufd {{.*#+}} ymm1 = ymm1[2,3,2,3,6,7,6,7]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512BW-FAST-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-FAST-NEXT: vmovq %xmm0, (%rcx)
+; AVX512BW-FAST-NEXT: vpextrq $1, %xmm0, (%r8)
+; AVX512BW-FAST-NEXT: vmovq %xmm5, (%r9)
+; AVX512BW-FAST-NEXT: vmovq %xmm6, (%r11)
+; AVX512BW-FAST-NEXT: vmovq %xmm4, (%r10)
+; AVX512BW-FAST-NEXT: vmovq %xmm1, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <16 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 0, i32 8>
+ %strided.vec1 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 1, i32 9>
+ %strided.vec2 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 2, i32 10>
+ %strided.vec3 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 3, i32 11>
+ %strided.vec4 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 4, i32 12>
+ %strided.vec5 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 5, i32 13>
+ %strided.vec6 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 6, i32 14>
+ %strided.vec7 = shufflevector <16 x i32> %wide.vec, <16 x i32> poison, <2 x i32> <i32 7, i32 15>
+
+ store <2 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i32> %strided.vec6, ptr %out.vec6, align 64
+ store <2 x i32> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i32_stride8_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i32_stride8_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movaps 112(%rdi), %xmm3
+; SSE-NEXT: movaps 80(%rdi), %xmm2
+; SSE-NEXT: movaps (%rdi), %xmm1
+; SSE-NEXT: movaps 16(%rdi), %xmm0
+; SSE-NEXT: movaps 32(%rdi), %xmm4
+; SSE-NEXT: movaps 48(%rdi), %xmm5
+; SSE-NEXT: movaps 96(%rdi), %xmm6
+; SSE-NEXT: movaps 64(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm8
+; SSE-NEXT: unpcklps {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; SSE-NEXT: movaps %xmm1, %xmm9
+; SSE-NEXT: unpcklps {{.*#+}} xmm9 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
+; SSE-NEXT: movaps %xmm9, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm8[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm8[1]
+; SSE-NEXT: unpckhps {{.*#+}} xmm7 = xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm1 = xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; SSE-NEXT: movaps %xmm1, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm7[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm7[1]
+; SSE-NEXT: movaps %xmm2, %xmm6
+; SSE-NEXT: unpcklps {{.*#+}} xmm6 = xmm6[0],xmm3[0],xmm6[1],xmm3[1]
+; SSE-NEXT: movaps %xmm0, %xmm7
+; SSE-NEXT: unpcklps {{.*#+}} xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; SSE-NEXT: movaps %xmm7, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm6[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm6[1]
+; SSE-NEXT: unpckhps {{.*#+}} xmm2 = xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; SSE-NEXT: movaps %xmm0, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; SSE-NEXT: movaps %xmm10, (%rsi)
+; SSE-NEXT: movaps %xmm9, (%rdx)
+; SSE-NEXT: movaps %xmm4, (%rcx)
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movaps %xmm8, (%r9)
+; SSE-NEXT: movaps %xmm7, (%r11)
+; SSE-NEXT: movaps %xmm3, (%r10)
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride8_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm6
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm4 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm9 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm4[0],xmm9[0]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm6[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0],xmm5[1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm7[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm8[0,1,2],xmm10[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm5 = xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm5[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm7 = xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm5[1],xmm7[1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm7
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm8 = ymm0[0],ymm1[0],ymm0[1],ymm1[1],ymm0[4],ymm1[4],ymm0[5],ymm1[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm8 = ymm2[0],ymm3[0],ymm2[1],ymm3[1],ymm2[4],ymm3[4],ymm2[5],ymm3[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm8, %xmm8
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm10 = ymm1[1,0],ymm0[1,0],ymm1[5,4],ymm0[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm10[0,1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm10, %xmm10
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm11 = ymm0[2],ymm1[2],ymm0[3],ymm1[3],ymm0[6],ymm1[6],ymm0[7],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm11, %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm2 = ymm2[2],ymm3[2],ymm2[3],ymm3[3],ymm2[6],ymm3[6],ymm2[7],ymm3[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[3,0],ymm1[7,4],ymm0[7,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm9, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm7, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, (%r11)
+; AVX1-ONLY-NEXT: vmovaps %xmm10, (%r10)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride8_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vbroadcastss %xmm6, %xmm4
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vbroadcastss %xmm9, %xmm5
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm9[0],xmm6[0],xmm9[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm7[1,1,1,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0],xmm8[1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm6[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm9[0,1,2],xmm10[3]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm7 = xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm7[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm6 = xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpbroadcastd 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpbroadcastd 16(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm9 = ymm3[0],ymm1[0],ymm3[1],ymm1[1],ymm3[4],ymm1[4],ymm3[5],ymm1[5]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm9 = ymm9[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm9 = mem[0],zero,mem[1],zero
+; AVX2-ONLY-NEXT: vpbroadcastd 116(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm10 = ymm2[1,1,1,1,5,5,5,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0],ymm0[1],ymm10[2,3,4],ymm0[5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm0 = ymm2[2],ymm0[2],ymm2[3],ymm0[3],ymm2[6],ymm0[6],ymm2[7],ymm0[7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm1 = ymm3[2],ymm1[2],ymm3[3],ymm1[3],ymm3[6],ymm1[6],ymm3[7],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm8, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %xmm6, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm9, (%r11)
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%r10)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i32_stride8_vf4:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: pushq %rbx
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm5[0],xmm3[1],xmm5[1]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[1,1,1,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm5[1],xmm7[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm2, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm7, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm7, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm3[0,1],xmm2[2],xmm3[3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm2, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[2,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],xmm6[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm3, %ebx
+; AVX512F-ONLY-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[1,1,1,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm1[1],xmm9[2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm3, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm9, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm9, %xmm9
+; AVX512F-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm1[0,1],xmm3[2],xmm1[3]
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512F-ONLY-SLOW-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512F-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; AVX512F-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm8[3]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm6, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm9, (%r11)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: popq %rbx
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i32_stride8_vf4:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: pushq %rbx
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm3, %ebx
+; AVX512F-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm7, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm8 = [21474836481,21474836481]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm4, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm5, %xmm8, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm3, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm7, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm3[2],xmm9[3]
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm7, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm9, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [30064771075,30064771075]
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm5, %xmm10, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpextrd $3, %xmm3, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm4, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm7[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm4, %ebx
+; AVX512F-ONLY-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovd %xmm7, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm5, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpermi2d %xmm6, %xmm0, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm4, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm8, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpextrd $1, %xmm7, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm8, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],xmm4[2],xmm11[3]
+; AVX512F-ONLY-FAST-NEXT: vpextrd $2, %xmm7, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm11, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpermt2d %xmm6, %xmm10, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpextrd $3, %xmm4, %edi
+; AVX512F-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm7[3]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm5, (%r9)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm8, (%r11)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm11, (%r10)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-ONLY-FAST-NEXT: popq %rbx
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i32_stride8_vf4:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: pushq %rbx
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512DQ-SLOW-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512DQ-SLOW-NEXT: vmovd %xmm1, %ebx
+; AVX512DQ-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512DQ-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[1,1,1,1]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm1, %ebx
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %ebx, %xmm7, %xmm7
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %ebx, %xmm7, %xmm7
+; AVX512DQ-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1],xmm1[2],xmm2[3]
+; AVX512DQ-SLOW-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %ebx, %xmm4, %xmm4
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm1, %ebx
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm6[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512DQ-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512DQ-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %ebx, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX512DQ-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm3[1,1,1,1]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm0[1],xmm9[2,3]
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm2, %edi
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %edi, %xmm9, %xmm9
+; AVX512DQ-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %edi, %xmm9, %xmm9
+; AVX512DQ-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm2[2],xmm0[3]
+; AVX512DQ-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512DQ-SLOW-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpextrd $3, %xmm2, %edi
+; AVX512DQ-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX512DQ-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3]
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm4, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm1, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm6, (%r9)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm9, (%r11)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm3, (%r10)
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQ-SLOW-NEXT: popq %rbx
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i32_stride8_vf4:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: pushq %rbx
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512DQ-FAST-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vmovd %xmm0, %ebx
+; AVX512DQ-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512DQ-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512DQ-FAST-NEXT: vmovd %xmm6, %ebx
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836481,21474836481]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm1, %xmm8
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm3, %xmm7, %xmm8
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm0, %ebx
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %ebx, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %ebx, %xmm8, %xmm8
+; AVX512DQ-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm0[2],xmm9[3]
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %ebx, %xmm9, %xmm9
+; AVX512DQ-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [30064771075,30064771075]
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm3, %xmm10, %xmm1
+; AVX512DQ-FAST-NEXT: vpextrd $3, %xmm0, %ebx
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm0
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm6[3]
+; AVX512DQ-FAST-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512DQ-FAST-NEXT: vmovd %xmm1, %ebx
+; AVX512DQ-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %ebx, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa 112(%rdi), %xmm6
+; AVX512DQ-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vpermi2d %xmm4, %xmm2, %xmm7
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm1, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vpextrd $1, %xmm6, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512DQ-FAST-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],xmm1[2],xmm11[3]
+; AVX512DQ-FAST-NEXT: vpextrd $2, %xmm6, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $3, %edi, %xmm11, %xmm11
+; AVX512DQ-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm2
+; AVX512DQ-FAST-NEXT: vpextrd $3, %xmm1, %edi
+; AVX512DQ-FAST-NEXT: vpinsrd $2, %edi, %xmm2, %xmm1
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm6[3]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm7, (%r11)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm11, (%r10)
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512DQ-FAST-NEXT: popq %rbx
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-ONLY-SLOW-LABEL: load_i32_stride8_vf4:
+; AVX512BW-ONLY-SLOW: # %bb.0:
+; AVX512BW-ONLY-SLOW-NEXT: pushq %rbx
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 48(%rdi), %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm5[0],xmm3[1],xmm5[1]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm3[1,1,1,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm5[1],xmm7[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm2, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm7, %xmm7
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm7, %xmm7
+; AVX512BW-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm3[0,1],xmm2[2],xmm3[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm2, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm2 = xmm3[2,3,2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1,2],xmm6[3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm3, %ebx
+; AVX512BW-ONLY-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %ebx, %xmm6, %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm4[1,1,1,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm1[1],xmm9[2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm3, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm9, %xmm9
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm9, %xmm9
+; AVX512BW-ONLY-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm1[0,1],xmm3[2],xmm1[3]
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $3, %edi, %xmm4, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpextrd $3, %xmm3, %edi
+; AVX512BW-ONLY-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; AVX512BW-ONLY-SLOW-NEXT: vpinsrd $2, %edi, %xmm1, %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm8[3]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm2, (%r8)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm6, (%r9)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm9, (%r11)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm4, (%r10)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512BW-ONLY-SLOW-NEXT: popq %rbx
+; AVX512BW-ONLY-SLOW-NEXT: retq
+;
+; AVX512BW-ONLY-FAST-LABEL: load_i32_stride8_vf4:
+; AVX512BW-ONLY-FAST: # %bb.0:
+; AVX512BW-ONLY-FAST-NEXT: pushq %rbx
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm3, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm7, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm1, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm8 = [21474836481,21474836481]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm4, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm5, %xmm8, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm3, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm7, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm3[2],xmm9[3]
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm7, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %ebx, %xmm9, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [30064771075,30064771075]
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm5, %xmm10, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $3, %xmm3, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm4, %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm7[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm4, %ebx
+; AVX512BW-ONLY-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vmovd %xmm7, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpermi2d %xmm6, %xmm0, %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm4, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm8, %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $1, %xmm7, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm8, %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],xmm4[2],xmm11[3]
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $2, %xmm7, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $3, %edi, %xmm11, %xmm11
+; AVX512BW-ONLY-FAST-NEXT: vpermt2d %xmm6, %xmm10, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpextrd $3, %xmm4, %edi
+; AVX512BW-ONLY-FAST-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm7[3]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm3, (%r8)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm5, (%r9)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm8, (%r11)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm11, (%r10)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-ONLY-FAST-NEXT: popq %rbx
+; AVX512BW-ONLY-FAST-NEXT: retq
+;
+; AVX512DQBW-SLOW-LABEL: load_i32_stride8_vf4:
+; AVX512DQBW-SLOW: # %bb.0:
+; AVX512DQBW-SLOW-NEXT: pushq %rbx
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512DQBW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm1, %ebx
+; AVX512DQBW-SLOW-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512DQBW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512DQBW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512DQBW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512DQBW-SLOW-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512DQBW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm7 = xmm2[1,1,1,1]
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0],xmm4[1],xmm7[2,3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm1, %ebx
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %ebx, %xmm7, %xmm7
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %ebx, %xmm7, %xmm7
+; AVX512DQBW-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1],xmm1[2],xmm2[3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %ebx, %xmm4, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm1, %ebx
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm1 = xmm2[2,3,2,3]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm1
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm6[3]
+; AVX512DQBW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512DQBW-SLOW-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %ebx, %xmm6, %xmm6
+; AVX512DQBW-SLOW-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX512DQBW-SLOW-NEXT: vmovd %xmm8, %edi
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %edi, %xmm6, %xmm6
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm9 = xmm3[1,1,1,1]
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm0[1],xmm9[2,3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm2, %edi
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %edi, %xmm9, %xmm9
+; AVX512DQBW-SLOW-NEXT: vpextrd $1, %xmm8, %edi
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %edi, %xmm9, %xmm9
+; AVX512DQBW-SLOW-NEXT: vpunpckhdq {{.*#+}} xmm0 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm2[2],xmm0[3]
+; AVX512DQBW-SLOW-NEXT: vpextrd $2, %xmm8, %edi
+; AVX512DQBW-SLOW-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQBW-SLOW-NEXT: vpextrd $3, %xmm2, %edi
+; AVX512DQBW-SLOW-NEXT: vpshufd {{.*#+}} xmm0 = xmm0[2,3,2,3]
+; AVX512DQBW-SLOW-NEXT: vpinsrd $2, %edi, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm8[3]
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm4, (%rcx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm1, (%r8)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm6, (%r9)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm9, (%r11)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm3, (%r10)
+; AVX512DQBW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512DQBW-SLOW-NEXT: popq %rbx
+; AVX512DQBW-SLOW-NEXT: retq
+;
+; AVX512DQBW-FAST-LABEL: load_i32_stride8_vf4:
+; AVX512DQBW-FAST: # %bb.0:
+; AVX512DQBW-FAST-NEXT: pushq %rbx
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512DQBW-FAST-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX512DQBW-FAST-NEXT: vmovd %xmm0, %ebx
+; AVX512DQBW-FAST-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512DQBW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512DQBW-FAST-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512DQBW-FAST-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512DQBW-FAST-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %ebx, %xmm5, %xmm5
+; AVX512DQBW-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512DQBW-FAST-NEXT: vmovd %xmm6, %ebx
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %ebx, %xmm5, %xmm5
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm7 = [21474836481,21474836481]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm1, %xmm8
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm3, %xmm7, %xmm8
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm0, %ebx
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %ebx, %xmm8, %xmm8
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm6, %ebx
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %ebx, %xmm8, %xmm8
+; AVX512DQBW-FAST-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm0[2],xmm9[3]
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm6, %ebx
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %ebx, %xmm9, %xmm9
+; AVX512DQBW-FAST-NEXT: vpbroadcastq {{.*#+}} xmm10 = [30064771075,30064771075]
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm3, %xmm10, %xmm1
+; AVX512DQBW-FAST-NEXT: vpextrd $3, %xmm0, %ebx
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %ebx, %xmm1, %xmm0
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm6[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX512DQBW-FAST-NEXT: vmovd %xmm1, %ebx
+; AVX512DQBW-FAST-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %ebx, %xmm3, %xmm3
+; AVX512DQBW-FAST-NEXT: vmovdqa 112(%rdi), %xmm6
+; AVX512DQBW-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm3, %xmm3
+; AVX512DQBW-FAST-NEXT: vpermi2d %xmm4, %xmm2, %xmm7
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm1, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm7, %xmm7
+; AVX512DQBW-FAST-NEXT: vpextrd $1, %xmm6, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm7, %xmm7
+; AVX512DQBW-FAST-NEXT: vpunpckhdq {{.*#+}} xmm11 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],xmm1[2],xmm11[3]
+; AVX512DQBW-FAST-NEXT: vpextrd $2, %xmm6, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $3, %edi, %xmm11, %xmm11
+; AVX512DQBW-FAST-NEXT: vpermt2d %xmm4, %xmm10, %xmm2
+; AVX512DQBW-FAST-NEXT: vpextrd $3, %xmm1, %edi
+; AVX512DQBW-FAST-NEXT: vpinsrd $2, %edi, %xmm2, %xmm1
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm6[3]
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm0, (%r8)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm3, (%r9)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm7, (%r11)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm11, (%r10)
+; AVX512DQBW-FAST-NEXT: vmovdqa %xmm1, (%rax)
+; AVX512DQBW-FAST-NEXT: popq %rbx
+; AVX512DQBW-FAST-NEXT: retq
+ %wide.vec = load <32 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 0, i32 8, i32 16, i32 24>
+ %strided.vec1 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 1, i32 9, i32 17, i32 25>
+ %strided.vec2 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 2, i32 10, i32 18, i32 26>
+ %strided.vec3 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 3, i32 11, i32 19, i32 27>
+ %strided.vec4 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 4, i32 12, i32 20, i32 28>
+ %strided.vec5 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 5, i32 13, i32 21, i32 29>
+ %strided.vec6 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 6, i32 14, i32 22, i32 30>
+ %strided.vec7 = shufflevector <32 x i32> %wide.vec, <32 x i32> poison, <4 x i32> <i32 7, i32 15, i32 23, i32 31>
+
+ store <4 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i32> %strided.vec6, ptr %out.vec6, align 64
+ store <4 x i32> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i32_stride8_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i32_stride8_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movaps 112(%rdi), %xmm2
+; SSE-NEXT: movaps 176(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm9
+; SSE-NEXT: movaps (%rdi), %xmm11
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps 96(%rdi), %xmm13
+; SSE-NEXT: movaps 64(%rdi), %xmm12
+; SSE-NEXT: movaps 160(%rdi), %xmm1
+; SSE-NEXT: movaps 128(%rdi), %xmm5
+; SSE-NEXT: movaps 224(%rdi), %xmm10
+; SSE-NEXT: movaps 192(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm8
+; SSE-NEXT: unpcklps {{.*#+}} xmm8 = xmm8[0],xmm10[0],xmm8[1],xmm10[1]
+; SSE-NEXT: movaps %xmm5, %xmm6
+; SSE-NEXT: unpcklps {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; SSE-NEXT: movaps %xmm6, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm8[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm14
+; SSE-NEXT: unpcklps {{.*#+}} xmm14 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; SSE-NEXT: movaps %xmm11, %xmm7
+; SSE-NEXT: unpcklps {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm8[1]
+; SSE-NEXT: movaps %xmm7, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm14[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm14[1]
+; SSE-NEXT: movaps 240(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{.*#+}} xmm15 = xmm15[2],xmm10[2],xmm15[3],xmm10[3]
+; SSE-NEXT: movaps 208(%rdi), %xmm10
+; SSE-NEXT: unpckhps {{.*#+}} xmm5 = xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: movaps %xmm5, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm15[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{.*#+}} xmm12 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm11 = xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: movaps %xmm11, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm12[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm15[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm12[1]
+; SSE-NEXT: movaps %xmm10, %xmm15
+; SSE-NEXT: unpcklps {{.*#+}} xmm15 = xmm15[0],xmm4[0],xmm15[1],xmm4[1]
+; SSE-NEXT: movaps %xmm9, %xmm12
+; SSE-NEXT: unpcklps {{.*#+}} xmm12 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; SSE-NEXT: movaps %xmm12, %xmm13
+; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm15[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm15[1]
+; SSE-NEXT: movaps 80(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm15
+; SSE-NEXT: unpcklps {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; SSE-NEXT: movaps %xmm2, %xmm8
+; SSE-NEXT: movaps 16(%rdi), %xmm1
+; SSE-NEXT: movaps 48(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: unpcklps {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; SSE-NEXT: movaps %xmm2, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm15[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm15[1]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = xmm9[2],mem[2],xmm9[3],mem[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm0 = xmm0[2],xmm8[2],xmm0[3],xmm8[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm1 = xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; SSE-NEXT: movaps %xmm9, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm10[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm10[1]
+; SSE-NEXT: movaps %xmm1, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps %xmm7, (%rdx)
+; SSE-NEXT: movaps %xmm6, 16(%rdx)
+; SSE-NEXT: movaps %xmm14, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps %xmm11, (%r8)
+; SSE-NEXT: movaps %xmm5, 16(%r8)
+; SSE-NEXT: movaps %xmm4, (%r9)
+; SSE-NEXT: movaps %xmm13, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm2, (%rax)
+; SSE-NEXT: movaps %xmm12, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm10, (%rax)
+; SSE-NEXT: movaps %xmm3, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm9, 16(%rax)
+; SSE-NEXT: movaps %xmm1, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride8_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm10
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm4 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm6[0,1,0,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm7 = xmm11[0],xmm9[0],xmm11[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm4[0],xmm7[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm10[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0],xmm8[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm13[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0],xmm12[1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm8 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm12 = xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm14[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm15[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm9[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm11[0,1,2],xmm13[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm8[0,1],xmm13[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm9 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm8[1],xmm9[1]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm9 = xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm12 = xmm12[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm12[0,1,2,3,4,5],ymm9[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm12 = ymm7[0],ymm6[0],ymm7[1],ymm6[1],ymm7[4],ymm6[4],ymm7[5],ymm6[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm12[0,1],ymm8[2,0],ymm12[4,5],ymm8[6,4]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm14 = ymm0[0],ymm1[0],ymm0[1],ymm1[1],ymm0[4],ymm1[4],ymm0[5],ymm1[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm14[0,1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm8 = ymm10[0],ymm11[0],ymm10[1],ymm11[1],ymm10[4],ymm11[4],ymm10[5],ymm11[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm6[1,0],ymm7[1,0],ymm6[5,4],ymm7[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm8 = ymm14[2,0],ymm8[2,3],ymm14[6,4],ymm8[6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm14 = ymm2[0],ymm3[0],ymm2[1],ymm3[1],ymm2[4],ymm3[4],ymm2[5],ymm3[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm14, %xmm14
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm15 = ymm1[1,0],ymm0[1,0],ymm1[5,4],ymm0[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm14 = xmm15[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm14 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm15 = ymm7[2],ymm6[2],ymm7[3],ymm6[3],ymm7[6],ymm6[6],ymm7[7],ymm6[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm14 = ymm15[0,1],ymm14[2,0],ymm15[4,5],ymm14[6,4]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm15 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm15 = ymm15[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm15, %xmm15
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm4 = ymm0[2],ymm1[2],ymm0[3],ymm1[3],ymm0[6],ymm1[6],ymm0[7],ymm1[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm10 = ymm10[2],ymm11[2],ymm10[3],ymm11[3],ymm10[6],ymm11[6],ymm10[7],ymm11[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[3,0],ymm7[3,0],ymm6[7,4],ymm7[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm6[2,0],ymm10[2,3],ymm6[6,4],ymm10[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm2 = ymm2[2],ymm3[2],ymm2[3],ymm3[3],ymm2[6],ymm3[6],ymm2[7],ymm3[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[3,0],ymm0[3,0],ymm1[7,4],ymm0[7,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride8_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm4 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vbroadcastss %xmm8, %xmm5
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vbroadcastss %xmm10, %xmm6
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vbroadcastss %xmm11, %xmm5
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vbroadcastss %xmm14, %xmm6
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm14[0],xmm11[0],xmm14[1],xmm11[1]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm12[1,1,1,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm13[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm15 = xmm9[1,1,1,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm15 = xmm15[0],xmm7[1],xmm15[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm15
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm15[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm15[4,5,6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm15 = xmm9[2],xmm7[2],xmm9[3],xmm7[3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm7
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm9 = xmm8[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm10[0,1,2],xmm9[3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm12 = xmm11[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm14[0,1,2],xmm12[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm12 = xmm0[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm12[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm8 = xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm10 = xmm15[2,3,2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm10 = xmm14[2],xmm11[2],xmm14[3],xmm11[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm0 = ymm13[0],ymm12[0],ymm13[1],ymm12[1],ymm13[4],ymm12[4],ymm13[5],ymm12[5]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm11 = ymm9[0],ymm6[0],ymm9[1],ymm6[1],ymm9[4],ymm6[4],ymm9[5],ymm6[5]
+; AVX2-ONLY-NEXT: vpunpcklqdq {{.*#+}} ymm0 = ymm0[0],ymm11[0],ymm0[2],ymm11[2]
+; AVX2-ONLY-NEXT: vpbroadcastd 48(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vpbroadcastd 16(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm14[0],xmm10[0],xmm14[1],xmm10[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm14 = ymm3[0],ymm1[0],ymm3[1],ymm1[1],ymm3[4],ymm1[4],ymm3[5],ymm1[5]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm14 = ymm14[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 148(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm12[5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm11 = mem[0],zero,mem[1],zero
+; AVX2-ONLY-NEXT: vpbroadcastd 116(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1,2],xmm14[3]
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm14 = ymm2[1,1,1,1,5,5,5,5]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0],ymm15[1],ymm14[2,3,4],ymm15[5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm14[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 248(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm11 = ymm13[2],ymm12[2],ymm13[3],ymm12[3],ymm13[6],ymm12[6],ymm13[7],ymm12[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm2 = ymm2[2],ymm15[2],ymm2[3],ymm15[3],ymm2[6],ymm15[6],ymm2[7],ymm15[7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm12
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm1 = ymm3[2],ymm1[2],ymm3[3],ymm1[3],ymm3[6],ymm1[6],ymm3[7],ymm1[7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm1[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 220(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm6 = ymm9[2],ymm6[2],ymm9[3],ymm6[3],ymm9[6],ymm6[6],ymm9[7],ymm6[7]
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm6 = ymm11[1],ymm6[1],ymm11[3],ymm6[3]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm2 = ymm2[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i32_stride8_vf8:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,0,8,16,24>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm4
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = [0,8,16,24]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm5
+; AVX512-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,9,17,25>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm5
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm6 = [1,9,17,25]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm6
+; AVX512-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,2,10,18,26>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm6
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm7 = [2,10,18,26]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm7
+; AVX512-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,3,11,19,27>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm7
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm8 = [3,11,19,27]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,4,12,20,28>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm8
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm9 = [4,12,20,28]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm9
+; AVX512-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,5,13,21,29>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm9
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm10 = [5,13,21,29]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm10
+; AVX512-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,6,14,22,30>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm10
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm11 = [6,14,22,30]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm11
+; AVX512-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,7,15,23,31>
+; AVX512-NEXT: vpermi2d %zmm3, %zmm2, %zmm11
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm2 = [7,15,23,31]
+; AVX512-NEXT: vpermi2d %zmm1, %zmm0, %zmm2
+; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm11[4,5,6,7]
+; AVX512-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX512-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512-NEXT: vmovdqa %ymm9, (%r11)
+; AVX512-NEXT: vmovdqa %ymm10, (%r10)
+; AVX512-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <64 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56>
+ %strided.vec1 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57>
+ %strided.vec2 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58>
+ %strided.vec3 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59>
+ %strided.vec4 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60>
+ %strided.vec5 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61>
+ %strided.vec6 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62>
+ %strided.vec7 = shufflevector <64 x i32> %wide.vec, <64 x i32> poison, <8 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
+
+ store <8 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i32> %strided.vec6, ptr %out.vec6, align 64
+ store <8 x i32> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i32_stride8_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i32_stride8_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $296, %rsp # imm = 0x128
+; SSE-NEXT: movaps 288(%rdi), %xmm1
+; SSE-NEXT: movaps 352(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 320(%rdi), %xmm7
+; SSE-NEXT: movaps 416(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 384(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 480(%rdi), %xmm11
+; SSE-NEXT: movaps 448(%rdi), %xmm3
+; SSE-NEXT: movaps 160(%rdi), %xmm6
+; SSE-NEXT: movaps 128(%rdi), %xmm13
+; SSE-NEXT: movaps 224(%rdi), %xmm5
+; SSE-NEXT: movaps 192(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm8
+; SSE-NEXT: unpcklps {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1]
+; SSE-NEXT: movaps %xmm13, %xmm9
+; SSE-NEXT: unpcklps {{.*#+}} xmm9 = xmm9[0],xmm6[0],xmm9[1],xmm6[1]
+; SSE-NEXT: movaps %xmm9, %xmm14
+; SSE-NEXT: movaps %xmm9, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm8[0]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm3, %xmm9
+; SSE-NEXT: unpcklps {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1]
+; SSE-NEXT: movaps %xmm4, %xmm14
+; SSE-NEXT: unpcklps {{.*#+}} xmm14 = xmm14[0],xmm0[0],xmm14[1],xmm0[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm8[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm14, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm9[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm9[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm7, %xmm8
+; SSE-NEXT: unpcklps {{.*#+}} xmm8 = xmm8[0],xmm2[0],xmm8[1],xmm2[1]
+; SSE-NEXT: movaps 256(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movaps %xmm1, %xmm4
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm8[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm8[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 96(%rdi), %xmm8
+; SSE-NEXT: movaps 64(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm14
+; SSE-NEXT: unpcklps {{.*#+}} xmm14 = xmm14[0],xmm8[0],xmm14[1],xmm8[1]
+; SSE-NEXT: movaps (%rdi), %xmm2
+; SSE-NEXT: movaps 32(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm14[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm14[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhps {{.*#+}} xmm10 = xmm10[2],xmm5[2],xmm10[3],xmm5[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm13 = xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm3 = xmm3[2],xmm11[2],xmm3[3],xmm11[3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = xmm11[2],mem[2],xmm11[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = xmm7[2],mem[2],xmm7[3],mem[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm9 = xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm12 = xmm12[2],xmm8[2],xmm12[3],xmm8[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm2 = xmm2[2],xmm15[2],xmm2[3],xmm15[3]
+; SSE-NEXT: movaps %xmm13, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm10[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm10[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm3[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm3[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm7[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm7[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm2, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm12[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm12[1]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 240(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 208(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm0
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movaps 176(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 144(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 336(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movaps 304(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 272(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm8
+; SSE-NEXT: unpcklps {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: movaps %xmm8, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
+; SSE-NEXT: movaps 496(%rdi), %xmm14
+; SSE-NEXT: movaps 464(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: unpcklps {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1]
+; SSE-NEXT: movaps 432(%rdi), %xmm13
+; SSE-NEXT: movaps 400(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm7
+; SSE-NEXT: unpcklps {{.*#+}} xmm7 = xmm7[0],xmm13[0],xmm7[1],xmm13[1]
+; SSE-NEXT: movaps %xmm7, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm1[1]
+; SSE-NEXT: movaps 112(%rdi), %xmm11
+; SSE-NEXT: movaps 80(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm0
+; SSE-NEXT: unpcklps {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: movaps 16(%rdi), %xmm6
+; SSE-NEXT: movaps 48(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm6, %xmm5
+; SSE-NEXT: unpcklps {{.*#+}} xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1]
+; SSE-NEXT: movaps %xmm5, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
+; SSE-NEXT: movaps %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = xmm12[2],mem[2],xmm12[3],mem[3]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[2],mem[2],xmm0[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; SSE-NEXT: unpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = xmm10[2],mem[2],xmm10[3],mem[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm2 = xmm2[2],xmm14[2],xmm2[3],xmm14[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm15 = xmm15[2],xmm13[2],xmm15[3],xmm13[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm1 = xmm1[2],xmm11[2],xmm1[3],xmm11[3]
+; SSE-NEXT: unpckhps {{.*#+}} xmm6 = xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; SSE-NEXT: movaps %xmm0, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm12[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm12[1]
+; SSE-NEXT: movaps %xmm0, %xmm9
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm3[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm3[1]
+; SSE-NEXT: movaps %xmm15, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm2[1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm1[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm7, 48(%rax)
+; SSE-NEXT: movaps %xmm8, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rax)
+; SSE-NEXT: movaps %xmm5, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm3, 48(%rax)
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps %xmm4, 16(%rax)
+; SSE-NEXT: movaps %xmm2, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm15, 48(%rax)
+; SSE-NEXT: movaps %xmm10, 32(%rax)
+; SSE-NEXT: movaps %xmm9, 16(%rax)
+; SSE-NEXT: movaps %xmm6, (%rax)
+; SSE-NEXT: addq $296, %rsp # imm = 0x128
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i32_stride8_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $584, %rsp # imm = 0x248
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm12 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm12[0]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm6[0],xmm8[0],xmm6[1],xmm8[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm5 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm7 = xmm5[0,1,0,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm7[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm4 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm4[0,1,0,1]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1,2,3,4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm7[0],xmm15[0],xmm7[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm9[1,1,1,1]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm6[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0],xmm8[1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm7[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0],xmm15[1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm11[1,1,1,1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0],xmm10[1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm9[2],xmm3[2],xmm9[3],xmm3[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm6[2],xmm8[2],xmm6[3],xmm8[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm12[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm9[0,1,2],xmm2[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm8[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm0[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm7[2],xmm15[2],xmm7[3],xmm15[3]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm4 = xmm10[2,2,2,2]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm7[0,1,2],xmm4[3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm13[2,2,2,2]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm14[0,1,2],xmm5[3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm2[0,1],xmm5[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm4 = xmm6[2],xmm8[2],xmm6[3],xmm8[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm4[1]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm4 = xmm9[2],xmm12[2],xmm9[3],xmm12[3]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm7[2],xmm10[2],xmm7[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} xmm2 = xmm3[2,3,2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm1 = ymm8[0],ymm6[0],ymm8[1],ymm6[1],ymm8[4],ymm6[4],ymm8[5],ymm6[5]
+; AVX1-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm0 = ymm4[0],ymm5[0],ymm4[1],ymm5[1],ymm4[4],ymm5[4],ymm4[5],ymm5[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm3
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm9[0],ymm10[0],ymm9[2],ymm10[2]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm4, %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm11[0],ymm15[0],ymm11[2],ymm15[2]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm4 = ymm8[0],ymm7[0],ymm8[1],ymm7[1],ymm8[4],ymm7[4],ymm8[5],ymm7[5]
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm4[0,1],ymm2[2,0],ymm4[4,5],ymm2[6,4]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm2[0],ymm0[0],ymm2[2],ymm0[2]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm14
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm12 = ymm14[0],ymm13[0],ymm14[1],ymm13[1],ymm14[4],ymm13[4],ymm14[5],ymm13[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm12[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm0 = ymm3[0],ymm4[0],ymm3[1],ymm4[1],ymm3[4],ymm4[4],ymm3[5],ymm4[5]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm6[1,0],ymm5[1,0],ymm6[5,4],ymm5[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm6 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm1 = ymm10[0],ymm9[0],ymm10[1],ymm9[1],ymm10[4],ymm9[4],ymm10[5],ymm9[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm0[1,0],ymm2[1,0],ymm0[5,4],ymm2[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm12[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm6 = ymm15[0],ymm11[0],ymm15[1],ymm11[1],ymm15[4],ymm11[4],ymm15[5],ymm11[5]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm7[1,0],ymm8[1,0],ymm7[5,4],ymm8[5,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm7 = ymm1[2,0],ymm6[2,3],ymm1[6,4],ymm6[6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpcklps {{.*#+}} ymm1 = ymm6[0],ymm8[0],ymm6[1],ymm8[1],ymm6[4],ymm8[4],ymm6[5],ymm8[5]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm12 = ymm13[1,0],ymm14[1,0],ymm13[5,4],ymm14[5,4]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm12[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm4[1],ymm3[1],ymm4[3],ymm3[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm5[2],ymm4[2],ymm5[3],ymm4[3],ymm5[6],ymm4[6],ymm5[7],ymm4[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm1[0,1],ymm7[2,0],ymm1[4,5],ymm7[6,4]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm2[2],ymm0[2],ymm2[3],ymm0[3],ymm2[6],ymm0[6],ymm2[7],ymm0[7]
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm9[1],ymm10[1],ymm9[3],ymm10[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm12 = ymm12[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm15[1],ymm11[3],ymm15[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm3[2],ymm2[2],ymm3[3],ymm2[3],ymm3[6],ymm2[6],ymm3[7],ymm2[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,0],ymm1[4,5],ymm0[6,4]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm8[1],ymm6[1],ymm8[3],ymm6[3]
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[0,1,2,0,4,5,6,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm12 = ymm14[2],ymm13[2],ymm14[3],ymm13[3],ymm14[6],ymm13[6],ymm14[7],ymm13[7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm12, %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm12[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[2],mem[2],ymm0[3],mem[3],ymm0[6],mem[6],ymm0[7],mem[7]
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm4[3,0],mem[3,0],ymm4[7,4],mem[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm0 = ymm1[2,0],ymm0[2,3],ymm1[6,4],ymm0[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm10[2],ymm9[2],ymm10[3],ymm9[3],ymm10[6],ymm9[6],ymm10[7],ymm9[7]
+; AVX1-ONLY-NEXT: vshufps $51, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = ymm5[3,0],mem[3,0],ymm5[7,4],mem[7,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm1, %xmm1
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm1 = ymm15[2],ymm11[2],ymm15[3],ymm11[3],ymm15[6],ymm11[6],ymm15[7],ymm11[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm3 = ymm2[3,0],ymm3[3,0],ymm2[7,4],ymm3[7,4]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm1 = ymm3[2,0],ymm1[2,3],ymm3[6,4],ymm1[6,7]
+; AVX1-ONLY-NEXT: vunpckhps {{.*#+}} ymm3 = ymm6[2],ymm8[2],ymm6[3],ymm8[3],ymm6[6],ymm8[6],ymm6[7],ymm8[7]
+; AVX1-ONLY-NEXT: vshufps {{.*#+}} ymm2 = ymm13[3,0],ymm14[3,0],ymm13[7,4],ymm14[7,4]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm3, %xmm3
+; AVX1-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[2,0,2,3,6,4,6,7]
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm2, %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: addq $584, %rsp # imm = 0x248
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i32_stride8_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $328, %rsp # imm = 0x148
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, %xmm15
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastss %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastss %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm13[0],xmm1[0],xmm13[1],xmm1[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vbroadcastss %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm3, %xmm9
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastss %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm2 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, %xmm4
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps %xmm0, %xmm5
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vbroadcastss %xmm0, %xmm3
+; AVX2-ONLY-NEXT: vmovaps %xmm0, %xmm10
+; AVX2-ONLY-NEXT: vmovaps %xmm0, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vbroadcastss %xmm11, %xmm12
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm3 = xmm12[0],xmm3[0],xmm12[1],xmm3[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vbroadcastss %xmm12, %xmm2
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vbroadcastss %xmm14, %xmm3
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm0 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm6 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm6[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm7[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm14[0],xmm12[0],xmm14[1],xmm12[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm4[1,1,1,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm0 = xmm15[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovaps %xmm15, %xmm10
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm3[0],xmm15[0],xmm3[1],xmm15[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpcklps {{.*#+}} xmm1 = xmm2[0],xmm9[0],xmm2[1],xmm9[1]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm13[1,1,1,1]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm10[2],xmm5[2],xmm10[3],xmm5[3]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm6 = xmm9[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm2[0,1,2],xmm6[3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm13 = xmm15[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm3[0,1,2],xmm13[3]
+; AVX2-ONLY-NEXT: vmovaps %xmm3, %xmm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm0[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm13[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = xmm2[2],mem[2],xmm2[3],mem[3]
+; AVX2-ONLY-NEXT: vmovaps (%rsp), %xmm10 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm5 = xmm10[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm11[0,1,2],xmm5[3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm2 = xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm3 = xmm12[2,2,2,2]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm14[0,1,2],xmm3[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm2[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm3 = xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm3[1]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm3[2],mem[2],xmm3[3],mem[3]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm1[2,3,2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm0 = xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} xmm1 = xmm4[2,3,2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpckhps {{.*#+}} xmm1 = xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd 48(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpbroadcastd 16(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm1 = ymm6[0],ymm5[0],ymm6[1],ymm5[1],ymm6[4],ymm5[4],ymm6[5],ymm5[5]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm1 = ymm12[0],ymm7[0],ymm12[1],ymm7[1],ymm12[4],ymm7[4],ymm12[5],ymm7[5]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm8 = ymm13[0],ymm3[0],ymm13[1],ymm3[1],ymm13[4],ymm3[4],ymm13[5],ymm3[5]
+; AVX2-ONLY-NEXT: vpunpcklqdq {{.*#+}} ymm1 = ymm1[0],ymm8[0],ymm1[2],ymm8[2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd 304(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpbroadcastd 272(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm1 = ymm6[0],ymm9[0],ymm6[1],ymm9[1],ymm6[4],ymm9[4],ymm6[5],ymm9[5]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm11 = ymm4[0],ymm2[0],ymm4[1],ymm2[1],ymm4[4],ymm2[4],ymm4[5],ymm2[5]
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} ymm0 = ymm5[0],ymm15[0],ymm5[1],ymm15[1],ymm5[4],ymm15[4],ymm5[5],ymm15[5]
+; AVX2-ONLY-NEXT: vpunpcklqdq {{.*#+}} ymm11 = ymm11[0],ymm0[0],ymm11[2],ymm0[2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd 148(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm7[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm11 = mem[0],zero,mem[1],zero
+; AVX2-ONLY-NEXT: vpbroadcastd 116(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1,2],xmm14[3]
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm10 = ymm1[1,1,1,1,5,5,5,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0],ymm14[1],ymm10[2,3,4],ymm14[5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastd 404(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4],ymm2[5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpmovzxdq {{.*#+}} xmm8 = mem[0],zero,mem[1],zero
+; AVX2-ONLY-NEXT: vpbroadcastd 372(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1,2],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm11 = ymm0[1,1,1,1,5,5,5,5]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0],ymm10[1],ymm11[2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm11[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 248(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm7 = ymm12[2],ymm7[2],ymm12[3],ymm7[3],ymm12[6],ymm7[6],ymm12[7],ymm7[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm11 = ymm1[2],ymm14[2],ymm1[3],ymm14[3],ymm1[6],ymm14[6],ymm1[7],ymm14[7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = ymm1[2],mem[2],ymm1[3],mem[3],ymm1[6],mem[6],ymm1[7],mem[7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm1
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 504(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm2 = ymm4[2],ymm2[2],ymm4[3],ymm2[3],ymm4[6],ymm2[6],ymm4[7],ymm2[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm0 = ymm0[2],ymm10[2],ymm0[3],ymm10[3],ymm0[6],ymm10[6],ymm0[7],ymm10[7]
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm4 = ymm6[2],ymm9[2],ymm6[3],ymm9[3],ymm6[6],ymm9[6],ymm6[7],ymm9[7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm4[2,2,2,2]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 220(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vpunpckhdq {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm5[2],mem[2],ymm5[3],mem[3],ymm5[6],mem[6],ymm5[7],mem[7]
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm5 = ymm7[1],ymm5[1],ymm7[3],ymm5[3]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm12, %xmm6
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm7 = ymm11[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastd 476(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpunpckhdq {{.*#+}} ymm6 = ymm6[2],ymm15[2],ymm6[3],ymm15[3],ymm6[6],ymm15[6],ymm6[7],ymm15[7]
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm6[1],ymm2[3],ymm6[3]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX2-ONLY-NEXT: vpshufd {{.*#+}} ymm0 = ymm0[2,3,2,3,6,7,6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, 32(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%rax)
+; AVX2-ONLY-NEXT: addq $328, %rsp # imm = 0x148
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i32_stride8_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm6
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [0,8,16,24,0,8,16,24,0,8,16,24,0,8,16,24]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm8, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm10
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm8, %zmm10
+; AVX512F-NEXT: movb $-64, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm10 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,0,8,16,24>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm9
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm8
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm9 = [1,9,17,25,1,9,17,25,1,9,17,25,1,9,17,25]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm10
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm9, %zmm10
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm11
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm9, %zmm11
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm11 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,1,9,17,25>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm10
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm9
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm9, %zmm11, %zmm9
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [2,10,18,26,2,10,18,26,2,10,18,26,2,10,18,26]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm11
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm10, %zmm11
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm12
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm10, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm12 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,2,10,18,26>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm11
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm10
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm10, %zmm12, %zmm10
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm11 = [3,11,19,27,3,11,19,27,3,11,19,27,3,11,19,27]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm12
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm11, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm13
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm11, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,3,11,19,27>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm12
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm11, %zmm13, %zmm11
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [4,12,20,28,4,12,20,28,4,12,20,28,4,12,20,28]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm13
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm12, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm14
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm12, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm14 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,4,12,20,28>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm13
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm12
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm12, %zmm14, %zmm12
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm13 = [5,13,21,29,5,13,21,29,5,13,21,29,5,13,21,29]
+; AVX512F-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm14
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm13, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm15
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm13, %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm15 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,5,13,21,29>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm14
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm13
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm13, %zmm15, %zmm13
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [6,14,22,30,6,14,22,30,6,14,22,30,6,14,22,30]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm15
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm16
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm14, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm16 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,6,14,22,30>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm15
+; AVX512F-NEXT: vpermi2d %zmm1, %zmm0, %zmm14
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3],ymm15[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm14, %zmm16, %zmm14
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm15 = [7,15,23,31,7,15,23,31,7,15,23,31,7,15,23,31]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2d %zmm7, %zmm15, %zmm6
+; AVX512F-NEXT: vpermt2d %zmm5, %zmm15, %zmm2
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm2 {%k1}
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,7,15,23,31>
+; AVX512F-NEXT: vpermi2d %zmm4, %zmm3, %zmm5
+; AVX512F-NEXT: vpermt2d %zmm1, %zmm15, %zmm0
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm11, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm12, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm13, (%r11)
+; AVX512F-NEXT: vmovdqa64 %zmm14, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i32_stride8_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm6
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [0,8,16,24,0,8,16,24,0,8,16,24,0,8,16,24]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm10
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm8, %zmm10
+; AVX512BW-NEXT: movb $-64, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm10 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,0,8,16,24>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm9
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm8
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm9 = [1,9,17,25,1,9,17,25,1,9,17,25,1,9,17,25]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm10
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm9, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm11
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm9, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm11 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,1,9,17,25>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm10
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm11, %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [2,10,18,26,2,10,18,26,2,10,18,26,2,10,18,26]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm11
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm10, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm12
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm10, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm12 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,2,10,18,26>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm11
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm10
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm10, %zmm12, %zmm10
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm11 = [3,11,19,27,3,11,19,27,3,11,19,27,3,11,19,27]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm12
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm11, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm13
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm11, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,3,11,19,27>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm12
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm11, %zmm13, %zmm11
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [4,12,20,28,4,12,20,28,4,12,20,28,4,12,20,28]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm13
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm12, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm14
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm12, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,4,12,20,28>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm13
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm12
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm12, %zmm14, %zmm12
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm13 = [5,13,21,29,5,13,21,29,5,13,21,29,5,13,21,29]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm14
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm13, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm15
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm13, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm15 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,5,13,21,29>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm14
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm13
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm13, %zmm15, %zmm13
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [6,14,22,30,6,14,22,30,6,14,22,30,6,14,22,30]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm15
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm16
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm14, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm16 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,6,14,22,30>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm15
+; AVX512BW-NEXT: vpermi2d %zmm1, %zmm0, %zmm14
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3],ymm15[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm14, %zmm16, %zmm14
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm15 = [7,15,23,31,7,15,23,31,7,15,23,31,7,15,23,31]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm15, %zmm6
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm15, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm2 {%k1}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,7,15,23,31>
+; AVX512BW-NEXT: vpermi2d %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vpermt2d %zmm1, %zmm15, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%r11)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i32>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120>
+ %strided.vec1 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121>
+ %strided.vec2 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122>
+ %strided.vec3 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123>
+ %strided.vec4 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124>
+ %strided.vec5 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125>
+ %strided.vec6 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126>
+ %strided.vec7 = shufflevector <128 x i32> %wide.vec, <128 x i32> poison, <16 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127>
+
+ store <16 x i32> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i32> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i32> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i32> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i32> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i32> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i32> %strided.vec6, ptr %out.vec6, align 64
+ store <16 x i32> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
-; These patterns are produced by LoopVectorizer for interleaved stores.
+; These patterns are produced by LoopVectorizer for interleaved loads.
define void @load_i64_stride2_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
; SSE-LABEL: load_i64_stride2_vf2:
; AVX-NEXT: vmovaps %xmm2, (%rsi)
; AVX-NEXT: vmovaps %xmm0, (%rdx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i64_stride2_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovaps (%rdi), %xmm0
-; AVX512-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX512-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
-; AVX512-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX512-NEXT: vmovaps %xmm2, (%rsi)
-; AVX512-NEXT: vmovaps %xmm0, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <4 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <4 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <4 x i64> %wide.vec, <4 x i64> poison, <2 x i32> <i32 0, i32 2>
%strided.vec1 = shufflevector <4 x i64> %wide.vec, <4 x i64> poison, <2 x i32> <i32 1, i32 3>
- store <2 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i64> %strided.vec1, ptr %out.vec1, align 32
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps %xmm2, 16(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride2_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX1-NEXT: vmovaps %ymm2, (%rsi)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride2_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride2_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride2_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i64_stride2_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovaps (%rdi), %ymm0
-; AVX512-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX512-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX512-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX512-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX512-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX512-NEXT: vmovaps %ymm2, (%rsi)
-; AVX512-NEXT: vmovaps %ymm0, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <8 x i64>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i64_stride2_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX512F-SLOW-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX512F-SLOW-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX512F-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX512F-SLOW-NEXT: vmovaps %ymm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovaps %ymm0, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride2_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [1,3,5,7]
+; AVX512F-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i64_stride2_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %ymm0
+; AVX512BW-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX512BW-SLOW-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX512BW-SLOW-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX512BW-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX512BW-SLOW-NEXT: vmovaps %ymm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovaps %ymm0, (%rdx)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i64_stride2_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,2,4,6]
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [1,3,5,7]
+; AVX512BW-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm3
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <8 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
%strided.vec1 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
- store <4 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i64> %strided.vec1, ptr %out.vec1, align 32
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movaps 16(%rdi), %xmm1
; SSE-NEXT: movaps 32(%rdi), %xmm2
; SSE-NEXT: movaps 48(%rdi), %xmm3
-; SSE-NEXT: movaps 80(%rdi), %xmm4
-; SSE-NEXT: movaps 64(%rdi), %xmm5
-; SSE-NEXT: movaps 112(%rdi), %xmm6
-; SSE-NEXT: movaps 96(%rdi), %xmm7
+; SSE-NEXT: movaps 112(%rdi), %xmm4
+; SSE-NEXT: movaps 96(%rdi), %xmm5
+; SSE-NEXT: movaps 80(%rdi), %xmm6
+; SSE-NEXT: movaps 64(%rdi), %xmm7
; SSE-NEXT: movaps %xmm7, %xmm8
; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm6[0]
; SSE-NEXT: movaps %xmm5, %xmm9
; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm4[0]
-; SSE-NEXT: movaps %xmm2, %xmm10
-; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm3[0]
-; SSE-NEXT: movaps %xmm0, %xmm11
-; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm1[0]
+; SSE-NEXT: movaps %xmm0, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm1[0]
+; SSE-NEXT: movaps %xmm2, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm3[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm6[1]
; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm4[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; SSE-NEXT: movaps %xmm9, 32(%rsi)
-; SSE-NEXT: movaps %xmm11, (%rsi)
-; SSE-NEXT: movaps %xmm8, 48(%rsi)
-; SSE-NEXT: movaps %xmm10, 16(%rsi)
-; SSE-NEXT: movaps %xmm5, 32(%rdx)
-; SSE-NEXT: movaps %xmm0, (%rdx)
-; SSE-NEXT: movaps %xmm7, 48(%rdx)
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
+; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps %xmm10, (%rsi)
+; SSE-NEXT: movaps %xmm9, 48(%rsi)
+; SSE-NEXT: movaps %xmm8, 32(%rsi)
; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps %xmm5, 48(%rdx)
+; SSE-NEXT: movaps %xmm7, 32(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride2_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm1[0],ymm4[0],ymm1[2],ymm4[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm2[1],ymm0[3],ymm2[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm4[1],ymm1[3],ymm4[3]
-; AVX1-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm3, (%rsi)
-; AVX1-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride2_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm4[0],ymm0[2],ymm4[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm2[1],ymm1[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm4[1],ymm0[3],ymm4[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride2_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm4, (%rsi)
-; AVX2-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride2_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride2_vf8:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm2 = [0,2,4,6,8,10,12,14]
; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = [1,3,5,7,9,11,13,15]
; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
-; AVX512-NEXT: vmovdqu64 %zmm2, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm3, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm3, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <16 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <16 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <8 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14>
%strided.vec1 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <8 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15>
- store <8 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i64> %strided.vec1, ptr %out.vec1, align 32
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
ret void
}
define void @load_i64_stride2_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
; SSE-LABEL: load_i64_stride2_vf16:
; SSE: # %bb.0:
-; SSE-NEXT: movaps (%rdi), %xmm0
-; SSE-NEXT: movaps 32(%rdi), %xmm1
-; SSE-NEXT: movaps 48(%rdi), %xmm8
-; SSE-NEXT: movaps 208(%rdi), %xmm10
+; SSE-NEXT: movaps (%rdi), %xmm1
+; SSE-NEXT: movaps 16(%rdi), %xmm8
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm9
; SSE-NEXT: movaps 192(%rdi), %xmm2
-; SSE-NEXT: movaps 144(%rdi), %xmm11
-; SSE-NEXT: movaps 128(%rdi), %xmm3
-; SSE-NEXT: movaps 80(%rdi), %xmm12
-; SSE-NEXT: movaps 64(%rdi), %xmm6
-; SSE-NEXT: movaps 240(%rdi), %xmm13
+; SSE-NEXT: movaps 240(%rdi), %xmm10
; SSE-NEXT: movaps 224(%rdi), %xmm4
-; SSE-NEXT: movaps 176(%rdi), %xmm14
-; SSE-NEXT: movaps 160(%rdi), %xmm5
+; SSE-NEXT: movaps 144(%rdi), %xmm12
+; SSE-NEXT: movaps 128(%rdi), %xmm3
+; SSE-NEXT: movaps 176(%rdi), %xmm13
+; SSE-NEXT: movaps 160(%rdi), %xmm6
+; SSE-NEXT: movaps 80(%rdi), %xmm14
+; SSE-NEXT: movaps 64(%rdi), %xmm5
; SSE-NEXT: movaps 112(%rdi), %xmm15
; SSE-NEXT: movaps 96(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm9
-; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm15[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm15[1]
-; SSE-NEXT: movaps %xmm5, %xmm15
-; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm14[0]
+; SSE-NEXT: movaps %xmm5, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm14[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm14[1]
-; SSE-NEXT: movaps %xmm4, %xmm14
-; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm13[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm13[1]
+; SSE-NEXT: movaps %xmm7, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm15[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm15[1]
+; SSE-NEXT: movaps %xmm3, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm12[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm12[1]
+; SSE-NEXT: movaps %xmm6, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm13[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm13[1]
; SSE-NEXT: movaps %xmm2, %xmm13
-; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm10[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm10[1]
-; SSE-NEXT: movaps %xmm3, %xmm10
-; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm11[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm11[1]
-; SSE-NEXT: movaps %xmm6, %xmm11
-; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm12[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm12[1]
-; SSE-NEXT: movaps %xmm1, %xmm12
-; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm8[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm9[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm9[1]
+; SSE-NEXT: movaps %xmm4, %xmm9
+; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm10[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm10[1]
+; SSE-NEXT: movaps %xmm1, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm8[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm8[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 16(%rdi), %xmm8
+; SSE-NEXT: movaps 48(%rdi), %xmm8
; SSE-NEXT: movaps %xmm0, %xmm1
; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm8[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm8[1]
; SSE-NEXT: movaps %xmm13, 96(%rsi)
-; SSE-NEXT: movaps %xmm10, 64(%rsi)
+; SSE-NEXT: movaps %xmm9, 112(%rsi)
+; SSE-NEXT: movaps %xmm15, 64(%rsi)
+; SSE-NEXT: movaps %xmm12, 80(%rsi)
; SSE-NEXT: movaps %xmm11, 32(%rsi)
-; SSE-NEXT: movaps %xmm1, (%rsi)
-; SSE-NEXT: movaps %xmm14, 112(%rsi)
-; SSE-NEXT: movaps %xmm15, 80(%rsi)
-; SSE-NEXT: movaps %xmm9, 48(%rsi)
-; SSE-NEXT: movaps %xmm12, 16(%rsi)
-; SSE-NEXT: movaps %xmm0, (%rdx)
-; SSE-NEXT: movaps %xmm6, 32(%rdx)
-; SSE-NEXT: movaps %xmm3, 64(%rdx)
-; SSE-NEXT: movaps %xmm2, 96(%rdx)
+; SSE-NEXT: movaps %xmm14, 48(%rsi)
+; SSE-NEXT: movaps %xmm10, (%rsi)
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
; SSE-NEXT: movaps %xmm4, 112(%rdx)
-; SSE-NEXT: movaps %xmm5, 80(%rdx)
+; SSE-NEXT: movaps %xmm2, 96(%rdx)
+; SSE-NEXT: movaps %xmm6, 80(%rdx)
+; SSE-NEXT: movaps %xmm3, 64(%rdx)
; SSE-NEXT: movaps %xmm7, 48(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 32(%rdx)
; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride2_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm3
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm2[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm2, %ymm2
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm2[0],ymm4[0],ymm2[2],ymm4[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm1[0],ymm6[0],ymm1[2],ymm6[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm0[0],ymm8[0],ymm0[2],ymm8[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm3[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 224(%rdi), %ymm3, %ymm3
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm3[0],ymm10[0],ymm3[2],ymm10[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm6[1],ymm1[3],ymm6[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm8[1],ymm0[3],ymm8[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm10[1],ymm3[3],ymm10[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm4[1],ymm2[3],ymm4[3]
-; AVX1-NEXT: vmovaps %ymm11, 96(%rsi)
-; AVX1-NEXT: vmovaps %ymm9, (%rsi)
-; AVX1-NEXT: vmovaps %ymm7, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm5, 64(%rsi)
-; AVX1-NEXT: vmovaps %ymm2, 64(%rdx)
-; AVX1-NEXT: vmovaps %ymm3, 96(%rdx)
-; AVX1-NEXT: vmovaps %ymm0, (%rdx)
-; AVX1-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride2_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm3[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 224(%rdi), %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm1[0],ymm6[0],ymm1[2],ymm6[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm0[0],ymm8[0],ymm0[2],ymm8[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm2[0],ymm10[0],ymm2[2],ymm10[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm6[1],ymm1[3],ymm6[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm8[1],ymm0[3],ymm8[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm10[1],ymm2[3],ymm10[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm11, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride2_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm7
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,2,1,3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm9, 96(%rsi)
-; AVX2-NEXT: vmovaps %ymm11, (%rsi)
-; AVX2-NEXT: vmovaps %ymm10, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm8, 64(%rsi)
-; AVX2-NEXT: vmovaps %ymm5, 64(%rdx)
-; AVX2-NEXT: vmovaps %ymm4, 96(%rdx)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vmovaps %ymm2, 32(%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride2_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm11 = ymm11[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm9, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride2_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,2,4,6,8,10,12,14]
; AVX512-NEXT: vmovdqa64 %zmm0, %zmm5
; AVX512-NEXT: vpermt2q %zmm1, %zmm4, %zmm5
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm6 = [1,3,5,7,9,11,13,15]
; AVX512-NEXT: vpermt2q %zmm1, %zmm6, %zmm0
; AVX512-NEXT: vpermt2q %zmm3, %zmm6, %zmm2
-; AVX512-NEXT: vmovdqu64 %zmm4, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm2, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm4, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm2, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <32 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <32 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <16 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30>
%strided.vec1 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <16 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31>
- store <16 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i64> %strided.vec1, ptr %out.vec1, align 32
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-LABEL: load_i64_stride2_vf32:
; SSE: # %bb.0:
; SSE-NEXT: subq $152, %rsp
-; SSE-NEXT: movaps 272(%rdi), %xmm8
-; SSE-NEXT: movaps 208(%rdi), %xmm9
-; SSE-NEXT: movaps 192(%rdi), %xmm2
-; SSE-NEXT: movaps 144(%rdi), %xmm10
-; SSE-NEXT: movaps 128(%rdi), %xmm1
-; SSE-NEXT: movaps 80(%rdi), %xmm12
+; SSE-NEXT: movaps 208(%rdi), %xmm7
+; SSE-NEXT: movaps 192(%rdi), %xmm1
+; SSE-NEXT: movaps 80(%rdi), %xmm10
; SSE-NEXT: movaps 64(%rdi), %xmm0
-; SSE-NEXT: movaps 304(%rdi), %xmm11
+; SSE-NEXT: movaps 240(%rdi), %xmm11
+; SSE-NEXT: movaps 224(%rdi), %xmm3
+; SSE-NEXT: movaps 112(%rdi), %xmm13
+; SSE-NEXT: movaps 96(%rdi), %xmm2
+; SSE-NEXT: movaps 272(%rdi), %xmm9
+; SSE-NEXT: movaps 144(%rdi), %xmm14
+; SSE-NEXT: movaps 128(%rdi), %xmm4
+; SSE-NEXT: movaps 304(%rdi), %xmm12
; SSE-NEXT: movaps 288(%rdi), %xmm6
-; SSE-NEXT: movaps 240(%rdi), %xmm13
-; SSE-NEXT: movaps 224(%rdi), %xmm5
; SSE-NEXT: movaps 176(%rdi), %xmm15
-; SSE-NEXT: movaps 160(%rdi), %xmm4
-; SSE-NEXT: movaps 112(%rdi), %xmm14
-; SSE-NEXT: movaps 96(%rdi), %xmm3
-; SSE-NEXT: movaps %xmm3, %xmm7
-; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm14[0]
-; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm14[1]
-; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm0, %xmm3
-; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm12[0]
-; SSE-NEXT: movaps %xmm3, (%rsp) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm12[1]
+; SSE-NEXT: movaps 160(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm2, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm13[0]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm13[1]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm0, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm10[0]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm4, %xmm0
+; SSE-NEXT: movaps %xmm5, %xmm0
; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm15[0]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm15[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm15[1]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm4, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm14[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm14[1]
; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm3, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm11[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm11[1]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm1, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm10[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm7[0]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm10[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm7[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm5, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm13[0]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm13[1]
-; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm2, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm9[0]
-; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm9[1]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm6, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm11[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm12[0]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm11[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm12[1]
; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps 256(%rdi), %xmm0
; SSE-NEXT: movaps %xmm0, %xmm1
-; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm8[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm9[0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm8[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm9[1]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps 368(%rdi), %xmm0
; SSE-NEXT: movaps 352(%rdi), %xmm15
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
; SSE-NEXT: movaps 336(%rdi), %xmm0
-; SSE-NEXT: movaps 320(%rdi), %xmm11
-; SSE-NEXT: movaps %xmm11, %xmm13
-; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm0[1]
+; SSE-NEXT: movaps 320(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
; SSE-NEXT: movaps 432(%rdi), %xmm0
-; SSE-NEXT: movaps 416(%rdi), %xmm12
-; SSE-NEXT: movaps %xmm12, %xmm14
+; SSE-NEXT: movaps 416(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm14
; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
; SSE-NEXT: movaps 400(%rdi), %xmm0
-; SSE-NEXT: movaps 384(%rdi), %xmm5
-; SSE-NEXT: movaps %xmm5, %xmm3
-; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: movaps 384(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm0[1]
; SSE-NEXT: movaps 496(%rdi), %xmm1
; SSE-NEXT: movaps 480(%rdi), %xmm4
-; SSE-NEXT: movaps %xmm4, %xmm9
-; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm1[0]
+; SSE-NEXT: movaps %xmm4, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm1[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm1[1]
-; SSE-NEXT: movaps 464(%rdi), %xmm2
+; SSE-NEXT: movaps 464(%rdi), %xmm3
; SSE-NEXT: movaps 448(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, %xmm0
-; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm2[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
-; SSE-NEXT: movaps 32(%rdi), %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm3[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm3[1]
+; SSE-NEXT: movaps 32(%rdi), %xmm11
; SSE-NEXT: movaps 48(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm10, %xmm8
-; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm2[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm2[1]
-; SSE-NEXT: movaps (%rdi), %xmm7
+; SSE-NEXT: movaps %xmm11, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm2[1]
+; SSE-NEXT: movaps (%rdi), %xmm8
; SSE-NEXT: movaps 16(%rdi), %xmm2
-; SSE-NEXT: movaps %xmm7, %xmm6
-; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm2[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm2[1]
+; SSE-NEXT: movaps %xmm8, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm2[1]
; SSE-NEXT: movaps %xmm0, 224(%rsi)
-; SSE-NEXT: movaps %xmm3, 192(%rsi)
-; SSE-NEXT: movaps %xmm13, 160(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps %xmm12, 160(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 96(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 64(%rsi)
; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 32(%rsi)
-; SSE-NEXT: movaps %xmm6, (%rsi)
-; SSE-NEXT: movaps %xmm9, 240(%rsi)
-; SSE-NEXT: movaps %xmm14, 208(%rsi)
+; SSE-NEXT: movaps %xmm5, 240(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 176(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 144(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 112(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 80(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 48(%rsi)
-; SSE-NEXT: movaps %xmm8, 16(%rsi)
+; SSE-NEXT: movaps %xmm10, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps %xmm7, (%rsi)
+; SSE-NEXT: movaps %xmm14, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
; SSE-NEXT: movaps %xmm1, 224(%rdx)
; SSE-NEXT: movaps %xmm4, 240(%rdx)
-; SSE-NEXT: movaps %xmm5, 192(%rdx)
-; SSE-NEXT: movaps %xmm12, 208(%rdx)
-; SSE-NEXT: movaps %xmm11, 160(%rdx)
+; SSE-NEXT: movaps %xmm6, 192(%rdx)
+; SSE-NEXT: movaps %xmm9, 208(%rdx)
+; SSE-NEXT: movaps %xmm13, 160(%rdx)
; SSE-NEXT: movaps %xmm15, 176(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 128(%rdx)
; SSE-NEXT: movaps %xmm0, 32(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 48(%rdx)
-; SSE-NEXT: movaps %xmm7, (%rdx)
-; SSE-NEXT: movaps %xmm10, 16(%rdx)
+; SSE-NEXT: movaps %xmm8, (%rdx)
+; SSE-NEXT: movaps %xmm11, 16(%rdx)
; SSE-NEXT: addq $152, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride2_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 448(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm3
-; AVX1-NEXT: vmovaps (%rdi), %ymm4
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm5
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm6
-; AVX1-NEXT: vmovaps 384(%rdi), %ymm7
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm2[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm2, %ymm9
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
-; AVX1-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm4[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 32(%rdi), %ymm4, %ymm4
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm4[0],ymm10[0],ymm4[2],ymm10[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm6[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 224(%rdi), %ymm6, %ymm6
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm6[0],ymm12[0],ymm6[2],ymm12[2]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm5[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm5, %ymm5
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm5[0],ymm14[0],ymm5[2],ymm14[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm9[1],ymm8[1],ymm9[3],ymm8[3]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm3[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 352(%rdi), %ymm3, %ymm3
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm10[1],ymm4[3],ymm10[3]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm3[0],ymm9[0],ymm3[2],ymm9[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm6[1],ymm12[1],ymm6[3],ymm12[3]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 288(%rdi), %ymm1, %ymm1
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm5[1],ymm14[1],ymm5[3],ymm14[3]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm1[0],ymm12[0],ymm1[2],ymm12[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm9[1],ymm3[3],ymm9[3]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 480(%rdi), %ymm0, %ymm0
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm1[1],ymm12[1],ymm1[3],ymm12[3]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm0[0],ymm9[0],ymm0[2],ymm9[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm0[1],ymm9[1],ymm0[3],ymm9[3]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm7[2,3],mem[2,3]
-; AVX1-NEXT: vinsertf128 $1, 416(%rdi), %ymm7, %ymm7
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm9[1],ymm7[3],ymm9[3]
-; AVX1-NEXT: vmovaps %ymm12, 224(%rsi)
-; AVX1-NEXT: vmovaps %ymm14, 128(%rsi)
-; AVX1-NEXT: vmovaps %ymm10, 160(%rsi)
-; AVX1-NEXT: vmovaps %ymm15, 64(%rsi)
-; AVX1-NEXT: vmovaps %ymm13, 96(%rsi)
-; AVX1-NEXT: vmovaps %ymm11, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm9, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm0, 192(%rsi)
-; AVX1-NEXT: vmovaps %ymm7, 192(%rdx)
-; AVX1-NEXT: vmovaps %ymm1, 224(%rdx)
-; AVX1-NEXT: vmovaps %ymm2, 128(%rdx)
-; AVX1-NEXT: vmovaps %ymm3, 160(%rdx)
-; AVX1-NEXT: vmovaps %ymm5, 64(%rdx)
-; AVX1-NEXT: vmovaps %ymm6, 96(%rdx)
-; AVX1-NEXT: vmovaps %ymm4, (%rdx)
-; AVX1-NEXT: vmovaps %ymm8, 32(%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride2_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm3[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm3, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm7[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 224(%rdi), %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm7[0],ymm12[0],ymm7[2],ymm12[2]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm5[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm5[0],ymm14[0],ymm5[2],ymm14[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm6[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm12[1],ymm7[3],ymm12[3]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm4[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm5[1],ymm14[1],ymm5[3],ymm14[3]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm2[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 416(%rdi), %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm9[1],ymm8[1],ymm9[3],ymm8[3]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm2[0],ymm14[0],ymm2[2],ymm14[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm14[1],ymm2[3],ymm14[3]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm4[0],ymm12[0],ymm4[2],ymm12[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm12[1],ymm4[3],ymm12[3]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm6[0],ymm11[0],ymm6[2],ymm11[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm6[1],ymm11[1],ymm6[3],ymm11[3]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm11[0],ymm1[2],ymm11[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm11[1],ymm1[3],ymm11[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride2_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm5
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 480(%rdi), %ymm3
-; AVX2-NEXT: vmovaps 448(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 288(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 256(%rdi), %ymm7
-; AVX2-NEXT: vmovaps 352(%rdi), %ymm8
-; AVX2-NEXT: vmovaps 320(%rdi), %ymm9
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm10
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm11
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm12
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm13
-; AVX2-NEXT: vmovaps 416(%rdi), %ymm14
-; AVX2-NEXT: vmovaps 384(%rdi), %ymm15
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm12[0],ymm13[2],ymm12[2]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm13[1],ymm12[1],ymm13[3],ymm12[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm9[1],ymm8[1],ymm9[3],ymm8[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm4[0],ymm3[0],ymm4[2],ymm3[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm4[1],ymm3[1],ymm4[3],ymm3[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm14 = ymm15[1],ymm14[1],ymm15[3],ymm14[3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm2[1],ymm1[3],ymm2[3]
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm2
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm5[0],ymm2[0],ymm5[2],ymm2[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm5[1],ymm2[1],ymm5[3],ymm2[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm7[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 224(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm9[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 128(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm11[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 160(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm13[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 64(%rsi)
-; AVX2-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Folded Reload
-; AVX2-NEXT: # ymm5 = mem[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm5, 96(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, (%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm15[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 32(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm4[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 192(%rsi)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm14[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 192(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm3[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 224(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm6[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 128(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm8[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 160(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm10[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 64(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm12[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 96(%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm2[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm1[0,2,1,3]
-; AVX2-NEXT: vmovaps %ymm0, 32(%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride2_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm14 = ymm15[1],ymm14[1],ymm15[3],ymm14[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm13[0],ymm12[0],ymm13[2],ymm12[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm13[1],ymm12[1],ymm13[3],ymm12[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm7[0],ymm4[0],ymm7[2],ymm4[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm7[1],ymm4[1],ymm7[3],ymm4[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm8[0],ymm5[0],ymm8[2],ymm5[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm8[1],ymm5[1],ymm8[3],ymm5[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm9[0],ymm6[0],ymm9[2],ymm6[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm9[1],ymm6[1],ymm9[3],ymm6[3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm1[0],ymm2[0],ymm1[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm2[1],ymm1[3],ymm2[3]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm11[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm7[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm8[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm13[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 224(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm15[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm9[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm6[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 128(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 192(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm10[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 224(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm12[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm14[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm1[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride2_vf32:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 448(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 384(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm6
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm7
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,2,4,6,8,10,12,14]
; AVX512-NEXT: vmovdqa64 %zmm7, %zmm9
; AVX512-NEXT: vpermt2q %zmm6, %zmm8, %zmm9
; AVX512-NEXT: vpermt2q %zmm6, %zmm12, %zmm7
; AVX512-NEXT: vpermt2q %zmm3, %zmm12, %zmm2
; AVX512-NEXT: vpermt2q %zmm1, %zmm12, %zmm0
-; AVX512-NEXT: vmovdqu64 %zmm10, 192(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm11, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm9, 128(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm7, 128(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm5, 192(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm2, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm10, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm11, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm9, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm7, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm5, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, 64(%rdx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <64 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <64 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <32 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62>
%strided.vec1 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <32 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63>
- store <32 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i64> %strided.vec1, ptr %out.vec1, align 32
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+
+ ret void
+}
+
+define void @load_i64_stride2_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i64_stride2_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $664, %rsp # imm = 0x298
+; SSE-NEXT: movaps 304(%rdi), %xmm10
+; SSE-NEXT: movaps 272(%rdi), %xmm8
+; SSE-NEXT: movaps 256(%rdi), %xmm6
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps 224(%rdi), %xmm7
+; SSE-NEXT: movaps 208(%rdi), %xmm1
+; SSE-NEXT: movaps 192(%rdi), %xmm9
+; SSE-NEXT: movaps 176(%rdi), %xmm2
+; SSE-NEXT: movaps 160(%rdi), %xmm11
+; SSE-NEXT: movaps 144(%rdi), %xmm3
+; SSE-NEXT: movaps 128(%rdi), %xmm12
+; SSE-NEXT: movaps 112(%rdi), %xmm4
+; SSE-NEXT: movaps 96(%rdi), %xmm13
+; SSE-NEXT: movaps 80(%rdi), %xmm5
+; SSE-NEXT: movaps 64(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm5[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm5[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm4[0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm4[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm3[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm3[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm2[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm1[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm7, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm8[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm8[1]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 288(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm10[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 336(%rdi), %xmm0
+; SSE-NEXT: movaps 320(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 352(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 400(%rdi), %xmm0
+; SSE-NEXT: movaps 384(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 432(%rdi), %xmm0
+; SSE-NEXT: movaps 416(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 464(%rdi), %xmm0
+; SSE-NEXT: movaps 448(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 496(%rdi), %xmm0
+; SSE-NEXT: movaps 480(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 528(%rdi), %xmm0
+; SSE-NEXT: movaps 512(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 560(%rdi), %xmm0
+; SSE-NEXT: movaps 544(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 592(%rdi), %xmm0
+; SSE-NEXT: movaps 576(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 624(%rdi), %xmm0
+; SSE-NEXT: movaps 608(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 656(%rdi), %xmm0
+; SSE-NEXT: movaps 640(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 688(%rdi), %xmm0
+; SSE-NEXT: movaps 672(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 720(%rdi), %xmm0
+; SSE-NEXT: movaps 704(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 752(%rdi), %xmm0
+; SSE-NEXT: movaps 736(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 784(%rdi), %xmm0
+; SSE-NEXT: movaps 768(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps 816(%rdi), %xmm0
+; SSE-NEXT: movaps 800(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 848(%rdi), %xmm0
+; SSE-NEXT: movaps 832(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 880(%rdi), %xmm0
+; SSE-NEXT: movaps 864(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: movaps 912(%rdi), %xmm4
+; SSE-NEXT: movaps 896(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm4[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm4[1]
+; SSE-NEXT: movaps 944(%rdi), %xmm4
+; SSE-NEXT: movaps 928(%rdi), %xmm8
+; SSE-NEXT: movaps %xmm8, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm4[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm4[1]
+; SSE-NEXT: movaps 976(%rdi), %xmm4
+; SSE-NEXT: movaps 960(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm4[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm4[1]
+; SSE-NEXT: movaps 1008(%rdi), %xmm4
+; SSE-NEXT: movaps 992(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm4[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm4[1]
+; SSE-NEXT: movaps (%rdi), %xmm0
+; SSE-NEXT: movaps 16(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm0, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm4[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm4[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 32(%rdi), %xmm13
+; SSE-NEXT: movaps 48(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm13, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, 496(%rsi)
+; SSE-NEXT: movaps %xmm3, 480(%rsi)
+; SSE-NEXT: movaps %xmm5, 464(%rsi)
+; SSE-NEXT: movaps %xmm7, 448(%rsi)
+; SSE-NEXT: movaps %xmm11, 432(%rsi)
+; SSE-NEXT: movaps %xmm10, 416(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 400(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 384(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 368(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 352(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 336(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 320(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 304(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 288(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 272(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 256(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps %xmm4, 16(%rsi)
+; SSE-NEXT: movaps %xmm14, (%rsi)
+; SSE-NEXT: movaps %xmm2, 496(%rdx)
+; SSE-NEXT: movaps %xmm6, 480(%rdx)
+; SSE-NEXT: movaps %xmm8, 464(%rdx)
+; SSE-NEXT: movaps %xmm9, 448(%rdx)
+; SSE-NEXT: movaps %xmm12, 432(%rdx)
+; SSE-NEXT: movaps %xmm15, 416(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 400(%rdx)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 384(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 368(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 352(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 336(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 320(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 304(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 288(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 272(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 256(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps %xmm13, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: addq $664, %rsp # imm = 0x298
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride2_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $424, %rsp # imm = 0x1A8
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm14
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 224(%rdi), %ymm1, %ymm9
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm10 = ymm2[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm2, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm13[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm13, %ymm13
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm15 = ymm14[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 32(%rdi), %ymm14, %ymm14
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm14[0],ymm15[0],ymm14[2],ymm15[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm14[1],ymm15[1],ymm14[3],ymm15[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm5[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm5, %ymm15
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm9[1],ymm8[1],ymm9[3],ymm8[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm15[1],ymm14[1],ymm15[3],ymm14[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm9 = ymm3[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm3, %ymm15
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm15[0],ymm9[0],ymm15[2],ymm9[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm15[1],ymm9[1],ymm15[3],ymm9[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm12[0],ymm13[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm13[1],ymm12[1],ymm13[3],ymm12[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm4[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 416(%rdi), %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm3[0],ymm12[0],ymm3[2],ymm12[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm12[1],ymm3[3],ymm12[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 608(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm14 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 672(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm11 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 864(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 800(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 992(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 928(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm12[0],ymm0[0],ymm12[2],ymm0[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm12[1],ymm0[1],ymm12[3],ymm0[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 448(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 384(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 320(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 256(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 480(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 416(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, 352(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 288(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 448(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 480(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 384(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 416(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, 320(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, 352(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 256(%rdx)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 288(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX1-ONLY-NEXT: addq $424, %rsp # imm = 0x1A8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride2_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $424, %rsp # imm = 0x1A8
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm12[0],ymm2[0],ymm12[2],ymm2[2]
+; AVX2-ONLY-NEXT: vmovups %ymm15, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm12[1],ymm2[1],ymm12[3],ymm2[3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm6[0],ymm5[0],ymm6[2],ymm5[2]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm6[1],ymm5[1],ymm6[3],ymm5[3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm14[0],ymm0[2],ymm14[2]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm14[1],ymm0[3],ymm14[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm8[0],ymm7[0],ymm8[2],ymm7[2]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm11[0],ymm13[2],ymm11[2]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm13[1],ymm11[1],ymm13[3],ymm11[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm10[0],ymm9[0],ymm10[2],ymm9[2]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm10[1],ymm9[1],ymm10[3],ymm9[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm9[0],ymm4[0],ymm9[2],ymm4[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm9[1],ymm4[1],ymm9[3],ymm4[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm10[0],ymm9[0],ymm10[2],ymm9[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm10[1],ymm9[1],ymm10[3],ymm9[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm13[0],ymm10[0],ymm13[2],ymm10[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm13[1],ymm10[1],ymm13[3],ymm10[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm0[0],ymm13[0],ymm0[2],ymm13[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm13[1],ymm0[3],ymm13[3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm0[0],ymm13[0],ymm0[2],ymm13[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm0[1],ymm13[1],ymm0[3],ymm13[3]
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm13[0],ymm0[2],ymm13[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm0[1],ymm13[1],ymm0[3],ymm13[3]
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm0[0],ymm13[0],ymm0[2],ymm13[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm0[1],ymm13[1],ymm0[3],ymm13[3]
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm13 = ymm13[1],ymm0[1],ymm13[3],ymm0[3]
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 448(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 384(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm6[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 320(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm11[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 256(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm15[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 192(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 128(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm3[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 480(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm9[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 416(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm14[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 352(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 288(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 224(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 160(%rsi)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm7[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm8[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 448(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm10[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 480(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm12[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 384(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 416(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 320(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, (%rsp), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 352(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 256(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 288(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 192(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 224(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 128(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 160(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX2-ONLY-NEXT: vpermpd $216, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm13[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX2-ONLY-NEXT: addq $424, %rsp # imm = 0x1A8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride2_vf64:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 960(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 896(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 576(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 512(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 704(%rdi), %zmm8
+; AVX512-NEXT: vmovdqa64 640(%rdi), %zmm9
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm10
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm11
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm12
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm13
+; AVX512-NEXT: vmovdqa64 832(%rdi), %zmm14
+; AVX512-NEXT: vmovdqa64 768(%rdi), %zmm15
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm16 = [0,2,4,6,8,10,12,14]
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm17
+; AVX512-NEXT: vpermt2q %zmm14, %zmm16, %zmm17
+; AVX512-NEXT: vmovdqa64 %zmm13, %zmm18
+; AVX512-NEXT: vpermt2q %zmm12, %zmm16, %zmm18
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512-NEXT: vpermt2q %zmm10, %zmm16, %zmm19
+; AVX512-NEXT: vmovdqa64 %zmm9, %zmm20
+; AVX512-NEXT: vpermt2q %zmm8, %zmm16, %zmm20
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm21
+; AVX512-NEXT: vpermt2q %zmm6, %zmm16, %zmm21
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm22
+; AVX512-NEXT: vpermt2q %zmm4, %zmm16, %zmm22
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm23
+; AVX512-NEXT: vpermt2q %zmm3, %zmm16, %zmm23
+; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm16
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm24 = [1,3,5,7,9,11,13,15]
+; AVX512-NEXT: vpermt2q %zmm12, %zmm24, %zmm13
+; AVX512-NEXT: vpermt2q %zmm10, %zmm24, %zmm11
+; AVX512-NEXT: vpermt2q %zmm8, %zmm24, %zmm9
+; AVX512-NEXT: vpermt2q %zmm6, %zmm24, %zmm7
+; AVX512-NEXT: vpermt2q %zmm4, %zmm24, %zmm5
+; AVX512-NEXT: vpermt2q %zmm14, %zmm24, %zmm15
+; AVX512-NEXT: vpermt2q %zmm3, %zmm24, %zmm2
+; AVX512-NEXT: vpermt2q %zmm1, %zmm24, %zmm0
+; AVX512-NEXT: vmovdqa64 %zmm22, 448(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm21, 256(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm20, 320(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm19, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm18, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm23, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm17, 384(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm15, 384(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm5, 448(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm7, 256(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm9, 320(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm11, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm13, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, 64(%rdx)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <128 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <64 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62, i32 64, i32 66, i32 68, i32 70, i32 72, i32 74, i32 76, i32 78, i32 80, i32 82, i32 84, i32 86, i32 88, i32 90, i32 92, i32 94, i32 96, i32 98, i32 100, i32 102, i32 104, i32 106, i32 108, i32 110, i32 112, i32 114, i32 116, i32 118, i32 120, i32 122, i32 124, i32 126>
+ %strided.vec1 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <64 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63, i32 65, i32 67, i32 69, i32 71, i32 73, i32 75, i32 77, i32 79, i32 81, i32 83, i32 85, i32 87, i32 89, i32 91, i32 93, i32 95, i32 97, i32 99, i32 101, i32 103, i32 105, i32 107, i32 109, i32 111, i32 113, i32 115, i32 117, i32 119, i32 121, i32 123, i32 125, i32 127>
+
+ store <64 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i64> %strided.vec1, ptr %out.vec1, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movapd %xmm2, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride3_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],mem[4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm0, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride3_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride3_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX2-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3]
-; AVX2-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
-; AVX2-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX2-NEXT: vmovdqa %xmm0, (%rdx)
-; AVX2-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride3_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i64_stride3_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX512-NEXT: vpblendd {{.*#+}} xmm3 = xmm0[0,1],xmm1[2,3]
-; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
-; AVX512-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm2[2,3]
-; AVX512-NEXT: vmovdqa %xmm3, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm0, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <6 x i64>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i64_stride3_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vpermpd {{.*#+}} zmm0 = mem[0,3,2,3,4,7,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vmovaps %xmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride3_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovaps {{.*#+}} xmm0 = [1,4]
+; AVX512F-FAST-NEXT: vmovaps (%rdi), %zmm1
+; AVX512F-FAST-NEXT: vpermpd %zmm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vpermpd {{.*#+}} zmm1 = zmm1[0,3,2,3,4,7,6,7]
+; AVX512F-FAST-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
+; AVX512F-FAST-NEXT: vmovaps %xmm1, (%rsi)
+; AVX512F-FAST-NEXT: vmovaps %xmm0, (%rdx)
+; AVX512F-FAST-NEXT: vmovaps %xmm2, (%rcx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i64_stride3_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vpermpd {{.*#+}} zmm0 = mem[0,3,2,3,4,7,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vmovaps %xmm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i64_stride3_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovaps {{.*#+}} xmm0 = [1,4]
+; AVX512BW-FAST-NEXT: vmovaps (%rdi), %zmm1
+; AVX512BW-FAST-NEXT: vpermpd %zmm1, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vpermpd {{.*#+}} zmm1 = zmm1[0,3,2,3,4,7,6,7]
+; AVX512BW-FAST-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
+; AVX512BW-FAST-NEXT: vmovaps %xmm1, (%rsi)
+; AVX512BW-FAST-NEXT: vmovaps %xmm0, (%rdx)
+; AVX512BW-FAST-NEXT: vmovaps %xmm2, (%rcx)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <6 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <6 x i64> %wide.vec, <6 x i64> poison, <2 x i32> <i32 0, i32 3>
%strided.vec1 = shufflevector <6 x i64> %wide.vec, <6 x i64> poison, <2 x i32> <i32 1, i32 4>
%strided.vec2 = shufflevector <6 x i64> %wide.vec, <6 x i64> poison, <2 x i32> <i32 2, i32 5>
- store <2 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i64> %strided.vec2, ptr %out.vec2, align 32
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movapd %xmm3, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride3_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovapd 32(%rdi), %ymm0
-; AVX1-NEXT: vmovapd (%rdi), %ymm1
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm1[0,1],ymm0[2],ymm1[3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm3
-; AVX1-NEXT: vinsertf128 $1, 64(%rdi), %ymm3, %ymm3
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2],ymm3[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm0[0],ymm1[3],ymm0[2]
-; AVX1-NEXT: vbroadcastsd 80(%rdi), %ymm4
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1,2],ymm4[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0],ymm0[1],ymm3[2],ymm0[3]
-; AVX1-NEXT: vmovapd %ymm2, (%rsi)
-; AVX1-NEXT: vmovapd %ymm1, (%rdx)
-; AVX1-NEXT: vmovapd %ymm0, (%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride3_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm1[0,1],ymm0[2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0],ymm3[1],ymm2[2],ymm3[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm0[0],ymm1[3],ymm0[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0],ymm0[1],ymm3[2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride3_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX2-NEXT: vmovaps (%rdi), %ymm1
-; AVX2-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm2
-; AVX2-NEXT: vpermpd {{.*#+}} ymm3 = ymm1[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm0[4,5],ymm3[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 80(%rdi), %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX2-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm3 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vmovaps %ymm1, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride3_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm1[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm0[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride3_vf4:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = [0,3,6,9]
; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [1,4,7,10]
; AVX512-NEXT: vmovdqa %ymm4, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <12 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <12 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9>
%strided.vec1 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10>
%strided.vec2 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <4 x i32> <i32 2, i32 5, i32 8, i32 11>
- store <4 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i64> %strided.vec2, ptr %out.vec2, align 32
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movapd 128(%rdi), %xmm2
; SSE-NEXT: movapd 176(%rdi), %xmm1
; SSE-NEXT: movapd 80(%rdi), %xmm0
-; SSE-NEXT: movapd 96(%rdi), %xmm4
+; SSE-NEXT: movapd 96(%rdi), %xmm3
; SSE-NEXT: movapd 112(%rdi), %xmm8
-; SSE-NEXT: movapd 144(%rdi), %xmm3
+; SSE-NEXT: movapd 144(%rdi), %xmm5
; SSE-NEXT: movapd 160(%rdi), %xmm9
; SSE-NEXT: movapd (%rdi), %xmm6
; SSE-NEXT: movapd 16(%rdi), %xmm10
-; SSE-NEXT: movapd 32(%rdi), %xmm5
+; SSE-NEXT: movapd 32(%rdi), %xmm4
; SSE-NEXT: movapd 48(%rdi), %xmm7
; SSE-NEXT: movapd 64(%rdi), %xmm11
; SSE-NEXT: movapd %xmm11, %xmm12
; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm7[0],xmm12[1]
; SSE-NEXT: movapd %xmm9, %xmm13
-; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm3[0],xmm13[1]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm5[0],xmm13[1]
; SSE-NEXT: movapd %xmm8, %xmm14
-; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm4[0],xmm14[1]
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm3[0],xmm14[1]
; SSE-NEXT: movapd %xmm10, %xmm15
; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm6[0],xmm15[1]
; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm0[0]
-; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm1[0]
-; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm2[0]
-; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm5[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm1[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm2[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm4[0]
; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm11[0],xmm0[1]
; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm9[0],xmm1[1]
; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm8[0],xmm2[1]
-; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm10[0],xmm5[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm10[0],xmm4[1]
; SSE-NEXT: movapd %xmm14, 32(%rsi)
-; SSE-NEXT: movapd %xmm15, (%rsi)
; SSE-NEXT: movapd %xmm13, 48(%rsi)
+; SSE-NEXT: movapd %xmm15, (%rsi)
; SSE-NEXT: movapd %xmm12, 16(%rsi)
-; SSE-NEXT: movapd %xmm4, 32(%rdx)
+; SSE-NEXT: movapd %xmm3, 32(%rdx)
+; SSE-NEXT: movapd %xmm5, 48(%rdx)
; SSE-NEXT: movapd %xmm6, (%rdx)
-; SSE-NEXT: movapd %xmm3, 48(%rdx)
; SSE-NEXT: movapd %xmm7, 16(%rdx)
; SSE-NEXT: movapd %xmm2, 32(%rcx)
-; SSE-NEXT: movapd %xmm5, (%rcx)
; SSE-NEXT: movapd %xmm1, 48(%rcx)
+; SSE-NEXT: movapd %xmm4, (%rcx)
; SSE-NEXT: movapd %xmm0, 16(%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride3_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovapd 32(%rdi), %ymm0
-; AVX1-NEXT: vmovapd (%rdi), %ymm1
-; AVX1-NEXT: vmovapd 128(%rdi), %ymm2
-; AVX1-NEXT: vmovapd 96(%rdi), %ymm3
-; AVX1-NEXT: vblendpd {{.*#+}} ymm4 = ymm3[0,1],ymm2[2],ymm3[3]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm5
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm5, %ymm5
-; AVX1-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2],ymm5[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm6 = ymm1[0,1],ymm0[2],ymm1[3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm7
-; AVX1-NEXT: vinsertf128 $1, 64(%rdi), %ymm7, %ymm7
-; AVX1-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0],ymm7[1],ymm6[2],ymm7[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm0[0],ymm1[3],ymm0[2]
-; AVX1-NEXT: vbroadcastsd 80(%rdi), %ymm8
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1,2],ymm8[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1],ymm2[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[1],ymm2[0],ymm3[3],ymm2[2]
-; AVX1-NEXT: vbroadcastsd 176(%rdi), %ymm8
-; AVX1-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm7[0],ymm0[1],ymm7[2],ymm0[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm5[0],ymm2[1],ymm5[2],ymm2[3]
-; AVX1-NEXT: vmovapd %ymm6, (%rsi)
-; AVX1-NEXT: vmovapd %ymm4, 32(%rsi)
-; AVX1-NEXT: vmovapd %ymm3, 32(%rdx)
-; AVX1-NEXT: vmovapd %ymm1, (%rdx)
-; AVX1-NEXT: vmovapd %ymm2, 32(%rcx)
-; AVX1-NEXT: vmovapd %ymm0, (%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride3_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm3[0,1],ymm2[2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2],ymm5[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm1[0,1],ymm0[2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0],ymm7[1],ymm6[2],ymm7[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[1],ymm2[0],ymm3[3],ymm2[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm0[0],ymm1[3],ymm0[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm5[0],ymm2[1],ymm5[2],ymm2[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm7[0],ymm0[1],ymm7[2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride3_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm0
-; AVX2-NEXT: vmovaps (%rdi), %ymm1
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm4
-; AVX2-NEXT: vpermpd {{.*#+}} ymm5 = ymm3[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm2[4,5],ymm5[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
-; AVX2-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm5
-; AVX2-NEXT: vpermpd {{.*#+}} ymm6 = ymm1[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm0[4,5],ymm6[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 80(%rdi), %ymm1
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1],ymm3[2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 176(%rdi), %ymm2
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm2
-; AVX2-NEXT: vblendps {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm3 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vmovaps 112(%rdi), %xmm3
-; AVX2-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm6 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm5, (%rsi)
-; AVX2-NEXT: vmovaps %ymm4, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm1, 32(%rdx)
-; AVX2-NEXT: vmovaps %ymm0, (%rdx)
-; AVX2-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX2-NEXT: vmovaps %ymm2, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride3_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm5 = ymm3[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm2[4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm1[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm0[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 112(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm3[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride3_vf8:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm3 = <0,3,6,9,12,15,u,u>
; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,1,2,3,4,5,10,13]
; AVX512-NEXT: vpermi2q %zmm0, %zmm1, %zmm3
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm0 = [0,1,2,3,4,9,12,15]
; AVX512-NEXT: vpermi2q %zmm2, %zmm3, %zmm0
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <24 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <24 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <8 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21>
%strided.vec1 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <8 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22>
%strided.vec2 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <8 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23>
- store <8 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i64> %strided.vec2, ptr %out.vec2, align 32
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-LABEL: load_i64_stride3_vf16:
; SSE: # %bb.0:
; SSE-NEXT: subq $24, %rsp
+; SSE-NEXT: movapd 272(%rdi), %xmm0
; SSE-NEXT: movapd 224(%rdi), %xmm2
-; SSE-NEXT: movapd 128(%rdi), %xmm0
-; SSE-NEXT: movapd 272(%rdi), %xmm4
-; SSE-NEXT: movapd 176(%rdi), %xmm3
-; SSE-NEXT: movapd 80(%rdi), %xmm1
-; SSE-NEXT: movapd 192(%rdi), %xmm5
-; SSE-NEXT: movapd 208(%rdi), %xmm11
-; SSE-NEXT: movapd 96(%rdi), %xmm6
-; SSE-NEXT: movapd 112(%rdi), %xmm12
-; SSE-NEXT: movapd 240(%rdi), %xmm7
-; SSE-NEXT: movapd 256(%rdi), %xmm13
-; SSE-NEXT: movapd 144(%rdi), %xmm10
-; SSE-NEXT: movapd 160(%rdi), %xmm14
-; SSE-NEXT: movapd 48(%rdi), %xmm9
-; SSE-NEXT: movapd 64(%rdi), %xmm15
+; SSE-NEXT: movapd 368(%rdi), %xmm1
+; SSE-NEXT: movapd 320(%rdi), %xmm3
+; SSE-NEXT: movapd 128(%rdi), %xmm4
+; SSE-NEXT: movapd 240(%rdi), %xmm5
+; SSE-NEXT: movapd 256(%rdi), %xmm10
+; SSE-NEXT: movapd 192(%rdi), %xmm6
+; SSE-NEXT: movapd 208(%rdi), %xmm12
+; SSE-NEXT: movapd 336(%rdi), %xmm7
+; SSE-NEXT: movapd 352(%rdi), %xmm14
+; SSE-NEXT: movapd 288(%rdi), %xmm11
+; SSE-NEXT: movapd 304(%rdi), %xmm15
+; SSE-NEXT: movapd 96(%rdi), %xmm9
+; SSE-NEXT: movapd 112(%rdi), %xmm13
; SSE-NEXT: movapd %xmm15, %xmm8
-; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm9[0],xmm8[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm11[0],xmm8[1]
; SSE-NEXT: movapd %xmm8, (%rsp) # 16-byte Spill
-; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm1[0]
-; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
-; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movapd %xmm14, %xmm15
-; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm10[0],xmm15[1]
-; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm3[0]
-; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm14[0],xmm3[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm3[0]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm15[0],xmm3[1]
; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm7[0],xmm15[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm1[0]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm14[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movapd %xmm12, %xmm14
; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm6[0],xmm14[1]
-; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm0[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm2[0]
; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm12[0],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm12[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm10, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm5[0],xmm12[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm0[0]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm10[0],xmm0[1]
; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movapd %xmm13, %xmm12
-; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm7[0],xmm12[1]
-; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm4[0]
-; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm13, %xmm10
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm9[0],xmm10[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm4[0]
; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm13[0],xmm4[1]
; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movapd %xmm11, %xmm13
-; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm5[0],xmm13[1]
-; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm2[0]
-; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm11[0],xmm2[1]
-; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movapd 336(%rdi), %xmm11
-; SSE-NEXT: movapd 352(%rdi), %xmm1
+; SSE-NEXT: movapd 144(%rdi), %xmm13
+; SSE-NEXT: movapd 160(%rdi), %xmm1
; SSE-NEXT: movapd %xmm1, %xmm8
-; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm11[0],xmm8[1]
-; SSE-NEXT: movapd 368(%rdi), %xmm6
-; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm6[0]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm13[0],xmm8[1]
+; SSE-NEXT: movapd 176(%rdi), %xmm6
+; SSE-NEXT: shufpd {{.*#+}} xmm13 = xmm13[1],xmm6[0]
; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
-; SSE-NEXT: movapd 288(%rdi), %xmm1
-; SSE-NEXT: movapd 304(%rdi), %xmm4
-; SSE-NEXT: movapd %xmm4, %xmm2
-; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
-; SSE-NEXT: movapd 320(%rdi), %xmm0
-; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm0[0]
-; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movapd 48(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm1[0],xmm3[1]
+; SSE-NEXT: movapd 80(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm2[0]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm4[0],xmm2[1]
; SSE-NEXT: movapd (%rdi), %xmm4
; SSE-NEXT: movapd 16(%rdi), %xmm7
; SSE-NEXT: movapd %xmm7, %xmm5
; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm4[0],xmm5[1]
-; SSE-NEXT: movapd 32(%rdi), %xmm3
-; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm3[0]
-; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
-; SSE-NEXT: movapd %xmm2, 96(%rsi)
-; SSE-NEXT: movapd %xmm13, 64(%rsi)
-; SSE-NEXT: movapd %xmm14, 32(%rsi)
-; SSE-NEXT: movapd %xmm5, (%rsi)
-; SSE-NEXT: movapd %xmm8, 112(%rsi)
+; SSE-NEXT: movapd 32(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm7[0],xmm0[1]
; SSE-NEXT: movapd %xmm12, 80(%rsi)
-; SSE-NEXT: movapd %xmm15, 48(%rsi)
-; SSE-NEXT: movaps (%rsp), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 16(%rsi)
-; SSE-NEXT: movapd %xmm1, 96(%rdx)
+; SSE-NEXT: movapd %xmm3, 16(%rsi)
+; SSE-NEXT: movapd %xmm14, 64(%rsi)
+; SSE-NEXT: movapd %xmm5, (%rsi)
+; SSE-NEXT: movapd %xmm15, 112(%rsi)
+; SSE-NEXT: movapd %xmm8, 48(%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 96(%rsi)
+; SSE-NEXT: movapd %xmm10, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 80(%rdx)
+; SSE-NEXT: movapd %xmm1, 16(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 64(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rdx)
; SSE-NEXT: movapd %xmm4, (%rdx)
-; SSE-NEXT: movapd %xmm11, 112(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 80(%rdx)
-; SSE-NEXT: movapd %xmm10, 48(%rdx)
-; SSE-NEXT: movapd %xmm9, 16(%rdx)
-; SSE-NEXT: movapd %xmm0, 96(%rcx)
-; SSE-NEXT: movapd %xmm6, 112(%rcx)
+; SSE-NEXT: movaps %xmm1, 112(%rdx)
+; SSE-NEXT: movapd %xmm13, 48(%rdx)
+; SSE-NEXT: movapd %xmm11, 96(%rdx)
+; SSE-NEXT: movapd %xmm9, 32(%rdx)
+; SSE-NEXT: movapd %xmm2, 16(%rcx)
+; SSE-NEXT: movapd %xmm0, (%rcx)
+; SSE-NEXT: movapd %xmm6, 48(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 80(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 48(%rcx)
-; SSE-NEXT: movapd %xmm3, (%rcx)
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
; SSE-NEXT: addq $24, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride3_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovapd 224(%rdi), %ymm0
-; AVX1-NEXT: vmovapd 192(%rdi), %ymm1
-; AVX1-NEXT: vmovapd 320(%rdi), %ymm2
-; AVX1-NEXT: vmovapd 288(%rdi), %ymm3
-; AVX1-NEXT: vmovapd 32(%rdi), %ymm4
-; AVX1-NEXT: vmovapd (%rdi), %ymm5
-; AVX1-NEXT: vmovapd 128(%rdi), %ymm6
-; AVX1-NEXT: vmovapd 96(%rdi), %ymm8
-; AVX1-NEXT: vblendpd {{.*#+}} ymm7 = ymm8[0,1],ymm6[2],ymm8[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm9 = ymm1[0,1],ymm0[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[1],ymm0[0],ymm9[3],ymm0[2]
-; AVX1-NEXT: vbroadcastsd 272(%rdi), %ymm10
-; AVX1-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1],ymm6[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm8 = ymm8[1],ymm6[0],ymm8[3],ymm6[2]
-; AVX1-NEXT: vbroadcastsd 176(%rdi), %ymm10
-; AVX1-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1,2],ymm10[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm10 = ymm5[0,1],ymm4[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm10 = ymm10[1],ymm4[0],ymm10[3],ymm4[2]
-; AVX1-NEXT: vbroadcastsd 80(%rdi), %ymm11
-; AVX1-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0,1,2],ymm11[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm11 = ymm3[0,1],ymm2[2,3]
-; AVX1-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[1],ymm2[0],ymm11[3],ymm2[2]
-; AVX1-NEXT: vbroadcastsd 368(%rdi), %ymm12
-; AVX1-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0,1,2],ymm12[3]
-; AVX1-NEXT: vmovaps 112(%rdi), %xmm12
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm12, %ymm12
-; AVX1-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0],ymm12[1],ymm7[2],ymm12[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],ymm4[2],ymm5[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm6 = ymm12[0],ymm6[1],ymm12[2],ymm6[3]
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm12
-; AVX1-NEXT: vinsertf128 $1, 64(%rdi), %ymm12, %ymm12
-; AVX1-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0],ymm12[1],ymm5[2],ymm12[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1],ymm2[2],ymm3[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm4 = ymm12[0],ymm4[1],ymm12[2],ymm4[3]
-; AVX1-NEXT: vmovaps 304(%rdi), %xmm12
-; AVX1-NEXT: vinsertf128 $1, 352(%rdi), %ymm12, %ymm12
-; AVX1-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0],ymm12[1],ymm3[2],ymm12[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm2 = ymm12[0],ymm2[1],ymm12[2],ymm2[3]
-; AVX1-NEXT: vmovaps 208(%rdi), %xmm12
-; AVX1-NEXT: vinsertf128 $1, 256(%rdi), %ymm12, %ymm12
-; AVX1-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0],ymm12[1],ymm1[2],ymm12[3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
-; AVX1-NEXT: vblendpd {{.*#+}} ymm0 = ymm12[0],ymm0[1],ymm12[2],ymm0[3]
-; AVX1-NEXT: vmovapd %ymm1, 64(%rsi)
-; AVX1-NEXT: vmovapd %ymm3, 96(%rsi)
-; AVX1-NEXT: vmovapd %ymm5, (%rsi)
-; AVX1-NEXT: vmovapd %ymm7, 32(%rsi)
-; AVX1-NEXT: vmovapd %ymm11, 96(%rdx)
-; AVX1-NEXT: vmovapd %ymm10, (%rdx)
-; AVX1-NEXT: vmovapd %ymm8, 32(%rdx)
-; AVX1-NEXT: vmovapd %ymm9, 64(%rdx)
-; AVX1-NEXT: vmovapd %ymm0, 64(%rcx)
-; AVX1-NEXT: vmovapd %ymm2, 96(%rcx)
-; AVX1-NEXT: vmovapd %ymm4, (%rcx)
-; AVX1-NEXT: vmovapd %ymm6, 32(%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride3_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm8[0,1],ymm6[2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm8 = ymm8[1],ymm6[0],ymm8[3],ymm6[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1,2],ymm9[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm5[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[1],ymm4[0],ymm9[3],ymm4[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm2[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm10 = ymm10[1],ymm1[0],ymm10[3],ymm1[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0,1,2],ymm11[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm3[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[1],ymm0[0],ymm11[3],ymm0[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0,1,2],ymm12[3]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0],ymm12[1],ymm7[2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],ymm4[2],ymm5[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm12[0],ymm6[1],ymm12[2],ymm6[3]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0],ymm12[1],ymm5[2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1],ymm0[2],ymm3[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm1[2],ymm2[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm12[0],ymm4[1],ymm12[2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0],ymm12[1],ymm2[2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm12[0],ymm1[1],ymm12[2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0],ymm12[1],ymm3[2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm12[0],ymm0[1],ymm12[2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm10, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 32(%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride3_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm3
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 320(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 288(%rdi), %ymm7
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm8
-; AVX2-NEXT: vmovaps (%rdi), %ymm9
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm10
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm11
-; AVX2-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm0
-; AVX2-NEXT: vpermpd {{.*#+}} ymm1 = ymm11[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5],ymm1[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
-; AVX2-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm1
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm9[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm8[4,5],ymm2[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm2
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm7[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5],ymm4[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6,7]
-; AVX2-NEXT: vinsertf128 $1, 256(%rdi), %ymm0, %ymm4
-; AVX2-NEXT: vpermpd {{.*#+}} ymm12 = ymm5[0,3,2,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm3[4,5],ymm12[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm12[0,1,2,3,4,5],ymm4[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm5[2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 272(%rdi), %ymm5
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1],ymm11[2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 176(%rdi), %ymm10
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm10[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1],ymm9[2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 80(%rdi), %ymm9
-; AVX2-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,3,0,1,6,7,4,5]
-; AVX2-NEXT: vbroadcastsd 368(%rdi), %ymm7
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
-; AVX2-NEXT: vmovaps 112(%rdi), %xmm7
-; AVX2-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm9 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm9
-; AVX2-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm10 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vmovaps 304(%rdi), %xmm10
-; AVX2-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm11 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
-; AVX2-NEXT: vmovaps 208(%rdi), %xmm11
-; AVX2-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],mem[2,3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm12 = mem[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm4, 64(%rsi)
-; AVX2-NEXT: vmovaps %ymm2, 96(%rsi)
-; AVX2-NEXT: vmovaps %ymm1, (%rsi)
-; AVX2-NEXT: vmovaps %ymm0, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm6, 96(%rdx)
-; AVX2-NEXT: vmovaps %ymm8, (%rdx)
-; AVX2-NEXT: vmovaps %ymm5, 32(%rdx)
-; AVX2-NEXT: vmovaps %ymm3, 64(%rdx)
-; AVX2-NEXT: vmovaps %ymm11, 64(%rcx)
-; AVX2-NEXT: vmovaps %ymm10, 96(%rcx)
-; AVX2-NEXT: vmovaps %ymm9, (%rcx)
-; AVX2-NEXT: vmovaps %ymm7, 32(%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride3_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm11[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm7[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm12 = ymm9[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm8[4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm12[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1],ymm11[2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1],ymm10[2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1],ymm9[2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1],ymm7[2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vmovaps 112(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm9 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 304(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm10 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm11 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm11 = xmm11[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm12 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm9, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, 32(%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride3_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm5
; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm6 = <0,3,6,9,12,15,u,u>
; AVX512-NEXT: vmovdqa64 %zmm5, %zmm7
; AVX512-NEXT: vpermt2q %zmm1, %zmm6, %zmm7
; AVX512-NEXT: vpermt2q %zmm0, %zmm5, %zmm1
; AVX512-NEXT: vpermt2q %zmm2, %zmm10, %zmm3
; AVX512-NEXT: vpermt2q %zmm4, %zmm5, %zmm3
-; AVX512-NEXT: vmovdqu64 %zmm7, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm9, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm1, 64(%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm3, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm9, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm1, 64(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm3, (%rcx)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <48 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <48 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <16 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45>
%strided.vec1 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <16 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46>
%strided.vec2 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <16 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47>
- store <16 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i64> %strided.vec2, ptr %out.vec2, align 32
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+
+ ret void
+}
+
+define void @load_i64_stride3_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i64_stride3_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $408, %rsp # imm = 0x198
+; SSE-NEXT: movapd 224(%rdi), %xmm0
+; SSE-NEXT: movapd 272(%rdi), %xmm3
+; SSE-NEXT: movapd 128(%rdi), %xmm1
+; SSE-NEXT: movapd 176(%rdi), %xmm5
+; SSE-NEXT: movapd 80(%rdi), %xmm4
+; SSE-NEXT: movapd 96(%rdi), %xmm6
+; SSE-NEXT: movapd 112(%rdi), %xmm11
+; SSE-NEXT: movapd 144(%rdi), %xmm7
+; SSE-NEXT: movapd 160(%rdi), %xmm12
+; SSE-NEXT: movapd 192(%rdi), %xmm8
+; SSE-NEXT: movapd 208(%rdi), %xmm13
+; SSE-NEXT: movapd 240(%rdi), %xmm9
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movapd 48(%rdi), %xmm10
+; SSE-NEXT: movapd 64(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm15, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm10[0],xmm14[1]
+; SSE-NEXT: movapd %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm4[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm15[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm11, %xmm4
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm6[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm1[0]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm12, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm7[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm5[0]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm12[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm13, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm8[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm0[0]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm13[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm2, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm9[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm3[0]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm2
+; SSE-NEXT: movapd 304(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movapd 352(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 384(%rdi), %xmm2
+; SSE-NEXT: movapd 400(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 416(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 432(%rdi), %xmm2
+; SSE-NEXT: movapd 448(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 464(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm2
+; SSE-NEXT: movapd 496(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 512(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 528(%rdi), %xmm15
+; SSE-NEXT: movapd 544(%rdi), %xmm1
+; SSE-NEXT: movapd %xmm1, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 560(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm15 = xmm15[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 576(%rdi), %xmm11
+; SSE-NEXT: movapd 592(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm11[0],xmm14[1]
+; SSE-NEXT: movapd 608(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 624(%rdi), %xmm8
+; SSE-NEXT: movapd 640(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm8[0],xmm13[1]
+; SSE-NEXT: movapd 656(%rdi), %xmm12
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm12[0]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm0[0],xmm12[1]
+; SSE-NEXT: movapd 672(%rdi), %xmm0
+; SSE-NEXT: movapd 688(%rdi), %xmm2
+; SSE-NEXT: movapd %xmm2, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd 704(%rdi), %xmm10
+; SSE-NEXT: shufpd {{.*#+}} xmm0 = xmm0[1],xmm10[0]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm2[0],xmm10[1]
+; SSE-NEXT: movapd 720(%rdi), %xmm2
+; SSE-NEXT: movapd 736(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd 752(%rdi), %xmm7
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm7[0]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm4[0],xmm7[1]
+; SSE-NEXT: movapd (%rdi), %xmm4
+; SSE-NEXT: movapd 16(%rdi), %xmm6
+; SSE-NEXT: movapd %xmm6, %xmm5
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm4[0],xmm5[1]
+; SSE-NEXT: movapd 32(%rdi), %xmm9
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm9[0]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm6[0],xmm9[1]
+; SSE-NEXT: movapd %xmm1, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rsi)
+; SSE-NEXT: movapd %xmm3, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%rsi)
+; SSE-NEXT: movapd %xmm14, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 64(%rsi)
+; SSE-NEXT: movapd %xmm5, (%rsi)
+; SSE-NEXT: movapd %xmm13, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movapd %xmm0, 224(%rdx)
+; SSE-NEXT: movapd %xmm2, 240(%rdx)
+; SSE-NEXT: movapd %xmm11, 192(%rdx)
+; SSE-NEXT: movapd %xmm8, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movapd %xmm15, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movapd %xmm4, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movapd %xmm7, 240(%rcx)
+; SSE-NEXT: movapd %xmm10, 224(%rcx)
+; SSE-NEXT: movapd %xmm12, 208(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movapd %xmm9, (%rcx)
+; SSE-NEXT: addq $408, %rsp # imm = 0x198
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride3_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 704(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovapd 672(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 512(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovupd %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm9[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm10 = ymm10[1],ymm8[0],ymm10[3],ymm8[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm10[0,1,2],ymm11[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm5[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[1],ymm6[0],ymm11[3],ymm6[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm11[0,1,2],ymm12[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd %ymm4, %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm1[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm12 = ymm12[1],ymm4[0],ymm12[3],ymm4[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 560(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm12[0,1,2],ymm13[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd %ymm3, %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm13[1],ymm3[0],ymm13[3],ymm3[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 752(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm13[0,1,2],ymm14[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd %ymm15, %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm2[0,1],ymm15[2,3]
+; AVX1-ONLY-NEXT: vmovapd %ymm2, %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm14 = ymm14[1],ymm15[0],ymm14[3],ymm15[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm14[0,1,2],ymm15[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm2[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm15 = ymm15[1],ymm0[0],ymm15[3],ymm0[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm15[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm3[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[1],ymm10[0],ymm11[3],ymm10[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 464(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0,1,2],ymm12[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovupd %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm11[0,1],ymm12[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm13[1],ymm12[0],ymm13[3],ymm12[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 656(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm13[0,1,2],ymm14[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0,1],ymm8[2],ymm9[3]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm14, %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0],ymm14[1],ymm9[2],ymm14[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm14[0],ymm8[1],ymm14[2],ymm8[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm4[0,1],ymm1[2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm8, %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm14[0],ymm8[1],ymm14[2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm1[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm8[0],ymm4[1],ymm8[2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = mem[0,1],ymm6[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0],ymm15[1],ymm8[2],ymm15[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm15[0],ymm6[1],ymm15[2],ymm6[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1],ymm0[2],ymm2[3]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0],ymm15[1],ymm1[2],ymm15[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm15[0],ymm0[1],ymm15[2],ymm0[3]
+; AVX1-ONLY-NEXT: vblendpd $11, (%rsp), %ymm5, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = mem[0,1],ymm5[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 496(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm15[0],ymm4[1],ymm15[2],ymm4[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0],ymm5[1],ymm4[2],ymm5[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm10[2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 448(%rdi), %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0],ymm5[1],ymm2[2],ymm5[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0],ymm10[1],ymm5[2],ymm10[3]
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm10 = mem[0,1],ymm7[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 688(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0],ymm11[1],ymm10[2],ymm11[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm11[0],ymm7[1],ymm11[2],ymm7[3]
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = mem[0,1],ymm12[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, 640(%rdi), %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0],ymm11[1],ymm3[2],ymm11[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm12[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0],ymm12[1],ymm11[2],ymm12[3]
+; AVX1-ONLY-NEXT: vmovapd %ymm3, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm14, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm10, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm15, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm13, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: addq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride3_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $232, %rsp
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm5[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm4[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm7[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm11[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm12[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm13[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm2[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm1[4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm15[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm14[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm0[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm3[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 448(%rdi), %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm1[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm2[4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 640(%rdi), %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1],ymm7[2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm11[0,1],ymm10[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 560(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm13[0,1],ymm12[2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 752(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm4[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = ymm4[0,1],mem[2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm4[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm14[0,1],ymm15[2,3],ymm14[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm4[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 464(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1],ymm1[2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 656(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 112(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 304(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 496(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 400(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm8[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm9 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 688(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm9[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm10 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 592(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm10[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm7 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm12, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm9, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm14, 32(%rcx)
+; AVX2-ONLY-NEXT: addq $232, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride3_vf32:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 704(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 640(%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 512(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm9
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm10
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm11
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm12 = <0,3,6,9,12,15,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm13
+; AVX512-NEXT: vpermt2q %zmm1, %zmm12, %zmm13
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm14 = [0,1,2,3,4,5,10,13]
+; AVX512-NEXT: vpermt2q %zmm8, %zmm14, %zmm13
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm15
+; AVX512-NEXT: vpermt2q %zmm2, %zmm12, %zmm15
+; AVX512-NEXT: vpermt2q %zmm6, %zmm14, %zmm15
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm16
+; AVX512-NEXT: vpermt2q %zmm0, %zmm12, %zmm16
+; AVX512-NEXT: vpermt2q %zmm4, %zmm14, %zmm16
+; AVX512-NEXT: vpermi2q %zmm3, %zmm9, %zmm12
+; AVX512-NEXT: vpermt2q %zmm10, %zmm14, %zmm12
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm14 = <1,4,7,10,13,u,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm17
+; AVX512-NEXT: vpermt2q %zmm2, %zmm14, %zmm17
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm18 = [0,1,2,3,4,8,11,14]
+; AVX512-NEXT: vpermt2q %zmm6, %zmm18, %zmm17
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512-NEXT: vpermt2q %zmm1, %zmm14, %zmm19
+; AVX512-NEXT: vpermt2q %zmm8, %zmm18, %zmm19
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm20
+; AVX512-NEXT: vpermt2q %zmm0, %zmm14, %zmm20
+; AVX512-NEXT: vpermt2q %zmm4, %zmm18, %zmm20
+; AVX512-NEXT: vpermi2q %zmm3, %zmm9, %zmm14
+; AVX512-NEXT: vpermt2q %zmm10, %zmm18, %zmm14
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm18 = <10,13,0,3,6,u,u,u>
+; AVX512-NEXT: vpermt2q %zmm11, %zmm18, %zmm1
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm11 = [0,1,2,3,4,9,12,15]
+; AVX512-NEXT: vpermt2q %zmm8, %zmm11, %zmm1
+; AVX512-NEXT: vpermt2q %zmm5, %zmm18, %zmm0
+; AVX512-NEXT: vpermt2q %zmm4, %zmm11, %zmm0
+; AVX512-NEXT: vpermt2q %zmm7, %zmm18, %zmm2
+; AVX512-NEXT: vpermt2q %zmm6, %zmm11, %zmm2
+; AVX512-NEXT: vpermt2q %zmm9, %zmm18, %zmm3
+; AVX512-NEXT: vpermt2q %zmm10, %zmm11, %zmm3
+; AVX512-NEXT: vmovdqa64 %zmm16, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm15, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm13, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm12, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm20, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm14, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm19, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm17, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm2, 128(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm0, 192(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm3, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm1, 64(%rcx)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <96 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <32 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93>
+ %strided.vec1 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <32 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94>
+ %strided.vec2 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <32 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95>
+
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i64> %strided.vec2, ptr %out.vec2, align 64
+
+ ret void
+}
+
+define void @load_i64_stride3_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i64_stride3_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1176, %rsp # imm = 0x498
+; SSE-NEXT: movapd 272(%rdi), %xmm1
+; SSE-NEXT: movapd 224(%rdi), %xmm2
+; SSE-NEXT: movapd 176(%rdi), %xmm3
+; SSE-NEXT: movapd 128(%rdi), %xmm4
+; SSE-NEXT: movapd 80(%rdi), %xmm5
+; SSE-NEXT: movapd 240(%rdi), %xmm6
+; SSE-NEXT: movapd 256(%rdi), %xmm11
+; SSE-NEXT: movapd 192(%rdi), %xmm7
+; SSE-NEXT: movapd 208(%rdi), %xmm12
+; SSE-NEXT: movapd 144(%rdi), %xmm8
+; SSE-NEXT: movapd 160(%rdi), %xmm13
+; SSE-NEXT: movapd 96(%rdi), %xmm9
+; SSE-NEXT: movapd 112(%rdi), %xmm14
+; SSE-NEXT: movapd 48(%rdi), %xmm10
+; SSE-NEXT: movapd 64(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm10[0],xmm15[1]
+; SSE-NEXT: movapd %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm5[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm9[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm4[0]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm14[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm13, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm8[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm3[0]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm13[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm12, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm7[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm2[0]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm12[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm11, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm6[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm1[0]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm2
+; SSE-NEXT: movapd 304(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movapd 352(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 384(%rdi), %xmm2
+; SSE-NEXT: movapd 400(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 416(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 432(%rdi), %xmm2
+; SSE-NEXT: movapd 448(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 464(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm2
+; SSE-NEXT: movapd 496(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 512(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 528(%rdi), %xmm2
+; SSE-NEXT: movapd 544(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 560(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 576(%rdi), %xmm2
+; SSE-NEXT: movapd 592(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 608(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 624(%rdi), %xmm2
+; SSE-NEXT: movapd 640(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 656(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 672(%rdi), %xmm2
+; SSE-NEXT: movapd 688(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 704(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 720(%rdi), %xmm2
+; SSE-NEXT: movapd 736(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 752(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 768(%rdi), %xmm2
+; SSE-NEXT: movapd 784(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 800(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 816(%rdi), %xmm2
+; SSE-NEXT: movapd 832(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 848(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 864(%rdi), %xmm2
+; SSE-NEXT: movapd 880(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 896(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 912(%rdi), %xmm2
+; SSE-NEXT: movapd 928(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 944(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 960(%rdi), %xmm2
+; SSE-NEXT: movapd 976(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 992(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1008(%rdi), %xmm2
+; SSE-NEXT: movapd 1024(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1040(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1056(%rdi), %xmm2
+; SSE-NEXT: movapd 1072(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1088(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1104(%rdi), %xmm2
+; SSE-NEXT: movapd 1120(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1136(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1152(%rdi), %xmm2
+; SSE-NEXT: movapd 1168(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1184(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1200(%rdi), %xmm2
+; SSE-NEXT: movapd 1216(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1232(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1248(%rdi), %xmm2
+; SSE-NEXT: movapd 1264(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm2[0],xmm15[1]
+; SSE-NEXT: movapd 1280(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1296(%rdi), %xmm14
+; SSE-NEXT: movapd 1312(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm11
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm14[0],xmm11[1]
+; SSE-NEXT: movapd 1328(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm14 = xmm14[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1344(%rdi), %xmm12
+; SSE-NEXT: movapd 1360(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm8
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm12[0],xmm8[1]
+; SSE-NEXT: movapd 1376(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm12 = xmm12[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movapd 1392(%rdi), %xmm9
+; SSE-NEXT: movapd 1408(%rdi), %xmm2
+; SSE-NEXT: movapd %xmm2, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm9[0],xmm3[1]
+; SSE-NEXT: movapd 1424(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1440(%rdi), %xmm4
+; SSE-NEXT: movapd 1456(%rdi), %xmm7
+; SSE-NEXT: movapd %xmm7, %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm4[0],xmm2[1]
+; SSE-NEXT: movapd 1472(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm7[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1488(%rdi), %xmm1
+; SSE-NEXT: movapd 1504(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm6
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm1[0],xmm6[1]
+; SSE-NEXT: movapd 1520(%rdi), %xmm13
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm13[0]
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm0[0],xmm13[1]
+; SSE-NEXT: movapd (%rdi), %xmm10
+; SSE-NEXT: movapd 16(%rdi), %xmm5
+; SSE-NEXT: movapd %xmm5, %xmm7
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm10[0],xmm7[1]
+; SSE-NEXT: movapd 32(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, %xmm5
+; SSE-NEXT: movapd %xmm6, 496(%rsi)
+; SSE-NEXT: movapd %xmm2, 480(%rsi)
+; SSE-NEXT: movapd %xmm3, 464(%rsi)
+; SSE-NEXT: movapd %xmm8, 448(%rsi)
+; SSE-NEXT: movapd %xmm11, 432(%rsi)
+; SSE-NEXT: movapd %xmm15, 416(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 400(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 384(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 368(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 352(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 336(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 320(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 304(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 288(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 272(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 256(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movapd %xmm7, (%rsi)
+; SSE-NEXT: movapd %xmm1, 496(%rdx)
+; SSE-NEXT: movapd %xmm4, 480(%rdx)
+; SSE-NEXT: movapd %xmm9, 464(%rdx)
+; SSE-NEXT: movapd %xmm12, 448(%rdx)
+; SSE-NEXT: movapd %xmm14, 432(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 416(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 400(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 384(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 368(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 352(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 336(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 320(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 304(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 288(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 272(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 256(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movapd %xmm10, (%rdx)
+; SSE-NEXT: movapd %xmm13, 496(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 480(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 464(%rcx)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 448(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 432(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 416(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 400(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 384(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 368(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 352(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 336(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 320(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 304(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 288(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 272(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 256(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movapd %xmm5, (%rcx)
+; SSE-NEXT: addq $1176, %rsp # imm = 0x498
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride3_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1160, %rsp # imm = 0x488
+; AVX1-ONLY-NEXT: vmovapd 896(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 864(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 704(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovapd 672(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovupd %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 512(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovupd %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovupd %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm1[0],ymm0[3],ymm1[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovupd %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm9[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm8[0],ymm0[3],ymm8[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovupd %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm7[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm6[0],ymm0[3],ymm6[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 560(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm5[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm4[0],ymm0[3],ymm4[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 752(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovupd %ymm2, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm2[0],ymm0[3],ymm2[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 944(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1088(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovapd 1056(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm6[0],ymm0[3],ymm6[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1136(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1280(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovapd 1248(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm5[0],ymm0[3],ymm5[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1328(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1472(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovapd 1440(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm4[0],ymm0[3],ymm4[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1520(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm1[0],ymm0[3],ymm1[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm11[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm11[0],ymm0[3],ymm11[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm10[0],ymm0[3],ymm10[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 464(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm8[0],ymm0[3],ymm8[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 656(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 800(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovapd 768(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm3[0],ymm0[3],ymm3[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 848(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 992(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 960(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm12[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm2[0],ymm0[3],ymm2[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1040(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm9[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1184(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd 1152(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm9[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm15 = ymm15[1],ymm1[0],ymm15[3],ymm1[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1232(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm15[0,1,2],ymm14[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1376(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vmovapd 1344(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm7[0,1],ymm14[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm15 = ymm15[1],ymm14[0],ymm15[3],ymm14[2]
+; AVX1-ONLY-NEXT: vbroadcastsd 1424(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm15[0,1,2],ymm13[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2,3],ymm0[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1],ymm15[2,3],ymm13[4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2,3],ymm0[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1],ymm15[2,3],ymm13[4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2,3],ymm0[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 496(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1],ymm15[2,3],ymm13[4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2,3],ymm0[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 688(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1],ymm15[2,3],ymm13[4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2,3],ymm0[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 880(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 928(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1],ymm15[2,3],ymm13[4,5],ymm15[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1],ymm13[2,3],ymm15[4,5],ymm13[6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1],ymm6[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 1072(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1120(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm13[0],ymm15[1],ymm13[2],ymm15[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm15[0],ymm6[1],ymm15[2],ymm6[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1],ymm5[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 1264(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1312(%rdi), %ymm15, %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm13[0],ymm15[1],ymm13[2],ymm15[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm15[0],ymm5[1],ymm15[2],ymm5[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = mem[0,1],ymm4[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 1456(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1504(%rdi), %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm15[0],ymm6[1],ymm15[2],ymm6[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0],ymm4[1],ymm6[2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm7[0,1],ymm14[2],ymm7[3]
+; AVX1-ONLY-NEXT: vmovaps 1360(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1408(%rdi), %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0],ymm7[1],ymm6[2],ymm7[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm14[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm7[0],ymm14[1],ymm7[2],ymm14[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm9[0,1],ymm1[2],ymm9[3]
+; AVX1-ONLY-NEXT: vmovaps 1168(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1216(%rdi), %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0],ymm9[1],ymm7[2],ymm9[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm9[0],ymm0[1],ymm9[2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm12[0,1],ymm2[2],ymm12[3]
+; AVX1-ONLY-NEXT: vmovaps 976(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1024(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0],ymm12[1],ymm0[2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm12[0],ymm1[1],ymm12[2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1],ymm3[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 784(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 832(%rdi), %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0],ymm5[1],ymm1[2],ymm5[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm5[0],ymm2[1],ymm5[2],ymm2[3]
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = mem[0,1],ymm8[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, 640(%rdi), %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0],ymm4[1],ymm5[2],ymm4[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm8[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm4[0],ymm3[1],ymm4[2],ymm3[3]
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = mem[0,1],ymm10[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, 448(%rdi), %ymm14, %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0],ymm14[1],ymm4[2],ymm14[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm10[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm14[0],ymm8[1],ymm14[2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd $11, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm14 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm14 = mem[0,1],ymm11[2],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm14[0],ymm9[1],ymm14[2],ymm9[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm11[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0],ymm10[1],ymm9[2],ymm10[3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $207, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm10 = mem[0,1,2,3],ymm11[4,5],mem[6,7]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1],ymm12[2,3],ymm10[4,5],ymm12[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],mem[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm12[0,1],ymm11[2,3],ymm12[4,5],ymm11[6,7]
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 448(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 384(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 320(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 256(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm14, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm15, 480(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm13, 416(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 352(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 288(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 448(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 384(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 320(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 256(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 480(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 416(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 352(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 288(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm3, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, 256(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 320(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 384(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 448(%rcx)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 480(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 416(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 352(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 288(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: addq $1160, %rsp # imm = 0x488
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride3_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $968, %rsp # imm = 0x3C8
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm9[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm8[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm7[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm5[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinsertf128 $1, 928(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm3[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1088(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1056(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm10[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1120(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1280(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1248(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm9[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1312(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1472(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1440(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm8[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1504(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm7[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm6[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 256(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm5[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm14[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 448(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm4[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 640(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm3[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 832(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm2[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm15[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1024(%rdi), %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1184(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 1152(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm1[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm13[4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1216(%rdi), %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1376(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1344(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm11 = ymm0[0,3,2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vinsertf128 $1, 1408(%rdi), %ymm0, %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 176(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 368(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 560(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 752(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm11 = ymm11[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 944(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm10 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm10 = mem[0,1],ymm10[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm10 = ymm10[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1136(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm9 = mem[0,1],ymm9[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm9 = ymm9[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1328(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm8 = mem[0,1],ymm8[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm8 = ymm8[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1520(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm7 = mem[0,1],ymm7[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm7 = ymm7[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 80(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1],ymm6[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm6 = ymm6[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 272(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm14[0,1],ymm5[2,3],ymm14[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm5 = ymm5[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 464(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, (%rsp), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[0,1],ymm4[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm4 = ymm4[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 656(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm4, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = mem[0,1],ymm3[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm3 = ymm3[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 848(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm15[0,1],ymm2[2,3],ymm15[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm2 = ymm2[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1040(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm13[0,1],ymm1[2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm1 = ymm1[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1232(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vblendps $243, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[0,1],ymm0[2,3],mem[4,5,6,7]
+; AVX2-ONLY-NEXT: vpermilps {{.*#+}} ymm0 = ymm0[2,3,0,1,6,7,4,5]
+; AVX2-ONLY-NEXT: vbroadcastsd 1424(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps 112(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 304(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 496(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 688(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 880(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 1072(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 1264(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 1456(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 1360(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 1168(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 976(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 784(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 592(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 400(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm15 = mem[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm15[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 448(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 384(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 320(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 256(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 480(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 416(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 352(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 288(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 448(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, 384(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 320(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 256(%rdx)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 480(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 416(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 352(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 288(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 256(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 320(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 384(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, 448(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 480(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm9, 416(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm10, 352(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm12, 288(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm14, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX2-ONLY-NEXT: addq $968, %rsp # imm = 0x3C8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride3_vf64:
+; AVX512: # %bb.0:
+; AVX512-NEXT: subq $200, %rsp
+; AVX512-NEXT: vmovaps 1472(%rdi), %zmm0
+; AVX512-NEXT: vmovups %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512-NEXT: vmovdqa64 1408(%rdi), %zmm14
+; AVX512-NEXT: vmovdqa64 1344(%rdi), %zmm16
+; AVX512-NEXT: vmovaps 1280(%rdi), %zmm0
+; AVX512-NEXT: vmovups %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512-NEXT: vmovdqa64 1216(%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 1152(%rdi), %zmm15
+; AVX512-NEXT: vmovaps 1088(%rdi), %zmm1
+; AVX512-NEXT: vmovups %zmm1, (%rsp) # 64-byte Spill
+; AVX512-NEXT: vmovdqa64 1024(%rdi), %zmm18
+; AVX512-NEXT: vmovdqa64 960(%rdi), %zmm22
+; AVX512-NEXT: vmovaps 896(%rdi), %zmm1
+; AVX512-NEXT: vmovups %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512-NEXT: vmovdqa64 832(%rdi), %zmm17
+; AVX512-NEXT: vmovdqa64 768(%rdi), %zmm21
+; AVX512-NEXT: vmovdqa64 704(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 640(%rdi), %zmm12
+; AVX512-NEXT: vmovdqa64 576(%rdi), %zmm28
+; AVX512-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm23
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm27
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm20
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm19
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm30
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm13 = <0,3,6,9,12,15,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm30, %zmm6
+; AVX512-NEXT: vpermt2q %zmm20, %zmm13, %zmm6
+; AVX512-NEXT: vmovdqa64 %zmm27, %zmm3
+; AVX512-NEXT: vpermt2q %zmm23, %zmm13, %zmm3
+; AVX512-NEXT: vmovdqa64 %zmm28, %zmm2
+; AVX512-NEXT: vpermt2q %zmm12, %zmm13, %zmm2
+; AVX512-NEXT: vmovdqa64 %zmm21, %zmm9
+; AVX512-NEXT: vpermt2q %zmm17, %zmm13, %zmm9
+; AVX512-NEXT: vmovdqa64 %zmm22, %zmm8
+; AVX512-NEXT: vpermt2q %zmm18, %zmm13, %zmm8
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm24
+; AVX512-NEXT: vpermt2q %zmm0, %zmm13, %zmm24
+; AVX512-NEXT: vmovdqa64 %zmm16, %zmm25
+; AVX512-NEXT: vpermt2q %zmm14, %zmm13, %zmm25
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm26 = <1,4,7,10,13,u,u,u>
+; AVX512-NEXT: vmovdqa64 %zmm30, %zmm29
+; AVX512-NEXT: vpermt2q %zmm20, %zmm26, %zmm29
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm31 = <10,13,0,3,6,u,u,u>
+; AVX512-NEXT: vpermt2q %zmm30, %zmm31, %zmm20
+; AVX512-NEXT: vmovdqa64 %zmm28, %zmm30
+; AVX512-NEXT: vpermt2q %zmm12, %zmm26, %zmm30
+; AVX512-NEXT: vpermt2q %zmm28, %zmm31, %zmm12
+; AVX512-NEXT: vmovdqu64 %zmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512-NEXT: vmovdqa64 %zmm27, %zmm28
+; AVX512-NEXT: vpermt2q %zmm23, %zmm26, %zmm28
+; AVX512-NEXT: vpermt2q %zmm27, %zmm31, %zmm23
+; AVX512-NEXT: vmovdqa64 %zmm22, %zmm27
+; AVX512-NEXT: vpermt2q %zmm18, %zmm26, %zmm27
+; AVX512-NEXT: vpermt2q %zmm22, %zmm31, %zmm18
+; AVX512-NEXT: vmovdqa64 %zmm21, %zmm22
+; AVX512-NEXT: vpermt2q %zmm17, %zmm26, %zmm22
+; AVX512-NEXT: vpermt2q %zmm21, %zmm31, %zmm17
+; AVX512-NEXT: vmovdqa64 %zmm16, %zmm21
+; AVX512-NEXT: vpermt2q %zmm14, %zmm26, %zmm21
+; AVX512-NEXT: vpermt2q %zmm16, %zmm31, %zmm14
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm16
+; AVX512-NEXT: vmovdqa64 %zmm0, %zmm12
+; AVX512-NEXT: vpermt2q %zmm0, %zmm26, %zmm16
+; AVX512-NEXT: vpermt2q %zmm15, %zmm31, %zmm12
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm15
+; AVX512-NEXT: vpermi2q %zmm15, %zmm19, %zmm13
+; AVX512-NEXT: vpermi2q %zmm15, %zmm19, %zmm26
+; AVX512-NEXT: vpermt2q %zmm19, %zmm31, %zmm15
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm19
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm31 = [0,1,2,3,4,5,10,13]
+; AVX512-NEXT: vmovdqa64 %zmm6, %zmm7
+; AVX512-NEXT: vpermt2q %zmm19, %zmm31, %zmm7
+; AVX512-NEXT: vmovdqa64 %zmm3, %zmm11
+; AVX512-NEXT: vpermt2q %zmm5, %zmm31, %zmm11
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm10
+; AVX512-NEXT: vpermt2q %zmm4, %zmm31, %zmm10
+; AVX512-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512-NEXT: vpermt2q %zmm3, %zmm31, %zmm9
+; AVX512-NEXT: vmovdqu64 (%rsp), %zmm2 # 64-byte Reload
+; AVX512-NEXT: vpermt2q %zmm2, %zmm31, %zmm8
+; AVX512-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512-NEXT: vpermt2q %zmm1, %zmm31, %zmm24
+; AVX512-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512-NEXT: vpermt2q %zmm0, %zmm31, %zmm25
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm6
+; AVX512-NEXT: vpermt2q %zmm6, %zmm31, %zmm13
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm31 = [0,1,2,3,4,8,11,14]
+; AVX512-NEXT: vpermt2q %zmm1, %zmm31, %zmm16
+; AVX512-NEXT: vpermt2q %zmm19, %zmm31, %zmm29
+; AVX512-NEXT: vpermt2q %zmm4, %zmm31, %zmm30
+; AVX512-NEXT: vpermt2q %zmm5, %zmm31, %zmm28
+; AVX512-NEXT: vpermt2q %zmm2, %zmm31, %zmm27
+; AVX512-NEXT: vpermt2q %zmm3, %zmm31, %zmm22
+; AVX512-NEXT: vpermt2q %zmm0, %zmm31, %zmm21
+; AVX512-NEXT: vpermt2q %zmm6, %zmm31, %zmm26
+; AVX512-NEXT: vmovdqa64 {{.*#+}} zmm31 = [0,1,2,3,4,9,12,15]
+; AVX512-NEXT: vpermt2q %zmm19, %zmm31, %zmm20
+; AVX512-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm19 # 64-byte Reload
+; AVX512-NEXT: vpermt2q %zmm4, %zmm31, %zmm19
+; AVX512-NEXT: vpermt2q %zmm5, %zmm31, %zmm23
+; AVX512-NEXT: vpermt2q %zmm2, %zmm31, %zmm18
+; AVX512-NEXT: vpermt2q %zmm3, %zmm31, %zmm17
+; AVX512-NEXT: vpermt2q %zmm0, %zmm31, %zmm14
+; AVX512-NEXT: vpermt2q %zmm1, %zmm31, %zmm12
+; AVX512-NEXT: vpermt2q %zmm6, %zmm31, %zmm15
+; AVX512-NEXT: vmovdqa64 %zmm25, 448(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm24, 384(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm8, 320(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm9, 256(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm10, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm11, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm13, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm21, 448(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm22, 256(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm27, 320(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm28, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm30, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm26, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm29, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm16, 384(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm12, 384(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm14, 448(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm17, 256(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm18, 320(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm23, 128(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm19, 192(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm15, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm20, 64(%rcx)
+; AVX512-NEXT: addq $200, %rsp
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <192 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <64 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93, i32 96, i32 99, i32 102, i32 105, i32 108, i32 111, i32 114, i32 117, i32 120, i32 123, i32 126, i32 129, i32 132, i32 135, i32 138, i32 141, i32 144, i32 147, i32 150, i32 153, i32 156, i32 159, i32 162, i32 165, i32 168, i32 171, i32 174, i32 177, i32 180, i32 183, i32 186, i32 189>
+ %strided.vec1 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <64 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94, i32 97, i32 100, i32 103, i32 106, i32 109, i32 112, i32 115, i32 118, i32 121, i32 124, i32 127, i32 130, i32 133, i32 136, i32 139, i32 142, i32 145, i32 148, i32 151, i32 154, i32 157, i32 160, i32 163, i32 166, i32 169, i32 172, i32 175, i32 178, i32 181, i32 184, i32 187, i32 190>
+ %strided.vec2 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <64 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95, i32 98, i32 101, i32 104, i32 107, i32 110, i32 113, i32 116, i32 119, i32 122, i32 125, i32 128, i32 131, i32 134, i32 137, i32 140, i32 143, i32 146, i32 149, i32 152, i32 155, i32 158, i32 161, i32 164, i32 167, i32 170, i32 173, i32 176, i32 179, i32 182, i32 185, i32 188, i32 191>
+
+ store <64 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i64> %strided.vec2, ptr %out.vec2, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movaps %xmm1, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride4_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm0
-; AVX1-NEXT: vmovaps (%rdi), %xmm1
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm3
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm1[0]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm1[1]
-; AVX1-NEXT: vmovaps %xmm2, (%rsi)
-; AVX1-NEXT: vmovaps %xmm0, (%rdx)
-; AVX1-NEXT: vmovaps %xmm4, (%rcx)
-; AVX1-NEXT: vmovaps %xmm1, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride4_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm1[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride4_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %xmm0
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm1
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps (%rdi), %ymm3
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
-; AVX2-NEXT: vmovaps %xmm2, (%rsi)
-; AVX2-NEXT: vmovaps %xmm0, (%rdx)
-; AVX2-NEXT: vextractf128 $1, %ymm4, (%rcx)
-; AVX2-NEXT: vextractf128 $1, %ymm1, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride4_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm0, (%rdx)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm1, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i64_stride4_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovaps (%rdi), %xmm0
-; AVX512-NEXT: vmovaps 32(%rdi), %xmm1
-; AVX512-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
-; AVX512-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX512-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX512-NEXT: vmovaps (%rdi), %ymm3
-; AVX512-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
-; AVX512-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
-; AVX512-NEXT: vmovaps %xmm2, (%rsi)
-; AVX512-NEXT: vmovaps %xmm0, (%rdx)
-; AVX512-NEXT: vextractf128 $1, %ymm4, (%rcx)
-; AVX512-NEXT: vextractf128 $1, %ymm1, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <8 x i64>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i64_stride4_vf2:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX512F-SLOW-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX512F-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovaps (%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
+; AVX512F-SLOW-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
+; AVX512F-SLOW-NEXT: vmovaps %xmm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovaps %xmm0, (%rdx)
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm4, (%rcx)
+; AVX512F-SLOW-NEXT: vextractf128 $1, %ymm1, (%r8)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride4_vf2:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovaps {{.*#+}} xmm0 = [0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0]
+; AVX512F-FAST-NEXT: vpermpd (%rdi), %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovaps (%rdi), %xmm1
+; AVX512F-FAST-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],mem[1]
+; AVX512F-FAST-NEXT: vmovaps (%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX512F-FAST-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX512F-FAST-NEXT: vmovaps %xmm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovaps %xmm1, (%rdx)
+; AVX512F-FAST-NEXT: vextractf128 $1, %ymm4, (%rcx)
+; AVX512F-FAST-NEXT: vextractf128 $1, %ymm2, (%r8)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i64_stride4_vf2:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX512BW-SLOW-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX512BW-SLOW-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vmovaps (%rdi), %ymm3
+; AVX512BW-SLOW-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm1[0],ymm3[2],ymm1[2]
+; AVX512BW-SLOW-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm1[1],ymm3[3],ymm1[3]
+; AVX512BW-SLOW-NEXT: vmovaps %xmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovaps %xmm0, (%rdx)
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vextractf128 $1, %ymm1, (%r8)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i64_stride4_vf2:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovaps {{.*#+}} xmm0 = [0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0]
+; AVX512BW-FAST-NEXT: vpermpd (%rdi), %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovaps (%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],mem[1]
+; AVX512BW-FAST-NEXT: vmovaps (%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vmovaps 32(%rdi), %ymm3
+; AVX512BW-FAST-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX512BW-FAST-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX512BW-FAST-NEXT: vmovaps %xmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovaps %xmm1, (%rdx)
+; AVX512BW-FAST-NEXT: vextractf128 $1, %ymm4, (%rcx)
+; AVX512BW-FAST-NEXT: vextractf128 $1, %ymm2, (%r8)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <8 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <2 x i32> <i32 0, i32 4>
%strided.vec1 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <2 x i32> <i32 1, i32 5>
%strided.vec2 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <2 x i32> <i32 2, i32 6>
%strided.vec3 = shufflevector <8 x i64> %wide.vec, <8 x i64> poison, <2 x i32> <i32 3, i32 7>
- store <2 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i64> %strided.vec3, ptr %out.vec3, align 32
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i64> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movaps %xmm3, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride4_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps (%rdi), %ymm0
-; AVX1-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX1-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm2
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm3
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],mem[2,3]
-; AVX1-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],mem[2,3]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX1-NEXT: vmovaps %ymm4, (%rsi)
-; AVX1-NEXT: vmovaps %ymm2, (%rdx)
-; AVX1-NEXT: vmovaps %ymm5, (%rcx)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride4_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, 64(%rdi), %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],mem[2,3]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride4_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps (%rdi), %ymm0
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[0,1],ymm2[0,1]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm1[0,1],ymm3[0,1]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm2[2,3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],ymm3[2,3]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm4[0],ymm5[0],ymm4[2],ymm5[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm5[1],ymm4[3],ymm5[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX2-NEXT: vmovaps %ymm2, (%rsi)
-; AVX2-NEXT: vmovaps %ymm4, (%rdx)
-; AVX2-NEXT: vmovaps %ymm3, (%rcx)
-; AVX2-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride4_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm0[0,1],ymm2[0,1]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm1[0,1],ymm3[0,1]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm4[0],ymm5[0],ymm4[2],ymm5[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm5[1],ymm4[3],ymm5[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride4_vf4:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovdqa %ymm0, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <16 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <16 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <4 x i32> <i32 0, i32 4, i32 8, i32 12>
%strided.vec1 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <4 x i32> <i32 1, i32 5, i32 9, i32 13>
%strided.vec2 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <4 x i32> <i32 2, i32 6, i32 10, i32 14>
%strided.vec3 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <4 x i32> <i32 3, i32 7, i32 11, i32 15>
- store <4 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i64> %strided.vec3, ptr %out.vec3, align 32
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i64> %strided.vec3, ptr %out.vec3, align 64
ret void
}
define void @load_i64_stride4_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
; SSE-LABEL: load_i64_stride4_vf8:
; SSE: # %bb.0:
-; SSE-NEXT: movaps 112(%rdi), %xmm5
-; SSE-NEXT: movaps 80(%rdi), %xmm3
-; SSE-NEXT: movaps 240(%rdi), %xmm6
-; SSE-NEXT: movaps 208(%rdi), %xmm2
-; SSE-NEXT: movaps 176(%rdi), %xmm10
+; SSE-NEXT: movaps 240(%rdi), %xmm5
+; SSE-NEXT: movaps 208(%rdi), %xmm3
+; SSE-NEXT: movaps 176(%rdi), %xmm6
; SSE-NEXT: movaps 144(%rdi), %xmm1
+; SSE-NEXT: movaps 112(%rdi), %xmm10
+; SSE-NEXT: movaps 80(%rdi), %xmm2
; SSE-NEXT: movaps (%rdi), %xmm4
; SSE-NEXT: movaps 16(%rdi), %xmm0
; SSE-NEXT: movaps 32(%rdi), %xmm12
; SSE-NEXT: movaps 224(%rdi), %xmm13
-; SSE-NEXT: movaps 192(%rdi), %xmm7
-; SSE-NEXT: movaps 96(%rdi), %xmm14
+; SSE-NEXT: movaps 192(%rdi), %xmm8
+; SSE-NEXT: movaps 160(%rdi), %xmm14
+; SSE-NEXT: movaps 128(%rdi), %xmm7
+; SSE-NEXT: movaps 96(%rdi), %xmm15
; SSE-NEXT: movaps 64(%rdi), %xmm9
-; SSE-NEXT: movaps 160(%rdi), %xmm15
-; SSE-NEXT: movaps 128(%rdi), %xmm8
-; SSE-NEXT: movaps %xmm8, %xmm11
+; SSE-NEXT: movaps %xmm9, %xmm11
; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm15[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm15[1]
-; SSE-NEXT: movaps %xmm9, %xmm15
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm15[1]
+; SSE-NEXT: movaps %xmm7, %xmm15
; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm14[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm14[1]
-; SSE-NEXT: movaps %xmm7, %xmm14
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm14[1]
+; SSE-NEXT: movaps %xmm8, %xmm14
; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm13[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm13[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm13[1]
; SSE-NEXT: movaps %xmm4, %xmm13
; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm12[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm12[1]
-; SSE-NEXT: movaps %xmm1, %xmm12
+; SSE-NEXT: movaps %xmm2, %xmm12
; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm10[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm10[1]
-; SSE-NEXT: movaps %xmm3, %xmm10
-; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm5[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm10[1]
+; SSE-NEXT: movaps %xmm1, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm6[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm6[1]
+; SSE-NEXT: movaps %xmm3, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm5[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm5[1]
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm2, %xmm5
-; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm6[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm6[1]
-; SSE-NEXT: movaps 48(%rdi), %xmm6
+; SSE-NEXT: movaps 48(%rdi), %xmm5
; SSE-NEXT: movaps %xmm0, %xmm3
-; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm6[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm6[1]
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm5[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm5[1]
; SSE-NEXT: movaps %xmm14, 48(%rsi)
-; SSE-NEXT: movaps %xmm15, 16(%rsi)
-; SSE-NEXT: movaps %xmm11, 32(%rsi)
; SSE-NEXT: movaps %xmm13, (%rsi)
-; SSE-NEXT: movaps %xmm7, 48(%rdx)
-; SSE-NEXT: movaps %xmm9, 16(%rdx)
+; SSE-NEXT: movaps %xmm15, 32(%rsi)
+; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps %xmm8, 48(%rdx)
; SSE-NEXT: movaps %xmm4, (%rdx)
-; SSE-NEXT: movaps %xmm8, 32(%rdx)
-; SSE-NEXT: movaps %xmm10, 16(%rcx)
-; SSE-NEXT: movaps %xmm5, 48(%rcx)
-; SSE-NEXT: movaps %xmm12, 32(%rcx)
+; SSE-NEXT: movaps %xmm7, 32(%rdx)
+; SSE-NEXT: movaps %xmm9, 16(%rdx)
+; SSE-NEXT: movaps %xmm6, 48(%rcx)
+; SSE-NEXT: movaps %xmm10, 32(%rcx)
+; SSE-NEXT: movaps %xmm12, 16(%rcx)
; SSE-NEXT: movaps %xmm3, (%rcx)
-; SSE-NEXT: movaps %xmm2, 48(%r8)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
-; SSE-NEXT: movaps %xmm2, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%r8)
; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps %xmm2, 16(%r8)
; SSE-NEXT: movaps %xmm0, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride4_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm2
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm5
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm6
-; AVX1-NEXT: vmovaps (%rdi), %xmm7
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm0 = xmm7[0],xmm6[0]
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 160(%rdi), %xmm8
-; AVX1-NEXT: vmovaps 128(%rdi), %xmm9
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm0 = xmm9[0],xmm8[0]
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 224(%rdi), %xmm10
-; AVX1-NEXT: vmovaps 192(%rdi), %xmm11
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm12 = xmm11[0],xmm10[0]
-; AVX1-NEXT: vmovaps 96(%rdi), %xmm13
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm14
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm9[1],xmm8[1]
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm7[1],xmm6[1]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm7 = xmm11[1],xmm10[1]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm14[1],xmm13[1]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm11
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm13
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm14 = xmm13[0],xmm11[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm14[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
-; AVX1-NEXT: vmovaps 176(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 144(%rdi), %xmm0
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm8 = xmm0[0],xmm1[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm14[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm13[1],xmm11[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovaps %xmm15, 16(%rsi)
-; AVX1-NEXT: vmovaps %xmm12, 48(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm1, 32(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm1, (%rsi)
-; AVX1-NEXT: vmovaps %xmm9, 16(%rdx)
-; AVX1-NEXT: vmovaps %xmm7, 48(%rdx)
-; AVX1-NEXT: vmovaps %xmm6, (%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm1, 32(%rdx)
-; AVX1-NEXT: vmovaps %ymm8, 32(%rcx)
-; AVX1-NEXT: vmovaps %ymm10, (%rcx)
-; AVX1-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX1-NEXT: vmovaps %ymm4, (%r8)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride4_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm7[0],xmm6[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm9[0],xmm8[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm11[0],xmm10[0]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm7 = xmm9[1],xmm8[1]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm13[0],xmm11[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm14[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm13[1],xmm11[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %xmm15, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm12, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm9, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride4_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm11
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm8
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm2
-; AVX2-NEXT: vmovaps (%rdi), %ymm3
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 224(%rdi), %xmm6
-; AVX2-NEXT: vmovaps 192(%rdi), %xmm7
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm0 = xmm7[0],xmm6[0]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 160(%rdi), %xmm9
-; AVX2-NEXT: vmovaps 128(%rdi), %xmm10
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm0 = xmm10[0],xmm9[0]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 96(%rdi), %xmm12
-; AVX2-NEXT: vmovaps (%rdi), %xmm13
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm14
-; AVX2-NEXT: vmovaps 64(%rdi), %xmm15
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm7[1],xmm6[1]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm7 = xmm15[0],xmm12[0]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm10[1],xmm9[1]
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm10 = xmm13[0],xmm14[0]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm12 = xmm15[1],xmm12[1]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm13 = xmm13[1],xmm14[1]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm14 = ymm15[2,3],ymm14[2,3]
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm15
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm0
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm0[0],ymm15[0],ymm0[2],ymm15[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm8[0],ymm11[0],ymm8[2],ymm11[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm6[2,3],ymm1[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3],ymm4[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm15[1],ymm0[3],ymm15[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm8[1],ymm11[1],ymm8[3],ymm11[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm3[2,3],ymm0[2,3]
-; AVX2-NEXT: vmovaps %xmm7, 16(%rsi)
-; AVX2-NEXT: vmovaps %xmm10, (%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 32(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 48(%rsi)
-; AVX2-NEXT: vmovaps %xmm13, (%rdx)
-; AVX2-NEXT: vmovaps %xmm12, 16(%rdx)
-; AVX2-NEXT: vmovaps %xmm9, 32(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 48(%rdx)
-; AVX2-NEXT: vmovaps %ymm1, 32(%rcx)
-; AVX2-NEXT: vmovaps %ymm14, (%rcx)
-; AVX2-NEXT: vmovaps %ymm0, 32(%r8)
-; AVX2-NEXT: vmovaps %ymm2, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride4_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm9[0],xmm6[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm12[0],xmm11[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm9[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm15[0],xmm14[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm12[1],xmm11[1]
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm7[0],xmm8[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm14 = xmm15[1],xmm14[1]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm7 = xmm7[1],xmm8[1]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm8 = ymm15[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm0[0],ymm15[0],ymm0[2],ymm15[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm10[0],ymm13[0],ymm10[2],ymm13[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm6[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3],ymm4[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm15[1],ymm0[3],ymm15[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm10[1],ymm13[1],ymm10[3],ymm13[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm3[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm9, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 48(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm12, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm14, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm11, 48(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm7, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride4_vf8:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,4,8,12,0,4,8,12]
; AVX512-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
; AVX512-NEXT: vmovdqa64 %zmm2, %zmm5
; AVX512-NEXT: vpermt2q %zmm3, %zmm7, %zmm2
; AVX512-NEXT: vpermt2q %zmm1, %zmm7, %zmm0
; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm6, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%r8)
+; AVX512-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm6, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <32 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <32 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28>
%strided.vec1 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29>
%strided.vec2 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30>
%strided.vec3 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31>
- store <8 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i64> %strided.vec3, ptr %out.vec3, align 32
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i64> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-LABEL: load_i64_stride4_vf16:
; SSE: # %bb.0:
; SSE-NEXT: subq $152, %rsp
-; SSE-NEXT: movaps (%rdi), %xmm5
+; SSE-NEXT: movaps (%rdi), %xmm4
; SSE-NEXT: movaps 416(%rdi), %xmm0
-; SSE-NEXT: movaps 384(%rdi), %xmm6
-; SSE-NEXT: movaps 288(%rdi), %xmm1
-; SSE-NEXT: movaps 256(%rdi), %xmm7
-; SSE-NEXT: movaps 160(%rdi), %xmm2
-; SSE-NEXT: movaps 128(%rdi), %xmm10
-; SSE-NEXT: movaps 480(%rdi), %xmm3
-; SSE-NEXT: movaps 448(%rdi), %xmm11
-; SSE-NEXT: movaps 352(%rdi), %xmm4
+; SSE-NEXT: movaps 384(%rdi), %xmm5
+; SSE-NEXT: movaps 160(%rdi), %xmm1
+; SSE-NEXT: movaps 128(%rdi), %xmm6
+; SSE-NEXT: movaps 480(%rdi), %xmm2
+; SSE-NEXT: movaps 448(%rdi), %xmm7
+; SSE-NEXT: movaps 224(%rdi), %xmm3
+; SSE-NEXT: movaps 192(%rdi), %xmm11
+; SSE-NEXT: movaps 288(%rdi), %xmm8
+; SSE-NEXT: movaps 256(%rdi), %xmm13
+; SSE-NEXT: movaps 352(%rdi), %xmm9
; SSE-NEXT: movaps 320(%rdi), %xmm12
-; SSE-NEXT: movaps 224(%rdi), %xmm8
-; SSE-NEXT: movaps 192(%rdi), %xmm13
-; SSE-NEXT: movaps 96(%rdi), %xmm9
+; SSE-NEXT: movaps 96(%rdi), %xmm10
; SSE-NEXT: movaps 64(%rdi), %xmm14
; SSE-NEXT: movaps %xmm14, %xmm15
-; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm9[0]
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm10[0]
; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm9[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm10[1]
; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm9[0]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm9[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm13, %xmm9
; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm8[0]
; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm8[1]
; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm12, %xmm8
-; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm4[0]
-; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm4[1]
-; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm11, %xmm4
-; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm3[0]
-; SSE-NEXT: movaps %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm3[0]
+; SSE-NEXT: movaps %xmm8, (%rsp) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm3[1]
; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm10, %xmm3
+; SSE-NEXT: movaps %xmm7, %xmm3
; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm2[1]
-; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm7, %xmm2
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm2[1]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm6, %xmm2
; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm1[1]
-; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm6, %xmm1
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm1[1]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm5, %xmm1
; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm0[1]
-; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 32(%rdi), %xmm0
-; SSE-NEXT: movaps %xmm5, %xmm15
-; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm0[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm4, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm0[1]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps 112(%rdi), %xmm0
; SSE-NEXT: movaps 80(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, %xmm2
; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 240(%rdi), %xmm0
-; SSE-NEXT: movaps 208(%rdi), %xmm12
-; SSE-NEXT: movaps %xmm12, %xmm14
+; SSE-NEXT: movaps 176(%rdi), %xmm0
+; SSE-NEXT: movaps 144(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm14
; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
-; SSE-NEXT: movaps 368(%rdi), %xmm0
-; SSE-NEXT: movaps 336(%rdi), %xmm10
-; SSE-NEXT: movaps %xmm10, %xmm13
-; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
-; SSE-NEXT: movaps 496(%rdi), %xmm0
-; SSE-NEXT: movaps 464(%rdi), %xmm9
-; SSE-NEXT: movaps %xmm9, %xmm11
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm8
+; SSE-NEXT: movaps %xmm8, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm0[1]
+; SSE-NEXT: movaps 304(%rdi), %xmm0
+; SSE-NEXT: movaps 272(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm11
; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
-; SSE-NEXT: movaps 176(%rdi), %xmm0
-; SSE-NEXT: movaps 144(%rdi), %xmm7
-; SSE-NEXT: movaps %xmm7, %xmm8
-; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 336(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm9
+; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm0[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
-; SSE-NEXT: movaps 304(%rdi), %xmm0
-; SSE-NEXT: movaps 272(%rdi), %xmm5
-; SSE-NEXT: movaps %xmm5, %xmm6
-; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
; SSE-NEXT: movaps 432(%rdi), %xmm0
-; SSE-NEXT: movaps 400(%rdi), %xmm1
+; SSE-NEXT: movaps 400(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; SSE-NEXT: movaps 496(%rdi), %xmm0
+; SSE-NEXT: movaps 464(%rdi), %xmm1
; SSE-NEXT: movaps %xmm1, %xmm3
; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm0[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
-; SSE-NEXT: movaps 16(%rdi), %xmm2
+; SSE-NEXT: movaps 16(%rdi), %xmm5
; SSE-NEXT: movaps 48(%rdi), %xmm0
-; SSE-NEXT: movaps %xmm2, %xmm4
+; SSE-NEXT: movaps %xmm5, %xmm4
; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 96(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 64(%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 32(%rsi)
-; SSE-NEXT: movaps %xmm15, (%rsi)
-; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps %xmm15, (%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%rsi)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 96(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 64(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 32(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, (%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 112(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
-; SSE-NEXT: movaps %xmm0, 80(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 48(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%rdx)
-; SSE-NEXT: movaps %xmm3, 96(%rcx)
-; SSE-NEXT: movaps %xmm6, 64(%rcx)
-; SSE-NEXT: movaps %xmm8, 32(%rcx)
+; SSE-NEXT: movaps %xmm6, 96(%rcx)
+; SSE-NEXT: movaps %xmm14, 32(%rcx)
+; SSE-NEXT: movaps %xmm3, 112(%rcx)
+; SSE-NEXT: movaps %xmm12, 48(%rcx)
+; SSE-NEXT: movaps %xmm11, 64(%rcx)
; SSE-NEXT: movaps %xmm4, (%rcx)
-; SSE-NEXT: movaps %xmm11, 112(%rcx)
-; SSE-NEXT: movaps %xmm13, 80(%rcx)
-; SSE-NEXT: movaps %xmm14, 48(%rcx)
+; SSE-NEXT: movaps %xmm9, 80(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%rcx)
-; SSE-NEXT: movaps %xmm1, 96(%r8)
-; SSE-NEXT: movaps %xmm5, 64(%r8)
-; SSE-NEXT: movaps %xmm7, 32(%r8)
-; SSE-NEXT: movaps %xmm2, (%r8)
-; SSE-NEXT: movaps %xmm9, 112(%r8)
-; SSE-NEXT: movaps %xmm10, 80(%r8)
-; SSE-NEXT: movaps %xmm12, 48(%r8)
+; SSE-NEXT: movaps %xmm1, 112(%r8)
+; SSE-NEXT: movaps %xmm2, 96(%r8)
+; SSE-NEXT: movaps %xmm7, 80(%r8)
+; SSE-NEXT: movaps %xmm10, 64(%r8)
+; SSE-NEXT: movaps %xmm8, 48(%r8)
+; SSE-NEXT: movaps %xmm13, 32(%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps %xmm5, (%r8)
; SSE-NEXT: addq $152, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride4_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $296, %rsp # imm = 0x128
-; AVX1-NEXT: vmovaps 224(%rdi), %xmm0
-; AVX1-NEXT: vmovaps 192(%rdi), %xmm1
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 96(%rdi), %xmm2
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm3
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 352(%rdi), %xmm4
-; AVX1-NEXT: vmovaps 320(%rdi), %xmm5
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm6 = xmm5[0],xmm4[0]
-; AVX1-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 160(%rdi), %xmm7
-; AVX1-NEXT: vmovaps 128(%rdi), %xmm8
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm6 = xmm8[0],xmm7[0]
-; AVX1-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm9
-; AVX1-NEXT: vmovaps (%rdi), %xmm10
-; AVX1-NEXT: vmovaps 288(%rdi), %xmm6
-; AVX1-NEXT: vmovaps 256(%rdi), %xmm11
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm5[1],xmm4[1]
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm4 = xmm11[0],xmm6[0]
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm11[1],xmm6[1]
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm4 = xmm10[0],xmm9[0]
-; AVX1-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 416(%rdi), %xmm0
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm8[1],xmm7[1]
-; AVX1-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vmovaps 480(%rdi), %xmm1
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm3[1],xmm2[1]
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 448(%rdi), %xmm2
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm10[1],xmm9[1]
-; AVX1-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm3 = xmm2[0],xmm1[0]
-; AVX1-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
-; AVX1-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 384(%rdi), %xmm1
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
-; AVX1-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovaps 224(%rdi), %ymm13
-; AVX1-NEXT: vmovaps 192(%rdi), %ymm12
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm12[0],ymm13[0],ymm12[2],ymm13[2]
-; AVX1-NEXT: vmovaps 176(%rdi), %xmm11
-; AVX1-NEXT: vmovaps 144(%rdi), %xmm10
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm5 = xmm10[0],xmm11[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm1
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
-; AVX1-NEXT: vmovaps 304(%rdi), %xmm15
-; AVX1-NEXT: vmovaps 272(%rdi), %xmm14
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm14[0],xmm15[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 480(%rdi), %ymm8
-; AVX1-NEXT: vmovaps 448(%rdi), %ymm7
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
-; AVX1-NEXT: vmovaps 432(%rdi), %xmm5
-; AVX1-NEXT: vmovaps 400(%rdi), %xmm4
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm4[0],xmm5[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 64(%rdi), %ymm2
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm0
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm0[0],xmm1[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm12[1],ymm13[1],ymm12[3],ymm13[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm10[1],xmm11[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm9[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm7[1],ymm8[1],ymm7[3],ymm8[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm4[1],xmm5[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
-; AVX1-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
-; AVX1-NEXT: # ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm14[1],xmm15[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 112(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 96(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 64(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, (%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 32(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 80(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 16(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 48(%rsi)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 96(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 112(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, (%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 16(%rdx)
-; AVX1-NEXT: vmovaps (%rsp), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 32(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 48(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 64(%rdx)
-; AVX1-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX1-NEXT: vmovaps %xmm3, 80(%rdx)
-; AVX1-NEXT: vmovaps %ymm6, (%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 96(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 64(%rcx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX1-NEXT: vmovaps %ymm2, 64(%r8)
-; AVX1-NEXT: vmovaps %ymm1, 96(%r8)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vmovaps %ymm10, 32(%r8)
-; AVX1-NEXT: addq $296, %rsp # imm = 0x128
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride4_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm8[0],xmm4[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm9[0],xmm7[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm11[0],xmm10[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm12[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm9[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm8[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm12[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm4[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm4[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 176(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovaps 144(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm13[0],xmm14[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm11[0],ymm12[0],ymm11[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovaps 432(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm9[0],xmm10[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm4[0],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm15[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm15 = ymm15[1],mem[1],ymm15[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm13 = xmm13[1],xmm14[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm11 = ymm11[1],ymm12[1],ymm11[3],ymm12[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm9[1],xmm10[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm8[1],ymm7[3],ymm8[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 80(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 112(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 80(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 112(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 96(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 32(%r8)
+; AVX1-ONLY-NEXT: addq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride4_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: subq $296, %rsp # imm = 0x128
-; AVX2-NEXT: vmovaps 224(%rdi), %xmm0
-; AVX2-NEXT: vmovaps 192(%rdi), %xmm6
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm6[0],xmm0[0]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 96(%rdi), %xmm9
-; AVX2-NEXT: vmovaps (%rdi), %xmm11
-; AVX2-NEXT: vmovaps 64(%rdi), %xmm10
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm10[0],xmm9[0]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 352(%rdi), %xmm4
-; AVX2-NEXT: vmovaps 320(%rdi), %xmm5
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm5[0],xmm4[0]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 160(%rdi), %xmm8
-; AVX2-NEXT: vmovaps 128(%rdi), %xmm12
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm12[0],xmm8[0]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 288(%rdi), %xmm13
-; AVX2-NEXT: vmovaps 256(%rdi), %xmm14
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm14[0],xmm13[0]
-; AVX2-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm5[1],xmm4[1]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 416(%rdi), %xmm15
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm14[1],xmm13[1]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 384(%rdi), %xmm13
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm6[1],xmm0[1]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 480(%rdi), %xmm0
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm12[1],xmm8[1]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 448(%rdi), %xmm12
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm10[1],xmm9[1]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm12[0],xmm0[0]
-; AVX2-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm12[1],xmm0[1]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm0 = xmm13[0],xmm15[0]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm13[1],xmm15[1]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm2
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm0 = xmm11[0],xmm2[0]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm11[1],xmm2[1]
-; AVX2-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm9
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm8
-; AVX2-NEXT: vmovaps 224(%rdi), %ymm5
-; AVX2-NEXT: vmovaps 192(%rdi), %ymm4
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm4[0],ymm5[0],ymm4[2],ymm5[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm8[0],ymm9[0],ymm8[2],ymm9[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm11[2,3],ymm0[2,3]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 288(%rdi), %ymm0
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 256(%rdi), %ymm1
-; AVX2-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 352(%rdi), %ymm14
-; AVX2-NEXT: vmovaps 320(%rdi), %ymm13
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm13[0],ymm14[0],ymm13[2],ymm14[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm15[2,3],ymm11[2,3]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 416(%rdi), %ymm10
-; AVX2-NEXT: vmovaps 384(%rdi), %ymm7
-; AVX2-NEXT: vmovaps 480(%rdi), %ymm6
-; AVX2-NEXT: vmovaps 448(%rdi), %ymm3
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm3[0],ymm6[0],ymm3[2],ymm6[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm7[0],ymm10[0],ymm7[2],ymm10[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm11[2,3],ymm15[2,3]
-; AVX2-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps 32(%rdi), %ymm11
-; AVX2-NEXT: vmovaps (%rdi), %ymm2
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 64(%rdi), %ymm0
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm2[0],ymm11[0],ymm2[2],ymm11[2]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm15[2,3],ymm12[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm5[1],ymm4[3],ymm5[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm8[1],ymm9[1],ymm8[3],ymm9[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm5[2,3],ymm4[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm2[1],ymm11[1],ymm2[3],ymm11[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm6[1],ymm3[3],ymm6[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm7[1],ymm10[1],ymm7[3],ymm10[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3],ymm1[2,3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm13[1],ymm14[1],ymm13[3],ymm14[3]
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
-; AVX2-NEXT: # ymm3 = ymm3[1],mem[1],ymm3[3],mem[3]
-; AVX2-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm3[2,3],ymm2[2,3]
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 112(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 96(%rsi)
-; AVX2-NEXT: vmovaps (%rsp), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 64(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, (%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 32(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 80(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 16(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 48(%rsi)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 96(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 112(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, (%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 16(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 32(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 48(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 64(%rdx)
-; AVX2-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
-; AVX2-NEXT: vmovaps %xmm3, 80(%rdx)
-; AVX2-NEXT: vmovaps %ymm12, (%rcx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm3, 96(%rcx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm3, 64(%rcx)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm3, 32(%rcx)
-; AVX2-NEXT: vmovaps %ymm2, 64(%r8)
-; AVX2-NEXT: vmovaps %ymm1, 96(%r8)
-; AVX2-NEXT: vmovaps %ymm0, (%r8)
-; AVX2-NEXT: vmovaps %ymm5, 32(%r8)
-; AVX2-NEXT: addq $296, %rsp # imm = 0x128
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i64_stride4_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $328, %rsp # imm = 0x148
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm4[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm7[0],xmm6[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm9[0],xmm8[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm11[0],xmm10[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm13[0],xmm12[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm4[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm14[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm9
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm13[1],xmm12[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm14[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm12[0],xmm15[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm12[1],xmm15[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm9[0],xmm2[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm9[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm4[0],ymm7[0],ymm4[2],ymm7[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm11[0],ymm14[0],ymm11[2],ymm14[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm12[2,3],ymm9[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm1[0],ymm5[0],ymm1[2],ymm5[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm15[2,3],ymm12[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm2[0],ymm8[0],ymm2[2],ymm8[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm10[0],ymm15[0],ymm10[2],ymm15[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm12[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm3[0],ymm6[0],ymm3[2],ymm6[2]
+; AVX2-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm9[0],ymm0[0],ymm9[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 $49, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = ymm12[2,3],mem[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm4[1],ymm7[1],ymm4[3],ymm7[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm11[1],ymm14[1],ymm11[3],ymm14[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm7[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm5[1],ymm1[3],ymm5[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm13[1],mem[1],ymm13[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm5[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm8[1],ymm2[3],ymm8[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm10[1],ymm15[1],ymm10[3],ymm15[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm4[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm6[1],ymm3[3],ymm6[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = ymm9[1],mem[1],ymm9[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm4[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 80(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 112(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 48(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 80(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps (%rsp), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 112(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm4, 48(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm12, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX2-ONLY-NEXT: addq $328, %rsp # imm = 0x148
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i64_stride4_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm4
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 448(%rdi), %zmm6
-; AVX512-NEXT: vmovdqu64 384(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm7
; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [0,4,8,12,0,4,8,12]
; AVX512-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
; AVX512-NEXT: vmovdqa64 %zmm7, %zmm9
; AVX512-NEXT: vpermt2q %zmm3, %zmm14, %zmm2
; AVX512-NEXT: vpermt2q %zmm1, %zmm14, %zmm0
; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
-; AVX512-NEXT: vmovdqu64 %zmm9, 64(%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm11, 64(%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm10, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm13, 64(%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm12, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm4, 64(%r8)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%r8)
+; AVX512-NEXT: vmovdqa64 %zmm9, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm8, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm11, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm10, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm13, 64(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm12, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm4, 64(%r8)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <64 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <64 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60>
%strided.vec1 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <16 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61>
%strided.vec2 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <16 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62>
%strided.vec3 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <16 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63>
- store <16 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i64> %strided.vec3, ptr %out.vec3, align 32
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i64> %strided.vec3, ptr %out.vec3, align 64
+
+ ret void
+}
+
+define void @load_i64_stride4_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i64_stride4_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $664, %rsp # imm = 0x298
+; SSE-NEXT: movaps 416(%rdi), %xmm0
+; SSE-NEXT: movaps 384(%rdi), %xmm9
+; SSE-NEXT: movaps 160(%rdi), %xmm1
+; SSE-NEXT: movaps 128(%rdi), %xmm8
+; SSE-NEXT: movaps 480(%rdi), %xmm2
+; SSE-NEXT: movaps 448(%rdi), %xmm11
+; SSE-NEXT: movaps 224(%rdi), %xmm4
+; SSE-NEXT: movaps 192(%rdi), %xmm10
+; SSE-NEXT: movaps 288(%rdi), %xmm5
+; SSE-NEXT: movaps 256(%rdi), %xmm12
+; SSE-NEXT: movaps 608(%rdi), %xmm3
+; SSE-NEXT: movaps 352(%rdi), %xmm6
+; SSE-NEXT: movaps 320(%rdi), %xmm14
+; SSE-NEXT: movaps 96(%rdi), %xmm7
+; SSE-NEXT: movaps 64(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm7[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm7[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm4[0]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm4[1]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm1[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm6[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm6[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm5[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm5[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm2[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 576(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm3[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm3[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 544(%rdi), %xmm0
+; SSE-NEXT: movaps 512(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 736(%rdi), %xmm0
+; SSE-NEXT: movaps 704(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 672(%rdi), %xmm0
+; SSE-NEXT: movaps 640(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 864(%rdi), %xmm0
+; SSE-NEXT: movaps 832(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 800(%rdi), %xmm0
+; SSE-NEXT: movaps 768(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 992(%rdi), %xmm0
+; SSE-NEXT: movaps 960(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 928(%rdi), %xmm0
+; SSE-NEXT: movaps 896(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps (%rdi), %xmm1
+; SSE-NEXT: movaps 32(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 112(%rdi), %xmm0
+; SSE-NEXT: movaps 80(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 176(%rdi), %xmm0
+; SSE-NEXT: movaps 144(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 304(%rdi), %xmm0
+; SSE-NEXT: movaps 272(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 336(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 432(%rdi), %xmm0
+; SSE-NEXT: movaps 400(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 496(%rdi), %xmm0
+; SSE-NEXT: movaps 464(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movaps 560(%rdi), %xmm0
+; SSE-NEXT: movaps 528(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 624(%rdi), %xmm0
+; SSE-NEXT: movaps 592(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 688(%rdi), %xmm0
+; SSE-NEXT: movaps 656(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps 752(%rdi), %xmm0
+; SSE-NEXT: movaps 720(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: movaps 816(%rdi), %xmm0
+; SSE-NEXT: movaps 784(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps 880(%rdi), %xmm0
+; SSE-NEXT: movaps 848(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps 944(%rdi), %xmm0
+; SSE-NEXT: movaps 912(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm0[1]
+; SSE-NEXT: movaps 1008(%rdi), %xmm5
+; SSE-NEXT: movaps 976(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm5[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm5[1]
+; SSE-NEXT: movaps 16(%rdi), %xmm10
+; SSE-NEXT: movaps 48(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm10, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps %xmm1, 240(%rcx)
+; SSE-NEXT: movaps %xmm3, 224(%rcx)
+; SSE-NEXT: movaps %xmm6, 208(%rcx)
+; SSE-NEXT: movaps %xmm8, 192(%rcx)
+; SSE-NEXT: movaps %xmm11, 176(%rcx)
+; SSE-NEXT: movaps %xmm14, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps %xmm5, (%rcx)
+; SSE-NEXT: movaps %xmm2, 240(%r8)
+; SSE-NEXT: movaps %xmm4, 224(%r8)
+; SSE-NEXT: movaps %xmm7, 208(%r8)
+; SSE-NEXT: movaps %xmm9, 192(%r8)
+; SSE-NEXT: movaps %xmm12, 176(%r8)
+; SSE-NEXT: movaps %xmm13, 160(%r8)
+; SSE-NEXT: movaps %xmm15, 144(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r8)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps %xmm10, (%r8)
+; SSE-NEXT: addq $664, %rsp # imm = 0x298
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride4_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1096, %rsp # imm = 0x448
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm6[0],xmm4[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm5[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm6[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm11[0],xmm10[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm9[0],xmm8[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 928(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm9[1],xmm8[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm3 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 944(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 912(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 176(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 144(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm13[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 432(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm15[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 688(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 656(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 816(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 784(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm9[0],ymm10[0],ymm9[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm7[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm14[0],ymm6[0],ymm14[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm11 = xmm4[0],xmm5[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm11[0],ymm3[0],ymm11[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps 560(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 528(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = xmm13[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovlps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[0,1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = xmm12[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm9[1],ymm10[1],ymm9[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm7 = xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm14[1],ymm6[1],ymm14[3],ymm6[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm3[1],ymm11[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 208(%rsi)
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 144(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 80(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 240(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 176(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 112(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 208(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 80(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 144(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 240(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 176(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 112(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 192(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, 224(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 160(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: addq $1096, %rsp # imm = 0x448
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride4_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $1224, %rsp # imm = 0x4C8
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm6[0],xmm4[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm5[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm6[1],xmm4[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm11[0],xmm10[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm9[0],xmm8[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm5[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm3 = xmm2[0],xmm1[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm8[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm8[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm13[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm11[0],ymm12[0],ymm11[2],ymm12[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm14[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm0[0],ymm3[2],ymm0[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm14[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm14[0],ymm10[0],ymm14[2],ymm10[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm15[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm15[0],ymm6[0],ymm15[2],ymm6[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm8[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm8[0],ymm2[0],ymm8[2],ymm2[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm13[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm5[1],mem[1],ymm5[3],mem[3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm13 = ymm13[1],mem[1],ymm13[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm13[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm5[1],mem[1],ymm5[3],mem[3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm13 = ymm13[1],mem[1],ymm13[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm13[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm11[1],ymm12[1],ymm11[3],ymm12[3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm11 = ymm11[1],mem[1],ymm11[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm11[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm5[1],mem[1],ymm5[3],mem[3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = ymm12[1],mem[1],ymm12[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm5 = ymm12[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm9[1],ymm7[3],ymm9[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm14[1],ymm10[1],ymm14[3],ymm10[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm9[2,3],ymm7[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm15[1],ymm6[1],ymm15[3],ymm6[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm6 = ymm4[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm8[1],ymm2[1],ymm8[3],ymm2[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm2[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 208(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 144(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 80(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 240(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 48(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 176(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 112(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 208(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 80(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 144(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 240(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 176(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 112(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, 48(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 192(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 128(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, 224(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 160(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX2-ONLY-NEXT: addq $1224, %rsp # imm = 0x4C8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride4_vf32:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 832(%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 768(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 960(%rdi), %zmm10
+; AVX512-NEXT: vmovdqa64 896(%rdi), %zmm7
+; AVX512-NEXT: vmovdqa64 320(%rdi), %zmm14
+; AVX512-NEXT: vmovdqa64 256(%rdi), %zmm15
+; AVX512-NEXT: vmovdqa64 448(%rdi), %zmm17
+; AVX512-NEXT: vmovdqa64 384(%rdi), %zmm16
+; AVX512-NEXT: vmovdqa64 576(%rdi), %zmm8
+; AVX512-NEXT: vmovdqa64 512(%rdi), %zmm9
+; AVX512-NEXT: vmovdqa64 704(%rdi), %zmm12
+; AVX512-NEXT: vmovdqa64 640(%rdi), %zmm11
+; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm19 = [0,4,8,12,0,4,8,12]
+; AVX512-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3]
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm6
+; AVX512-NEXT: vpermt2q %zmm12, %zmm19, %zmm6
+; AVX512-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512-NEXT: vpermt2q %zmm8, %zmm19, %zmm13
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm6 = zmm13[0,1,2,3],zmm6[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm16, %zmm13
+; AVX512-NEXT: vpermt2q %zmm17, %zmm19, %zmm13
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm18
+; AVX512-NEXT: vpermt2q %zmm14, %zmm19, %zmm18
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm13 = zmm18[0,1,2,3],zmm13[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm18
+; AVX512-NEXT: vpermt2q %zmm10, %zmm19, %zmm18
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm20
+; AVX512-NEXT: vpermt2q %zmm4, %zmm19, %zmm20
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm18 = zmm20[0,1,2,3],zmm18[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm20
+; AVX512-NEXT: vpermt2q %zmm3, %zmm19, %zmm20
+; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm19
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm19 = zmm19[0,1,2,3],zmm20[4,5,6,7]
+; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [1,5,9,13,1,5,9,13]
+; AVX512-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm20
+; AVX512-NEXT: vpermt2q %zmm12, %zmm21, %zmm20
+; AVX512-NEXT: vmovdqa64 %zmm9, %zmm22
+; AVX512-NEXT: vpermt2q %zmm8, %zmm21, %zmm22
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm20 = zmm22[0,1,2,3],zmm20[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm16, %zmm22
+; AVX512-NEXT: vpermt2q %zmm17, %zmm21, %zmm22
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm23
+; AVX512-NEXT: vpermt2q %zmm14, %zmm21, %zmm23
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm22 = zmm23[0,1,2,3],zmm22[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm23
+; AVX512-NEXT: vpermt2q %zmm10, %zmm21, %zmm23
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm24
+; AVX512-NEXT: vpermt2q %zmm4, %zmm21, %zmm24
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm23 = zmm24[0,1,2,3],zmm23[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm24
+; AVX512-NEXT: vpermt2q %zmm3, %zmm21, %zmm24
+; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm21
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm21 = zmm21[0,1,2,3],zmm24[4,5,6,7]
+; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [2,6,10,14,2,6,10,14]
+; AVX512-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512-NEXT: vmovdqa64 %zmm11, %zmm25
+; AVX512-NEXT: vpermt2q %zmm12, %zmm24, %zmm25
+; AVX512-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512-NEXT: vpermt2q %zmm8, %zmm24, %zmm26
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm25 = zmm26[0,1,2,3],zmm25[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm16, %zmm26
+; AVX512-NEXT: vpermt2q %zmm17, %zmm24, %zmm26
+; AVX512-NEXT: vmovdqa64 %zmm15, %zmm27
+; AVX512-NEXT: vpermt2q %zmm14, %zmm24, %zmm27
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm26 = zmm27[0,1,2,3],zmm26[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm7, %zmm27
+; AVX512-NEXT: vpermt2q %zmm10, %zmm24, %zmm27
+; AVX512-NEXT: vmovdqa64 %zmm5, %zmm28
+; AVX512-NEXT: vpermt2q %zmm4, %zmm24, %zmm28
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm27 = zmm28[0,1,2,3],zmm27[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm2, %zmm28
+; AVX512-NEXT: vpermt2q %zmm3, %zmm24, %zmm28
+; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm24
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm24 = zmm24[0,1,2,3],zmm28[4,5,6,7]
+; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm28 = [3,7,11,15,3,7,11,15]
+; AVX512-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3]
+; AVX512-NEXT: vpermt2q %zmm17, %zmm28, %zmm16
+; AVX512-NEXT: vpermt2q %zmm14, %zmm28, %zmm15
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm14 = zmm15[0,1,2,3],zmm16[4,5,6,7]
+; AVX512-NEXT: vpermt2q %zmm10, %zmm28, %zmm7
+; AVX512-NEXT: vpermt2q %zmm4, %zmm28, %zmm5
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm4 = zmm5[0,1,2,3],zmm7[4,5,6,7]
+; AVX512-NEXT: vpermt2q %zmm12, %zmm28, %zmm11
+; AVX512-NEXT: vpermt2q %zmm8, %zmm28, %zmm9
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm5 = zmm9[0,1,2,3],zmm11[4,5,6,7]
+; AVX512-NEXT: vpermt2q %zmm3, %zmm28, %zmm2
+; AVX512-NEXT: vpermt2q %zmm1, %zmm28, %zmm0
+; AVX512-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm2[4,5,6,7]
+; AVX512-NEXT: vmovdqa64 %zmm18, 192(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm19, (%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm13, 64(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm6, 128(%rsi)
+; AVX512-NEXT: vmovdqa64 %zmm23, 192(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm21, (%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm22, 64(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm20, 128(%rdx)
+; AVX512-NEXT: vmovdqa64 %zmm27, 192(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm24, (%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm26, 64(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm25, 128(%rcx)
+; AVX512-NEXT: vmovdqa64 %zmm5, 128(%r8)
+; AVX512-NEXT: vmovdqa64 %zmm4, 192(%r8)
+; AVX512-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512-NEXT: vmovdqa64 %zmm14, 64(%r8)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <128 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124>
+ %strided.vec1 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <32 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125>
+ %strided.vec2 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <32 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126>
+ %strided.vec3 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <32 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127>
+
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i64> %strided.vec3, ptr %out.vec3, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i64_stride5_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i64_stride5_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movapd 64(%rdi), %xmm0
+; SSE-NEXT: movapd (%rdi), %xmm1
+; SSE-NEXT: movapd 16(%rdi), %xmm2
+; SSE-NEXT: movapd 32(%rdi), %xmm3
+; SSE-NEXT: movapd 48(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm3, %xmm5
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm4[0]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
+; SSE-NEXT: movapd %xmm5, (%rsi)
+; SSE-NEXT: movapd %xmm1, (%rdx)
+; SSE-NEXT: movapd %xmm4, (%rcx)
+; SSE-NEXT: movapd %xmm2, (%r8)
+; SSE-NEXT: movapd %xmm0, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride5_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm1[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%r9)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride5_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = mem[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm0, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride5_vf2:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX512-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512-NEXT: vpblendd {{.*#+}} xmm4 = xmm0[0,1],xmm1[2,3]
+; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX512-NEXT: vmovaps (%rdi), %ymm2
+; AVX512-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1],mem[2,3],ymm2[4,5],mem[6,7]
+; AVX512-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX512-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX512-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX512-NEXT: vextractf128 $1, %ymm2, (%rcx)
+; AVX512-NEXT: vmovdqa %xmm5, (%r8)
+; AVX512-NEXT: vmovdqa %xmm1, (%r9)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <10 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <10 x i64> %wide.vec, <10 x i64> poison, <2 x i32> <i32 0, i32 5>
+ %strided.vec1 = shufflevector <10 x i64> %wide.vec, <10 x i64> poison, <2 x i32> <i32 1, i32 6>
+ %strided.vec2 = shufflevector <10 x i64> %wide.vec, <10 x i64> poison, <2 x i32> <i32 2, i32 7>
+ %strided.vec3 = shufflevector <10 x i64> %wide.vec, <10 x i64> poison, <2 x i32> <i32 3, i32 8>
+ %strided.vec4 = shufflevector <10 x i64> %wide.vec, <10 x i64> poison, <2 x i32> <i32 4, i32 9>
+
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i64> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i64_stride5_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i64_stride5_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movapd 144(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm0
+; SSE-NEXT: movapd 96(%rdi), %xmm2
+; SSE-NEXT: movapd 128(%rdi), %xmm3
+; SSE-NEXT: movapd (%rdi), %xmm4
+; SSE-NEXT: movapd 16(%rdi), %xmm5
+; SSE-NEXT: movapd 32(%rdi), %xmm6
+; SSE-NEXT: movapd 48(%rdi), %xmm7
+; SSE-NEXT: movapd 80(%rdi), %xmm8
+; SSE-NEXT: movapd 112(%rdi), %xmm9
+; SSE-NEXT: movapd %xmm9, %xmm10
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm8[0],xmm10[1]
+; SSE-NEXT: movapd %xmm6, %xmm11
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm4[0],xmm11[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm3[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm7[0]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm5[0],xmm7[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm0[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm6[0],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm9[0],xmm1[1]
+; SSE-NEXT: movapd %xmm10, 16(%rsi)
+; SSE-NEXT: movapd %xmm11, (%rsi)
+; SSE-NEXT: movapd %xmm8, 16(%rdx)
+; SSE-NEXT: movapd %xmm4, (%rdx)
+; SSE-NEXT: movapd %xmm3, 16(%rcx)
+; SSE-NEXT: movapd %xmm7, (%rcx)
+; SSE-NEXT: movapd %xmm2, 16(%r8)
+; SSE-NEXT: movapd %xmm5, (%r8)
+; SSE-NEXT: movapd %xmm1, 16(%r9)
+; SSE-NEXT: movapd %xmm0, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride5_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd 64(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm2[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = xmm4[0],xmm6[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm8[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm9[0],ymm2[3],ymm9[2]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm4[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm4[0,1],xmm8[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm4[0],ymm0[0],ymm4[3],ymm0[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm6[0],xmm8[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovapd %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride5_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm5[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm7 = ymm2[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm6[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i64_stride5_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [0,5,10,15]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <1,6,11,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpbroadcastq %xmm4, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <2,7,12,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <11,0,5,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm0, %zmm1, %zmm5
+; AVX512F-SLOW-NEXT: vpbroadcastq 144(%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <12,1,6,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],mem[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm5, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride5_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,5,10,15]
+; AVX512F-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <1,6,11,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,2,4]
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vpermi2q %ymm5, %ymm3, %ymm4
+; AVX512F-FAST-NEXT: vinserti128 $1, 128(%rdi), %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <2,7,12,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <11,0,5,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512F-FAST-NEXT: vpbroadcastq 144(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <12,1,6,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm0, %zmm1, %zmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i64_stride5_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = [0,5,10,15]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <1,6,11,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpbroadcastq %xmm4, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <2,7,12,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm1, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <11,0,5,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm0, %zmm1, %zmm5
+; AVX512BW-SLOW-NEXT: vpbroadcastq 144(%rdi), %ymm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm6[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <12,1,6,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],mem[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm5, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i64_stride5_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,5,10,15]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm2
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <1,6,11,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,1,2,4]
+; AVX512BW-FAST-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512BW-FAST-NEXT: vpermi2q %ymm5, %ymm3, %ymm4
+; AVX512BW-FAST-NEXT: vinserti128 $1, 128(%rdi), %ymm0, %ymm3
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <2,7,12,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm1, %zmm0, %zmm6
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <11,0,5,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512BW-FAST-NEXT: vpbroadcastq 144(%rdi), %ymm7
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm7[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <12,1,6,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm0, %zmm1, %zmm7
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <20 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <20 x i64> %wide.vec, <20 x i64> poison, <4 x i32> <i32 0, i32 5, i32 10, i32 15>
+ %strided.vec1 = shufflevector <20 x i64> %wide.vec, <20 x i64> poison, <4 x i32> <i32 1, i32 6, i32 11, i32 16>
+ %strided.vec2 = shufflevector <20 x i64> %wide.vec, <20 x i64> poison, <4 x i32> <i32 2, i32 7, i32 12, i32 17>
+ %strided.vec3 = shufflevector <20 x i64> %wide.vec, <20 x i64> poison, <4 x i32> <i32 3, i32 8, i32 13, i32 18>
+ %strided.vec4 = shufflevector <20 x i64> %wide.vec, <20 x i64> poison, <4 x i32> <i32 4, i32 9, i32 14, i32 19>
+
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i64> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i64_stride5_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i64_stride5_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movapd 224(%rdi), %xmm2
+; SSE-NEXT: movapd 304(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm0
+; SSE-NEXT: movapd 176(%rdi), %xmm4
+; SSE-NEXT: movapd 256(%rdi), %xmm3
+; SSE-NEXT: movapd 208(%rdi), %xmm6
+; SSE-NEXT: movapd 288(%rdi), %xmm7
+; SSE-NEXT: movapd (%rdi), %xmm8
+; SSE-NEXT: movapd 16(%rdi), %xmm5
+; SSE-NEXT: movapd 32(%rdi), %xmm14
+; SSE-NEXT: movapd 48(%rdi), %xmm9
+; SSE-NEXT: movapd 160(%rdi), %xmm10
+; SSE-NEXT: movapd 192(%rdi), %xmm12
+; SSE-NEXT: movapd 240(%rdi), %xmm11
+; SSE-NEXT: movapd 272(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm14, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm8[0],xmm13[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm9[0]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm5[0],xmm9[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm15, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm11[0],xmm14[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm7[0]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm3[0],xmm7[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm1[0]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm12, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm10[0],xmm15[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm6[0]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm4[0],xmm6[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm2[0]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm12[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 80(%rdi), %xmm12
+; SSE-NEXT: movapd 112(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm12[0],xmm3[1]
+; SSE-NEXT: movapd 128(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm12 = xmm12[1],xmm0[0]
+; SSE-NEXT: movapd 96(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd 144(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm2[0]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm4[0],xmm2[1]
+; SSE-NEXT: movapd %xmm3, 16(%rsi)
+; SSE-NEXT: movapd %xmm15, 32(%rsi)
+; SSE-NEXT: movapd %xmm14, 48(%rsi)
+; SSE-NEXT: movapd %xmm13, (%rsi)
+; SSE-NEXT: movapd %xmm12, 16(%rdx)
+; SSE-NEXT: movapd %xmm10, 32(%rdx)
+; SSE-NEXT: movapd %xmm11, 48(%rdx)
+; SSE-NEXT: movapd %xmm8, (%rdx)
+; SSE-NEXT: movapd %xmm0, 16(%rcx)
+; SSE-NEXT: movapd %xmm6, 32(%rcx)
+; SSE-NEXT: movapd %xmm7, 48(%rcx)
+; SSE-NEXT: movapd %xmm9, (%rcx)
+; SSE-NEXT: movapd %xmm1, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movapd %xmm5, (%r8)
+; SSE-NEXT: movapd %xmm2, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride5_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 64(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm7[0,1,2],ymm2[3]
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm5 = xmm10[0],xmm4[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm9[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm13 = xmm12[0],xmm5[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm13[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm7 = ymm7[0],ymm14[0],ymm7[3],ymm14[2]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm10[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[0],ymm10[0],ymm9[3],ymm10[2]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm12[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm10[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm10 = xmm12[0,1],xmm13[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm8[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm11[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm15 = xmm14[0,1,2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm15[0,1,2,3],ymm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm12 = ymm12[0],ymm1[0],ymm12[3],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1],ymm12[2,3]
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[0],ymm12[0],ymm11[3],ymm12[2]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm14 = xmm14[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm14[0,1],ymm11[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm2 = xmm4[0],xmm15[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1,2],ymm12[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm0 = xmm5[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, 32(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 32(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride5_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm15[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm13[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm8 = ymm8[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm8[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm8[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 208(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm15[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm12 = ymm12[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm12 = ymm12[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1],mem[2,3],ymm11[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm11 = ymm11[2,3],ymm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1],mem[2,3],ymm9[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm9 = ymm9[2,3],ymm13[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = mem[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm14 = ymm3[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm14 = ymm14[0,1,0,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm15 = ymm1[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm15 = ymm15[0,1,0,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = mem[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm15[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm5[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm12, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride5_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [12,1,6,0,12,1,6,0]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [0,5,10,15]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm6
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm5 = zmm6[0,1,2,3],zmm5[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,11]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm5, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = <1,6,11,u>
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm5
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [5,10,15,0,5,10,15,0]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm3, %zmm7
+; AVX512F-NEXT: movb $7, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,12]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm7, %zmm5
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [6,11,0,1,6,11,0,1]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <2,7,12,u>
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm8
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm8 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,8,13]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm8, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [7,12,0,2,7,12,0,2]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm3, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <11,0,5,u>
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm2, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,9,14]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm9, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,0,11,0,5,0,11]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm4, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm3 = <12,1,6,u>
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm2, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm3 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm1 = [0,1,2,3,4,5,10,15]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm3, %zmm1
+; AVX512F-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride5_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [12,1,6,0,12,1,6,0]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm4, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = [0,5,10,15]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm6
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm5 = zmm6[0,1,2,3],zmm5[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,1,2,3,4,5,6,11]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm5, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <1,6,11,u>
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [5,10,15,0,5,10,15,0]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm3, %zmm7
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = [0,1,2,3,4,5,6,12]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm7, %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [6,11,0,1,6,11,0,1]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <2,7,12,u>
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm8
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,8,13]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm8, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [7,12,0,2,7,12,0,2]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <11,0,5,u>
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm2, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,9,14]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm9, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,0,11,0,5,0,11]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm4, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = <12,1,6,u>
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm2, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm1 = [0,1,2,3,4,5,10,15]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm3, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <40 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <40 x i64> %wide.vec, <40 x i64> poison, <8 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35>
+ %strided.vec1 = shufflevector <40 x i64> %wide.vec, <40 x i64> poison, <8 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36>
+ %strided.vec2 = shufflevector <40 x i64> %wide.vec, <40 x i64> poison, <8 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37>
+ %strided.vec3 = shufflevector <40 x i64> %wide.vec, <40 x i64> poison, <8 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38>
+ %strided.vec4 = shufflevector <40 x i64> %wide.vec, <40 x i64> poison, <8 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39>
+
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i64> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i64_stride5_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i64_stride5_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $280, %rsp # imm = 0x118
+; SSE-NEXT: movapd 224(%rdi), %xmm0
+; SSE-NEXT: movapd 144(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm2
+; SSE-NEXT: movapd 96(%rdi), %xmm3
+; SSE-NEXT: movapd 176(%rdi), %xmm4
+; SSE-NEXT: movapd 128(%rdi), %xmm6
+; SSE-NEXT: movapd 208(%rdi), %xmm7
+; SSE-NEXT: movapd (%rdi), %xmm8
+; SSE-NEXT: movapd 16(%rdi), %xmm5
+; SSE-NEXT: movapd 32(%rdi), %xmm13
+; SSE-NEXT: movapd 48(%rdi), %xmm9
+; SSE-NEXT: movapd 80(%rdi), %xmm10
+; SSE-NEXT: movapd 112(%rdi), %xmm14
+; SSE-NEXT: movapd 160(%rdi), %xmm11
+; SSE-NEXT: movapd 192(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm13, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm8[0],xmm12[1]
+; SSE-NEXT: movapd %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm9[0]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm5[0],xmm9[1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm2[0]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm13[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm10[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm6[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm3[0],xmm6[1]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm1[0]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm14[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm15, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm7[0]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm4[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm0[0]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 240(%rdi), %xmm2
+; SSE-NEXT: movapd 272(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 304(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm15
+; SSE-NEXT: movapd 352(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm15 = xmm15[1],xmm1[0]
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 384(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movapd 400(%rdi), %xmm8
+; SSE-NEXT: movapd 432(%rdi), %xmm1
+; SSE-NEXT: movapd %xmm1, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm8[0],xmm13[1]
+; SSE-NEXT: movapd 448(%rdi), %xmm12
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm12[0]
+; SSE-NEXT: movapd 416(%rdi), %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm14[0],xmm12[1]
+; SSE-NEXT: movapd 464(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm14 = xmm14[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm3
+; SSE-NEXT: movapd 512(%rdi), %xmm6
+; SSE-NEXT: movapd %xmm6, %xmm9
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm3[0],xmm9[1]
+; SSE-NEXT: movapd 528(%rdi), %xmm5
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm5[0]
+; SSE-NEXT: movapd 496(%rdi), %xmm4
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm4[0],xmm5[1]
+; SSE-NEXT: movapd 544(%rdi), %xmm10
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm10[0]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm6[0],xmm10[1]
+; SSE-NEXT: movapd 560(%rdi), %xmm6
+; SSE-NEXT: movapd 592(%rdi), %xmm11
+; SSE-NEXT: movapd %xmm11, %xmm7
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm6[0],xmm7[1]
+; SSE-NEXT: movapd 608(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm0[0]
+; SSE-NEXT: movapd 576(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd 624(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm2[0]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm11[0],xmm2[1]
+; SSE-NEXT: movapd %xmm13, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, (%rsi)
+; SSE-NEXT: movapd %xmm7, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, 48(%rsi)
+; SSE-NEXT: movapd %xmm9, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, 32(%rsi)
+; SSE-NEXT: movapd %xmm8, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, 16(%rdx)
+; SSE-NEXT: movapd %xmm15, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movaps %xmm7, (%rdx)
+; SSE-NEXT: movapd %xmm6, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 48(%rdx)
+; SSE-NEXT: movapd %xmm3, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movapd %xmm12, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rcx)
+; SSE-NEXT: movapd %xmm0, 112(%rcx)
+; SSE-NEXT: movapd %xmm5, 96(%rcx)
+; SSE-NEXT: movapd %xmm1, 112(%r8)
+; SSE-NEXT: movapd %xmm4, 96(%r8)
+; SSE-NEXT: movapd %xmm14, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm2, 112(%r9)
+; SSE-NEXT: movapd %xmm10, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: addq $280, %rsp # imm = 0x118
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride5_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 64(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovupd %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 544(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm6 = xmm4[0],xmm6[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm6[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm1[0,1,2],ymm7[3]
+; AVX1-ONLY-NEXT: vmovapd 512(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm7 = xmm9[0],xmm6[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm7[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm5[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd (%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovapd 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm11 = xmm13[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm11[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm3[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 352(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm14 = xmm0[0],xmm6[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm14[0,1],ymm15[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm15[0],ymm2[3],ymm15[2]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm4[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[0],ymm4[0],ymm1[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = xmm9[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm9[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm5[0],ymm9[0],ymm5[3],ymm9[2]
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm13[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm13[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[0],ymm5[0],ymm3[3],ymm5[2]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm3 = xmm4[0,1],xmm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm11[0,1,2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm5[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm7[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm9[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm2[0,1],xmm13[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm12[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm8[0,1,2,3],ymm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm4[0],ymm8[0],ymm4[3],ymm8[2]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = xmm11[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm9[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[0],ymm11[0],ymm3[3],ymm11[2]
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[0],ymm7[0],ymm3[3],ymm7[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm10[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovapd 448(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm10[0],ymm2[3],ymm10[2]
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm12 = xmm12[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm12[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = mem[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm6 = mem[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm6[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = mem[0,1,2],ymm11[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm8 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm8 = mem[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = mem[0,1,2],ymm7[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm14, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm7, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, 64(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, 96(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 32(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, (%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 64(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, 96(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 32(%r9)
+; AVX1-ONLY-NEXT: addq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride5_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $360, %rsp # imm = 0x168
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm5[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm7[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm14[6,7]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm9[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm15 = xmm0[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm15[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 528(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm7[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm9[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm4[8,9,10,11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7],ymm4[24,25,26,27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 368(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm0[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm5 = ymm10[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm5[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3],ymm4[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm4[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3],ymm4[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm4[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3],ymm4[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm4[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1],mem[2,3],ymm4[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm4[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm12[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm13[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm13[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm5 = ymm14[8,9,10,11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7],ymm14[24,25,26,27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm10[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm11[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm10 = ymm10[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm10 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm10 = mem[0,1],xmm15[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm7 = mem[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 64(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 64(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 96(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, 32(%r9)
+; AVX2-ONLY-NEXT: addq $360, %rsp # imm = 0x168
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride5_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm8
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [12,1,6,0,12,1,6,0]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm10, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm12 = [0,5,10,15]
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm12, %zmm13
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm7 = zmm13[0,1,2,3],zmm7[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm13 = [0,1,2,3,4,5,6,11]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm13, %zmm7
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm4, %zmm10
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm3, %zmm12
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm10 = zmm12[0,1,2,3],zmm10[4,5,6,7]
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm13, %zmm10
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm14 = <1,6,11,u>
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm14, %zmm15
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [5,10,15,0,5,10,15,0]
+; AVX512F-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm12
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm13, %zmm12
+; AVX512F-NEXT: movb $7, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm12 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,6,12]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm15, %zmm12
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm5, %zmm13
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm3, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm13 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm15, %zmm13
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [6,11,0,1,6,11,0,1]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,7,12,u>
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm16, %zmm17
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm17 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,8,13]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm15, %zmm17
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm5, %zmm14
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm3, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm16 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm15, %zmm16
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [7,12,0,2,7,12,0,2]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm18 = <11,0,5,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm18, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm19 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,9,14]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm15, %zmm19
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm5, %zmm14
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm0, %zmm18
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm18 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm15, %zmm18
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,5,0,11,0,5,0,11]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm14, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <12,1,6,u>
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm11, %zmm1
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,10,15]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm8, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm14, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm11, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm0 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm8, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm10, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm13, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm12, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm16, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride5_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm8
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [12,1,6,0,12,1,6,0]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm10, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = [0,5,10,15]
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm12, %zmm13
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm7 = zmm13[0,1,2,3],zmm7[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm13 = [0,1,2,3,4,5,6,11]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm13, %zmm7
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm4, %zmm10
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm3, %zmm12
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm10 = zmm12[0,1,2,3],zmm10[4,5,6,7]
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm13, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <1,6,11,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm14, %zmm15
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [5,10,15,0,5,10,15,0]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm12
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm13, %zmm12
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm12 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,6,12]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm15, %zmm12
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm5, %zmm13
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm3, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm13 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm15, %zmm13
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [6,11,0,1,6,11,0,1]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <2,7,12,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm16, %zmm17
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm17 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,8,13]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm15, %zmm17
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm5, %zmm14
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm3, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm16 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm15, %zmm16
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [7,12,0,2,7,12,0,2]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <11,0,5,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm18, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm15 = [0,1,2,3,4,5,9,14]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm15, %zmm19
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm5, %zmm14
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm0, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm18 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm15, %zmm18
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,5,0,11,0,5,0,11]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm14, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <12,1,6,u>
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm11, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [0,1,2,3,4,5,10,15]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm8, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm14, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm11, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm0 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm8, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm10, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <80 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <80 x i64> %wide.vec, <80 x i64> poison, <16 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75>
+ %strided.vec1 = shufflevector <80 x i64> %wide.vec, <80 x i64> poison, <16 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76>
+ %strided.vec2 = shufflevector <80 x i64> %wide.vec, <80 x i64> poison, <16 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77>
+ %strided.vec3 = shufflevector <80 x i64> %wide.vec, <80 x i64> poison, <16 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78>
+ %strided.vec4 = shufflevector <80 x i64> %wide.vec, <80 x i64> poison, <16 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79>
+
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i64> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i64_stride5_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i64_stride5_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $920, %rsp # imm = 0x398
+; SSE-NEXT: movapd 224(%rdi), %xmm0
+; SSE-NEXT: movapd 144(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm2
+; SSE-NEXT: movapd 176(%rdi), %xmm3
+; SSE-NEXT: movapd 96(%rdi), %xmm4
+; SSE-NEXT: movapd 208(%rdi), %xmm6
+; SSE-NEXT: movapd 128(%rdi), %xmm7
+; SSE-NEXT: movapd (%rdi), %xmm9
+; SSE-NEXT: movapd 16(%rdi), %xmm5
+; SSE-NEXT: movapd 32(%rdi), %xmm13
+; SSE-NEXT: movapd 48(%rdi), %xmm8
+; SSE-NEXT: movapd 160(%rdi), %xmm10
+; SSE-NEXT: movapd 192(%rdi), %xmm14
+; SSE-NEXT: movapd 80(%rdi), %xmm11
+; SSE-NEXT: movapd 112(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm13, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm9[0],xmm12[1]
+; SSE-NEXT: movapd %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm8[0]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm5[0],xmm8[1]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm2[0]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm13[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm15, %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm11[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm7[0]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm4[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm1[0]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm10[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm6[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm3[0],xmm6[1]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm0[0]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 240(%rdi), %xmm2
+; SSE-NEXT: movapd 272(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 304(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm2
+; SSE-NEXT: movapd 352(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 384(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 400(%rdi), %xmm2
+; SSE-NEXT: movapd 432(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 448(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 416(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 464(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm2
+; SSE-NEXT: movapd 512(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 528(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 496(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 544(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 560(%rdi), %xmm2
+; SSE-NEXT: movapd 592(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 608(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 576(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 624(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 640(%rdi), %xmm2
+; SSE-NEXT: movapd 672(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 688(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 656(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 704(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 720(%rdi), %xmm2
+; SSE-NEXT: movapd 752(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 768(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 736(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 784(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 800(%rdi), %xmm2
+; SSE-NEXT: movapd 832(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 848(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 816(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 864(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 880(%rdi), %xmm2
+; SSE-NEXT: movapd 912(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 928(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 896(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 944(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 960(%rdi), %xmm10
+; SSE-NEXT: movapd 992(%rdi), %xmm1
+; SSE-NEXT: movapd %xmm1, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm10[0],xmm14[1]
+; SSE-NEXT: movapd 1008(%rdi), %xmm15
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm15[0]
+; SSE-NEXT: movapd 976(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm2[0],xmm15[1]
+; SSE-NEXT: movapd 1024(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1040(%rdi), %xmm8
+; SSE-NEXT: movapd 1072(%rdi), %xmm3
+; SSE-NEXT: movapd %xmm3, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm8[0],xmm13[1]
+; SSE-NEXT: movapd 1088(%rdi), %xmm9
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm9[0]
+; SSE-NEXT: movapd 1056(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm1[0],xmm9[1]
+; SSE-NEXT: movapd 1104(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm0[0]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm3[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: movapd 1120(%rdi), %xmm1
+; SSE-NEXT: movapd 1152(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm5
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; SSE-NEXT: movapd 1168(%rdi), %xmm6
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm6[0]
+; SSE-NEXT: movapd 1136(%rdi), %xmm11
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm11[0],xmm6[1]
+; SSE-NEXT: movapd 1184(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm2[0]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1200(%rdi), %xmm0
+; SSE-NEXT: movapd 1232(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd 1248(%rdi), %xmm3
+; SSE-NEXT: shufpd {{.*#+}} xmm0 = xmm0[1],xmm3[0]
+; SSE-NEXT: movapd 1216(%rdi), %xmm7
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm7[0],xmm3[1]
+; SSE-NEXT: movapd 1264(%rdi), %xmm12
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm12[0]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm4[0],xmm12[1]
+; SSE-NEXT: movapd %xmm5, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rsi)
+; SSE-NEXT: movapd %xmm2, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movapd %xmm14, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movapd %xmm13, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movapd %xmm1, 224(%rdx)
+; SSE-NEXT: movapd %xmm0, 240(%rdx)
+; SSE-NEXT: movapd %xmm10, 192(%rdx)
+; SSE-NEXT: movapd %xmm8, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movapd %xmm3, 240(%rcx)
+; SSE-NEXT: movapd %xmm6, 224(%rcx)
+; SSE-NEXT: movapd %xmm9, 208(%rcx)
+; SSE-NEXT: movapd %xmm15, 192(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movapd %xmm7, 240(%r8)
+; SSE-NEXT: movapd %xmm11, 224(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm12, 240(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: addq $920, %rsp # imm = 0x398
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride5_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1336, %rsp # imm = 0x538
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 544(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm11[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm14[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovapd 512(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm1[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1216(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1184(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 1152(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1120(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm2 = xmm7[0],xmm2[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm8[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 352(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm3 = xmm5[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 736(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 704(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm3[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 672(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 640(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm10 = xmm2[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm10[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1056(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1024(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm9[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm13 = xmm9[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm13[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm11[0],ymm13[0],ymm11[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm12 = xmm12[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm12[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm14[0],ymm13[0],ymm14[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 528(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm15 = xmm15[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm15[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 928(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm0[0],ymm13[0],ymm0[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 848(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1248(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm6 = ymm6[0],ymm1[0],ymm6[3],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 1168(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm7[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm6 = ymm0[0],ymm6[0],ymm0[3],ymm6[2]
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm4[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm8[0],ymm4[0],ymm8[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm5[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm3[0],ymm0[0],ymm3[3],ymm0[2]
+; AVX1-ONLY-NEXT: vmovdqa 688(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1088(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm3[0],ymm2[0],ymm3[3],ymm2[2]
+; AVX1-ONLY-NEXT: vmovdqa 1008(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm9[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm4[0,1],xmm10[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm13[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm2 = xmm6[0,1],xmm12[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm2[0,1,2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm9[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm9 = xmm3[0,1],xmm15[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovaps 816(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm5[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1216(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm9 = xmm5[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovdqa 1136(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm11[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1056(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovdqa 976(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm0[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = xmm8[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm9[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm9[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vmovaps 336(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = xmm10[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm14[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vmovaps 656(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm8 = xmm12[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovapd 288(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm8 = ymm4[0],ymm15[0],ymm4[3],ymm15[2]
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm13[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm13[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm6[0],ymm4[0],ymm6[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovapd 928(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm3[0],ymm2[3],ymm3[2]
+; AVX1-ONLY-NEXT: vmovdqa 864(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovapd 1248(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm3[0],ymm2[3],ymm3[2]
+; AVX1-ONLY-NEXT: vmovdqa 1184(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm11[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovapd 1088(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[0],ymm6[0],ymm1[3],ymm6[2]
+; AVX1-ONLY-NEXT: vmovdqa 1024(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovapd 768(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm0[0],ymm4[0],ymm0[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 704(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm12 = xmm12[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm12[0,1],ymm11[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovapd 448(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[0],ymm2[0],ymm9[3],ymm2[2]
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm10[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm9 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[0],ymm12[0],ymm9[3],ymm12[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm10 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm9 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm9 = mem[0,1,2],ymm12[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm0[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2],ymm15[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = mem[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm7[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2],ymm2[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $63, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $63, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2],ymm6[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm2[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vblendps $63, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = mem[0,1,2,3,4,5],ymm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = mem[0,1],xmm4[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm10, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, 64(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm14, 128(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 192(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 224(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 160(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 224(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 192(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 160(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 128(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, 96(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 64(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 32(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm12, (%r9)
+; AVX1-ONLY-NEXT: addq $1336, %rsp # imm = 0x538
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride5_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $1544, %rsp # imm = 0x608
+; AVX2-ONLY-NEXT: vmovdqa 896(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 800(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1216(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1184(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1152(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1120(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm12[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm11[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 704(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 672(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm5[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1056(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1024(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 992(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 960(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm15 = xmm2[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm6[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 528(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm9[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 848(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm10[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 928(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm10
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1168(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm12[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1248(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm6 = ymm14[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm14[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm9
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm4[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm13[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm13[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm3[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm11[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 688(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm5[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm7[8,9,10,11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7],ymm7[24,25,26,27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, %ymm7
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1008(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm2[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1088(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm8[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm8[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1120(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 1216(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 1056(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1],mem[2,3],ymm0[4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm13[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],ymm13[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm12[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = mem[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm2[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 1184(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm10[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 1024(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm9[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 704(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm6[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],ymm6[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = mem[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = mem[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $192, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[0,1,2,3,4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm7[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, (%rsp), %xmm15, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = mem[0,1],xmm15[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $63, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = mem[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = mem[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd $192, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm10[0,1,2,3,4,5],mem[6,7]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm14, %xmm6 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm6 = mem[0,1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vblendps $63, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm6 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vblendps $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = mem[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 128(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 192(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 224(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 160(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, 192(%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 160(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 128(%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 64(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, 32(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX2-ONLY-NEXT: addq $1544, %rsp # imm = 0x608
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride5_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: subq $648, %rsp # imm = 0x288
+; AVX512F-NEXT: vmovdqa64 1088(%rdi), %zmm13
+; AVX512F-NEXT: vmovdqa64 1152(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm19
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm20
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm18
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm22
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [12,1,6,0,12,1,6,0]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm12
+; AVX512F-NEXT: vpermt2q %zmm22, %zmm4, %zmm12
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm28 = [0,5,10,15]
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm14
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm28, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm20, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm13, %zmm0, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm30 = <1,6,11,u>
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm30, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [5,10,15,0,5,10,15,0]
+; AVX512F-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm27
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm17, %zmm27
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm17, %zmm26
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm17, %zmm21
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm13, %zmm17
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm25 = [6,11,0,1,6,11,0,1]
+; AVX512F-NEXT: # zmm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm25, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm23 = <2,7,12,u>
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm24
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm23, %zmm24
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm25, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm25, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm13, %zmm25
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm29 = [7,12,0,2,7,12,0,2]
+; AVX512F-NEXT: # zmm29 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm29, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm31 = [0,5,0,11,0,5,0,11]
+; AVX512F-NEXT: # zmm31 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm22, %zmm31, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm29, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm20, %zmm31, %zmm2
+; AVX512F-NEXT: vmovdqu64 %zmm2, (%rsp) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm29, %zmm20
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm13, %zmm29
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm31, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm13 = <11,0,5,u>
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm31, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm13, %zmm9
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm31 = <12,1,6,u>
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm31, %zmm18
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm10
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm28, %zmm10
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm30, %zmm11
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm23, %zmm6
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm13, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm31, %zmm19
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm28, %zmm5
+; AVX512F-NEXT: vmovdqa64 1024(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 960(%rdi), %zmm0
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm28
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm30, %zmm7
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm30
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm23, %zmm3
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm23
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm13, %zmm4
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm31, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm31, %zmm15
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm16 = zmm14[0,1,2,3],zmm12[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm10, %zmm14 # 64-byte Folded Reload
+; AVX512F-NEXT: # zmm14 = zmm10[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm12 # 64-byte Folded Reload
+; AVX512F-NEXT: # zmm12 = zmm5[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm28, %zmm10 # 64-byte Folded Reload
+; AVX512F-NEXT: # zmm10 = zmm28[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm28
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm31 = [0,1,2,3,4,5,6,11]
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm31, %zmm16
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm31, %zmm14
+; AVX512F-NEXT: vmovdqa64 896(%rdi), %zmm5
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm31, %zmm12
+; AVX512F-NEXT: vmovdqa64 1216(%rdi), %zmm0
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm31, %zmm10
+; AVX512F-NEXT: movb $7, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm31 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm31, %zmm27 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm26 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm21 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm30, %zmm17 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,12]
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm7, %zmm27
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm26
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm7, %zmm17
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm24 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm3 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm25, %zmm23 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,8,13]
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm7, %zmm24
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm7, %zmm23
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm4 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm8 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm29, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,9,14]
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm7, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm7, %zmm13
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm18 {%k1}
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,10,15]
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm7, %zmm18
+; AVX512F-NEXT: vmovdqu64 (%rsp), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm19 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm19
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm1 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm7, %zmm1
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm15 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm10, 192(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm12, 128(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm14, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm17, 192(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm27, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm21, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm26, 128(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm23, 192(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm24, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm6, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm3, 128(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm8, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm4, 128(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm15, 128(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm1, 192(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm18, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm19, 64(%r9)
+; AVX512F-NEXT: addq $648, %rsp # imm = 0x288
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride5_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: subq $648, %rsp # imm = 0x288
+; AVX512BW-NEXT: vmovdqa64 1088(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 1152(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm19
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm20
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm18
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm22
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [12,1,6,0,12,1,6,0]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm12
+; AVX512BW-NEXT: vpermt2q %zmm22, %zmm4, %zmm12
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm28 = [0,5,10,15]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm18, %zmm28, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm20, %zmm4, %zmm5
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm4, %zmm5
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm13, %zmm0, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm30 = <1,6,11,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm18, %zmm30, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm17 = [5,10,15,0,5,10,15,0]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm27
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm17, %zmm27
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm17, %zmm26
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm17, %zmm21
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm13, %zmm17
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm25 = [6,11,0,1,6,11,0,1]
+; AVX512BW-NEXT: # zmm25 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm25, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm23 = <2,7,12,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm24
+; AVX512BW-NEXT: vpermt2q %zmm18, %zmm23, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm25, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm25, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm13, %zmm25
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm29 = [7,12,0,2,7,12,0,2]
+; AVX512BW-NEXT: # zmm29 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm29, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm31 = [0,5,0,11,0,5,0,11]
+; AVX512BW-NEXT: # zmm31 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm22, %zmm31, %zmm3
+; AVX512BW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm29, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm20, %zmm31, %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, (%rsp) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm20
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm29, %zmm20
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm13, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm31, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <11,0,5,u>
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm31, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm13, %zmm9
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm31 = <12,1,6,u>
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm31, %zmm18
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm28, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm30, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm23, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm13, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm31, %zmm19
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm28, %zmm5
+; AVX512BW-NEXT: vmovdqa64 1024(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 960(%rdi), %zmm0
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm28
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm30, %zmm7
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm30
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm23, %zmm3
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm23
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm13, %zmm4
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm31, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm31, %zmm15
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm16 = zmm14[0,1,2,3],zmm12[4,5,6,7]
+; AVX512BW-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm10, %zmm14 # 64-byte Folded Reload
+; AVX512BW-NEXT: # zmm14 = zmm10[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm5, %zmm12 # 64-byte Folded Reload
+; AVX512BW-NEXT: # zmm12 = zmm5[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vshufi64x2 $228, {{[-0-9]+}}(%r{{[sb]}}p), %zmm28, %zmm10 # 64-byte Folded Reload
+; AVX512BW-NEXT: # zmm10 = zmm28[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm28
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm31 = [0,1,2,3,4,5,6,11]
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm31, %zmm16
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm31, %zmm14
+; AVX512BW-NEXT: vmovdqa64 896(%rdi), %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm31, %zmm12
+; AVX512BW-NEXT: vmovdqa64 1216(%rdi), %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm31, %zmm10
+; AVX512BW-NEXT: movb $7, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm31 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm31, %zmm27 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm26 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm21 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm17 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,6,12]
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm7, %zmm27
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm26
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm7, %zmm17
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm24 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm25, %zmm23 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,8,13]
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm7, %zmm24
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm7, %zmm23
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm4 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm8 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm29, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,9,14]
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm7, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm7, %zmm13
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm18 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [0,1,2,3,4,5,10,15]
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm7, %zmm18
+; AVX512BW-NEXT: vmovdqu64 (%rsp), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm19
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm1 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm7, %zmm1
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm15 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm10, 192(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, 128(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 192(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm27, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm21, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm26, 128(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, 192(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm24, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, 128(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 128(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, 128(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, 192(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 64(%r9)
+; AVX512BW-NEXT: addq $648, %rsp # imm = 0x288
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <160 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <160 x i64> %wide.vec, <160 x i64> poison, <32 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155>
+ %strided.vec1 = shufflevector <160 x i64> %wide.vec, <160 x i64> poison, <32 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156>
+ %strided.vec2 = shufflevector <160 x i64> %wide.vec, <160 x i64> poison, <32 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77, i32 82, i32 87, i32 92, i32 97, i32 102, i32 107, i32 112, i32 117, i32 122, i32 127, i32 132, i32 137, i32 142, i32 147, i32 152, i32 157>
+ %strided.vec3 = shufflevector <160 x i64> %wide.vec, <160 x i64> poison, <32 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158>
+ %strided.vec4 = shufflevector <160 x i64> %wide.vec, <160 x i64> poison, <32 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159>
+
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i64> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; AVX-NEXT: vmovaps %xmm6, (%r9)
; AVX-NEXT: vmovaps %xmm2, (%rax)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i64_stride6_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovaps (%rdi), %xmm0
-; AVX512-NEXT: vmovaps 16(%rdi), %xmm1
-; AVX512-NEXT: vmovaps 32(%rdi), %xmm2
-; AVX512-NEXT: vmovaps 48(%rdi), %xmm3
-; AVX512-NEXT: vmovlhps {{.*#+}} xmm4 = xmm0[0],xmm3[0]
-; AVX512-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm3[1]
-; AVX512-NEXT: vmovaps 64(%rdi), %xmm3
-; AVX512-NEXT: vmovlhps {{.*#+}} xmm5 = xmm1[0],xmm3[0]
-; AVX512-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm3[1]
-; AVX512-NEXT: vmovaps 80(%rdi), %xmm3
-; AVX512-NEXT: vmovlhps {{.*#+}} xmm6 = xmm2[0],xmm3[0]
-; AVX512-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
-; AVX512-NEXT: vmovaps %xmm4, (%rsi)
-; AVX512-NEXT: vmovaps %xmm0, (%rdx)
-; AVX512-NEXT: vmovaps %xmm5, (%rcx)
-; AVX512-NEXT: vmovaps %xmm1, (%r8)
-; AVX512-NEXT: vmovaps %xmm6, (%r9)
-; AVX512-NEXT: vmovaps %xmm2, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i64>, ptr %in.vec, align 32
+ %wide.vec = load <12 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <2 x i32> <i32 0, i32 6>
%strided.vec1 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <2 x i32> <i32 1, i32 7>
%strided.vec4 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <2 x i32> <i32 4, i32 10>
%strided.vec5 = shufflevector <12 x i64> %wide.vec, <12 x i64> poison, <2 x i32> <i32 5, i32 11>
- store <2 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i64> %strided.vec3, ptr %out.vec3, align 32
- store <2 x i64> %strided.vec4, ptr %out.vec4, align 32
- store <2 x i64> %strided.vec5, ptr %out.vec5, align 32
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i64> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-LABEL: load_i64_stride6_vf4:
; SSE: # %bb.0:
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; SSE-NEXT: movaps 176(%rdi), %xmm4
+; SSE-NEXT: movaps 80(%rdi), %xmm3
+; SSE-NEXT: movaps 176(%rdi), %xmm5
; SSE-NEXT: movaps 128(%rdi), %xmm0
-; SSE-NEXT: movaps 80(%rdi), %xmm6
+; SSE-NEXT: movaps 64(%rdi), %xmm6
; SSE-NEXT: movaps 160(%rdi), %xmm7
-; SSE-NEXT: movaps 112(%rdi), %xmm2
-; SSE-NEXT: movaps 64(%rdi), %xmm8
-; SSE-NEXT: movaps (%rdi), %xmm5
-; SSE-NEXT: movaps 16(%rdi), %xmm3
-; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps 112(%rdi), %xmm1
+; SSE-NEXT: movaps (%rdi), %xmm8
+; SSE-NEXT: movaps 16(%rdi), %xmm4
+; SSE-NEXT: movaps 32(%rdi), %xmm2
; SSE-NEXT: movaps 48(%rdi), %xmm9
; SSE-NEXT: movaps 144(%rdi), %xmm10
; SSE-NEXT: movaps 96(%rdi), %xmm11
; SSE-NEXT: movaps %xmm11, %xmm12
; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm10[0]
-; SSE-NEXT: movaps %xmm5, %xmm13
+; SSE-NEXT: movaps %xmm8, %xmm13
; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm9[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm10[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm9[1]
-; SSE-NEXT: movaps %xmm3, %xmm9
-; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm8[0]
-; SSE-NEXT: movaps %xmm2, %xmm10
-; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm7[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm8[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm7[1]
-; SSE-NEXT: movaps %xmm1, %xmm7
-; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm6[0]
-; SSE-NEXT: movaps %xmm0, %xmm8
-; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm4[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm6[1]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm4[1]
-; SSE-NEXT: movaps %xmm12, 16(%rsi)
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm9[1]
+; SSE-NEXT: movaps %xmm1, %xmm9
+; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm7[0]
+; SSE-NEXT: movaps %xmm4, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm6[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm7[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm6[1]
+; SSE-NEXT: movaps %xmm0, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm5[0]
+; SSE-NEXT: movaps %xmm2, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm3[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm5[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm3[1]
; SSE-NEXT: movaps %xmm13, (%rsi)
+; SSE-NEXT: movaps %xmm12, 16(%rsi)
+; SSE-NEXT: movaps %xmm8, (%rdx)
; SSE-NEXT: movaps %xmm11, 16(%rdx)
-; SSE-NEXT: movaps %xmm5, (%rdx)
-; SSE-NEXT: movaps %xmm10, 16(%rcx)
-; SSE-NEXT: movaps %xmm9, (%rcx)
-; SSE-NEXT: movaps %xmm2, 16(%r8)
-; SSE-NEXT: movaps %xmm3, (%r8)
-; SSE-NEXT: movaps %xmm8, 16(%r9)
+; SSE-NEXT: movaps %xmm10, (%rcx)
+; SSE-NEXT: movaps %xmm9, 16(%rcx)
+; SSE-NEXT: movaps %xmm4, (%r8)
+; SSE-NEXT: movaps %xmm1, 16(%r8)
; SSE-NEXT: movaps %xmm7, (%r9)
+; SSE-NEXT: movaps %xmm6, 16(%r9)
+; SSE-NEXT: movaps %xmm2, (%rax)
; SSE-NEXT: movaps %xmm0, 16(%rax)
-; SSE-NEXT: movaps %xmm1, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride6_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm1
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm2
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm3
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
-; AVX1-NEXT: vmovaps (%rdi), %xmm5
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm6
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm7
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm8
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm5[0],xmm8[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm5[1],xmm8[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm3
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm1[0],ymm3[0],ymm1[2],ymm3[2]
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm8
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm6[0],xmm8[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm9[0,1,2,3],ymm5[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm3[1],ymm1[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm6[1],xmm8[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm3
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm3[0],ymm0[0],ymm3[2],ymm0[2]
-; AVX1-NEXT: vmovaps 80(%rdi), %xmm8
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm9 = xmm7[0],xmm8[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm0[1],ymm3[3],ymm0[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm7[1],xmm8[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm4, (%rsi)
-; AVX1-NEXT: vmovaps %ymm2, (%rdx)
-; AVX1-NEXT: vmovaps %ymm5, (%rcx)
-; AVX1-NEXT: vmovaps %ymm1, (%r8)
-; AVX1-NEXT: vmovaps %ymm6, (%r9)
-; AVX1-NEXT: vmovaps %ymm0, (%rax)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride6_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm5[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm5[1],xmm8[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm1[0],ymm3[0],ymm1[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm6[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm9[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm3[1],ymm1[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm6[1],xmm8[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm3[0],ymm0[0],ymm3[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm7[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm0[1],ymm3[3],ymm0[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride6_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm3[0],xmm6[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 104(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm8[1],ymm1[1],ymm8[3],ymm1[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm3[1],xmm6[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 160(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm2[0],ymm6[0],ymm2[2],ymm6[2]
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm4[0],xmm8[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm8[1]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm0[1],ymm2[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 80(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm5[0],xmm4[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 136(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm8[1],ymm0[1],ymm8[3],ymm0[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm5[1],xmm4[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm7, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i64_stride6_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <0,6,12,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm0
+; AVX512F-SLOW-NEXT: vpbroadcastq 144(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <1,7,13,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm1
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <10,0,6,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm2, %zmm3, %zmm5
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpbroadcastq %xmm6, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <11,1,7,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm4 = ymm4[0],ymm7[0],ymm4[2],ymm7[2]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [4,10]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpbroadcastq 136(%rdi), %ymm8
+; AVX512F-SLOW-NEXT: vpunpckhqdq {{.*#+}} ymm7 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [5,11]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm5, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm4, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride6_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <0,6,12,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm0
+; AVX512F-FAST-NEXT: vpbroadcastq 144(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <1,7,13,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm1
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <10,0,6,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm2, %zmm3, %zmm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,2,4]
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vpermi2q %ymm7, %ymm5, %ymm6
+; AVX512F-FAST-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <11,1,7,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm2, %zmm3, %zmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,0,6>
+; AVX512F-FAST-NEXT: vpermi2q %ymm7, %ymm4, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [4,10]
+; AVX512F-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vpbroadcastq 136(%rdi), %ymm8
+; AVX512F-FAST-NEXT: vpunpckhqdq {{.*#+}} ymm7 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [5,11]
+; AVX512F-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm5, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride6_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm0
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm1
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm2
-; AVX2-NEXT: vmovaps (%rdi), %xmm3
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm4
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm5
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm6
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm7 = xmm3[0],xmm6[0]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 104(%rdi), %ymm8
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm8[1],ymm1[1],ymm8[3],ymm1[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm3[1],xmm6[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 160(%rdi), %ymm6
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm2[0],ymm6[0],ymm2[2],ymm6[2]
-; AVX2-NEXT: vmovaps 64(%rdi), %xmm8
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm9 = xmm4[0],xmm8[0]
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm8[1]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm0[1],ymm2[3],ymm0[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,2,1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vmovaps 80(%rdi), %xmm4
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm8 = xmm5[0],xmm4[0]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 136(%rdi), %ymm8
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm8[1],ymm0[1],ymm8[3],ymm0[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm5[1],xmm4[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm7, (%rsi)
-; AVX2-NEXT: vmovaps %ymm3, (%rdx)
-; AVX2-NEXT: vmovaps %ymm6, (%rcx)
-; AVX2-NEXT: vmovaps %ymm2, (%r8)
-; AVX2-NEXT: vmovaps %ymm1, (%r9)
-; AVX2-NEXT: vmovaps %ymm0, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX512BW-SLOW-LABEL: load_i64_stride6_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <0,6,12,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm0
+; AVX512BW-SLOW-NEXT: vpbroadcastq 144(%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <1,7,13,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <10,0,6,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm2, %zmm3, %zmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 160(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vpbroadcastq %xmm6, %ymm7
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm7[6,7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm7 = <11,1,7,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512BW-SLOW-NEXT: vpunpcklqdq {{.*#+}} ymm4 = ymm4[0],ymm7[0],ymm4[2],ymm7[2]
+; AVX512BW-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [4,10]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpbroadcastq 136(%rdi), %ymm8
+; AVX512BW-SLOW-NEXT: vpunpckhqdq {{.*#+}} ymm7 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = [5,11]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm5, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm4, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm2, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
;
-; AVX512-LABEL: load_i64_stride6_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm3
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm0 = <0,6,12,u>
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm0
-; AVX512-NEXT: vpbroadcastq 144(%rdi), %ymm1
-; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm1 = <1,7,13,u>
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm1
-; AVX512-NEXT: vmovdqa 128(%rdi), %ymm4
-; AVX512-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm5 = <10,0,6,u>
-; AVX512-NEXT: vpermi2q %zmm2, %zmm3, %zmm5
-; AVX512-NEXT: vmovdqa 160(%rdi), %xmm6
-; AVX512-NEXT: vpbroadcastq %xmm6, %ymm7
-; AVX512-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5],ymm7[6,7]
-; AVX512-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm7 = <11,1,7,u>
-; AVX512-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
-; AVX512-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
-; AVX512-NEXT: vmovdqa 160(%rdi), %ymm7
-; AVX512-NEXT: vpunpcklqdq {{.*#+}} ymm4 = ymm4[0],ymm7[0],ymm4[2],ymm7[2]
-; AVX512-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,1,0,3]
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm8 = [4,10]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
-; AVX512-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
-; AVX512-NEXT: vpbroadcastq 136(%rdi), %ymm8
-; AVX512-NEXT: vpunpckhqdq {{.*#+}} ymm7 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm8 = [5,11]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
-; AVX512-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3],ymm7[4,5,6,7]
-; AVX512-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm1, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm5, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm6, (%r8)
-; AVX512-NEXT: vmovdqa %ymm4, (%r9)
-; AVX512-NEXT: vmovdqa %ymm2, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i64>, ptr %in.vec, align 32
+; AVX512BW-FAST-LABEL: load_i64_stride6_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-FAST-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <0,6,12,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm0
+; AVX512BW-FAST-NEXT: vpbroadcastq 144(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <1,7,13,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm1
+; AVX512BW-FAST-NEXT: vmovdqa 128(%rdi), %ymm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <10,0,6,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm2, %zmm3, %zmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = [0,1,2,4]
+; AVX512BW-FAST-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512BW-FAST-NEXT: vpermi2q %ymm7, %ymm5, %ymm6
+; AVX512BW-FAST-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <11,1,7,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm2, %zmm3, %zmm8
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,0,6>
+; AVX512BW-FAST-NEXT: vpermi2q %ymm7, %ymm4, %ymm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = [4,10]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpbroadcastq 136(%rdi), %ymm8
+; AVX512BW-FAST-NEXT: vpunpckhqdq {{.*#+}} ymm7 = ymm8[1],ymm7[1],ymm8[3],ymm7[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = [5,11]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm3, %zmm2, %zmm8
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm5, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm4, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm2, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <24 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <4 x i32> <i32 0, i32 6, i32 12, i32 18>
%strided.vec1 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <4 x i32> <i32 1, i32 7, i32 13, i32 19>
%strided.vec4 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <4 x i32> <i32 4, i32 10, i32 16, i32 22>
%strided.vec5 = shufflevector <24 x i64> %wide.vec, <24 x i64> poison, <4 x i32> <i32 5, i32 11, i32 17, i32 23>
- store <4 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i64> %strided.vec3, ptr %out.vec3, align 32
- store <4 x i64> %strided.vec4, ptr %out.vec4, align 32
- store <4 x i64> %strided.vec5, ptr %out.vec5, align 32
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i64> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-LABEL: load_i64_stride6_vf8:
; SSE: # %bb.0:
; SSE-NEXT: subq $24, %rsp
-; SSE-NEXT: movaps 160(%rdi), %xmm9
-; SSE-NEXT: movaps 112(%rdi), %xmm0
-; SSE-NEXT: movaps 352(%rdi), %xmm8
-; SSE-NEXT: movaps 256(%rdi), %xmm12
+; SSE-NEXT: movaps 160(%rdi), %xmm8
+; SSE-NEXT: movaps 64(%rdi), %xmm9
+; SSE-NEXT: movaps 352(%rdi), %xmm12
+; SSE-NEXT: movaps 304(%rdi), %xmm0
+; SSE-NEXT: movaps 256(%rdi), %xmm15
; SSE-NEXT: movaps 208(%rdi), %xmm1
-; SSE-NEXT: movaps 64(%rdi), %xmm15
; SSE-NEXT: movaps (%rdi), %xmm3
; SSE-NEXT: movaps 16(%rdi), %xmm2
; SSE-NEXT: movaps 48(%rdi), %xmm10
-; SSE-NEXT: movaps 336(%rdi), %xmm14
-; SSE-NEXT: movaps 288(%rdi), %xmm4
-; SSE-NEXT: movaps 144(%rdi), %xmm13
+; SSE-NEXT: movaps 144(%rdi), %xmm14
; SSE-NEXT: movaps 96(%rdi), %xmm5
+; SSE-NEXT: movaps 336(%rdi), %xmm13
+; SSE-NEXT: movaps 288(%rdi), %xmm4
; SSE-NEXT: movaps 240(%rdi), %xmm11
; SSE-NEXT: movaps 192(%rdi), %xmm6
; SSE-NEXT: movaps %xmm6, %xmm7
; SSE-NEXT: movaps %xmm7, (%rsp) # 16-byte Spill
; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm11[1]
; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm5, %xmm11
+; SSE-NEXT: movaps %xmm4, %xmm11
; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm13[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm13[1]
-; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm4, %xmm13
-; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm14[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm14[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm13[1]
; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm5, %xmm13
+; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm14[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm14[1]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
; SSE-NEXT: movaps %xmm3, %xmm14
; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm10[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm10[1]
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm2, %xmm3
+; SSE-NEXT: movaps %xmm1, %xmm3
; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm15[0]
; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm15[1]
-; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm1, %xmm15
-; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm12[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm12[1]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm15[1]
; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps %xmm0, %xmm12
-; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm9[0]
-; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm9[1]
+; SSE-NEXT: movaps %xmm0, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm12[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm12[1]
; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; SSE-NEXT: movaps 304(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm2, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm9[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm9[1]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 112(%rdi), %xmm7
; SSE-NEXT: movaps %xmm7, %xmm9
; SSE-NEXT: movlhps {{.*#+}} xmm9 = xmm9[0],xmm8[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm8[1]
-; SSE-NEXT: movaps 80(%rdi), %xmm1
-; SSE-NEXT: movaps 32(%rdi), %xmm8
+; SSE-NEXT: movaps 272(%rdi), %xmm1
+; SSE-NEXT: movaps 224(%rdi), %xmm8
; SSE-NEXT: movaps %xmm8, %xmm10
; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm1[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
-; SSE-NEXT: movaps 272(%rdi), %xmm1
-; SSE-NEXT: movaps 224(%rdi), %xmm3
+; SSE-NEXT: movaps 368(%rdi), %xmm1
+; SSE-NEXT: movaps 320(%rdi), %xmm3
; SSE-NEXT: movaps %xmm3, %xmm6
; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm1[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm1[1]
-; SSE-NEXT: movaps 176(%rdi), %xmm1
-; SSE-NEXT: movaps 128(%rdi), %xmm4
+; SSE-NEXT: movaps 80(%rdi), %xmm1
+; SSE-NEXT: movaps 32(%rdi), %xmm4
; SSE-NEXT: movaps %xmm4, %xmm5
; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm1[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm1[1]
-; SSE-NEXT: movaps 368(%rdi), %xmm1
-; SSE-NEXT: movaps 320(%rdi), %xmm0
+; SSE-NEXT: movaps 176(%rdi), %xmm1
+; SSE-NEXT: movaps 128(%rdi), %xmm0
; SSE-NEXT: movaps %xmm0, %xmm2
; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; SSE-NEXT: movaps %xmm13, 48(%rsi)
-; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps %xmm13, 16(%rsi)
+; SSE-NEXT: movaps %xmm14, (%rsi)
+; SSE-NEXT: movaps %xmm11, 48(%rsi)
; SSE-NEXT: movaps (%rsp), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 32(%rsi)
-; SSE-NEXT: movaps %xmm14, (%rsi)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 48(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, 16(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%rdx)
-; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, (%rdx)
-; SSE-NEXT: movaps %xmm12, 16(%rcx)
-; SSE-NEXT: movaps %xmm9, 48(%rcx)
-; SSE-NEXT: movaps %xmm15, 32(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, (%rcx)
-; SSE-NEXT: movaps %xmm7, 48(%r8)
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps %xmm9, 16(%rcx)
+; SSE-NEXT: movaps %xmm12, (%rcx)
+; SSE-NEXT: movaps %xmm15, 48(%rcx)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
-; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps %xmm1, 32(%rcx)
+; SSE-NEXT: movaps %xmm7, 16(%r8)
; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
; SSE-NEXT: movaps %xmm1, (%r8)
-; SSE-NEXT: movaps %xmm2, 48(%r9)
-; SSE-NEXT: movaps %xmm5, 16(%r9)
-; SSE-NEXT: movaps %xmm6, 32(%r9)
-; SSE-NEXT: movaps %xmm10, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%r8)
+; SSE-NEXT: movaps %xmm2, 16(%r9)
+; SSE-NEXT: movaps %xmm5, (%r9)
+; SSE-NEXT: movaps %xmm6, 48(%r9)
+; SSE-NEXT: movaps %xmm10, 32(%r9)
; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; SSE-NEXT: movaps %xmm0, 48(%rax)
-; SSE-NEXT: movaps %xmm4, 16(%rax)
-; SSE-NEXT: movaps %xmm3, 32(%rax)
-; SSE-NEXT: movaps %xmm8, (%rax)
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps %xmm4, (%rax)
+; SSE-NEXT: movaps %xmm3, 48(%rax)
+; SSE-NEXT: movaps %xmm8, 32(%rax)
; SSE-NEXT: addq $24, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i64_stride6_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX1-NEXT: vmovaps 288(%rdi), %ymm4
-; AVX1-NEXT: vmovaps 96(%rdi), %ymm7
-; AVX1-NEXT: vmovaps 128(%rdi), %ymm3
-; AVX1-NEXT: vmovaps 320(%rdi), %ymm5
-; AVX1-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm6
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm6[0],ymm5[0],ymm6[2],ymm5[2]
-; AVX1-NEXT: vmovaps 240(%rdi), %xmm8
-; AVX1-NEXT: vmovaps 192(%rdi), %xmm9
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm9[0],xmm8[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm10
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm10[0],ymm3[0],ymm10[2],ymm3[2]
-; AVX1-NEXT: vmovaps (%rdi), %xmm11
-; AVX1-NEXT: vmovaps 16(%rdi), %xmm12
-; AVX1-NEXT: vmovaps 48(%rdi), %xmm13
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm14 = xmm11[0],xmm13[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3],ymm2[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm10[1],ymm3[1],ymm10[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm11[1],xmm13[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm3[4,5,6,7]
-; AVX1-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm6[1],ymm5[1],ymm6[3],ymm5[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm9[1],xmm8[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm9
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
-; AVX1-NEXT: vmovaps 64(%rdi), %xmm10
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm8 = xmm12[0],xmm10[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm11
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm4[0],ymm11[0],ymm4[2],ymm11[2]
-; AVX1-NEXT: vmovaps 256(%rdi), %xmm13
-; AVX1-NEXT: vmovaps 208(%rdi), %xmm14
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm15[0,1,2,3],ymm8[4,5,6,7]
-; AVX1-NEXT: vmovaps 160(%rdi), %ymm15
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm9[1],ymm7[3],ymm9[3]
-; AVX1-NEXT: vmovaps 32(%rdi), %xmm9
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm12[1],xmm10[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm7 = ymm10[0,1,2,3],ymm7[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm11[1],ymm4[3],ymm11[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm14[1],xmm13[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm4 = ymm10[0,1,2,3],ymm4[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm10
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm10[0],ymm15[0],ymm10[2],ymm15[2]
-; AVX1-NEXT: vmovaps 80(%rdi), %xmm12
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm13 = xmm9[0],xmm12[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm11 = ymm13[0,1,2,3],ymm11[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, 320(%rdi), %ymm0, %ymm13
-; AVX1-NEXT: vmovaps %ymm0, %ymm3
-; AVX1-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
-; AVX1-NEXT: vmovaps 272(%rdi), %xmm1
-; AVX1-NEXT: vmovaps 224(%rdi), %xmm0
-; AVX1-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
-; AVX1-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm14[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm10[1],ymm15[1],ymm10[3],ymm15[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm9[1],xmm12[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm13[1],ymm3[1],ymm13[3],ymm3[3]
-; AVX1-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, 32(%rsi)
-; AVX1-NEXT: vmovaps %ymm5, 32(%rdx)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rdx)
-; AVX1-NEXT: vmovaps %ymm8, 32(%rcx)
-; AVX1-NEXT: vmovaps %ymm6, (%rcx)
-; AVX1-NEXT: vmovaps %ymm4, 32(%r8)
-; AVX1-NEXT: vmovaps %ymm7, (%r8)
-; AVX1-NEXT: vmovaps %ymm2, 32(%r9)
-; AVX1-NEXT: vmovaps %ymm11, (%r9)
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps %ymm0, 32(%rax)
-; AVX1-NEXT: vmovaps %ymm9, (%rax)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i64_stride6_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm6[0],ymm3[0],ymm6[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm9[0],xmm10[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm11[0],ymm5[0],ymm11[2],ymm5[2]
+; AVX1-ONLY-NEXT: vmovaps 240(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm13[0],xmm12[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm14[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm6[1],ymm3[1],ymm6[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm9[1],xmm10[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm5 = ymm11[1],ymm5[1],ymm11[3],ymm5[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm7[0],ymm10[0],ymm7[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm8[0],xmm11[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm12
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm4[0],ymm12[0],ymm4[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm10[1],ymm7[3],ymm10[3]
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm8[1],xmm11[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm12[1],ymm4[3],ymm12[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm8[0],ymm15[0],ymm8[2],ymm15[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm10[0],xmm12[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm13[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, 320(%rdi), %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vmovaps %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm8 = ymm8[1],ymm15[1],ymm8[3],ymm15[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm10[1],xmm12[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm13[1],ymm3[1],ymm13[3],ymm3[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride6_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm4[0],xmm7[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm9[0],ymm5[0],ymm9[2],ymm5[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 240(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm3 = xmm11[0],xmm8[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm6[0],ymm2[0],ymm6[2],ymm2[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm12 = ymm12[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 104(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm12[1],ymm5[1],ymm12[3],ymm5[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm7[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 296(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm2[1],ymm7[3],ymm2[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm11[1],xmm8[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 160(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm11 = xmm10[0],xmm12[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm11[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 352(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm6[0],ymm11[0],ymm6[2],ymm11[2]
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm10[1],xmm12[1]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm9[1],ymm15[1],ymm9[3],ymm15[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm14[1],xmm13[1]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm6[1],ymm0[1],ymm6[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm10[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 80(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm12[0],xmm10[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm5[0],ymm15[0],ymm5[2],ymm15[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm5 = ymm5[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm13[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 272(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm2[0],ymm0[0],ymm2[2],ymm0[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm14[0],xmm13[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 136(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm15[1],ymm2[3],ymm15[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm12[1],xmm10[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm10[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 328(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm10[1],ymm0[1],ymm10[3],ymm0[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm14[1],xmm13[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm6, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm9, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm5, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i64_stride6_vf8:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovaps 352(%rdi), %ymm0
-; AVX2-NEXT: vmovaps 128(%rdi), %ymm4
-; AVX2-NEXT: vmovaps 96(%rdi), %ymm9
-; AVX2-NEXT: vmovaps 320(%rdi), %ymm2
-; AVX2-NEXT: vmovaps 288(%rdi), %ymm7
-; AVX2-NEXT: vmovaps 240(%rdi), %xmm6
-; AVX2-NEXT: vmovaps 192(%rdi), %xmm8
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm8[0],xmm6[0]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm7[0],ymm2[0],ymm7[2],ymm2[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
-; AVX2-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vmovaps (%rdi), %xmm5
-; AVX2-NEXT: vmovaps 16(%rdi), %xmm11
-; AVX2-NEXT: vmovaps 48(%rdi), %xmm10
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm3 = xmm5[0],xmm10[0]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm9[0],ymm4[0],ymm9[2],ymm4[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm12 = ymm12[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 104(%rdi), %ymm12
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm12 = ymm12[1],ymm4[1],ymm12[3],ymm4[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm5[1],xmm10[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 296(%rdi), %ymm10
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm10[1],ymm2[1],ymm10[3],ymm2[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm8[1],xmm6[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 160(%rdi), %ymm8
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
-; AVX2-NEXT: vmovaps 64(%rdi), %xmm12
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm10 = xmm11[0],xmm12[0]
-; AVX2-NEXT: vblendps {{.*#+}} ymm8 = ymm10[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 352(%rdi), %ymm10
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm7[0],ymm10[0],ymm7[2],ymm10[2]
-; AVX2-NEXT: vmovaps 256(%rdi), %xmm13
-; AVX2-NEXT: vmovaps 208(%rdi), %xmm14
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm13[0]
-; AVX2-NEXT: vblendps {{.*#+}} ymm10 = ymm15[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vmovaps 160(%rdi), %ymm15
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm11[1],xmm12[1]
-; AVX2-NEXT: vmovaps 32(%rdi), %xmm12
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm9[1],ymm15[1],ymm9[3],ymm15[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm9 = ymm9[0,1,2,1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm14[1],xmm13[1]
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm7 = ymm7[1],ymm0[1],ymm7[3],ymm0[3]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,2,1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm7 = ymm11[0,1,2,3],ymm7[4,5,6,7]
-; AVX2-NEXT: vmovaps 80(%rdi), %xmm11
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm13 = xmm12[0],xmm11[0]
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm4[0],ymm15[0],ymm4[2],ymm15[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
-; AVX2-NEXT: vblendps {{.*#+}} ymm4 = ymm13[0,1,2,3],ymm4[4,5,6,7]
-; AVX2-NEXT: vmovaps 272(%rdi), %xmm13
-; AVX2-NEXT: vmovaps 224(%rdi), %xmm14
-; AVX2-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm2[0],ymm0[0],ymm2[2],ymm0[2]
-; AVX2-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,0,3]
-; AVX2-NEXT: vmovlhps {{.*#+}} xmm1 = xmm14[0],xmm13[0]
-; AVX2-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 136(%rdi), %ymm2
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm15[1],ymm2[3],ymm15[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm12[1],xmm11[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm2 = ymm11[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vbroadcastsd 328(%rdi), %ymm11
-; AVX2-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm0[1],ymm11[3],ymm0[3]
-; AVX2-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm14[1],xmm13[1]
-; AVX2-NEXT: vblendps {{.*#+}} ymm0 = ymm11[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovaps %ymm3, (%rsi)
-; AVX2-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vmovaps %ymm3, 32(%rsi)
-; AVX2-NEXT: vmovaps %ymm6, 32(%rdx)
-; AVX2-NEXT: vmovaps %ymm5, (%rdx)
-; AVX2-NEXT: vmovaps %ymm10, 32(%rcx)
-; AVX2-NEXT: vmovaps %ymm8, (%rcx)
-; AVX2-NEXT: vmovaps %ymm7, 32(%r8)
-; AVX2-NEXT: vmovaps %ymm9, (%r8)
-; AVX2-NEXT: vmovaps %ymm1, 32(%r9)
-; AVX2-NEXT: vmovaps %ymm4, (%r9)
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovaps %ymm0, 32(%rax)
-; AVX2-NEXT: vmovaps %ymm2, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX512F-LABEL: load_i64_stride6_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,0,10,0,6,0,10]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <0,6,12,u>
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm4
+; AVX512F-NEXT: movb $56, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm4 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [4,10,4,10,4,10,4,10]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,6,12,0,0,6,12]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm6, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,1,7,13,0,1,7,13]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm6, %zmm10
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,10,0,6,0,10,0,6]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm5, %zmm11
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [0,11,1,7,0,11,1,7]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm5, %zmm12
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm6
+; AVX512F-NEXT: movb $-64, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm4 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [1,7,0,11,1,7,0,11]
+; AVX512F-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm3, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm13 = <1,7,13,u>
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm13 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [5,11,5,11,5,11,5,11]
+; AVX512F-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm6, %zmm8
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm13 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [10,4,10,4,10,4,10,4]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <10,0,6,u>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm8
+; AVX512F-NEXT: movb $24, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm8 {%k1}
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm8 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [11,5,11,5,11,5,11,5]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <11,1,7,u>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm9 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [12,0,0,6,12,0,0,6]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm0, %zmm7
+; AVX512F-NEXT: vinserti32x4 $0, %xmm7, %zmm5, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm5 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [13,0,1,7,13,0,1,7]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm2, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm6, %zmm0
+; AVX512F-NEXT: vinserti32x4 $0, %xmm0, %zmm7, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm0 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i64_stride6_vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqu64 320(%rdi), %zmm5
-; AVX512-NEXT: vmovdqu64 256(%rdi), %zmm6
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 128(%rdi), %zmm2
-; AVX512-NEXT: vmovdqu64 192(%rdi), %zmm3
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,0,10,0,6,0,10]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm4 = <0,6,12,u>
-; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm4
-; AVX512-NEXT: movb $56, %dil
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqa64 %zmm7, %zmm4 {%k1}
-; AVX512-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [4,10,4,10,4,10,4,10]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vmovdqa64 %zmm6, %zmm8
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,6,12,0,0,6,12]
-; AVX512-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm9
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,1,7,13,0,1,7,13]
-; AVX512-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm10
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,10,0,6,0,10,0,6]
-; AVX512-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm6, %zmm5, %zmm11
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [0,11,1,7,0,11,1,7]
-; AVX512-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm6, %zmm5, %zmm12
-; AVX512-NEXT: vpermt2q %zmm5, %zmm7, %zmm6
-; AVX512-NEXT: movb $-64, %dil
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa64 %zmm6, %zmm4 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [1,7,0,11,1,7,0,11]
-; AVX512-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm2, %zmm3, %zmm6
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm13 = <1,7,13,u>
-; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm13
-; AVX512-NEXT: vmovdqa64 %zmm6, %zmm13 {%k1}
-; AVX512-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [5,11,5,11,5,11,5,11]
-; AVX512-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermt2q %zmm5, %zmm6, %zmm8
-; AVX512-NEXT: vmovdqa64 %zmm8, %zmm13 {%k2}
-; AVX512-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [10,4,10,4,10,4,10,4]
-; AVX512-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm8 = <10,0,6,u>
-; AVX512-NEXT: vpermi2q %zmm0, %zmm1, %zmm8
-; AVX512-NEXT: movb $24, %dil
-; AVX512-NEXT: kmovd %edi, %k1
-; AVX512-NEXT: vmovdqa64 %zmm5, %zmm8 {%k1}
-; AVX512-NEXT: movb $-32, %dil
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqa64 %zmm9, %zmm8 {%k2}
-; AVX512-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [11,5,11,5,11,5,11,5]
-; AVX512-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm9 = <11,1,7,u>
-; AVX512-NEXT: vpermi2q %zmm0, %zmm1, %zmm9
-; AVX512-NEXT: vmovdqa64 %zmm5, %zmm9 {%k1}
-; AVX512-NEXT: vmovdqa64 %zmm10, %zmm9 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [12,0,0,6,12,0,0,6]
-; AVX512-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
-; AVX512-NEXT: vpermi2q %zmm1, %zmm0, %zmm7
-; AVX512-NEXT: vinserti32x4 $0, %xmm7, %zmm5, %zmm5
-; AVX512-NEXT: vmovdqa64 %zmm11, %zmm5 {%k2}
-; AVX512-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [13,0,1,7,13,0,1,7]
-; AVX512-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
-; AVX512-NEXT: vpermi2q %zmm3, %zmm2, %zmm7
-; AVX512-NEXT: vpermt2q %zmm1, %zmm6, %zmm0
-; AVX512-NEXT: vinserti32x4 $0, %xmm0, %zmm7, %zmm0
-; AVX512-NEXT: vmovdqa64 %zmm12, %zmm0 {%k2}
-; AVX512-NEXT: vmovdqu64 %zmm4, (%rsi)
-; AVX512-NEXT: vmovdqu64 %zmm13, (%rdx)
-; AVX512-NEXT: vmovdqu64 %zmm8, (%rcx)
-; AVX512-NEXT: vmovdqu64 %zmm9, (%r8)
-; AVX512-NEXT: vmovdqu64 %zmm5, (%r9)
-; AVX512-NEXT: vmovdqu64 %zmm0, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <48 x i64>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i64_stride6_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,0,10,0,6,0,10]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <0,6,12,u>
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm4
+; AVX512BW-NEXT: movb $56, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm4 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [4,10,4,10,4,10,4,10]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,0,6,12,0,0,6,12]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm6, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [0,1,7,13,0,1,7,13]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm6, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm11 = [0,10,0,6,0,10,0,6]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm5, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [0,11,1,7,0,11,1,7]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm5, %zmm12
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm6
+; AVX512BW-NEXT: movb $-64, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm4 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm6 = [1,7,0,11,1,7,0,11]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm3, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <1,7,13,u>
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm13 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [5,11,5,11,5,11,5,11]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm6, %zmm8
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm13 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [10,4,10,4,10,4,10,4]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <10,0,6,u>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: movb $24, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm8 {%k1}
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm8 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [11,5,11,5,11,5,11,5]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <11,1,7,u>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm9 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [12,0,0,6,12,0,0,6]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm2, %zmm5
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm0, %zmm7
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm7, %zmm5, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm5 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [13,0,1,7,13,0,1,7]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm2, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm6, %zmm0
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm0, %zmm7, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <48 x i64>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <8 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42>
%strided.vec1 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <8 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43>
%strided.vec4 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <8 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46>
%strided.vec5 = shufflevector <48 x i64> %wide.vec, <48 x i64> poison, <8 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47>
- store <8 x i64> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i64> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i64> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i64> %strided.vec3, ptr %out.vec3, align 32
- store <8 x i64> %strided.vec4, ptr %out.vec4, align 32
- store <8 x i64> %strided.vec5, ptr %out.vec5, align 32
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i64> %strided.vec5, ptr %out.vec5, align 64
+
+ ret void
+}
+
+define void @load_i64_stride6_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i64_stride6_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $408, %rsp # imm = 0x198
+; SSE-NEXT: movaps (%rdi), %xmm7
+; SSE-NEXT: movaps 528(%rdi), %xmm0
+; SSE-NEXT: movaps 480(%rdi), %xmm8
+; SSE-NEXT: movaps 144(%rdi), %xmm1
+; SSE-NEXT: movaps 96(%rdi), %xmm9
+; SSE-NEXT: movaps 432(%rdi), %xmm2
+; SSE-NEXT: movaps 384(%rdi), %xmm10
+; SSE-NEXT: movaps 720(%rdi), %xmm3
+; SSE-NEXT: movaps 672(%rdi), %xmm11
+; SSE-NEXT: movaps 336(%rdi), %xmm4
+; SSE-NEXT: movaps 288(%rdi), %xmm12
+; SSE-NEXT: movaps 624(%rdi), %xmm5
+; SSE-NEXT: movaps 576(%rdi), %xmm13
+; SSE-NEXT: movaps 240(%rdi), %xmm6
+; SSE-NEXT: movaps 192(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm6[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm6[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm5[0]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm5[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm4[0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm4[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm3[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm3[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm2[1]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm1[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm0[1]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 48(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm7, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 64(%rdi), %xmm0
+; SSE-NEXT: movaps 16(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 160(%rdi), %xmm0
+; SSE-NEXT: movaps 112(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 352(%rdi), %xmm0
+; SSE-NEXT: movaps 304(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 448(%rdi), %xmm0
+; SSE-NEXT: movaps 400(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 544(%rdi), %xmm0
+; SSE-NEXT: movaps 496(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: movaps 640(%rdi), %xmm0
+; SSE-NEXT: movaps 592(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps 736(%rdi), %xmm0
+; SSE-NEXT: movaps 688(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 80(%rdi), %xmm0
+; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 176(%rdi), %xmm0
+; SSE-NEXT: movaps 128(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm0[1]
+; SSE-NEXT: movaps 272(%rdi), %xmm0
+; SSE-NEXT: movaps 224(%rdi), %xmm11
+; SSE-NEXT: movaps %xmm11, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm0[1]
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 320(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm13
+; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
+; SSE-NEXT: movaps 464(%rdi), %xmm0
+; SSE-NEXT: movaps 416(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm0[1]
+; SSE-NEXT: movaps 560(%rdi), %xmm0
+; SSE-NEXT: movaps 512(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: movaps 656(%rdi), %xmm0
+; SSE-NEXT: movaps 608(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps 752(%rdi), %xmm0
+; SSE-NEXT: movaps 704(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps %xmm15, 112(%r8)
+; SSE-NEXT: movaps %xmm9, 96(%r8)
+; SSE-NEXT: movaps %xmm12, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps %xmm2, 112(%r9)
+; SSE-NEXT: movaps %xmm4, 96(%r9)
+; SSE-NEXT: movaps %xmm7, 80(%r9)
+; SSE-NEXT: movaps %xmm8, 64(%r9)
+; SSE-NEXT: movaps %xmm13, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm1, 112(%rax)
+; SSE-NEXT: movaps %xmm3, 96(%rax)
+; SSE-NEXT: movaps %xmm5, 80(%rax)
+; SSE-NEXT: movaps %xmm6, 64(%rax)
+; SSE-NEXT: movaps %xmm10, 48(%rax)
+; SSE-NEXT: movaps %xmm11, 32(%rax)
+; SSE-NEXT: movaps %xmm14, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $408, %rsp # imm = 0x198
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride6_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $536, %rsp # imm = 0x218
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovups %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm5[0],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm4[0],ymm8[0],ymm4[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovaps 432(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm9[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm7[0],ymm1[0],ymm7[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 240(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, 672(%rdi), %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm13[0],ymm10[0],ymm13[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 624(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm15[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm4[1],mem[1],ymm4[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm9[1],xmm8[1]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = ymm7[1],mem[1],ymm7[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm13[1],ymm10[1],ymm13[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm15[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm2[0],ymm11[0],ymm2[2],ymm11[2]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm6[0],xmm13[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm8[0],xmm7[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm6[0],ymm14[0],ymm6[2],ymm14[2]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm3[0],xmm15[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm5[0],ymm2[0],ymm5[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm9[1],ymm11[1],ymm9[3],ymm11[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm10[1],xmm13[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm9[1],ymm4[1],ymm9[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm7 = xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm6[1],ymm14[1],ymm6[3],ymm14[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm3[1],xmm15[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm5[1],ymm2[1],ymm5[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm14[0],ymm1[0],ymm14[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm0[0],xmm12[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, 512(%rdi), %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm8[0],ymm9[0],ymm8[2],ymm9[2]
+; AVX1-ONLY-NEXT: vmovaps 464(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm3[0],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, 320(%rdi), %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm10[0],ymm11[0],ymm10[2],ymm11[2]
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm4[0],xmm7[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, 704(%rdi), %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm2[0],ymm13[0],ymm2[2],ymm13[2]
+; AVX1-ONLY-NEXT: vmovaps 656(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm15[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm13[1],ymm2[3],ymm13[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm8[1],ymm9[1],ymm8[3],ymm9[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm14[1],mem[1],ymm14[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm2[1],xmm12[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm10[1],ymm11[1],ymm10[3],ymm11[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm4[1],xmm7[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 96(%rax)
+; AVX1-ONLY-NEXT: addq $536, %rsp # imm = 0x218
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride6_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $488, %rsp # imm = 0x1E8
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm3[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm4[0],ymm9[0],ymm4[2],ymm9[2]
+; AVX2-ONLY-NEXT: vmovups %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 432(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm11[0],xmm15[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm5[0],ymm7[0],ymm5[2],ymm7[2]
+; AVX2-ONLY-NEXT: vmovaps %ymm7, %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm8 = ymm8[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 240(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm10[0],xmm8[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm12[0],ymm6[0],ymm12[2],ymm6[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm12 = ymm12[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm13[0],ymm4[0],ymm13[2],ymm4[2]
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm12 = ymm12[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 624(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm0[0],xmm14[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm3[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 104(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm9[1],ymm3[3],ymm9[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm11[1],xmm15[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 488(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm5[1],ymm3[3],ymm5[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm10[1],xmm8[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 296(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm6[1],ymm3[3],ymm6[3]
+; AVX2-ONLY-NEXT: vmovaps %ymm6, %ymm15
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm14[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 680(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm4[1],ymm1[3],ymm4[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm9[0],ymm0[0],ymm9[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm14[0],xmm3[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 544(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm6[0],ymm0[0],ymm6[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 400(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm7[0],xmm4[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 736(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm0[0],ymm13[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 592(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm10[0],xmm8[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm11[0],ymm0[0],ymm11[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm0[0],xmm1[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm14[1],xmm3[1]
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm9[1],ymm12[1],ymm9[3],ymm12[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm7[1],xmm4[1]
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm6[1],ymm9[1],ymm6[3],ymm9[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm10[1],xmm8[1]
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm13[1],ymm2[1],ymm13[3],ymm2[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm3, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm11[1],ymm8[1],ymm11[3],ymm8[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm3 = ymm3[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm0[0],ymm12[0],ymm0[2],ymm12[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovaps 80(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm11[0],xmm10[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm0[0],ymm9[0],ymm0[2],ymm9[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 464(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm3[0],xmm4[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm14 = ymm7[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm15[0],ymm8[0],ymm15[2],ymm8[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 272(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm5[0],xmm6[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm7[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm7 = ymm7[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 656(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm0[0],xmm13[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm15[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 712(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm15[1],ymm2[1],ymm15[3],ymm2[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm13[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 520(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm9[1],ymm0[3],ymm9[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm3[1],xmm4[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 136(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm12[1],ymm0[3],ymm12[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 328(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm8[1],ymm3[3],ymm8[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm5[1],xmm6[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %ymm7, 96(%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-ONLY-NEXT: vmovaps %ymm14, 64(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, 96(%rax)
+; AVX2-ONLY-NEXT: addq $488, %rsp # imm = 0x1E8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride6_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm12
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm13
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,6,0,10,0,6,0,10]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <0,6,12,u>
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm6, %zmm7
+; AVX512F-NEXT: movb $56, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm7 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm16 = [4,10,4,10,4,10,4,10]
+; AVX512F-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm16, %zmm15
+; AVX512F-NEXT: movb $-64, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm7 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm16, %zmm15
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm5, %zmm14
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm6
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm6 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [1,7,0,11,1,7,0,11]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm18, %zmm17
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm14 = <1,7,13,u>
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm14, %zmm15
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm15 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm17 = [5,11,5,11,5,11,5,11]
+; AVX512F-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm17, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm15 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm17, %zmm19
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm5, %zmm18
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm14 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm14 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [10,4,10,4,10,4,10,4]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm20, %zmm21
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm18 = <10,0,6,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm18, %zmm19
+; AVX512F-NEXT: movb $24, %dil
+; AVX512F-NEXT: kmovw %edi, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm19 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,6,12,0,0,6,12]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm21, %zmm22
+; AVX512F-NEXT: movb $-32, %dil
+; AVX512F-NEXT: kmovw %edi, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm19 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm4, %zmm21
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm3, %zmm20
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm2, %zmm18
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm18 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm18 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm22 = [11,5,11,5,11,5,11,5]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm23
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm22, %zmm23
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm20 = <11,1,7,u>
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm20, %zmm21
+; AVX512F-NEXT: vmovdqa64 %zmm23, %zmm21 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [0,1,7,13,0,1,7,13]
+; AVX512F-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm24
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm23, %zmm24
+; AVX512F-NEXT: vmovdqa64 %zmm24, %zmm21 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm4, %zmm23
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm3, %zmm22
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm2, %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm20 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm23, %zmm20 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,10,0,6,0,10,0,6]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm23
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm22, %zmm23
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [12,0,0,6,12,0,0,6]
+; AVX512F-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm25
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm24, %zmm25
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm16, %zmm26
+; AVX512F-NEXT: vinserti32x4 $0, %xmm26, %zmm25, %zmm25
+; AVX512F-NEXT: vmovdqa64 %zmm23, %zmm25 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm3, %zmm24
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm1, %zmm16
+; AVX512F-NEXT: vinserti32x4 $0, %xmm16, %zmm24, %zmm16
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm0, %zmm22
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm16 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,11,1,7,0,11,1,7]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm22, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [13,0,1,7,13,0,1,7]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm12, %zmm10
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm17, %zmm9
+; AVX512F-NEXT: vinserti32x4 $0, %xmm9, %zmm10, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm12, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm17, %zmm1
+; AVX512F-NEXT: vinserti32x4 $0, %xmm1, %zmm3, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm22, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm1 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm14, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm15, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm18, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm20, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm21, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm16, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm25, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride6_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm12
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm13
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm14 = [0,6,0,10,0,6,0,10]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,6,12,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm6, %zmm7
+; AVX512BW-NEXT: movb $56, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm7 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm16 = [4,10,4,10,4,10,4,10]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm16, %zmm15
+; AVX512BW-NEXT: movb $-64, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm7 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm16, %zmm15
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm5, %zmm14
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm6 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [1,7,0,11,1,7,0,11]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm18, %zmm17
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <1,7,13,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm14, %zmm15
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm15 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm17 = [5,11,5,11,5,11,5,11]
+; AVX512BW-NEXT: # zmm17 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm17, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm15 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm17, %zmm19
+; AVX512BW-NEXT: vpermi2q %zmm3, %zmm5, %zmm18
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm14
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm14 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [10,4,10,4,10,4,10,4]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm20, %zmm21
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = <10,0,6,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm18, %zmm19
+; AVX512BW-NEXT: movb $24, %dil
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm19 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,0,6,12,0,0,6,12]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm21, %zmm22
+; AVX512BW-NEXT: movb $-32, %dil
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm19 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm4, %zmm21
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm3, %zmm20
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm2, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm18 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm18 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm22 = [11,5,11,5,11,5,11,5]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm23
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm22, %zmm23
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm20 = <11,1,7,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm20, %zmm21
+; AVX512BW-NEXT: vmovdqa64 %zmm23, %zmm21 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [0,1,7,13,0,1,7,13]
+; AVX512BW-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm24
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm23, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm24, %zmm21 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm4, %zmm23
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm3, %zmm22
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm2, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm20 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm23, %zmm20 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,10,0,6,0,10,0,6]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm23
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm22, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm24 = [12,0,0,6,12,0,0,6]
+; AVX512BW-NEXT: # zmm24 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm25
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm24, %zmm25
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm26
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm16, %zmm26
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm26, %zmm25, %zmm25
+; AVX512BW-NEXT: vmovdqa64 %zmm23, %zmm25 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm3, %zmm24
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm1, %zmm16
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm16, %zmm24, %zmm16
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm0, %zmm22
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm16 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm22 = [0,11,1,7,0,11,1,7]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm22, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [13,0,1,7,13,0,1,7]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm12, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm17, %zmm9
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm9, %zmm10, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm9 {%k1}
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm12, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm17, %zmm1
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm1, %zmm3, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm22, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm20, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm21, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm25, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <96 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90>
+ %strided.vec1 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91>
+ %strided.vec2 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 2, i32 8, i32 14, i32 20, i32 26, i32 32, i32 38, i32 44, i32 50, i32 56, i32 62, i32 68, i32 74, i32 80, i32 86, i32 92>
+ %strided.vec3 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 3, i32 9, i32 15, i32 21, i32 27, i32 33, i32 39, i32 45, i32 51, i32 57, i32 63, i32 69, i32 75, i32 81, i32 87, i32 93>
+ %strided.vec4 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94>
+ %strided.vec5 = shufflevector <96 x i64> %wide.vec, <96 x i64> poison, <16 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95>
+
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i64> %strided.vec5, ptr %out.vec5, align 64
+
+ ret void
+}
+
+define void @load_i64_stride6_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i64_stride6_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1176, %rsp # imm = 0x498
+; SSE-NEXT: movaps 624(%rdi), %xmm0
+; SSE-NEXT: movaps 576(%rdi), %xmm9
+; SSE-NEXT: movaps 240(%rdi), %xmm1
+; SSE-NEXT: movaps 192(%rdi), %xmm8
+; SSE-NEXT: movaps 720(%rdi), %xmm2
+; SSE-NEXT: movaps 672(%rdi), %xmm11
+; SSE-NEXT: movaps 336(%rdi), %xmm4
+; SSE-NEXT: movaps 288(%rdi), %xmm10
+; SSE-NEXT: movaps 432(%rdi), %xmm5
+; SSE-NEXT: movaps 384(%rdi), %xmm12
+; SSE-NEXT: movaps 912(%rdi), %xmm3
+; SSE-NEXT: movaps 528(%rdi), %xmm6
+; SSE-NEXT: movaps 480(%rdi), %xmm14
+; SSE-NEXT: movaps 144(%rdi), %xmm7
+; SSE-NEXT: movaps 96(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm7[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm7[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm4[0]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm4[1]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm1[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm6[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm6[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm5[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm5[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm2[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 864(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm3[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm3[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 816(%rdi), %xmm0
+; SSE-NEXT: movaps 768(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1104(%rdi), %xmm0
+; SSE-NEXT: movaps 1056(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1008(%rdi), %xmm0
+; SSE-NEXT: movaps 960(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1296(%rdi), %xmm0
+; SSE-NEXT: movaps 1248(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1200(%rdi), %xmm0
+; SSE-NEXT: movaps 1152(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1488(%rdi), %xmm0
+; SSE-NEXT: movaps 1440(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1392(%rdi), %xmm0
+; SSE-NEXT: movaps 1344(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps (%rdi), %xmm1
+; SSE-NEXT: movaps 48(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 64(%rdi), %xmm0
+; SSE-NEXT: movaps 16(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 160(%rdi), %xmm0
+; SSE-NEXT: movaps 112(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 256(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 352(%rdi), %xmm0
+; SSE-NEXT: movaps 304(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 448(%rdi), %xmm0
+; SSE-NEXT: movaps 400(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 544(%rdi), %xmm0
+; SSE-NEXT: movaps 496(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 640(%rdi), %xmm0
+; SSE-NEXT: movaps 592(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 736(%rdi), %xmm0
+; SSE-NEXT: movaps 688(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 832(%rdi), %xmm0
+; SSE-NEXT: movaps 784(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 928(%rdi), %xmm0
+; SSE-NEXT: movaps 880(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1024(%rdi), %xmm0
+; SSE-NEXT: movaps 976(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1120(%rdi), %xmm0
+; SSE-NEXT: movaps 1072(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1216(%rdi), %xmm0
+; SSE-NEXT: movaps 1168(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1312(%rdi), %xmm0
+; SSE-NEXT: movaps 1264(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1408(%rdi), %xmm0
+; SSE-NEXT: movaps 1360(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 1504(%rdi), %xmm0
+; SSE-NEXT: movaps 1456(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 80(%rdi), %xmm0
+; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 176(%rdi), %xmm0
+; SSE-NEXT: movaps 128(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 272(%rdi), %xmm0
+; SSE-NEXT: movaps 224(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 320(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 464(%rdi), %xmm0
+; SSE-NEXT: movaps 416(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 560(%rdi), %xmm0
+; SSE-NEXT: movaps 512(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 656(%rdi), %xmm0
+; SSE-NEXT: movaps 608(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 752(%rdi), %xmm0
+; SSE-NEXT: movaps 704(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 848(%rdi), %xmm0
+; SSE-NEXT: movaps 800(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps 944(%rdi), %xmm0
+; SSE-NEXT: movaps 896(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm0[1]
+; SSE-NEXT: movaps 1040(%rdi), %xmm0
+; SSE-NEXT: movaps 992(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
+; SSE-NEXT: movaps 1136(%rdi), %xmm0
+; SSE-NEXT: movaps 1088(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps 1232(%rdi), %xmm0
+; SSE-NEXT: movaps 1184(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps 1328(%rdi), %xmm0
+; SSE-NEXT: movaps 1280(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: movaps 1424(%rdi), %xmm0
+; SSE-NEXT: movaps 1376(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps 1520(%rdi), %xmm0
+; SSE-NEXT: movaps 1472(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps %xmm2, 240(%r9)
+; SSE-NEXT: movaps %xmm4, 224(%r9)
+; SSE-NEXT: movaps %xmm6, 208(%r9)
+; SSE-NEXT: movaps %xmm8, 192(%r9)
+; SSE-NEXT: movaps %xmm11, 176(%r9)
+; SSE-NEXT: movaps %xmm12, 160(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm1, 240(%rax)
+; SSE-NEXT: movaps %xmm3, 224(%rax)
+; SSE-NEXT: movaps %xmm5, 208(%rax)
+; SSE-NEXT: movaps %xmm7, 192(%rax)
+; SSE-NEXT: movaps %xmm9, 176(%rax)
+; SSE-NEXT: movaps %xmm10, 160(%rax)
+; SSE-NEXT: movaps %xmm14, 144(%rax)
+; SSE-NEXT: movaps %xmm13, 128(%rax)
+; SSE-NEXT: movaps %xmm15, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $1176, %rsp # imm = 0x498
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride6_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1624, %rsp # imm = 0x658
+; AVX1-ONLY-NEXT: vmovaps 1088(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 288(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 240(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm4[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 672(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm3[0],ymm0[2],ymm3[2]
+; AVX1-ONLY-NEXT: vmovaps 624(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm3[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1056(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps 1008(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1472(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1440(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 1392(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1344(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 96(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm14[0],xmm13[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 480(%rdi), %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm11[0],ymm12[0],ymm11[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovaps 432(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm9[0],xmm10[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, 864(%rdi), %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovaps 816(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm5[0],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1280(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1248(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovaps 1200(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 1152(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm13 = xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm12[1],ymm11[3],ymm12[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm9[1],xmm10[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm8[1],ymm7[3],ymm8[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 352(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 736(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1056(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1120(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 1024(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 976(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1440(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1504(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 1408(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovaps 1360(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm12[0],xmm14[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1248(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1312(%rdi), %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 1216(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 1168(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm8[0],xmm9[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, 544(%rdi), %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 400(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm4[0],xmm5[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, 928(%rdi), %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm13[0],ymm3[2],ymm13[2]
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 784(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm12 = xmm12[1],xmm14[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm8[1],xmm9[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm13[1],ymm3[3],ymm13[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm4[1],xmm5[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = xmm1[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 128(%rdi), %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 320(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 512(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 464(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 704(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 656(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 928(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 896(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovaps 848(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm13[0],xmm14[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1120(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1088(%rdi), %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm11[0],ymm12[0],ymm11[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovaps 1040(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm9[0],xmm10[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1312(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1280(%rdi), %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm8[0],ymm7[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovaps 1232(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 1184(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm5[0],xmm6[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1504(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1472(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovaps 1424(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 1376(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm15 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm15 = xmm15[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm13 = xmm13[1],xmm14[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm12[1],ymm11[3],ymm12[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm9[1],xmm10[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm8[1],ymm7[3],ymm8[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 224(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 192(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 160(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 128(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 224(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, 160(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, 128(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $1624, %rsp # imm = 0x658
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride6_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $1480, %rsp # imm = 0x5C8
+; AVX2-ONLY-NEXT: vmovaps 1088(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1056(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 240(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm0[0],xmm7[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm5[0],ymm1[0],ymm5[2],ymm1[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 624(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm5[0],xmm0[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm1 = ymm4[0],ymm2[0],ymm4[2],ymm2[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1008(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm2[0],xmm0[0]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm6[0],ymm3[0],ymm6[2],ymm3[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,0,3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1472(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1440(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 1392(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1344(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm1[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm8[0],xmm9[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm6[0],ymm0[2],ymm6[2]
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 432(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm11[0],xmm10[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm4[0],ymm0[2],ymm4[2]
+; AVX2-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 816(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm15[0],xmm12[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 1280(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 1248(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm3[0],ymm0[2],ymm3[2]
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 1200(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovaps 1152(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm1[0],xmm13[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[1],mem[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 296(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm14 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm14 = ymm14[1],mem[1],ymm14[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm5[1],mem[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 680(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm5 = ymm5[1],mem[1],ymm5[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm2[1],mem[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 1064(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm7[1],mem[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 1448(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm8[1],xmm9[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 104(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm11[1],xmm10[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 488(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm6[1],ymm2[3],ymm6[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm15[1],xmm12[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 872(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm4[1],ymm2[3],ymm4[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm13[1]
+; AVX2-ONLY-NEXT: vbroadcastsd 1256(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm3[1],ymm1[3],ymm3[3]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 208(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 736(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovaps 592(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm6[0],xmm10[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 1120(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 1024(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 976(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm5[0],xmm1[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 1504(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 1408(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 1360(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm3[0],xmm4[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 1312(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vmovaps 1216(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 1168(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm1[0],xmm2[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 160(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm0[0],ymm7[0],ymm0[2],ymm7[2]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm0[0],xmm8[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 544(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm15[0],ymm7[0],ymm15[2],ymm7[2]
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 400(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm9[0],xmm12[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 928(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm8[0],ymm13[0],ymm8[2],ymm13[2]
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovaps 784(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm11 = xmm7[0],xmm14[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm11 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm11 = xmm0[1],mem[1]
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm13 = ymm13[1],ymm0[1],ymm13[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm13 = ymm13[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm6[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm10 = ymm10[1],ymm11[1],ymm10[3],ymm11[3]
+; AVX2-ONLY-NEXT: vmovups %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm10 = ymm10[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm5 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm5 = xmm5[1],mem[1]
+; AVX2-ONLY-NEXT: vmovaps 1120(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm6[1],ymm0[1],ymm6[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm6 = ymm6[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm3[1],xmm4[1]
+; AVX2-ONLY-NEXT: vmovaps 1504(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm4[1],ymm0[1],ymm4[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm4 = ymm4[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps 1312(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, %ymm4
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm2 = ymm2[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm7[1],xmm14[1]
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm8[1],ymm2[1],ymm8[3],ymm2[3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm9[1],xmm12[1]
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm15[1],ymm3[1],ymm15[3],ymm3[3]
+; AVX2-ONLY-NEXT: vmovaps %ymm3, %ymm5
+; AVX2-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm0 = xmm0[1],mem[1]
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm1[1],ymm3[1],ymm1[3],ymm3[3]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm1 = ymm1[0,1,2,1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm3[0],ymm0[2],ymm3[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 80(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm1[0],xmm6[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[0],mem[0],ymm0[2],mem[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 272(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm6[0],xmm1[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm5[0],ymm0[2],ymm5[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 464(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm13[0],xmm14[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm11[0],ymm0[2],ymm11[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 656(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm10[0],xmm11[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm2[0],ymm0[2],ymm2[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 848(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm8[0],xmm9[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm7[0],ymm0[2],ymm7[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 1040(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm6[0],xmm12[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm0[0],ymm4[0],ymm0[2],ymm4[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 1232(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 1184(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm4[0],xmm5[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vunpcklpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[0],mem[0],ymm0[2],mem[2]
+; AVX2-ONLY-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[0,1,0,3]
+; AVX2-ONLY-NEXT: vmovaps 1424(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 1376(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm1[0],xmm2[0]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm15[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 136(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm3[1],ymm0[3],ymm3[3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm3[1],mem[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vbroadcastsd 328(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = xmm3[1],mem[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 520(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm13[1],xmm14[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm13 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 712(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm10[1],xmm11[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 904(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm8[1],xmm9[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 1096(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm7[1],ymm0[3],ymm7[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm6[1],xmm12[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 1288(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm5[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vbroadcastsd 1480(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = ymm4[1],mem[1],ymm4[3],mem[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm2[1]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 224(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 192(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 160(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 128(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 96(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 64(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 224(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 192(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm8, 128(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm10, 96(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, 64(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm15, 32(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: addq $1480, %rsp # imm = 0x5C8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride6_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: subq $2632, %rsp # imm = 0xA48
+; AVX512F-NEXT: vmovdqa64 1280(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 1344(%rdi), %zmm14
+; AVX512F-NEXT: vmovdqa64 896(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 960(%rdi), %zmm13
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm19
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,0,10,0,6,0,10]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm7, %zmm8
+; AVX512F-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <0,6,12,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm8, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm14, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [1,7,0,11,1,7,0,11]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <1,7,13,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm14, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [10,4,10,4,10,4,10,4]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm14, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [11,5,11,5,11,5,11,5]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm14, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [12,0,0,6,12,0,0,6]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm9, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [13,0,1,7,13,0,1,7]
+; AVX512F-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm0, %zmm5
+; AVX512F-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm9, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm0, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm9, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm14, %zmm7, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm16, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm0, %zmm2
+; AVX512F-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <10,0,6,u>
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm9, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm13 = <11,1,7,u>
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm13, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm3 = [4,10,4,10,4,10,4,10]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm2 = [5,11,5,11,5,11,5,11]
+; AVX512F-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm2, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm23
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm8, %zmm23
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm24
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm16, %zmm24
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm26
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm9, %zmm26
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm27
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm13, %zmm27
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm2, %zmm15
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm12
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm17
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 1088(%rdi), %zmm8
+; AVX512F-NEXT: vmovdqa64 1024(%rdi), %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm4, %zmm19
+; AVX512F-NEXT: vmovdqa64 1472(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 1408(%rdi), %zmm21
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 1216(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 1152(%rdi), %zmm5
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm5, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm14
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm16, %zmm14
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm5, %zmm16
+; AVX512F-NEXT: vmovdqu64 %zmm16, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm16
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm9, %zmm16
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm0, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm18
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm13, %zmm18
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm0, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm5, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm0, %zmm2, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm2, %zmm10
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm31
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm2, %zmm31
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm28
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm2, %zmm28
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm29
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm2, %zmm29
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm30
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm2, %zmm30
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,0,6,12,0,0,6,12]
+; AVX512F-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm2, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [0,1,7,13,0,1,7,13]
+; AVX512F-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm1, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,10,0,6,0,10,0,6]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm4, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [0,11,1,7,0,11,1,7]
+; AVX512F-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm25
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm2, %zmm25
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm1, %zmm17
+; AVX512F-NEXT: vmovdqu64 %zmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm4, %zmm17
+; AVX512F-NEXT: vmovdqu64 %zmm17, (%rsp) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm0, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm2, %zmm11
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm21, %zmm2
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm1, %zmm17
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm21, %zmm1
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm20, %zmm4, %zmm22
+; AVX512F-NEXT: vpermi2q %zmm21, %zmm6, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm0, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm20, %zmm0, %zmm8
+; AVX512F-NEXT: movb $56, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm23 {%k1}
+; AVX512F-NEXT: movb $-64, %al
+; AVX512F-NEXT: kmovw %eax, %k2
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm23 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm0 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm21
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm19 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm19 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm0 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm20
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm14 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm31, %zmm14 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm31 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm31 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm28, %zmm31 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm24 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm29, %zmm24 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm28 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm28, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm30, %zmm0 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm28
+; AVX512F-NEXT: movb $24, %al
+; AVX512F-NEXT: kmovw %eax, %k2
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm16 {%k2}
+; AVX512F-NEXT: movb $-32, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm16 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm11 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm11 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm29
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm26 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm25, %zmm26 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm9 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm9 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm18 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm18 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm2 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm2 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm17
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm27 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm27 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm13 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm0 # 16-byte Folded Reload
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm0 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm1 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm2 # 16-byte Folded Reload
+; AVX512F-NEXT: vmovdqu64 (%rsp), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm2 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, %xmm3, %zmm11, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm3 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm4, %zmm4 # 16-byte Folded Reload
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm4 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, %xmm15, %zmm7, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, %xmm5, %zmm11, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm5 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-NEXT: vinserti32x4 $0, %xmm10, %zmm6, %zmm6
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm20, 192(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm19, 128(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm21, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm23, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm28, 192(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm24, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm31, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm14, 128(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm9, 192(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm26, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm29, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm16, 128(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm27, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm17, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm18, 128(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm3, 192(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm1, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 128(%r9)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm6, 128(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm5, 192(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm4, 64(%rax)
+; AVX512F-NEXT: addq $2632, %rsp # imm = 0xA48
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride6_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: subq $2632, %rsp # imm = 0xA48
+; AVX512BW-NEXT: vmovdqa64 1280(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 1344(%rdi), %zmm14
+; AVX512BW-NEXT: vmovdqa64 896(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 960(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,6,0,10,0,6,0,10]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm7, %zmm8
+; AVX512BW-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <0,6,12,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm14, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [1,7,0,11,1,7,0,11]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <1,7,13,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm14, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [10,4,10,4,10,4,10,4]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm14, %zmm0, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [11,5,11,5,11,5,11,5]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm14, %zmm0, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [12,0,0,6,12,0,0,6]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm9, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [13,0,1,7,13,0,1,7]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm0, %zmm5
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm9, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm19, %zmm0, %zmm6
+; AVX512BW-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm9, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm14, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm0, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm16, %zmm3
+; AVX512BW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <10,0,6,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm9, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm13 = <11,1,7,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm13, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm3 = [4,10,4,10,4,10,4,10]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm2 = [5,11,5,11,5,11,5,11]
+; AVX512BW-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm2, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm23
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm8, %zmm23
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm24
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm16, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm26
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm9, %zmm26
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm27
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm13, %zmm27
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm2, %zmm15
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm12
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm17
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 1088(%rdi), %zmm8
+; AVX512BW-NEXT: vmovdqa64 1024(%rdi), %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm4, %zmm19
+; AVX512BW-NEXT: vmovdqa64 1472(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 1408(%rdi), %zmm21
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 1216(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 1152(%rdi), %zmm5
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm5, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm16, %zmm14
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm5, %zmm16
+; AVX512BW-NEXT: vmovdqu64 %zmm16, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm16
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm9, %zmm16
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm0, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm18
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm13, %zmm18
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm0, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm5, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm2, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm2, %zmm10
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm31
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm2, %zmm31
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm28
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm2, %zmm28
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm2, %zmm29
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm30
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm2, %zmm30
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm2 = [0,0,6,12,0,0,6,12]
+; AVX512BW-NEXT: # zmm2 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm2, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [0,1,7,13,0,1,7,13]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm1, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,10,0,6,0,10,0,6]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm4, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [0,11,1,7,0,11,1,7]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm0, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm25
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm2, %zmm25
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm1, %zmm17
+; AVX512BW-NEXT: vmovdqu64 %zmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm4, %zmm17
+; AVX512BW-NEXT: vmovdqu64 %zmm17, (%rsp) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm0, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm2, %zmm11
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm21, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm1, %zmm17
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm21, %zmm1
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm20, %zmm4, %zmm22
+; AVX512BW-NEXT: vpermi2q %zmm21, %zmm6, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm0, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm20, %zmm0, %zmm8
+; AVX512BW-NEXT: movb $56, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm23 {%k1}
+; AVX512BW-NEXT: movb $-64, %al
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm23 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm21
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm19 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm20 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm20
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm14 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm31, %zmm14 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm31 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm31 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm31 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm24 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm29, %zmm24 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm28 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm0 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm28
+; AVX512BW-NEXT: movb $24, %al
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm16 {%k2}
+; AVX512BW-NEXT: movb $-32, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm16 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm11 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm11 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm29
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm26 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm25, %zmm26 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm9 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm9 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm18 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm18 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm2 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm2 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm17
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm27 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm27 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm13 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm0, %zmm0 # 16-byte Folded Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm0 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 16-byte Folded Reload
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm2, %zmm2 # 16-byte Folded Reload
+; AVX512BW-NEXT: vmovdqu64 (%rsp), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm2 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm3, %zmm11, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm4 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, {{[-0-9]+}}(%r{{[sb]}}p), %zmm4, %zmm4 # 16-byte Folded Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm4 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm7 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm15, %zmm7, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm7 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm5, %zmm11, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm5 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm10, %zmm6, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm20, 192(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 128(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm21, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm28, 192(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm24, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm31, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, 128(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, 192(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm26, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 128(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm27, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 128(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, 192(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 128(%r9)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm6, 128(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, 192(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 64(%rax)
+; AVX512BW-NEXT: addq $2632, %rsp # imm = 0xA48
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186>
+ %strided.vec1 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187>
+ %strided.vec2 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 2, i32 8, i32 14, i32 20, i32 26, i32 32, i32 38, i32 44, i32 50, i32 56, i32 62, i32 68, i32 74, i32 80, i32 86, i32 92, i32 98, i32 104, i32 110, i32 116, i32 122, i32 128, i32 134, i32 140, i32 146, i32 152, i32 158, i32 164, i32 170, i32 176, i32 182, i32 188>
+ %strided.vec3 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 3, i32 9, i32 15, i32 21, i32 27, i32 33, i32 39, i32 45, i32 51, i32 57, i32 63, i32 69, i32 75, i32 81, i32 87, i32 93, i32 99, i32 105, i32 111, i32 117, i32 123, i32 129, i32 135, i32 141, i32 147, i32 153, i32 159, i32 165, i32 171, i32 177, i32 183, i32 189>
+ %strided.vec4 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190>
+ %strided.vec5 = shufflevector <192 x i64> %wide.vec, <192 x i64> poison, <32 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191>
+
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i64> %strided.vec5, ptr %out.vec5, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i64_stride7_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i64_stride7_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movapd 96(%rdi), %xmm0
+; SSE-NEXT: movapd 80(%rdi), %xmm1
+; SSE-NEXT: movapd 64(%rdi), %xmm2
+; SSE-NEXT: movapd (%rdi), %xmm3
+; SSE-NEXT: movapd 16(%rdi), %xmm4
+; SSE-NEXT: movapd 32(%rdi), %xmm5
+; SSE-NEXT: movapd 48(%rdi), %xmm6
+; SSE-NEXT: movapd %xmm6, %xmm7
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm3[0],xmm7[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm2[0]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm4[0],xmm2[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm5[0],xmm1[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm6[0],xmm0[1]
+; SSE-NEXT: movapd %xmm7, (%rsi)
+; SSE-NEXT: movapd %xmm3, (%rdx)
+; SSE-NEXT: movapd %xmm2, (%rcx)
+; SSE-NEXT: movapd %xmm4, (%r8)
+; SSE-NEXT: movapd %xmm1, (%r9)
+; SSE-NEXT: movapd %xmm5, (%r10)
+; SSE-NEXT: movapd %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride7_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovapd 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = mem[0,1],xmm1[2,3]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm5 = xmm0[0],mem[1]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[1],ymm3[0],ymm0[2],ymm3[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm3 = mem[0],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = mem[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %xmm0, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %xmm3, (%r9)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%r10)
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride7_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 48(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm2 = mem[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovaps 16(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = mem[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vblendps {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm4, (%rcx)
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %xmm5, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%r10)
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride7_vf2:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX512-NEXT: vpblendd {{.*#+}} xmm4 = xmm0[0,1],xmm3[2,3]
+; AVX512-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX512-NEXT: vpblendd {{.*#+}} xmm5 = xmm1[0,1],xmm5[2,3]
+; AVX512-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX512-NEXT: vpblendd {{.*#+}} xmm6 = xmm2[0,1],xmm6[2,3]
+; AVX512-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX512-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX512-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm7[2,3]
+; AVX512-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX512-NEXT: vmovdqa %xmm0, (%rdx)
+; AVX512-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX512-NEXT: vmovdqa %xmm1, (%r8)
+; AVX512-NEXT: vmovdqa %xmm6, (%r9)
+; AVX512-NEXT: vmovdqa %xmm2, (%r10)
+; AVX512-NEXT: vmovdqa %xmm3, (%rax)
+; AVX512-NEXT: retq
+ %wide.vec = load <14 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 0, i32 7>
+ %strided.vec1 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 1, i32 8>
+ %strided.vec2 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 2, i32 9>
+ %strided.vec3 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 3, i32 10>
+ %strided.vec4 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 4, i32 11>
+ %strided.vec5 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 5, i32 12>
+ %strided.vec6 = shufflevector <14 x i64> %wide.vec, <14 x i64> poison, <2 x i32> <i32 6, i32 13>
+
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i64> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i64_stride7_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i64_stride7_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movapd 96(%rdi), %xmm1
+; SSE-NEXT: movapd 208(%rdi), %xmm0
+; SSE-NEXT: movapd 144(%rdi), %xmm2
+; SSE-NEXT: movapd 80(%rdi), %xmm4
+; SSE-NEXT: movapd 192(%rdi), %xmm3
+; SSE-NEXT: movapd 128(%rdi), %xmm5
+; SSE-NEXT: movapd 64(%rdi), %xmm8
+; SSE-NEXT: movapd 176(%rdi), %xmm7
+; SSE-NEXT: movapd (%rdi), %xmm10
+; SSE-NEXT: movapd 16(%rdi), %xmm9
+; SSE-NEXT: movapd 32(%rdi), %xmm6
+; SSE-NEXT: movapd 48(%rdi), %xmm12
+; SSE-NEXT: movapd 112(%rdi), %xmm11
+; SSE-NEXT: movapd 160(%rdi), %xmm13
+; SSE-NEXT: movapd %xmm13, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm11[0],xmm14[1]
+; SSE-NEXT: movapd %xmm12, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm10[0],xmm15[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm7[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm8[0]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm5[0],xmm7[1]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm9[0],xmm8[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm3[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm4[0]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm6[0],xmm4[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm1[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm13[0],xmm0[1]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; SSE-NEXT: movapd %xmm15, (%rsi)
+; SSE-NEXT: movapd %xmm14, 16(%rsi)
+; SSE-NEXT: movapd %xmm10, (%rdx)
+; SSE-NEXT: movapd %xmm11, 16(%rdx)
+; SSE-NEXT: movapd %xmm8, (%rcx)
+; SSE-NEXT: movapd %xmm7, 16(%rcx)
+; SSE-NEXT: movapd %xmm9, (%r8)
+; SSE-NEXT: movapd %xmm5, 16(%r8)
+; SSE-NEXT: movapd %xmm4, (%r9)
+; SSE-NEXT: movapd %xmm3, 16(%r9)
+; SSE-NEXT: movapd %xmm6, (%r10)
+; SSE-NEXT: movapd %xmm2, 16(%r10)
+; SSE-NEXT: movapd %xmm1, (%rax)
+; SSE-NEXT: movapd %xmm0, 16(%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride7_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm5[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd 16(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovapd 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm10 = mem[0],xmm3[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm10[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm5[0],ymm4[0],ymm5[3],ymm4[2]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm8[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm10[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm10 = xmm7[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm10[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm7 = ymm7[1],ymm9[0],ymm7[2],ymm9[2]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm2[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm9 = mem[0],xmm9[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm9[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm0[0],ymm2[3],ymm0[2]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm9[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm3[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovapd %ymm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, (%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%r10)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride7_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = mem[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm7 = ymm7[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm7[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq 128(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm6 = ymm8[1],ymm6[1],ymm8[3],ymm6[3]
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm5 = mem[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm5[2,3],ymm9[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm2[0,1,2,3,4,5],ymm8[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm2 = ymm2[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq %xmm1, %ymm1
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%r10)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i64_stride7_vf4:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <0,7,14,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <9,0,7,u>
+; AVX512F-SLOW-NEXT: vpermi2q %zmm5, %zmm4, %zmm1
+; AVX512F-SLOW-NEXT: vpbroadcastq 176(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpbroadcastq %xmm6, %ymm2
+; AVX512F-SLOW-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} ymm7 = mem[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} xmm6 = xmm6[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm7[2,3],ymm6[2,3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [4,11]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512F-SLOW-NEXT: vpalignr {{.*#+}} ymm8 = ymm8[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm8[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [5,12]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,4,11>
+; AVX512F-SLOW-NEXT: vpermi2q 192(%rdi), %zmm3, %zmm9
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [6,13]
+; AVX512F-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm7, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%r10)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm3, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i64_stride7_vf4:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-FAST-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512F-FAST-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,7,14,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <9,0,7,u>
+; AVX512F-FAST-NEXT: vpermi2q %zmm5, %zmm4, %zmm1
+; AVX512F-FAST-NEXT: vpbroadcastq 176(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,0,7>
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512F-FAST-NEXT: vpermi2q 160(%rdi), %ymm6, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vpalignr {{.*#+}} ymm7 = mem[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-FAST-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[2,3],ymm9[2,3]
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [4,11]
+; AVX512F-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512F-FAST-NEXT: vpalignr {{.*#+}} ymm6 = ymm6[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm6[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [5,12]
+; AVX512F-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,4,11>
+; AVX512F-FAST-NEXT: vpermi2q 192(%rdi), %zmm3, %zmm9
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [6,13]
+; AVX512F-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%r10)
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i64_stride7_vf4:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-SLOW-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <0,7,14,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm1
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <9,0,7,u>
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm5, %zmm4, %zmm1
+; AVX512BW-SLOW-NEXT: vpbroadcastq 176(%rdi), %ymm2
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vpbroadcastq %xmm6, %ymm2
+; AVX512BW-SLOW-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],mem[1],ymm2[3],mem[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} ymm7 = mem[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX512BW-SLOW-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} xmm6 = xmm6[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm7[2,3],ymm6[2,3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm7
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm8[0,1,2,3,4,5],ymm7[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [4,11]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512BW-SLOW-NEXT: vpalignr {{.*#+}} ymm8 = ymm8[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm8[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = [5,12]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,4,11>
+; AVX512BW-SLOW-NEXT: vpermi2q 192(%rdi), %zmm3, %zmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = [6,13]
+; AVX512BW-SLOW-NEXT: vpermi2q %zmm4, %zmm5, %zmm3
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm6, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm7, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm8, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm3, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i64_stride7_vf4:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512BW-FAST-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512BW-FAST-NEXT: vinserti128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,7,14,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <9,0,7,u>
+; AVX512BW-FAST-NEXT: vpermi2q %zmm5, %zmm4, %zmm1
+; AVX512BW-FAST-NEXT: vpbroadcastq 176(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,0,7>
+; AVX512BW-FAST-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512BW-FAST-NEXT: vpermi2q 160(%rdi), %ymm6, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],mem[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX512BW-FAST-NEXT: vpalignr {{.*#+}} ymm7 = mem[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512BW-FAST-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-FAST-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[2,3],ymm9[2,3]
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [4,11]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512BW-FAST-NEXT: vpalignr {{.*#+}} ymm6 = ymm6[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm6[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = [5,12]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,4,11>
+; AVX512BW-FAST-NEXT: vpermi2q 192(%rdi), %zmm3, %zmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = [6,13]
+; AVX512BW-FAST-NEXT: vpermi2q %zmm4, %zmm5, %zmm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm8, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm6, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <28 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 0, i32 7, i32 14, i32 21>
+ %strided.vec1 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 1, i32 8, i32 15, i32 22>
+ %strided.vec2 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 2, i32 9, i32 16, i32 23>
+ %strided.vec3 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 3, i32 10, i32 17, i32 24>
+ %strided.vec4 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 4, i32 11, i32 18, i32 25>
+ %strided.vec5 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 5, i32 12, i32 19, i32 26>
+ %strided.vec6 = shufflevector <28 x i64> %wide.vec, <28 x i64> poison, <4 x i32> <i32 6, i32 13, i32 20, i32 27>
+
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i64> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i64_stride7_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i64_stride7_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $88, %rsp
+; SSE-NEXT: movapd 320(%rdi), %xmm0
+; SSE-NEXT: movapd 208(%rdi), %xmm1
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movapd 144(%rdi), %xmm3
+; SSE-NEXT: movapd 304(%rdi), %xmm4
+; SSE-NEXT: movapd 192(%rdi), %xmm5
+; SSE-NEXT: movapd 240(%rdi), %xmm6
+; SSE-NEXT: movapd 128(%rdi), %xmm7
+; SSE-NEXT: movapd 288(%rdi), %xmm8
+; SSE-NEXT: movapd 176(%rdi), %xmm9
+; SSE-NEXT: movapd 336(%rdi), %xmm10
+; SSE-NEXT: movapd 224(%rdi), %xmm11
+; SSE-NEXT: movapd 272(%rdi), %xmm14
+; SSE-NEXT: movapd 112(%rdi), %xmm13
+; SSE-NEXT: movapd 160(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm15, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm13[0],xmm12[1]
+; SSE-NEXT: movapd %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm13 = xmm13[1],xmm9[0]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm7[0],xmm9[1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm5[0]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm3[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm1[0]
+; SSE-NEXT: movapd %xmm3, (%rsp) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm11[0],xmm15[1]
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm8[0]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm6[0],xmm8[1]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm4[0]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 384(%rdi), %xmm5
+; SSE-NEXT: movapd %xmm5, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm10[0],xmm14[1]
+; SSE-NEXT: movapd 400(%rdi), %xmm7
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm7[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 352(%rdi), %xmm8
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm8[0],xmm7[1]
+; SSE-NEXT: movapd 416(%rdi), %xmm9
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm9[0]
+; SSE-NEXT: movapd 368(%rdi), %xmm10
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm10[0],xmm9[1]
+; SSE-NEXT: movapd 432(%rdi), %xmm11
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm11[0]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm5[0],xmm11[1]
+; SSE-NEXT: movapd (%rdi), %xmm5
+; SSE-NEXT: movapd 48(%rdi), %xmm12
+; SSE-NEXT: movapd %xmm12, %xmm6
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm5[0],xmm6[1]
+; SSE-NEXT: movapd 64(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm0[0]
+; SSE-NEXT: movapd 16(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd 80(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm2[0]
+; SSE-NEXT: movapd 32(%rdi), %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm3[0],xmm2[1]
+; SSE-NEXT: movapd 96(%rdi), %xmm4
+; SSE-NEXT: shufpd {{.*#+}} xmm3 = xmm3[1],xmm4[0]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm12[0],xmm4[1]
+; SSE-NEXT: movapd %xmm6, (%rsi)
+; SSE-NEXT: movapd %xmm14, 48(%rsi)
+; SSE-NEXT: movapd %xmm15, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 16(%rsi)
+; SSE-NEXT: movapd %xmm5, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, 32(%rdx)
+; SSE-NEXT: movapd %xmm13, 16(%rdx)
+; SSE-NEXT: movapd %xmm0, (%rcx)
+; SSE-NEXT: movapd %xmm7, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movapd %xmm1, (%r8)
+; SSE-NEXT: movapd %xmm8, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movapd %xmm2, (%r9)
+; SSE-NEXT: movapd %xmm9, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm3, (%rax)
+; SSE-NEXT: movapd %xmm10, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm4, (%rax)
+; SSE-NEXT: movapd %xmm11, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: addq $88, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride7_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vmovapd 320(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, 384(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 224(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovapd 272(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm3 = xmm10[0],xmm1[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm7[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovapd 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm13 = mem[0],xmm4[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm13[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm6 = ymm6[0],ymm8[0],ymm6[3],ymm8[2]
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm10[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm7 = ymm7[0],ymm9[0],ymm7[3],ymm9[2]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = mem[8,9,10,11,12,13,14,15],xmm12[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm10[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm13[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vmovapd 240(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm14 = xmm13[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm14[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm15[0,1,2],ymm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm11[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm12[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vmovapd 304(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm13 = ymm13[1],ymm12[0],ymm13[2],ymm12[2]
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm13[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm11 = ymm11[1],ymm13[0],ymm11[2],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm14 = xmm14[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0,1],ymm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm0, %ymm14
+; AVX1-ONLY-NEXT: vmovapd 352(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm15[0,1,2],ymm14[3]
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm12 = xmm1[0],xmm12[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm12[0,1],ymm14[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm14[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm13 = mem[0],xmm13[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm13[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm15 = ymm15[0],ymm13[0],ymm15[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm15[2,3]
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm14 = ymm14[0],ymm15[0],ymm14[3],ymm15[2]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm5[0,1],ymm14[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm13 = mem[0,1,2],ymm13[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm15[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm4 = xmm4[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, (%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, (%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm10, 32(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, (%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm12, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm5, (%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm3, (%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 32(%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride7_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm13[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = mem[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm7 = ymm7[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm7[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm13[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm8 = ymm8[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],ymm8[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm14 = mem[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq 352(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm9 = ymm14[1],ymm9[1],ymm14[3],ymm9[3]
+; AVX2-ONLY-NEXT: vmovdqa 240(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = xmm14[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm14[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq 128(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm11 = ymm14[1],ymm11[1],ymm14[3],ymm11[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = mem[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm13[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm12 = mem[8,9,10,11,12,13,14,15],ymm12[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm12[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm14 = mem[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm12 = ymm12[2,3],ymm14[2,3]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = mem[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm15 = mem[8,9,10,11,12,13,14,15],xmm14[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm10 = ymm10[2,3],ymm15[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm15[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm0[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm6[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm15 = xmm15[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm15[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm14 = ymm14[8,9,10,11,12,13,14,15],ymm15[0,1,2,3,4,5,6,7],ymm14[24,25,26,27,28,29,30,31],ymm15[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = mem[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm14[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm6 = ymm14[1],ymm6[1],ymm14[3],ymm6[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq %xmm4, %ymm2
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm15[1],ymm2[3],ymm15[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm4, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm12, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, 32(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, (%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride7_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm3 = <0,7,14,u>
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm5, %zmm3
+; AVX512F-NEXT: movb $24, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm3 {%k1} = zmm7[0,1,4,5],zmm6[4,5,0,1]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [10,3,10,3,10,3,10,3]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,9,0,5,6,9]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm8, %zmm9
+; AVX512F-NEXT: movb $-32, %al
+; AVX512F-NEXT: kmovw %eax, %k2
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm3 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [11,4,11,4,11,4,11,4]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,10,0,5,6,10]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm8, %zmm9
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [13,6,13,6,13,6,13,6]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [14,0,0,7,14,0,0,7]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm7, %zmm10
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm11
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm11, %zmm10, %zmm10
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [7,0,9,0,7,0,9,0]
+; AVX512F-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm7, %zmm6, %zmm13
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm11
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm11 = mem[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm11, %xmm14
+; AVX512F-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm12
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm15 = [4,11]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm5, %zmm15
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm15[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,4,11>
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm7, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm8, %zmm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <9,0,7,u>
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm2, %zmm6
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm6 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm6 {%k2}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [12,5,12,5,12,5,12,5]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,11,0,5,6,11]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm7, %zmm9
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm10 {%k2}
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,5,6,12,0,5,6,12]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm8, %zmm7
+; AVX512F-NEXT: vinserti32x4 $0, %xmm14, %zmm13, %zmm8
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm8 {%k2}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,7,14,0,0,7,14,0]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [4,5,6,13,4,5,6,13]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm7, %zmm9
+; AVX512F-NEXT: vinserti64x4 $0, %ymm12, %zmm9, %zmm7
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [9,0,7,0,9,0,7,0]
+; AVX512F-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm1, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [4,5,6,14,4,5,6,14]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm9, %zmm12
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm9 = ymm11[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm11 = [5,12]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm5, %zmm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm9, %zmm12, %zmm9
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm11 = [2,9,2,9,2,9,2,9]
+; AVX512F-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm1, %zmm4, %zmm11
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [4,5,8,15,4,5,8,15]
+; AVX512F-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm11, %zmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = [6,13]
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm5, %zmm0
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm15[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm3, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride7_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = <0,7,14,u>
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm5, %zmm3
+; AVX512BW-NEXT: movb $24, %r11b
+; AVX512BW-NEXT: kmovd %r11d, %k1
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm3 {%k1} = zmm7[0,1,4,5],zmm6[4,5,0,1]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [10,3,10,3,10,3,10,3]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,9,0,5,6,9]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm8, %zmm9
+; AVX512BW-NEXT: movb $-32, %r11b
+; AVX512BW-NEXT: kmovd %r11d, %k2
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm3 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [11,4,11,4,11,4,11,4]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,10,0,5,6,10]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm8, %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [13,6,13,6,13,6,13,6]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm10 = [14,0,0,7,14,0,0,7]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm7, %zmm10
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm11, %zmm10, %zmm10
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [7,0,9,0,7,0,9,0]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm7, %zmm6, %zmm13
+; AVX512BW-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm12
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm12 = ymm11[0,1,2,3,4,5],ymm12[6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm14 = [4,11]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm5, %zmm14
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3],ymm12[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,4,11>
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm7, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm8, %zmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <9,0,7,u>
+; AVX512BW-NEXT: vpermi2q %zmm5, %zmm2, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm6 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm6 {%k2}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [12,5,12,5,12,5,12,5]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [0,5,6,11,0,5,6,11]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm7, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm10 {%k2}
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm8
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,5,6,12,0,5,6,12]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm8, %zmm7
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm8
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm8 = mem[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm8, %zmm13, %zmm8
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm8 {%k2}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm7 = [0,7,14,0,0,7,14,0]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [4,5,6,13,4,5,6,13]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm7, %zmm9
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm12, %zmm9, %zmm7
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm9 = [9,0,7,0,9,0,7,0]
+; AVX512BW-NEXT: # zmm9 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm1, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm12 = [4,5,6,14,4,5,6,14]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm9, %zmm12
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm9 = ymm11[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = [5,12]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm5, %zmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm12, %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm11 = [2,9,2,9,2,9,2,9]
+; AVX512BW-NEXT: # zmm11 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm1, %zmm4, %zmm11
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm1 = [4,5,8,15,4,5,8,15]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm11, %zmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = [6,13]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm5, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <56 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49>
+ %strided.vec1 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50>
+ %strided.vec2 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51>
+ %strided.vec3 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52>
+ %strided.vec4 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53>
+ %strided.vec5 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54>
+ %strided.vec6 = shufflevector <56 x i64> %wide.vec, <56 x i64> poison, <8 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55>
+
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i64> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i64_stride7_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i64_stride7_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $536, %rsp # imm = 0x218
+; SSE-NEXT: movapd 208(%rdi), %xmm0
+; SSE-NEXT: movapd 96(%rdi), %xmm1
+; SSE-NEXT: movapd 144(%rdi), %xmm2
+; SSE-NEXT: movapd 192(%rdi), %xmm3
+; SSE-NEXT: movapd 80(%rdi), %xmm4
+; SSE-NEXT: movapd 128(%rdi), %xmm5
+; SSE-NEXT: movapd 176(%rdi), %xmm7
+; SSE-NEXT: movapd 64(%rdi), %xmm9
+; SSE-NEXT: movapd (%rdi), %xmm10
+; SSE-NEXT: movapd 16(%rdi), %xmm8
+; SSE-NEXT: movapd 32(%rdi), %xmm6
+; SSE-NEXT: movapd 48(%rdi), %xmm15
+; SSE-NEXT: movapd 112(%rdi), %xmm11
+; SSE-NEXT: movapd 160(%rdi), %xmm14
+; SSE-NEXT: movapd 224(%rdi), %xmm12
+; SSE-NEXT: movapd %xmm15, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm10[0],xmm13[1]
+; SSE-NEXT: movapd %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm9[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm8[0],xmm9[1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm4[0]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm6[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm1[0]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm15[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm14, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm7[0]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm5[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm3[0]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm14[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 272(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm12 = xmm12[1],xmm1[0]
+; SSE-NEXT: movapd %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 240(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 304(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movapd 384(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movapd 400(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 352(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 416(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 432(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 448(%rdi), %xmm2
+; SSE-NEXT: movapd 496(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 512(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 464(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 528(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 544(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 560(%rdi), %xmm11
+; SSE-NEXT: movapd 608(%rdi), %xmm2
+; SSE-NEXT: movapd %xmm2, %xmm0
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm11[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 624(%rdi), %xmm15
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm15[0]
+; SSE-NEXT: movapd 576(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm1[0],xmm15[1]
+; SSE-NEXT: movapd 640(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm0[0]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 592(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 656(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm0[0]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 672(%rdi), %xmm5
+; SSE-NEXT: movapd 720(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm12
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm5[0],xmm12[1]
+; SSE-NEXT: movapd 736(%rdi), %xmm7
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm7[0]
+; SSE-NEXT: movapd 688(%rdi), %xmm8
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm8[0],xmm7[1]
+; SSE-NEXT: movapd 752(%rdi), %xmm13
+; SSE-NEXT: shufpd {{.*#+}} xmm8 = xmm8[1],xmm13[0]
+; SSE-NEXT: movapd 704(%rdi), %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm14[0],xmm13[1]
+; SSE-NEXT: movapd 768(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm14 = xmm14[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 784(%rdi), %xmm4
+; SSE-NEXT: movapd 832(%rdi), %xmm10
+; SSE-NEXT: movapd %xmm10, %xmm3
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm4[0],xmm3[1]
+; SSE-NEXT: movapd 848(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm4 = xmm4[1],xmm0[0]
+; SSE-NEXT: movapd 800(%rdi), %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd 864(%rdi), %xmm2
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm2[0]
+; SSE-NEXT: movapd 816(%rdi), %xmm6
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm6[0],xmm2[1]
+; SSE-NEXT: movapd 880(%rdi), %xmm9
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm9[0]
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm10[0],xmm9[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, (%rsi)
+; SSE-NEXT: movapd %xmm3, 112(%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rsi)
+; SSE-NEXT: movapd %xmm12, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rsi)
+; SSE-NEXT: movapd %xmm11, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movapd %xmm4, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rdx)
+; SSE-NEXT: movapd %xmm5, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movapd %xmm15, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 64(%rcx)
+; SSE-NEXT: movapd %xmm0, 112(%rcx)
+; SSE-NEXT: movapd %xmm7, 96(%rcx)
+; SSE-NEXT: movapd %xmm1, 112(%r8)
+; SSE-NEXT: movapd %xmm8, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm2, 112(%r9)
+; SSE-NEXT: movapd %xmm13, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm6, 112(%rax)
+; SSE-NEXT: movapd %xmm14, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm9, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $536, %rsp # imm = 0x218
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride7_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $552, %rsp # imm = 0x228
+; AVX1-ONLY-NEXT: vmovapd 544(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, 384(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm6 = xmm5[0,1],xmm6[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 832(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 720(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm7 = xmm6[0,1],xmm7[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm1[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovapd 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm7 = mem[0],xmm7[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm7[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 608(%rdi), %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm0[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovapd 448(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovapd 496(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = xmm7[0],xmm8[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm8[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm5[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm3[0],ymm5[0],ymm3[3],ymm5[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 736(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm6[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 832(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[0],ymm4[0],ymm2[3],ymm4[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[0],ymm6[0],ymm1[3],ymm6[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm0[0],ymm9[0],ymm0[3],ymm9[2]
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm7[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 800(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovapd 688(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm4[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm5[3]
+; AVX1-ONLY-NEXT: vmovapd 240(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm5[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm6[3]
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm6[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm9[3]
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm12[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm9[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 752(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm4[1],ymm11[0],ymm4[2],ymm11[2]
+; AVX1-ONLY-NEXT: vmovdqa 864(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm9[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 304(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm5[1],ymm7[0],ymm5[2],ymm7[2]
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm5[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm6[1],ymm8[0],ymm6[2],ymm8[2]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm5[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 528(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm12[1],ymm4[0],ymm12[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 640(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm13 = ymm5[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovapd 352(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm5[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm7 = xmm3[0],xmm7[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm7[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovapd 800(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm10[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd 704(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm11 = xmm7[0],xmm11[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm11[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm9[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm6 = mem[0],xmm8[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm6[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm4 = xmm8[0],xmm4[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm6 = ymm4[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm5[0],ymm4[0],ymm5[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm5 = ymm3[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovapd 864(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm10 = ymm10[0],ymm3[0],ymm10[3],ymm3[2]
+; AVX1-ONLY-NEXT: vmovdqa 768(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm7[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 640(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[0],ymm10[0],ymm1[3],ymm10[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm8[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm9[0],ymm1[0],ymm9[3],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm15 = mem[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm15[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = mem[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = mem[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm15 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = mem[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm1[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm1[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm3 = xmm3[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm3[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovapd %ymm13, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX1-ONLY-NEXT: vmovapd %ymm6, 64(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, (%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm12, 96(%r9)
+; AVX1-ONLY-NEXT: vmovapd %ymm14, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm9, (%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 64(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 96(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm5, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 64(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm15, 96(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: addq $552, %rsp # imm = 0x228
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride7_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $504, %rsp # imm = 0x1F8
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm5[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 672(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 720(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm6[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = mem[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm0[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa 496(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm7[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm5[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm6[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm2 = ymm2[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm0[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 800(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm4[1],ymm0[3],ymm4[3]
+; AVX2-ONLY-NEXT: vmovdqa 688(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm5[1],ymm0[3],ymm5[3]
+; AVX2-ONLY-NEXT: vmovdqa 240(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm2[1],ymm0[3],ymm2[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = mem[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 576(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = mem[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm15 = ymm0[2,3],ymm5[2,3]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm7[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 800(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 704(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm8[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm14 = xmm0[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm7 = ymm7[8,9,10,11,12,13,14,15],ymm14[0,1,2,3,4,5,6,7],ymm7[24,25,26,27,28,29,30,31],ymm14[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = xmm9[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm9[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm6 = ymm6[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm6[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm10[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = mem[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm13[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm13 = ymm13[1],ymm14[1],ymm13[3],ymm14[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = mem[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm2[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm9[1],ymm2[3],ymm9[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = mem[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm2[1],ymm0[1],ymm2[3],ymm0[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm8[1],ymm2[3],ymm8[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm15, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 64(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, 96(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, (%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 64(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 96(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 64(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, 96(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm14, 32(%rax)
+; AVX2-ONLY-NEXT: addq $504, %rsp # imm = 0x1F8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride7_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm28
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm30
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm25
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm24
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm14
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm27
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm26
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = <0,7,14,u>
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm29
+; AVX512F-NEXT: vpermt2q %zmm26, %zmm7, %zmm29
+; AVX512F-NEXT: movb $24, %r11b
+; AVX512F-NEXT: kmovw %r11d, %k2
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm29 {%k2} = zmm10[0,1,4,5],zmm27[4,5,0,1]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm16 = [10,3,10,3,10,3,10,3]
+; AVX512F-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm16, %zmm17
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [0,5,6,9,0,5,6,9]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm18, %zmm17
+; AVX512F-NEXT: movb $-32, %r11b
+; AVX512F-NEXT: kmovw %r11d, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm17, %zmm29 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm24, %zmm6, %zmm7
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm7 {%k2} = zmm2[0,1,4,5],zmm25[4,5,0,1]
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm0, %zmm16
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm18, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm7 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [11,4,11,4,11,4,11,4]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm18, %zmm19
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [0,5,6,10,0,5,6,10]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm20, %zmm19
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm22 = [13,6,13,6,13,6,13,6]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm22, %zmm21
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = <9,0,7,u>
+; AVX512F-NEXT: vmovdqa64 %zmm26, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm16, %zmm17
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm17 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm17 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm0, %zmm18
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm20, %zmm18
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm22, %zmm19
+; AVX512F-NEXT: vpermi2q %zmm6, %zmm24, %zmm16
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm16 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm16 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [12,5,12,5,12,5,12,5]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm20, %zmm19
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,5,6,11,0,5,6,11]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm21, %zmm19
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [14,0,0,7,14,0,0,7]
+; AVX512F-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm18
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm23, %zmm18
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm4, %zmm18, %zmm18
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm18 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm0, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm21, %zmm20
+; AVX512F-NEXT: vpermi2q %zmm25, %zmm2, %zmm23
+; AVX512F-NEXT: vmovdqa 464(%rdi), %xmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm4, %zmm23, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm19 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm22, %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,5,6,12,0,5,6,12]
+; AVX512F-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm21, %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [7,0,9,0,7,0,9,0]
+; AVX512F-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm27, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm23, %zmm20
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm5 = mem[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512F-NEXT: vinserti32x4 $0, %xmm5, %zmm20, %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm20 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm0, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm21, %zmm22
+; AVX512F-NEXT: vpermi2q %zmm2, %zmm25, %zmm23
+; AVX512F-NEXT: vmovdqa 512(%rdi), %ymm4
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm4 = mem[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512F-NEXT: vinserti32x4 $0, %xmm4, %zmm23, %zmm21
+; AVX512F-NEXT: vmovdqa64 %zmm22, %zmm21 {%k1}
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,7,14,0,0,7,14,0]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm4, %zmm5
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [4,5,6,13,4,5,6,13]
+; AVX512F-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm23, %zmm5
+; AVX512F-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm12
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm13
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm3 = [4,11]
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm26, %zmm3, %zmm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm11, %zmm5, %zmm22
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm0, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm23, %zmm4
+; AVX512F-NEXT: vinserti128 $1, 640(%rdi), %ymm0, %ymm5
+; AVX512F-NEXT: vmovdqa 576(%rdi), %ymm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3,4,5],ymm5[6,7]
+; AVX512F-NEXT: vpermi2q %zmm24, %zmm6, %zmm3
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm3, %zmm4, %zmm23
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [9,0,7,0,9,0,7,0]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm3, %zmm4
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm5 = [4,5,6,14,4,5,6,14]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm5, %zmm4
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm12
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm12 = ymm13[8,9,10,11,12,13,14,15],ymm12[0,1,2,3,4,5,6,7],ymm13[24,25,26,27,28,29,30,31],ymm12[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm13 = [5,12]
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm26, %zmm13, %zmm8
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm4, %zmm31
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm30, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm5, %zmm3
+; AVX512F-NEXT: vmovdqa 640(%rdi), %ymm5
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm5 = ymm11[8,9,10,11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vpermi2q %zmm24, %zmm6, %zmm13
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm5, %zmm3, %zmm3
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [2,9,2,9,2,9,2,9]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm15, %zmm5, %zmm9
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [4,5,8,15,4,5,8,15]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm8, %zmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,4,11>
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm11, %zmm10
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm12 = [6,13]
+; AVX512F-NEXT: vpermt2q %zmm26, %zmm12, %zmm1
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm1, %zmm9, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm30, %zmm5, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm28, %zmm8, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm11, %zmm2
+; AVX512F-NEXT: vpermt2q %zmm24, %zmm12, %zmm6
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm2, %zmm0, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm29, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm16, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm19, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm21, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm20, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm23, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm22, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm3, 64(%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm31, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride7_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm30
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm31
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm26
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm24
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm14
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm28
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm27
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm7 = <0,7,14,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm7, %zmm29
+; AVX512BW-NEXT: movb $24, %r11b
+; AVX512BW-NEXT: kmovd %r11d, %k2
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm29 {%k2} = zmm10[0,1,4,5],zmm28[4,5,0,1]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm16 = [10,3,10,3,10,3,10,3]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm16, %zmm17
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [0,5,6,9,0,5,6,9]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm18, %zmm17
+; AVX512BW-NEXT: movb $-32, %r11b
+; AVX512BW-NEXT: kmovd %r11d, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm17, %zmm29 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm24, %zmm6, %zmm7
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm7 {%k2} = zmm2[0,1,4,5],zmm26[4,5,0,1]
+; AVX512BW-NEXT: vpermi2q %zmm31, %zmm0, %zmm16
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm18, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm7 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [11,4,11,4,11,4,11,4]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm18, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [0,5,6,10,0,5,6,10]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm20, %zmm19
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm22 = [13,6,13,6,13,6,13,6]
+; AVX512BW-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm22, %zmm21
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = <9,0,7,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm27, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm16, %zmm17
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm17 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm17 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm31, %zmm0, %zmm18
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm20, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm26, %zmm22, %zmm19
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm24, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm16 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm16 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [12,5,12,5,12,5,12,5]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm20, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,5,6,11,0,5,6,11]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm21, %zmm19
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [14,0,0,7,14,0,0,7]
+; AVX512BW-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm18
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm23, %zmm18
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm4, %zmm18, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm18 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm31, %zmm0, %zmm20
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm21, %zmm20
+; AVX512BW-NEXT: vpermi2q %zmm26, %zmm2, %zmm23
+; AVX512BW-NEXT: vmovdqa 464(%rdi), %xmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm4, %zmm23, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm19 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm22, %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm21 = [0,5,6,12,0,5,6,12]
+; AVX512BW-NEXT: # zmm21 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm21, %zmm4
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [7,0,9,0,7,0,9,0]
+; AVX512BW-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm28, %zmm20
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm23, %zmm20
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %ymm25
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm25 = mem[8,9,10,11,12,13,14,15],ymm25[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm25[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm25, %xmm25
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm25, %zmm20, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm20 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm31, %zmm0, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm21, %zmm22
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm26, %zmm23
+; AVX512BW-NEXT: vmovdqa 512(%rdi), %ymm4
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm4 = mem[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm4, %zmm23, %zmm21
+; AVX512BW-NEXT: vmovdqa64 %zmm22, %zmm21 {%k1}
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [0,7,14,0,0,7,14,0]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm4, %zmm22
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm23 = [4,5,6,13,4,5,6,13]
+; AVX512BW-NEXT: # zmm23 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm23, %zmm22
+; AVX512BW-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm5
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm12[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm13 = [4,11]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm13, %zmm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm22, %zmm22
+; AVX512BW-NEXT: vpermi2q %zmm31, %zmm0, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm23, %zmm4
+; AVX512BW-NEXT: vinserti128 $1, 640(%rdi), %ymm0, %ymm5
+; AVX512BW-NEXT: vmovdqa 576(%rdi), %ymm11
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-NEXT: vpermi2q %zmm24, %zmm6, %zmm13
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm4, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm4 = [9,0,7,0,9,0,7,0]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm4, %zmm5
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm13 = [4,5,6,14,4,5,6,14]
+; AVX512BW-NEXT: # zmm13 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm13, %zmm5
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %ymm25
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm12 = ymm12[8,9,10,11,12,13,14,15],ymm25[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm25[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = [5,12]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm3, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm8, %zmm5, %zmm5
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm31, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm13, %zmm4
+; AVX512BW-NEXT: vmovdqa 640(%rdi), %ymm8
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm8 = ymm11[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vpermi2q %zmm24, %zmm6, %zmm3
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm3, %zmm4, %zmm3
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm4 = [2,9,2,9,2,9,2,9]
+; AVX512BW-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm4, %zmm9
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm8 = [4,5,8,15,4,5,8,15]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm8, %zmm9
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,4,11>
+; AVX512BW-NEXT: vpermt2q %zmm28, %zmm11, %zmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm12 = [6,13]
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm12, %zmm1
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm9, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm31, %zmm4, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm8, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm26, %zmm11, %zmm2
+; AVX512BW-NEXT: vpermt2q %zmm24, %zmm12, %zmm6
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm2, %zmm0, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm16, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm21, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm20, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, 64(%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <112 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105>
+ %strided.vec1 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106>
+ %strided.vec2 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107>
+ %strided.vec3 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108>
+ %strided.vec4 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109>
+ %strided.vec5 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110>
+ %strided.vec6 = shufflevector <112 x i64> %wide.vec, <112 x i64> poison, <16 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111>
+
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i64> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i64_stride7_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i64_stride7_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1448, %rsp # imm = 0x5A8
+; SSE-NEXT: movapd 208(%rdi), %xmm0
+; SSE-NEXT: movapd 96(%rdi), %xmm1
+; SSE-NEXT: movapd 144(%rdi), %xmm2
+; SSE-NEXT: movapd 192(%rdi), %xmm3
+; SSE-NEXT: movapd 80(%rdi), %xmm4
+; SSE-NEXT: movapd 128(%rdi), %xmm5
+; SSE-NEXT: movapd 64(%rdi), %xmm8
+; SSE-NEXT: movapd 176(%rdi), %xmm9
+; SSE-NEXT: movapd (%rdi), %xmm10
+; SSE-NEXT: movapd 16(%rdi), %xmm7
+; SSE-NEXT: movapd 32(%rdi), %xmm6
+; SSE-NEXT: movapd 48(%rdi), %xmm14
+; SSE-NEXT: movapd 224(%rdi), %xmm11
+; SSE-NEXT: movapd 112(%rdi), %xmm12
+; SSE-NEXT: movapd 160(%rdi), %xmm15
+; SSE-NEXT: movapd %xmm14, %xmm13
+; SSE-NEXT: movsd {{.*#+}} xmm13 = xmm10[0],xmm13[1]
+; SSE-NEXT: movapd %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm10 = xmm10[1],xmm8[0]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm7[0],xmm8[1]
+; SSE-NEXT: movapd %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm7 = xmm7[1],xmm4[0]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm6[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm1[0]
+; SSE-NEXT: movapd %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm14[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm15, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm12[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm12 = xmm12[1],xmm9[0]
+; SSE-NEXT: movapd %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm9 = xmm5[0],xmm9[1]
+; SSE-NEXT: movapd %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm3[0]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm2[0],xmm3[1]
+; SSE-NEXT: movapd %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm15[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 272(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm11[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 288(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm1[0]
+; SSE-NEXT: movapd %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 240(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 304(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 256(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 320(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 336(%rdi), %xmm2
+; SSE-NEXT: movapd 384(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 400(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 352(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 416(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 368(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 432(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 448(%rdi), %xmm2
+; SSE-NEXT: movapd 496(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 512(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 464(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 528(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 480(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 544(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 560(%rdi), %xmm2
+; SSE-NEXT: movapd 608(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 624(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 576(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 640(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 592(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 656(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 672(%rdi), %xmm2
+; SSE-NEXT: movapd 720(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 736(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 688(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 752(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 704(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 768(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 784(%rdi), %xmm2
+; SSE-NEXT: movapd 832(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 848(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 800(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 864(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 816(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 880(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 896(%rdi), %xmm2
+; SSE-NEXT: movapd 944(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 960(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 912(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 976(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 928(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 992(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1008(%rdi), %xmm2
+; SSE-NEXT: movapd 1056(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1072(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1024(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1088(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1040(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1104(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1120(%rdi), %xmm2
+; SSE-NEXT: movapd 1168(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1184(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1136(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1200(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1152(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1216(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1232(%rdi), %xmm2
+; SSE-NEXT: movapd 1280(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1296(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1248(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1312(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1264(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1328(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1344(%rdi), %xmm13
+; SSE-NEXT: movapd 1392(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm1
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm13[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1408(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm13 = xmm13[1],xmm1[0]
+; SSE-NEXT: movapd 1360(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1424(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1376(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1440(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1456(%rdi), %xmm9
+; SSE-NEXT: movapd 1504(%rdi), %xmm1
+; SSE-NEXT: movapd %xmm1, %xmm14
+; SSE-NEXT: movsd {{.*#+}} xmm14 = xmm9[0],xmm14[1]
+; SSE-NEXT: movapd 1520(%rdi), %xmm12
+; SSE-NEXT: shufpd {{.*#+}} xmm9 = xmm9[1],xmm12[0]
+; SSE-NEXT: movapd 1472(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm2[0],xmm12[1]
+; SSE-NEXT: movapd 1536(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1488(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1552(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm0[0]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm1[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1568(%rdi), %xmm5
+; SSE-NEXT: movapd 1616(%rdi), %xmm0
+; SSE-NEXT: movapd %xmm0, %xmm7
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm5[0],xmm7[1]
+; SSE-NEXT: movapd 1632(%rdi), %xmm8
+; SSE-NEXT: shufpd {{.*#+}} xmm5 = xmm5[1],xmm8[0]
+; SSE-NEXT: movapd 1584(%rdi), %xmm11
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm11[0],xmm8[1]
+; SSE-NEXT: movapd 1648(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm11 = xmm11[1],xmm1[0]
+; SSE-NEXT: movapd 1600(%rdi), %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm2[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1664(%rdi), %xmm1
+; SSE-NEXT: shufpd {{.*#+}} xmm2 = xmm2[1],xmm1[0]
+; SSE-NEXT: movapd %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd 1680(%rdi), %xmm1
+; SSE-NEXT: movapd 1728(%rdi), %xmm4
+; SSE-NEXT: movapd %xmm4, %xmm2
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm1[0],xmm2[1]
+; SSE-NEXT: movapd 1744(%rdi), %xmm3
+; SSE-NEXT: shufpd {{.*#+}} xmm1 = xmm1[1],xmm3[0]
+; SSE-NEXT: movapd 1696(%rdi), %xmm6
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm6[0],xmm3[1]
+; SSE-NEXT: movapd 1760(%rdi), %xmm10
+; SSE-NEXT: shufpd {{.*#+}} xmm6 = xmm6[1],xmm10[0]
+; SSE-NEXT: movapd 1712(%rdi), %xmm15
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm15[0],xmm10[1]
+; SSE-NEXT: movapd 1776(%rdi), %xmm0
+; SSE-NEXT: shufpd {{.*#+}} xmm15 = xmm15[1],xmm0[0]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm4[0],xmm0[1]
+; SSE-NEXT: movapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movapd %xmm7, 224(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rsi)
+; SSE-NEXT: movapd %xmm2, 240(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 128(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movapd %xmm14, 208(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 144(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movapd %xmm5, 224(%rdx)
+; SSE-NEXT: movapd %xmm1, 240(%rdx)
+; SSE-NEXT: movapd %xmm13, 192(%rdx)
+; SSE-NEXT: movapd %xmm9, 208(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movapd %xmm3, 240(%rcx)
+; SSE-NEXT: movapd %xmm8, 224(%rcx)
+; SSE-NEXT: movapd %xmm12, 208(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movapd %xmm6, 240(%r8)
+; SSE-NEXT: movapd %xmm11, 224(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movapd %xmm10, 240(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm15, 240(%rax)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 240(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 224(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 208(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 192(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 176(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 160(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 144(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 128(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $1448, %rsp # imm = 0x5A8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride7_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $1720, %rsp # imm = 0x6B8
+; AVX1-ONLY-NEXT: vmovaps 1216(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovups %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, 384(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm4 = xmm3[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 832(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 720(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm4[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1280(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 1120(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 1168(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm5 = xmm6[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1664(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1728(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 1568(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 1616(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} xmm8 = xmm7[0,1],xmm0[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 96(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, 160(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm14[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = mem[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm8[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 544(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, 608(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm9[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 448(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovapd 496(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = xmm11[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm8[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 992(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1056(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm12[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 896(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovapd 944(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = xmm13[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm8[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1440(%rdi), %ymm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, 1504(%rdi), %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm15[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 1344(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovapd 1392(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovapd %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm0 = xmm2[0],xmm0[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm3[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 384(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm3 = ymm10[0],ymm8[0],ymm10[3],ymm8[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 736(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm4[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 832(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[0],ymm3[0],ymm1[3],ymm3[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 1184(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm6[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 1280(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm4[0],ymm1[0],ymm4[3],ymm1[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 1632(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm7[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 1728(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm5 = ymm5[0],ymm4[0],ymm5[3],ymm4[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 160(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm14[0],ymm5[0],ymm14[3],ymm5[2]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = mem[8,9,10,11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 608(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm9[0],ymm14[0],ymm9[3],ymm14[2]
+; AVX1-ONLY-NEXT: vmovdqa 512(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = xmm11[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1056(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm0 = ymm12[0],ymm11[0],ymm12[3],ymm11[2]
+; AVX1-ONLY-NEXT: vmovdqa 960(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = xmm13[8,9,10,11,12,13,14,15],xmm12[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1504(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm6 = ymm15[0],ymm13[0],ymm15[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 1408(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm6[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1,2],ymm8[3]
+; AVX1-ONLY-NEXT: vmovapd 240(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm8 = xmm9[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm8[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 800(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm2[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovapd 688(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm15 = xmm2[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm15[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1248(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd 1136(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm15 = xmm1[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm15[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1696(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovapd 1584(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm4 = xmm15[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm4[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 1472(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm3[0,1,2],ymm13[3]
+; AVX1-ONLY-NEXT: vmovdqa 1360(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm13[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm5[3]
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 576(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1,2],ymm14[3]
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm14[0,1,2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm3[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 1024(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm0[0,1,2],ymm11[3]
+; AVX1-ONLY-NEXT: vmovdqa 912(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 304(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm9[1],ymm7[0],ymm9[2],ymm7[2]
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm6[8,9,10,11,12,13,14,15],xmm12[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm4[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 752(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm2[1],ymm5[0],ymm2[2],ymm5[2]
+; AVX1-ONLY-NEXT: vmovdqa 864(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm8[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1200(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm1[1],ymm2[0],ymm1[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovdqa 1312(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1648(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm15[1],ymm1[0],ymm15[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 1760(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1424(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm13[1],ymm1[0],ymm13[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 1536(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm2 = mem[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 976(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm1 = ymm0[1],ymm4[0],ymm0[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 1088(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm3[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 528(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm2 = ymm14[1],ymm1[0],ymm14[2],ymm1[2]
+; AVX1-ONLY-NEXT: vmovdqa 640(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm10[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm10 = ymm10[1],ymm2[0],ymm10[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm10[0,1],ymm13[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vmovapd 128(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm10 = ymm13[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm2 = mem[0],xmm2[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm2[0,1],ymm10[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovapd 352(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm11[0,1,2],ymm2[3]
+; AVX1-ONLY-NEXT: vmovapd 256(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm7 = xmm15[0],xmm7[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm7[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vmovapd 576(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm3[0,1,2],ymm2[3]
+; AVX1-ONLY-NEXT: vmovapd 480(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm1 = xmm3[0],xmm1[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm9, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovapd 800(%rdi), %ymm12
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm12[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd 704(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm5 = xmm1[0],xmm5[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm5[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovapd 1024(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm14[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 928(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm4 = xmm2[0],xmm4[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovapd 1248(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm6[0,1,2],ymm0[3]
+; AVX1-ONLY-NEXT: vmovapd 1152(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vblendpd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9, %xmm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm4 = xmm9[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm4[0,1],ymm0[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovaps 1472(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm10[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vmovaps 1376(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vblendps $12, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = xmm0[0,1],mem[2,3]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovapd 1696(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm8[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vmovapd 1600(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vblendpd $2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm7 = xmm5[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm7[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 192(%rdi), %ymm7
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm13[0],ymm7[0],ymm13[3],ymm7[2]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = mem[8,9,10,11,12,13,14,15],xmm13[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm13[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 416(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm4 = ymm11[0],ymm13[0],ymm11[3],ymm13[2]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm15 = xmm15[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm15[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 544(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm3[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 640(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovupd {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm15 = ymm3[0],ymm5[0],ymm3[3],ymm5[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm4[0,1],ymm15[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 864(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm12 = ymm12[0],ymm4[0],ymm12[3],ymm4[2]
+; AVX1-ONLY-NEXT: vmovdqa 768(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm1[0,1],ymm12[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 992(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm2 = xmm2[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 1088(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm12 = ymm14[0],ymm3[0],ymm14[3],ymm3[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm2[0,1],ymm12[2,3]
+; AVX1-ONLY-NEXT: vmovupd %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovapd 1312(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm12 = ymm6[0],ymm2[0],ymm6[3],ymm2[2]
+; AVX1-ONLY-NEXT: vmovdqa 1216(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = xmm9[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm14 = ymm9[0,1],ymm12[2,3]
+; AVX1-ONLY-NEXT: vmovdqa 1440(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovapd 1536(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm9 = ymm10[0],ymm1[0],ymm10[3],ymm1[2]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm9 = ymm0[0,1],ymm9[2,3]
+; AVX1-ONLY-NEXT: vmovapd 1760(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vshufpd {{.*#+}} ymm8 = ymm8[0],ymm10[0],ymm8[3],ymm10[2]
+; AVX1-ONLY-NEXT: vmovdqa 1664(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm8 = ymm12[0,1],ymm8[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = mem[0,1,2],ymm7[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm12 = xmm12[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm12 = ymm12[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm7 = mem[0,1,2],ymm13[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11, %xmm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm11 = mem[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm7 = ymm11[0,1],ymm7[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = mem[0,1,2],ymm5[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm11 = xmm11[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm11 = ymm11[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm4 = mem[0,1,2],ymm4[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,2,3],xmm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm4 = ymm5[0,1],ymm4[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm3 = mem[0,1,2],ymm3[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm5 = xmm5[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm3 = ymm5[0,1],ymm3[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm2 = mem[0,1,2],ymm2[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm5 = mem[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm2 = ymm5[0,1],ymm2[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = mem[0,1,2],ymm1[3]
+; AVX1-ONLY-NEXT: vmovapd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} xmm5 = xmm5[0],mem[1]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm1 = ymm5[0,1],ymm1[2,3]
+; AVX1-ONLY-NEXT: vblendpd $7, {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm5 = mem[0,1,2],ymm10[3]
+; AVX1-ONLY-NEXT: vpblendw $15, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendpd {{.*#+}} ymm0 = ymm0[0,1],ymm5[2,3]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 224(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 224(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 224(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 224(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 224(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 192(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 160(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm8, 224(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm9, 192(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm14, 160(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 128(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, 32(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovapd %ymm0, 224(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm1, 192(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm2, 160(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm3, 128(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm4, 96(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm11, 64(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm7, 32(%rax)
+; AVX1-ONLY-NEXT: vmovapd %ymm12, (%rax)
+; AVX1-ONLY-NEXT: addq $1720, %rsp # imm = 0x6B8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride7_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $1624, %rsp # imm = 0x658
+; AVX2-ONLY-NEXT: vmovdqa 1216(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 272(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 672(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa 720(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1280(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1120(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 1168(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1664(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1728(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1568(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa 1616(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm7[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = mem[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 448(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovdqa 496(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm10[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 992(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 1056(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm11[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 896(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovdqa 944(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm13[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1440(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovdqa 1504(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1344(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovdqa 1392(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm8[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 384(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm4[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 832(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm15[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm15[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1184(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm6[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1280(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[8,9,10,11,12,13,14,15],ymm15[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm15[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1632(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm7[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1728(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm4 = mem[8,9,10,11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm5[8,9,10,11,12,13,14,15],ymm12[0,1,2,3,4,5,6,7],ymm5[24,25,26,27,28,29,30,31],ymm12[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 608(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm5 = ymm9[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = xmm10[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1056(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm9 = ymm11[8,9,10,11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 960(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm13[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1504(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm14[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm14[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1408(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm8[8,9,10,11,12,13,14,15],xmm11[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm2[1],ymm0[3],ymm2[3]
+; AVX2-ONLY-NEXT: vmovdqa 240(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 800(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vmovdqa 688(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 1248(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm15[1],ymm0[3],ymm15[3]
+; AVX2-ONLY-NEXT: vmovdqa 1136(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 1696(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm7[1],ymm0[3],ymm7[3]
+; AVX2-ONLY-NEXT: vmovdqa 1584(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 1472(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm9[1],ymm0[3],ymm9[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm12[1],ymm0[3],ymm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 576(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[1],mem[1],ymm0[3],mem[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq 1024(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm6[1],ymm0[3],ymm6[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = mem[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 736(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1184(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1312(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1632(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1760(%rdi), %xmm15
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm15[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1408(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1536(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 960(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1088(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = mem[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 512(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = mem[8,9,10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm6[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = mem[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = mem[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm0[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm8[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 576(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 480(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 800(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 704(%rdi), %xmm14
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm14[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 1024(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm11[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 928(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm7[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 1248(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1152(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 1472(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm10[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1376(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 1696(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1600(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm15 = xmm4[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm6 = ymm6[8,9,10,11,12,13,14,15],ymm15[0,1,2,3,4,5,6,7],ymm6[24,25,26,27,28,29,30,31],ymm15[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = mem[8,9,10,11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 416(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm12 = ymm12[8,9,10,11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7],ymm12[24,25,26,27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[8,9,10,11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 544(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm1[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 640(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm12 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm12 = mem[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 864(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[8,9,10,11,12,13,14,15],ymm12[0,1,2,3,4,5,6,7],ymm0[24,25,26,27,28,29,30,31],ymm12[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 768(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm14 = xmm14[8,9,10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm14[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 992(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[8,9,10,11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1088(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm11 = ymm11[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm11[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1312(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],ymm3[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1216(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm13 = xmm13[8,9,10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm13[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 1440(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1536(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm10 = ymm10[8,9,10,11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7],ymm10[24,25,26,27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm14 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 1760(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm2 = ymm2[8,9,10,11,12,13,14,15],ymm13[0,1,2,3,4,5,6,7],ymm2[24,25,26,27,28,29,30,31],ymm13[16,17,18,19,20,21,22,23]
+; AVX2-ONLY-NEXT: vmovdqa 1664(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[8,9,10,11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm15[1],ymm2[3],ymm15[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm2 = ymm2[1],ymm9[1],ymm2[3],ymm9[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6, %xmm4 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm4 = mem[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm15 = ymm4[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm1 = ymm2[1],ymm1[1],ymm2[3],ymm1[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm1 = ymm1[1],ymm12[1],ymm1[3],ymm12[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm2 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm2 = mem[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX2-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm11[1],ymm0[3],ymm11[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7, %xmm1 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm1 = mem[0,1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm3[1],ymm0[3],ymm3[3]
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vpbroadcastq {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm0[1],ymm13[1],ymm0[3],ymm13[3]
+; AVX2-ONLY-NEXT: vpblendd $3, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5, %xmm3 # 16-byte Folded Reload
+; AVX2-ONLY-NEXT: # xmm3 = mem[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 224(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 224(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 224(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 224(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 224(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 192(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, 224(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm14, 192(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 160(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 128(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 224(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 192(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 160(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, 128(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 96(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 64(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm15, 32(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: addq $1624, %rsp # imm = 0x658
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride7_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: subq $2152, %rsp # imm = 0x868
+; AVX512F-NEXT: vmovdqa64 1664(%rdi), %zmm17
+; AVX512F-NEXT: vmovdqa64 1600(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 1216(%rdi), %zmm16
+; AVX512F-NEXT: vmovdqa64 1152(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 1088(%rdi), %zmm19
+; AVX512F-NEXT: vmovaps 1024(%rdi), %zmm1
+; AVX512F-NEXT: vmovups %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm21
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm12
+; AVX512F-NEXT: vmovaps 576(%rdi), %zmm3
+; AVX512F-NEXT: vmovups %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm18
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm3
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm4 = [10,3,10,3,10,3,10,3]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm4, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm4, %zmm6
+; AVX512F-NEXT: vpermi2q %zmm17, %zmm0, %zmm4
+; AVX512F-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm4 = [11,4,11,4,11,4,11,4]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm4, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm11
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm4 = [13,6,13,6,13,6,13,6]
+; AVX512F-NEXT: # zmm4 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm11, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm11, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm22 = [12,5,12,5,12,5,12,5]
+; AVX512F-NEXT: # zmm22 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm22, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm24
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm22, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm27
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm4, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm28
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm4, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm30
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,7,14,0,0,7,14,0]
+; AVX512F-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm26, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm23
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm26, %zmm23
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm20 = [9,0,7,0,9,0,7,0]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm20, %zmm15
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm1 = [2,9,2,9,2,9,2,9]
+; AVX512F-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm21, %zmm1, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm8
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm20, %zmm8
+; AVX512F-NEXT: vpermt2q %zmm18, %zmm1, %zmm7
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm4, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm4, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm29
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm29, %zmm4, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm18
+; AVX512F-NEXT: vpermi2q %zmm17, %zmm0, %zmm18
+; AVX512F-NEXT: vmovdqa64 1536(%rdi), %zmm13
+; AVX512F-NEXT: vmovdqa64 1472(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm4, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm22, %zmm21
+; AVX512F-NEXT: vpermi2q %zmm17, %zmm0, %zmm22
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm31
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm4, %zmm31
+; AVX512F-NEXT: vpermi2q %zmm17, %zmm0, %zmm4
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm10
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm26, %zmm11
+; AVX512F-NEXT: vpermi2q %zmm17, %zmm0, %zmm26
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm25
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm20, %zmm25
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm17, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm1, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm1, %zmm2
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm1
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,9,0,5,6,9]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm4
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm5
+; AVX512F-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 1280(%rdi), %zmm5
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 1728(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,10,0,5,6,10]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm18
+; AVX512F-NEXT: vmovdqu64 %zmm18, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,11,0,5,6,11]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm21
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm24
+; AVX512F-NEXT: vmovdqu64 %zmm24, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm27
+; AVX512F-NEXT: vmovdqu64 %zmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm22
+; AVX512F-NEXT: vmovdqu64 %zmm22, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,12,0,5,6,12]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm31
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm28
+; AVX512F-NEXT: vmovdqu64 %zmm28, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm30
+; AVX512F-NEXT: vmovdqu64 %zmm30, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm10
+; AVX512F-NEXT: vmovdqu64 %zmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,6,13,4,5,6,13]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm11
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm10
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm23
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm26
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,6,14,4,5,6,14]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm25
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm15
+; AVX512F-NEXT: vmovdqu64 %zmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm8
+; AVX512F-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm20
+; AVX512F-NEXT: vmovdqu64 %zmm20, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,8,15,4,5,8,15]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm3, %zmm9
+; AVX512F-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm3, %zmm17
+; AVX512F-NEXT: vmovdqu64 %zmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vpermt2q %zmm5, %zmm3, %zmm2
+; AVX512F-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: movb $24, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm15 = <0,7,14,u>
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm17
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm15, %zmm17
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm17 {%k1} = zmm14[0,1,4,5],zmm12[4,5,0,1]
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [14,0,0,7,14,0,0,7]
+; AVX512F-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm28
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm0, %zmm28
+; AVX512F-NEXT: vbroadcasti64x4 {{.*#+}} zmm18 = [7,0,9,0,7,0,9,0]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm22
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm18, %zmm22
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm24 = <u,u,4,11>
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm24, %zmm14
+; AVX512F-NEXT: vmovdqu64 %zmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm16
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm15, %zmm16
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm16 {%k1} = zmm1[0,1,4,5],zmm29[4,5,0,1]
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm27
+; AVX512F-NEXT: vpermt2q %zmm29, %zmm0, %zmm27
+; AVX512F-NEXT: vmovdqa64 %zmm29, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm1, %zmm18, %zmm20
+; AVX512F-NEXT: vpermt2q %zmm29, %zmm24, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 960(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 896(%rdi), %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm29
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm15, %zmm29
+; AVX512F-NEXT: vmovdqa64 1408(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 1344(%rdi), %zmm5
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm5, %zmm15
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm15 {%k1} = zmm8[0,1,4,5],zmm13[4,5,0,1]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm6, %zmm1
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm19, %zmm0, %zmm1
+; AVX512F-NEXT: vpermi2q %zmm13, %zmm8, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm18, %zmm19
+; AVX512F-NEXT: vpermi2q %zmm8, %zmm13, %zmm18
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm24, %zmm8
+; AVX512F-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm29 {%k1} = zmm6[0,1,4,5],zmm9[4,5,0,1]
+; AVX512F-NEXT: vpermt2q %zmm9, %zmm24, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa 912(%rdi), %xmm13
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm13, %zmm1, %zmm30
+; AVX512F-NEXT: vmovdqa 464(%rdi), %xmm1
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm1, %zmm28, %zmm28
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm1, %zmm27, %zmm27
+; AVX512F-NEXT: vmovdqa 1360(%rdi), %xmm1
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512F-NEXT: vinserti32x4 $0, %xmm1, %zmm0, %zmm24
+; AVX512F-NEXT: vinserti128 $1, 1088(%rdi), %ymm0, %ymm0
+; AVX512F-NEXT: vmovdqa 1024(%rdi), %ymm1
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = [4,11]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm0, %zmm6
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm6, %zmm11, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vinserti128 $1, 640(%rdi), %ymm0, %ymm8
+; AVX512F-NEXT: vmovdqa 576(%rdi), %ymm6
+; AVX512F-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm13 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm0, %zmm11
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm8
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512F-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm6[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm0, %zmm9
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm23, %zmm6
+; AVX512F-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vinserti128 $1, 1536(%rdi), %ymm0, %ymm6
+; AVX512F-NEXT: vmovdqa 1472(%rdi), %ymm9
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm5, %zmm0
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm26, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa 1088(%rdi), %ymm0
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm1[8,9,10,11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7],ymm1[24,25,26,27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm26 = <9,0,7,u>
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm23
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm13, %zmm26, %zmm23
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = [5,12]
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm6
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm0, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = [6,13]
+; AVX512F-NEXT: vpermt2q %zmm7, %zmm8, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512F-NEXT: vpermt2q %zmm14, %zmm26, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm14, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm0, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm2, %zmm8, %zmm14
+; AVX512F-NEXT: vmovdqa64 %zmm4, %zmm2
+; AVX512F-NEXT: vpermt2q %zmm12, %zmm26, %zmm2
+; AVX512F-NEXT: vpermi2q %zmm5, %zmm3, %zmm26
+; AVX512F-NEXT: vmovdqa 960(%rdi), %ymm11
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm11 = mem[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512F-NEXT: vmovdqa 512(%rdi), %ymm13
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm13 = mem[8,9,10,11,12,13,14,15],ymm13[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm13[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm10
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm0, %zmm10
+; AVX512F-NEXT: vpermi2q %zmm3, %zmm5, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm3, %zmm8, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm8, %zmm12
+; AVX512F-NEXT: movb $-32, %al
+; AVX512F-NEXT: kmovw %eax, %k2
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm16 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm17 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm29 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm15 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm2 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm2 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm23 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm23 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm7 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm7 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm26 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm26 {%k2}
+; AVX512F-NEXT: vmovdqa64 %zmm21, %zmm30 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm28 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm27 {%k2}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm24 {%k2}
+; AVX512F-NEXT: vinserti32x4 $0, %xmm11, %zmm19, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm31, %zmm3 {%k2}
+; AVX512F-NEXT: vinserti32x4 $0, %xmm13, %zmm22, %zmm4
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm4 {%k2}
+; AVX512F-NEXT: vpblendd $240, (%rsp), %ymm10, %ymm8 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm8 = ymm10[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm10 = mem[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX512F-NEXT: vinserti32x4 $0, %xmm10, %zmm20, %zmm10
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm10 {%k2}
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm25, %zmm8
+; AVX512F-NEXT: vmovdqa 640(%rdi), %ymm11
+; AVX512F-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm11 = mem[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vmovdqa 1408(%rdi), %ymm13
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm13 = mem[8,9,10,11,12,13,14,15],ymm13[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm13[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512F-NEXT: vinserti32x4 $0, %xmm13, %zmm18, %zmm13
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm18 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm13 {%k2}
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm6, %zmm11, %zmm6
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm11
+; AVX512F-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm11 = mem[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm11[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm1, %zmm11, %zmm1
+; AVX512F-NEXT: vmovdqa 1536(%rdi), %ymm11
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm9 = ymm9[8,9,10,11,12,13,14,15],ymm11[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm11[16,17,18,19,20,21,22,23]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm9, %zmm0
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512F-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm9 = ymm9[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm11 # 64-byte Reload
+; AVX512F-NEXT: vinsertf64x4 $0, %ymm9, %zmm11, %zmm9
+; AVX512F-NEXT: vpblendd $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm11 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm11 = ymm14[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm11, %zmm14, %zmm11
+; AVX512F-NEXT: vpblendd $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm5 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm5 = ymm5[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm5, %zmm14, %zmm5
+; AVX512F-NEXT: vpblendd $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm12 # 32-byte Folded Reload
+; AVX512F-NEXT: # ymm12 = ymm12[0,1,2,3],mem[4,5,6,7]
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512F-NEXT: vinserti64x4 $0, %ymm12, %zmm14, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm15, 192(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm29, 128(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm17, 64(%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm26, 192(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm23, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm2, 128(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm24, 192(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm27, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm28, 64(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm30, 128(%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm10, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm4, 64(%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm3, 128(%r8)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm2, 192(%r9)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm2, (%r9)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm2, 64(%r9)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm2, 128(%r9)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm0, 192(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm6, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm8, 128(%rax)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm12, 128(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm5, 192(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm11, (%rax)
+; AVX512F-NEXT: vmovaps %zmm9, 64(%rax)
+; AVX512F-NEXT: addq $2152, %rsp # imm = 0x868
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride7_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: subq $2120, %rsp # imm = 0x848
+; AVX512BW-NEXT: vmovdqa64 1664(%rdi), %zmm15
+; AVX512BW-NEXT: vmovdqa64 1600(%rdi), %zmm31
+; AVX512BW-NEXT: vmovdqa64 1216(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 1152(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 1088(%rdi), %zmm30
+; AVX512BW-NEXT: vmovdqa64 1024(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm21
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm12
+; AVX512BW-NEXT: vmovaps 576(%rdi), %zmm0
+; AVX512BW-NEXT: vmovups %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [10,3,10,3,10,3,10,3]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm6, %zmm5
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm6, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm6, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermi2q %zmm15, %zmm31, %zmm6
+; AVX512BW-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [11,4,11,4,11,4,11,4]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm6, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm8
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm6 = [13,6,13,6,13,6,13,6]
+; AVX512BW-NEXT: # zmm6 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm8, %zmm7
+; AVX512BW-NEXT: vmovdqu64 %zmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm8, %zmm17
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm19 = [12,5,12,5,12,5,12,5]
+; AVX512BW-NEXT: # zmm19 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm19, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm16
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm19, %zmm16
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm6, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm27
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm6, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm28
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm26 = [0,7,14,0,0,7,14,0]
+; AVX512BW-NEXT: # zmm26 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm26, %zmm13
+; AVX512BW-NEXT: vmovdqu64 %zmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm23
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm26, %zmm23
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm29 = [9,0,7,0,9,0,7,0]
+; AVX512BW-NEXT: # zmm29 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm21, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm29, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm22
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm1 = [2,9,2,9,2,9,2,9]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm21, %zmm1, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm9, %zmm29, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm0, %zmm1, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm6, %zmm4
+; AVX512BW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm14 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm6, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm6, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm31, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm21
+; AVX512BW-NEXT: vpermi2q %zmm15, %zmm31, %zmm21
+; AVX512BW-NEXT: vmovdqa64 1536(%rdi), %zmm13
+; AVX512BW-NEXT: vmovdqa64 1472(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, (%rsp) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm6, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm25
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm19, %zmm25
+; AVX512BW-NEXT: vpermi2q %zmm15, %zmm31, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm31
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm6, %zmm31
+; AVX512BW-NEXT: vpermi2q %zmm15, %zmm4, %zmm6
+; AVX512BW-NEXT: vmovdqa64 %zmm6, %zmm8
+; AVX512BW-NEXT: vmovdqa64 %zmm2, %zmm18
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm26, %zmm18
+; AVX512BW-NEXT: vpermi2q %zmm15, %zmm4, %zmm26
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm20
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm29, %zmm20
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm15, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm15, %zmm1, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm1, %zmm2
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm1
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,9,0,5,6,9]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vmovdqu64 %zmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 1280(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 1728(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,10,0,5,6,10]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm17
+; AVX512BW-NEXT: vmovdqu64 %zmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm21
+; AVX512BW-NEXT: vmovdqu64 %zmm21, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,11,0,5,6,11]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm25
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm24
+; AVX512BW-NEXT: vmovdqu64 %zmm24, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm16
+; AVX512BW-NEXT: vmovdqu64 %zmm16, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm19
+; AVX512BW-NEXT: vmovdqu64 %zmm19, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [0,5,6,12,0,5,6,12]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm31
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm27
+; AVX512BW-NEXT: vmovdqu64 %zmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm28
+; AVX512BW-NEXT: vmovdqu64 %zmm28, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm8
+; AVX512BW-NEXT: vmovdqu64 %zmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,6,13,4,5,6,13]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm18
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm23
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm26
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,6,14,4,5,6,14]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm20
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm22
+; AVX512BW-NEXT: vmovdqu64 %zmm22, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm10
+; AVX512BW-NEXT: vmovdqu64 %zmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm29
+; AVX512BW-NEXT: vmovdqu64 %zmm29, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm3 = [4,5,8,15,4,5,8,15]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm3, %zmm11
+; AVX512BW-NEXT: vmovdqu64 %zmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm3, %zmm9
+; AVX512BW-NEXT: vmovdqu64 %zmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm3, %zmm15
+; AVX512BW-NEXT: vmovdqu64 %zmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm3, %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: movb $24, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %zmm5
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm15 = <0,7,14,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm17
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm15, %zmm17
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm17 {%k1} = zmm14[0,1,4,5],zmm12[4,5,0,1]
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm0 = [14,0,0,7,14,0,0,7]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm14, %zmm28
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm0, %zmm28
+; AVX512BW-NEXT: vbroadcasti64x4 {{.*#+}} zmm16 = [7,0,9,0,7,0,9,0]
+; AVX512BW-NEXT: # zmm16 = mem[0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm14, %zmm16, %zmm19
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm24 = <u,u,4,11>
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm24, %zmm14
+; AVX512BW-NEXT: vmovdqu64 %zmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm15, %zmm14
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm14 {%k1} = zmm1[0,1,4,5],zmm7[4,5,0,1]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm0, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm16, %zmm21
+; AVX512BW-NEXT: vpermt2q %zmm7, %zmm24, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 960(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 896(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm15, %zmm29
+; AVX512BW-NEXT: vmovdqa64 1408(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 1344(%rdi), %zmm7
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm7, %zmm15
+; AVX512BW-NEXT: vmovdqu64 (%rsp), %zmm6 # 64-byte Reload
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm15 {%k1} = zmm6[0,1,4,5],zmm13[4,5,0,1]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm0, %zmm1
+; AVX512BW-NEXT: vpermi2q %zmm13, %zmm6, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm30, %zmm22
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm16, %zmm22
+; AVX512BW-NEXT: vpermi2q %zmm6, %zmm13, %zmm16
+; AVX512BW-NEXT: vpermt2q %zmm13, %zmm24, %zmm6
+; AVX512BW-NEXT: vmovdqu64 %zmm6, (%rsp) # 64-byte Spill
+; AVX512BW-NEXT: vshufi64x2 {{.*#+}} zmm29 {%k1} = zmm10[0,1,4,5],zmm30[4,5,0,1]
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm24, %zmm10
+; AVX512BW-NEXT: vmovdqu64 %zmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa 912(%rdi), %xmm13
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm13, %zmm1, %zmm30
+; AVX512BW-NEXT: vmovdqa 464(%rdi), %xmm1
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm1, %zmm28, %zmm28
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm1, %zmm9, %zmm27
+; AVX512BW-NEXT: vmovdqa 1360(%rdi), %xmm1
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],mem[2,3]
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm1, %zmm0, %zmm24
+; AVX512BW-NEXT: vinserti128 $1, 1088(%rdi), %ymm0, %ymm0
+; AVX512BW-NEXT: vmovdqa 1024(%rdi), %ymm13
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1,2,3,4,5],ymm0[6,7]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = [4,11]
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm0, %zmm6
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm18, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vinserti128 $1, 640(%rdi), %ymm0, %ymm1
+; AVX512BW-NEXT: vmovdqa 576(%rdi), %ymm6
+; AVX512BW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm10 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm0, %zmm6
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm8, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vinserti128 $1, 192(%rdi), %ymm0, %ymm1
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512BW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm6[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm0, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm23, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vinserti128 $1, 1536(%rdi), %ymm0, %ymm1
+; AVX512BW-NEXT: vmovdqa 1472(%rdi), %ymm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm7, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm26, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm26 = <9,0,7,u>
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm23
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm26, %zmm23
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm0 = [5,12]
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm8
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm0, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm1 = [6,13]
+; AVX512BW-NEXT: vpermt2q %zmm5, %zmm1, %zmm6
+; AVX512BW-NEXT: vmovdqu64 %zmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm12, %zmm26, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm0, %zmm6
+; AVX512BW-NEXT: vpermt2q %zmm3, %zmm1, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm4, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm26, %zmm3
+; AVX512BW-NEXT: vpermi2q %zmm7, %zmm2, %zmm26
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm0, %zmm10
+; AVX512BW-NEXT: vpermi2q %zmm2, %zmm7, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm1, %zmm7
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm1, %zmm11
+; AVX512BW-NEXT: vmovdqa 1088(%rdi), %ymm1
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm1 = ymm13[8,9,10,11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7],ymm13[24,25,26,27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm20, %zmm18
+; AVX512BW-NEXT: movb $-32, %al
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm14 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm17 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm29 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm15 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm3 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm23 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm5 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm5 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm26 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm26 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm25, %zmm30 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm28 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm27 {%k2}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm24 {%k2}
+; AVX512BW-NEXT: vmovdqa 960(%rdi), %ymm2
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm2 = mem[8,9,10,11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm2, %zmm22, %zmm2
+; AVX512BW-NEXT: vmovdqa64 %zmm31, %zmm2 {%k2}
+; AVX512BW-NEXT: vmovdqa 512(%rdi), %ymm4
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm4 = mem[8,9,10,11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm4, %zmm19, %zmm4
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm4 {%k2}
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm10
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm10 = mem[8,9,10,11,12,13,14,15],ymm10[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm10[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm10, %zmm21, %zmm10
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm10 {%k2}
+; AVX512BW-NEXT: vmovdqa 1408(%rdi), %ymm13
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm13 = mem[8,9,10,11,12,13,14,15],ymm13[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm13[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512BW-NEXT: vinserti32x4 $0, %xmm13, %zmm16, %zmm13
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm13 {%k2}
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %ymm16
+; AVX512BW-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm16, %ymm1 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm1 = mem[8,9,10,11,12,13,14,15],ymm16[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm16[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm8, %zmm1
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %ymm8
+; AVX512BW-NEXT: vpalignr $8, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm8 = mem[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],mem[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm6, %zmm8, %zmm6
+; AVX512BW-NEXT: vmovdqa 1536(%rdi), %ymm8
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm8 = ymm9[8,9,10,11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7],ymm9[24,25,26,27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm8, %zmm0
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm8 # 64-byte Reload
+; AVX512BW-NEXT: vblendps $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm8 = ymm8[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm9 # 64-byte Reload
+; AVX512BW-NEXT: vinsertf64x4 $0, %ymm8, %zmm9, %zmm8
+; AVX512BW-NEXT: vpblendd $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm9 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm9 = ymm12[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm12 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm12, %zmm9
+; AVX512BW-NEXT: vpblendd $240, (%rsp), %ymm7, %ymm7 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm7 = ymm7[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm12 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm7, %zmm12, %zmm7
+; AVX512BW-NEXT: vpblendd $240, {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm11 # 32-byte Folded Reload
+; AVX512BW-NEXT: # ymm11 = ymm11[0,1,2,3],mem[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm12 # 64-byte Reload
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm11, %zmm12, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm15, 192(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm29, 128(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm26, 192(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm23, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, 128(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm24, 192(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm27, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm28, 64(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm30, 128(%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, 192(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, 64(%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, 128(%r8)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm2, 192(%r9)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm2, (%r9)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm2, 64(%r9)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm2, 128(%r9)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 192(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm18, 128(%rax)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm11, 128(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, 192(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rax)
+; AVX512BW-NEXT: vmovaps %zmm8, 64(%rax)
+; AVX512BW-NEXT: addq $2120, %rsp # imm = 0x848
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <224 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217>
+ %strided.vec1 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218>
+ %strided.vec2 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219>
+ %strided.vec3 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220>
+ %strided.vec4 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221>
+ %strided.vec5 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222>
+ %strided.vec6 = shufflevector <224 x i64> %wide.vec, <224 x i64> poison, <32 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223>
+
+ store <32 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i64> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i64_stride8_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i64_stride8_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movaps 112(%rdi), %xmm0
+; SSE-NEXT: movaps 96(%rdi), %xmm1
+; SSE-NEXT: movaps 80(%rdi), %xmm2
+; SSE-NEXT: movaps 64(%rdi), %xmm3
+; SSE-NEXT: movaps (%rdi), %xmm4
+; SSE-NEXT: movaps 16(%rdi), %xmm5
+; SSE-NEXT: movaps 32(%rdi), %xmm6
+; SSE-NEXT: movaps 48(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm4, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm3[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm3[1]
+; SSE-NEXT: movaps %xmm5, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm2[1]
+; SSE-NEXT: movaps %xmm6, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm1[1]
+; SSE-NEXT: movaps %xmm7, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps %xmm8, (%rsi)
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movaps %xmm5, (%r8)
+; SSE-NEXT: movaps %xmm2, (%r9)
+; SSE-NEXT: movaps %xmm6, (%r11)
+; SSE-NEXT: movaps %xmm1, (%r10)
+; SSE-NEXT: movaps %xmm7, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride8_vf2:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm1[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm5[0],xmm3[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm5[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm7[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%r11)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, (%r10)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride8_vf2:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm4[0],xmm6[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm4[1],xmm6[1]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm5[0],xmm3[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm5[1],xmm3[1]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX2-ONLY-NEXT: vmovaps %xmm7, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm4, (%rdx)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm6, (%rcx)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm2, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %xmm8, (%r9)
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%r11)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm5, (%r10)
+; AVX2-ONLY-NEXT: vextractf128 $1, %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride8_vf2:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512-NEXT: vmovaps 64(%rdi), %xmm0
+; AVX512-NEXT: vmovaps (%rdi), %xmm1
+; AVX512-NEXT: vmovaps 16(%rdi), %xmm2
+; AVX512-NEXT: vmovaps 32(%rdi), %xmm3
+; AVX512-NEXT: vmovaps 48(%rdi), %xmm4
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm5 = xmm1[0],xmm0[0]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX512-NEXT: vmovaps 80(%rdi), %xmm1
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm6 = xmm2[0],xmm1[0]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX512-NEXT: vmovaps 96(%rdi), %xmm2
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm7 = xmm3[0],xmm2[0]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX512-NEXT: vmovaps 112(%rdi), %xmm3
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm8 = xmm4[0],xmm3[0]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm4[1],xmm3[1]
+; AVX512-NEXT: vmovaps %xmm5, (%rsi)
+; AVX512-NEXT: vmovaps %xmm0, (%rdx)
+; AVX512-NEXT: vmovaps %xmm6, (%rcx)
+; AVX512-NEXT: vmovaps %xmm1, (%r8)
+; AVX512-NEXT: vmovaps %xmm7, (%r9)
+; AVX512-NEXT: vmovaps %xmm2, (%r11)
+; AVX512-NEXT: vmovaps %xmm8, (%r10)
+; AVX512-NEXT: vmovaps %xmm3, (%rax)
+; AVX512-NEXT: retq
+ %wide.vec = load <16 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 0, i32 8>
+ %strided.vec1 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 1, i32 9>
+ %strided.vec2 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 2, i32 10>
+ %strided.vec3 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 3, i32 11>
+ %strided.vec4 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 4, i32 12>
+ %strided.vec5 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 5, i32 13>
+ %strided.vec6 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 6, i32 14>
+ %strided.vec7 = shufflevector <16 x i64> %wide.vec, <16 x i64> poison, <2 x i32> <i32 7, i32 15>
+
+ store <2 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i64> %strided.vec6, ptr %out.vec6, align 64
+ store <2 x i64> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i64_stride8_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i64_stride8_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movaps 112(%rdi), %xmm5
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 96(%rdi), %xmm8
+; SSE-NEXT: movaps 224(%rdi), %xmm10
+; SSE-NEXT: movaps 160(%rdi), %xmm0
+; SSE-NEXT: movaps 80(%rdi), %xmm12
+; SSE-NEXT: movaps 208(%rdi), %xmm13
+; SSE-NEXT: movaps 144(%rdi), %xmm2
+; SSE-NEXT: movaps 64(%rdi), %xmm14
+; SSE-NEXT: movaps (%rdi), %xmm7
+; SSE-NEXT: movaps 16(%rdi), %xmm6
+; SSE-NEXT: movaps 32(%rdi), %xmm4
+; SSE-NEXT: movaps 48(%rdi), %xmm3
+; SSE-NEXT: movaps 192(%rdi), %xmm15
+; SSE-NEXT: movaps 128(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm15[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm15[1]
+; SSE-NEXT: movaps %xmm7, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm14[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm14[1]
+; SSE-NEXT: movaps %xmm2, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm13[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm13[1]
+; SSE-NEXT: movaps %xmm6, %xmm13
+; SSE-NEXT: movlhps {{.*#+}} xmm13 = xmm13[0],xmm12[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm12[1]
+; SSE-NEXT: movaps %xmm0, %xmm12
+; SSE-NEXT: movlhps {{.*#+}} xmm12 = xmm12[0],xmm10[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm4, %xmm10
+; SSE-NEXT: movlhps {{.*#+}} xmm10 = xmm10[0],xmm8[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm8[1]
+; SSE-NEXT: movaps %xmm3, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm5[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm5[1]
+; SSE-NEXT: movaps 176(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: movaps %xmm15, (%rsi)
+; SSE-NEXT: movaps %xmm11, 16(%rsi)
+; SSE-NEXT: movaps %xmm7, (%rdx)
+; SSE-NEXT: movaps %xmm9, 16(%rdx)
+; SSE-NEXT: movaps %xmm13, (%rcx)
+; SSE-NEXT: movaps %xmm14, 16(%rcx)
+; SSE-NEXT: movaps %xmm6, (%r8)
+; SSE-NEXT: movaps %xmm2, 16(%r8)
+; SSE-NEXT: movaps %xmm10, (%r9)
+; SSE-NEXT: movaps %xmm12, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm4, (%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm8, (%rax)
+; SSE-NEXT: movaps %xmm1, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm5, 16(%rax)
+; SSE-NEXT: movaps %xmm3, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride8_vf4:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm4
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm6[0],xmm3[0]
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm8[0],xmm7[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm6[1],xmm3[1]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm11 = xmm10[0],xmm8[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm11[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm10[1],xmm8[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm8[0],xmm5[0]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm8[1],xmm5[1]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm14[0],xmm12[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm11 = ymm15[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm14[1],xmm12[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %xmm9, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %xmm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm13, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm10, 16(%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, (%r11)
+; AVX1-ONLY-NEXT: vmovaps %xmm5, 16(%r11)
+; AVX1-ONLY-NEXT: vmovaps %ymm11, (%r10)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride8_vf4:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm9[0],xmm8[0]
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm11
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm11[0],xmm13[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm9 = xmm11[1],xmm13[1]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm11 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm13[2,3],ymm11[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm6 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm4 = ymm4[2,3],ymm6[2,3]
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm7 = xmm6[0],xmm5[0]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm13
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm12[0],xmm13[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm5 = xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm6 = xmm12[1],xmm13[1]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm13[2,3],ymm12[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm0[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vmovaps %xmm14, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm10, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps %xmm9, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps %xmm8, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, (%rcx)
+; AVX2-ONLY-NEXT: vmovaps %ymm4, (%r8)
+; AVX2-ONLY-NEXT: vmovaps %xmm15, (%r9)
+; AVX2-ONLY-NEXT: vmovaps %xmm7, 16(%r9)
+; AVX2-ONLY-NEXT: vmovaps %xmm6, (%r11)
+; AVX2-ONLY-NEXT: vmovaps %xmm5, 16(%r11)
+; AVX2-ONLY-NEXT: vmovaps %ymm12, (%r10)
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i64_stride8_vf4:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512-NEXT: vmovdqa64 64(%rdi), %zmm3
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm4
+; AVX512-NEXT: vmovdqa64 192(%rdi), %zmm5
+; AVX512-NEXT: vmovdqa64 128(%rdi), %zmm6
+; AVX512-NEXT: vmovaps 192(%rdi), %xmm0
+; AVX512-NEXT: vmovaps 128(%rdi), %xmm1
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm7 = xmm1[0],xmm0[0]
+; AVX512-NEXT: vmovaps (%rdi), %xmm2
+; AVX512-NEXT: vmovaps 64(%rdi), %xmm8
+; AVX512-NEXT: vmovlhps {{.*#+}} xmm9 = xmm2[0],xmm8[0]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm1[1],xmm0[1]
+; AVX512-NEXT: vunpckhpd {{.*#+}} xmm8 = xmm2[1],xmm8[1]
+; AVX512-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX512-NEXT: vmovaps 128(%rdi), %ymm2
+; AVX512-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm2[0],ymm1[0],ymm2[2],ymm1[2]
+; AVX512-NEXT: vmovaps 64(%rdi), %ymm11
+; AVX512-NEXT: vmovaps (%rdi), %ymm12
+; AVX512-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm12[0],ymm11[0],ymm12[2],ymm11[2]
+; AVX512-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm13[2,3],ymm0[2,3]
+; AVX512-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm2[1],ymm1[1],ymm2[3],ymm1[3]
+; AVX512-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm12[1],ymm11[1],ymm12[3],ymm11[3]
+; AVX512-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm2[2,3],ymm1[2,3]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,4,12>
+; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm2
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm11 = [4,12]
+; AVX512-NEXT: vpermi2q %zmm3, %zmm4, %zmm11
+; AVX512-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2,3],ymm2[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,5,13>
+; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm11
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm12 = [5,13]
+; AVX512-NEXT: vpermi2q %zmm3, %zmm4, %zmm12
+; AVX512-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,6,14>
+; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm12
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm13 = [6,14]
+; AVX512-NEXT: vpermi2q %zmm3, %zmm4, %zmm13
+; AVX512-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3],ymm12[4,5,6,7]
+; AVX512-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,7,15>
+; AVX512-NEXT: vpermi2q %zmm5, %zmm6, %zmm13
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = [7,15]
+; AVX512-NEXT: vpermi2q %zmm3, %zmm4, %zmm5
+; AVX512-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm13[4,5,6,7]
+; AVX512-NEXT: vmovaps %xmm9, (%rsi)
+; AVX512-NEXT: vmovaps %xmm7, 16(%rsi)
+; AVX512-NEXT: vmovaps %xmm8, (%rdx)
+; AVX512-NEXT: vmovaps %xmm10, 16(%rdx)
+; AVX512-NEXT: vmovaps %ymm0, (%rcx)
+; AVX512-NEXT: vmovaps %ymm1, (%r8)
+; AVX512-NEXT: vmovdqa %ymm2, (%r9)
+; AVX512-NEXT: vmovdqa %ymm11, (%r11)
+; AVX512-NEXT: vmovdqa %ymm12, (%r10)
+; AVX512-NEXT: vmovdqa %ymm3, (%rax)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <32 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 0, i32 8, i32 16, i32 24>
+ %strided.vec1 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 1, i32 9, i32 17, i32 25>
+ %strided.vec2 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 2, i32 10, i32 18, i32 26>
+ %strided.vec3 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 3, i32 11, i32 19, i32 27>
+ %strided.vec4 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 4, i32 12, i32 20, i32 28>
+ %strided.vec5 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 5, i32 13, i32 21, i32 29>
+ %strided.vec6 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 6, i32 14, i32 22, i32 30>
+ %strided.vec7 = shufflevector <32 x i64> %wide.vec, <32 x i64> poison, <4 x i32> <i32 7, i32 15, i32 23, i32 31>
+
+ store <4 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i64> %strided.vec6, ptr %out.vec6, align 64
+ store <4 x i64> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i64_stride8_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i64_stride8_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $152, %rsp
+; SSE-NEXT: movaps 336(%rdi), %xmm11
+; SSE-NEXT: movaps 464(%rdi), %xmm6
+; SSE-NEXT: movaps 400(%rdi), %xmm7
+; SSE-NEXT: movaps 80(%rdi), %xmm0
+; SSE-NEXT: movaps 208(%rdi), %xmm1
+; SSE-NEXT: movaps 144(%rdi), %xmm8
+; SSE-NEXT: movaps 320(%rdi), %xmm2
+; SSE-NEXT: movaps 256(%rdi), %xmm10
+; SSE-NEXT: movaps 448(%rdi), %xmm3
+; SSE-NEXT: movaps 384(%rdi), %xmm12
+; SSE-NEXT: movaps 64(%rdi), %xmm4
+; SSE-NEXT: movaps (%rdi), %xmm13
+; SSE-NEXT: movaps 16(%rdi), %xmm9
+; SSE-NEXT: movaps 192(%rdi), %xmm5
+; SSE-NEXT: movaps 128(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm5[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm5[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm4[0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm4[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm3[0]
+; SSE-NEXT: movaps %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm3[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm2[1]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm1[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm7, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm6[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm6[1]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 272(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm0
+; SSE-NEXT: movlhps {{.*#+}} xmm0 = xmm0[0],xmm11[0]
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm11[1]
+; SSE-NEXT: movaps 96(%rdi), %xmm0
+; SSE-NEXT: movaps 32(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: movaps 224(%rdi), %xmm0
+; SSE-NEXT: movaps 160(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps 352(%rdi), %xmm0
+; SSE-NEXT: movaps 288(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps 480(%rdi), %xmm1
+; SSE-NEXT: movaps 416(%rdi), %xmm4
+; SSE-NEXT: movaps %xmm4, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm1[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm4 = xmm4[1],xmm1[1]
+; SSE-NEXT: movaps 112(%rdi), %xmm1
+; SSE-NEXT: movaps 48(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm14
+; SSE-NEXT: movlhps {{.*#+}} xmm14 = xmm14[0],xmm1[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm1[1]
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps 176(%rdi), %xmm6
+; SSE-NEXT: movaps %xmm6, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm6 = xmm6[1],xmm0[1]
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 304(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps 496(%rdi), %xmm0
+; SSE-NEXT: movaps 432(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps %xmm15, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps %xmm11, 32(%r9)
+; SSE-NEXT: movaps %xmm8, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm4, 48(%rax)
+; SSE-NEXT: movaps %xmm9, 32(%rax)
+; SSE-NEXT: movaps %xmm13, 16(%rax)
+; SSE-NEXT: movaps %xmm12, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm2, 48(%rax)
+; SSE-NEXT: movaps %xmm5, 32(%rax)
+; SSE-NEXT: movaps %xmm7, 16(%rax)
+; SSE-NEXT: movaps %xmm14, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm1, 48(%rax)
+; SSE-NEXT: movaps %xmm3, 32(%rax)
+; SSE-NEXT: movaps %xmm6, 16(%rax)
+; SSE-NEXT: movaps %xmm10, (%rax)
+; SSE-NEXT: addq $152, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride8_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $184, %rsp
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm3
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm5[0],xmm4[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm8[0],xmm7[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm10[0],xmm9[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm4 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps 336(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm11[0],xmm10[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm13[0],xmm12[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm1[1],ymm0[1],ymm1[3],ymm0[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm0[0],xmm2[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm15 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm2[0],xmm1[0]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm11 = xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm3 = ymm2[0],ymm5[0],ymm2[2],ymm5[2]
+; AVX1-ONLY-NEXT: vmovaps 368(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm1[0],xmm4[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm12 = ymm9[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm6[0],ymm9[0],ymm6[2],ymm9[2]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm14 = xmm0[0],xmm3[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm7 = ymm14[0,1,2,3],ymm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm5[1],ymm2[3],ymm5[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm1[1],xmm4[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm6[1],ymm9[1],ymm6[3],ymm9[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %xmm8, (%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm10, 16(%r9)
+; AVX1-ONLY-NEXT: vmovaps %xmm13, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %xmm11, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %xmm15, 16(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, 48(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: addq $184, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride8_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $184, %rsp
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm4[0],xmm2[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm10[0],xmm5[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm8[0],xmm7[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm4[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm10[1],xmm5[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm6[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm8[1],xmm7[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm13[0],ymm9[0],ymm13[2],ymm9[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm6[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm12[0],ymm11[0],ymm12[2],ymm11[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm2[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm15[1],ymm14[1],ymm15[3],ymm14[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm9 = ymm13[1],ymm9[1],ymm13[3],ymm9[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm9[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm12[1],ymm11[1],ymm12[3],ymm11[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm12 = xmm0[0],xmm2[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm2[0],xmm0[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm13 = xmm2[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm2[0],xmm0[0]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm10 = xmm2[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm3[0],ymm4[0],ymm3[2],ymm4[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm5[0],ymm6[0],ymm5[2],ymm6[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm11 = ymm9[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm2[0],ymm9[0],ymm2[2],ymm9[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm7 = ymm14[2,3],ymm7[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm3[1],ymm4[1],ymm3[3],ymm4[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm4 = ymm5[1],ymm6[1],ymm5[3],ymm6[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm3 = ymm4[2,3],ymm3[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm2[1],ymm9[1],ymm2[3],ymm9[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 48(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 48(%rdx)
+; AVX2-ONLY-NEXT: vmovaps (%rsp), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps %xmm8, (%r9)
+; AVX2-ONLY-NEXT: vmovaps %xmm15, 16(%r9)
+; AVX2-ONLY-NEXT: vmovaps %xmm12, 32(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 48(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %xmm10, (%rax)
+; AVX2-ONLY-NEXT: vmovaps %xmm13, 16(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 32(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm1, 48(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm7, (%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm11, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: addq $184, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride8_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm3
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm9
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [0,8,0,8,0,8,0,8]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm5, %zmm18
+; AVX512F-NEXT: vpermi2q %zmm8, %zmm3, %zmm5
+; AVX512F-NEXT: movb $-64, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [1,9,1,9,1,9,1,9]
+; AVX512F-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm10, %zmm11
+; AVX512F-NEXT: vpermi2q %zmm8, %zmm3, %zmm10
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [2,10,2,10,2,10,2,10]
+; AVX512F-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm12, %zmm13
+; AVX512F-NEXT: vpermi2q %zmm8, %zmm3, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm12 {%k1}
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm13
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm14[0],ymm13[0],ymm14[2],ymm13[2]
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %ymm16
+; AVX512F-NEXT: vmovdqa64 (%rdi), %ymm17
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm7 = ymm17[0],ymm16[0],ymm17[2],ymm16[2]
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[2,3],ymm15[2,3]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm7, %zmm12, %zmm12
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [3,11,3,11,3,11,3,11]
+; AVX512F-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm7, %zmm15
+; AVX512F-NEXT: vpermi2q %zmm8, %zmm3, %zmm7
+; AVX512F-NEXT: vmovdqa64 %zmm15, %zmm7 {%k1}
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm13 = ymm14[1],ymm13[1],ymm14[3],ymm13[3]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm14 = ymm17[1],ymm16[1],ymm17[3],ymm16[3]
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm14[2,3],ymm13[2,3]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm13, %zmm7, %zmm13
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [4,12,4,12,4,12,4,12]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm7 = zmm3[0],zmm8[0],zmm3[2],zmm8[2],zmm3[4],zmm8[4],zmm3[6],zmm8[6]
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm16
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm17 = zmm3[1],zmm8[1],zmm3[3],zmm8[3],zmm3[5],zmm8[5],zmm3[7],zmm8[7]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm15 = [6,14,6,14,6,14,6,14]
+; AVX512F-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm19
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm15, %zmm19
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm19 {%k1} = zmm9[0],zmm6[0],zmm9[2],zmm6[2],zmm9[4],zmm6[4],zmm9[6],zmm6[6]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [7,15,7,15,7,15,7,15]
+; AVX512F-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm8, %zmm20, %zmm3
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm3 {%k1} = zmm9[1],zmm6[1],zmm9[3],zmm6[3],zmm9[5],zmm6[5],zmm9[7],zmm6[7]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm14, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm7 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm2, %zmm14
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,4,12>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm8
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm7, %zmm7
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [5,13,5,13,5,13,5,13]
+; AVX512F-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm6, %zmm8, %zmm16
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm2, %zmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,5,13>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 %zmm18, %zmm5 {%k1}
+; AVX512F-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512F-NEXT: vmovdqa 128(%rdi), %xmm9
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm14 = xmm9[0],xmm8[0]
+; AVX512F-NEXT: vmovdqa64 (%rdi), %xmm18
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %xmm21
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm22 = xmm18[0],xmm21[0]
+; AVX512F-NEXT: vinserti32x4 $1, %xmm14, %ymm22, %ymm14
+; AVX512F-NEXT: vinserti64x4 $0, %ymm14, %zmm5, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm10 {%k1}
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} xmm8 = xmm9[1],xmm8[1]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm18[1],xmm21[1]
+; AVX512F-NEXT: vinserti128 $1, %xmm8, %ymm9, %ymm8
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm8
+; AVX512F-NEXT: vmovdqa64 %zmm16, %zmm17 {%k1}
+; AVX512F-NEXT: vinserti64x4 $0, %ymm6, %zmm17, %zmm6
+; AVX512F-NEXT: vpermi2q %zmm4, %zmm2, %zmm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,6,14>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm9
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm9, %zmm19, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm4, %zmm20, %zmm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,7,15>
+; AVX512F-NEXT: vpermi2q %zmm0, %zmm1, %zmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm12, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm13, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm7, (%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm6, (%r10)
+; AVX512F-NEXT: vmovdqa64 %zmm9, (%rdi)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride8_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm4
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm8
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm6
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm9
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [0,8,0,8,0,8,0,8]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm18
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm5, %zmm18
+; AVX512BW-NEXT: vpermi2q %zmm8, %zmm3, %zmm5
+; AVX512BW-NEXT: movb $-64, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm10 = [1,9,1,9,1,9,1,9]
+; AVX512BW-NEXT: # zmm10 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm10, %zmm11
+; AVX512BW-NEXT: vpermi2q %zmm8, %zmm3, %zmm10
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm12 = [2,10,2,10,2,10,2,10]
+; AVX512BW-NEXT: # zmm12 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm12, %zmm13
+; AVX512BW-NEXT: vpermi2q %zmm8, %zmm3, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm12 {%k1}
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %ymm13
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm14[0],ymm13[0],ymm14[2],ymm13[2]
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %ymm16
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %ymm17
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm7 = ymm17[0],ymm16[0],ymm17[2],ymm16[2]
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[2,3],ymm15[2,3]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm7, %zmm12, %zmm12
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm7 = [3,11,3,11,3,11,3,11]
+; AVX512BW-NEXT: # zmm7 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm15
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm7, %zmm15
+; AVX512BW-NEXT: vpermi2q %zmm8, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa64 %zmm15, %zmm7 {%k1}
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm13 = ymm14[1],ymm13[1],ymm14[3],ymm13[3]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm14 = ymm17[1],ymm16[1],ymm17[3],ymm16[3]
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm13 = ymm14[2,3],ymm13[2,3]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm13, %zmm7, %zmm13
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [4,12,4,12,4,12,4,12]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm7 = zmm3[0],zmm8[0],zmm3[2],zmm8[2],zmm3[4],zmm8[4],zmm3[6],zmm8[6]
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm16
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm17 = zmm3[1],zmm8[1],zmm3[3],zmm8[3],zmm3[5],zmm8[5],zmm3[7],zmm8[7]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm15 = [6,14,6,14,6,14,6,14]
+; AVX512BW-NEXT: # zmm15 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm19
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm15, %zmm19
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm19 {%k1} = zmm9[0],zmm6[0],zmm9[2],zmm6[2],zmm9[4],zmm6[4],zmm9[6],zmm6[6]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm20 = [7,15,7,15,7,15,7,15]
+; AVX512BW-NEXT: # zmm20 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm8, %zmm20, %zmm3
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm3 {%k1} = zmm9[1],zmm6[1],zmm9[3],zmm6[3],zmm9[5],zmm6[5],zmm9[7],zmm6[7]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm14, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm7 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm2, %zmm14
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,4,12>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm8
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm8, %zmm7, %zmm7
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm8 = [5,13,5,13,5,13,5,13]
+; AVX512BW-NEXT: # zmm8 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm6, %zmm8, %zmm16
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm2, %zmm8
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,5,13>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm6
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm6 = ymm8[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa64 %zmm18, %zmm5 {%k1}
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %xmm9
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm14 = xmm9[0],xmm8[0]
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %xmm18
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %xmm21
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm22 = xmm18[0],xmm21[0]
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm14, %ymm22, %ymm14
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm14, %zmm5, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm10 {%k1}
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} xmm8 = xmm9[1],xmm8[1]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} xmm9 = xmm18[1],xmm21[1]
+; AVX512BW-NEXT: vinserti128 $1, %xmm8, %ymm9, %ymm8
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm8, %zmm10, %zmm8
+; AVX512BW-NEXT: vmovdqa64 %zmm16, %zmm17 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm6, %zmm17, %zmm6
+; AVX512BW-NEXT: vpermi2q %zmm4, %zmm2, %zmm15
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,6,14>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm9
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm19, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm4, %zmm20, %zmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,7,15>
+; AVX512BW-NEXT: vpermi2q %zmm0, %zmm1, %zmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm8, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm12, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm13, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm6, (%r10)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%rdi)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <64 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56>
+ %strided.vec1 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57>
+ %strided.vec2 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58>
+ %strided.vec3 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59>
+ %strided.vec4 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60>
+ %strided.vec5 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61>
+ %strided.vec6 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62>
+ %strided.vec7 = shufflevector <64 x i64> %wide.vec, <64 x i64> poison, <8 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
+
+ store <8 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i64> %strided.vec6, ptr %out.vec6, align 64
+ store <8 x i64> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i64_stride8_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i64_stride8_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $664, %rsp # imm = 0x298
+; SSE-NEXT: movaps 832(%rdi), %xmm0
+; SSE-NEXT: movaps 320(%rdi), %xmm1
+; SSE-NEXT: movaps 256(%rdi), %xmm8
+; SSE-NEXT: movaps 960(%rdi), %xmm2
+; SSE-NEXT: movaps 896(%rdi), %xmm9
+; SSE-NEXT: movaps 448(%rdi), %xmm3
+; SSE-NEXT: movaps 384(%rdi), %xmm10
+; SSE-NEXT: movaps 576(%rdi), %xmm4
+; SSE-NEXT: movaps 512(%rdi), %xmm11
+; SSE-NEXT: movaps 64(%rdi), %xmm5
+; SSE-NEXT: movaps (%rdi), %xmm12
+; SSE-NEXT: movaps 704(%rdi), %xmm6
+; SSE-NEXT: movaps 640(%rdi), %xmm13
+; SSE-NEXT: movaps 192(%rdi), %xmm7
+; SSE-NEXT: movaps 128(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm15
+; SSE-NEXT: movlhps {{.*#+}} xmm15 = xmm15[0],xmm7[0]
+; SSE-NEXT: movaps %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm7[1]
+; SSE-NEXT: movaps %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm13, %xmm7
+; SSE-NEXT: movlhps {{.*#+}} xmm7 = xmm7[0],xmm6[0]
+; SSE-NEXT: movaps %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm6[1]
+; SSE-NEXT: movaps %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm12, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm5[0]
+; SSE-NEXT: movaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm5[1]
+; SSE-NEXT: movaps %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm11, %xmm5
+; SSE-NEXT: movlhps {{.*#+}} xmm5 = xmm5[0],xmm4[0]
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm11 = xmm11[1],xmm4[1]
+; SSE-NEXT: movaps %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm10, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm3[0]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm3[1]
+; SSE-NEXT: movaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm9, %xmm3
+; SSE-NEXT: movlhps {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm2[1]
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps %xmm8, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm1[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm8 = xmm8[1],xmm1[1]
+; SSE-NEXT: movaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 768(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 80(%rdi), %xmm0
+; SSE-NEXT: movaps 16(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 208(%rdi), %xmm0
+; SSE-NEXT: movaps 144(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 336(%rdi), %xmm0
+; SSE-NEXT: movaps 272(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 464(%rdi), %xmm0
+; SSE-NEXT: movaps 400(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 592(%rdi), %xmm0
+; SSE-NEXT: movaps 528(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 720(%rdi), %xmm0
+; SSE-NEXT: movaps 656(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 848(%rdi), %xmm0
+; SSE-NEXT: movaps 784(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 976(%rdi), %xmm0
+; SSE-NEXT: movaps 912(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 96(%rdi), %xmm0
+; SSE-NEXT: movaps 32(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 224(%rdi), %xmm0
+; SSE-NEXT: movaps 160(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 352(%rdi), %xmm0
+; SSE-NEXT: movaps 288(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 480(%rdi), %xmm0
+; SSE-NEXT: movaps 416(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 608(%rdi), %xmm0
+; SSE-NEXT: movaps 544(%rdi), %xmm15
+; SSE-NEXT: movaps %xmm15, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm15 = xmm15[1],xmm0[1]
+; SSE-NEXT: movaps 736(%rdi), %xmm0
+; SSE-NEXT: movaps 672(%rdi), %xmm12
+; SSE-NEXT: movaps %xmm12, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm12 = xmm12[1],xmm0[1]
+; SSE-NEXT: movaps 864(%rdi), %xmm0
+; SSE-NEXT: movaps 800(%rdi), %xmm9
+; SSE-NEXT: movaps %xmm9, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm9 = xmm9[1],xmm0[1]
+; SSE-NEXT: movaps 992(%rdi), %xmm0
+; SSE-NEXT: movaps 928(%rdi), %xmm7
+; SSE-NEXT: movaps %xmm7, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm7 = xmm7[1],xmm0[1]
+; SSE-NEXT: movaps 112(%rdi), %xmm0
+; SSE-NEXT: movaps 48(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm2
+; SSE-NEXT: movlhps {{.*#+}} xmm2 = xmm2[0],xmm0[0]
+; SSE-NEXT: movaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 240(%rdi), %xmm0
+; SSE-NEXT: movaps 176(%rdi), %xmm13
+; SSE-NEXT: movaps %xmm13, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm13 = xmm13[1],xmm0[1]
+; SSE-NEXT: movaps 368(%rdi), %xmm0
+; SSE-NEXT: movaps 304(%rdi), %xmm10
+; SSE-NEXT: movaps %xmm10, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm10 = xmm10[1],xmm0[1]
+; SSE-NEXT: movaps 496(%rdi), %xmm0
+; SSE-NEXT: movaps 432(%rdi), %xmm14
+; SSE-NEXT: movaps %xmm14, %xmm1
+; SSE-NEXT: movlhps {{.*#+}} xmm1 = xmm1[0],xmm0[0]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: unpckhpd {{.*#+}} xmm14 = xmm14[1],xmm0[1]
+; SSE-NEXT: movaps 624(%rdi), %xmm0
+; SSE-NEXT: movaps 560(%rdi), %xmm5
+; SSE-NEXT: movaps %xmm5, %xmm11
+; SSE-NEXT: movlhps {{.*#+}} xmm11 = xmm11[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm5 = xmm5[1],xmm0[1]
+; SSE-NEXT: movaps 752(%rdi), %xmm0
+; SSE-NEXT: movaps 688(%rdi), %xmm2
+; SSE-NEXT: movaps %xmm2, %xmm8
+; SSE-NEXT: movlhps {{.*#+}} xmm8 = xmm8[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; SSE-NEXT: movaps 880(%rdi), %xmm0
+; SSE-NEXT: movaps 816(%rdi), %xmm1
+; SSE-NEXT: movaps %xmm1, %xmm6
+; SSE-NEXT: movlhps {{.*#+}} xmm6 = xmm6[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm1 = xmm1[1],xmm0[1]
+; SSE-NEXT: movaps 1008(%rdi), %xmm0
+; SSE-NEXT: movaps 944(%rdi), %xmm3
+; SSE-NEXT: movaps %xmm3, %xmm4
+; SSE-NEXT: movlhps {{.*#+}} xmm4 = xmm4[0],xmm0[0]
+; SSE-NEXT: unpckhpd {{.*#+}} xmm3 = xmm3[1],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 112(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 96(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 80(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 64(%r9)
+; SSE-NEXT: movaps (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm7, 112(%rax)
+; SSE-NEXT: movaps %xmm9, 96(%rax)
+; SSE-NEXT: movaps %xmm12, 80(%rax)
+; SSE-NEXT: movaps %xmm15, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm4, 112(%rax)
+; SSE-NEXT: movaps %xmm6, 96(%rax)
+; SSE-NEXT: movaps %xmm8, 80(%rax)
+; SSE-NEXT: movaps %xmm11, 64(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movaps %xmm3, 112(%rax)
+; SSE-NEXT: movaps %xmm1, 96(%rax)
+; SSE-NEXT: movaps %xmm2, 80(%rax)
+; SSE-NEXT: movaps %xmm5, 64(%rax)
+; SSE-NEXT: movaps %xmm14, 48(%rax)
+; SSE-NEXT: movaps %xmm10, 32(%rax)
+; SSE-NEXT: movaps %xmm13, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rax)
+; SSE-NEXT: addq $664, %rsp # imm = 0x298
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i64_stride8_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $792, %rsp # imm = 0x318
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 320(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovaps 256(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 832(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 768(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm5[0],xmm4[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm6[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm9[0],xmm8[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 576(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 512(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm10[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm9[1],xmm8[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm0 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 448(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 384(%rdi), %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 336(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovaps 272(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm4[0],xmm3[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 960(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vmovaps 896(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm5[0],ymm2[0],ymm5[2],ymm2[2]
+; AVX1-ONLY-NEXT: vmovaps 848(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovaps 784(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm9 = xmm8[0],xmm7[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 192(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 128(%rdi), %ymm9
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm10 = ymm9[0],ymm6[0],ymm9[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovaps 80(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovaps 16(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm12[0],xmm11[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm13[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 704(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovaps 640(%rdi), %ymm13
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm13[0],ymm10[0],ymm13[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 592(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovaps 528(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm15[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm1 = ymm1[1],mem[1],ymm1[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm4[1],xmm3[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm5[1],ymm2[1],ymm5[3],ymm2[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm9[1],ymm6[1],ymm9[3],ymm6[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm13[1],ymm10[1],ymm13[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm15[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 352(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 288(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 928(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 864(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 800(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps 544(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 480(%rdi), %ymm11
+; AVX1-ONLY-NEXT: vmovaps 416(%rdi), %ymm8
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm8[0],ymm11[0],ymm8[2],ymm11[2]
+; AVX1-ONLY-NEXT: vmovaps 368(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovaps 304(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm5 = xmm7[0],xmm9[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 992(%rdi), %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 928(%rdi), %ymm14
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm14[0],ymm0[0],ymm14[2],ymm0[2]
+; AVX1-ONLY-NEXT: vmovaps 880(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 816(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm12[0],xmm0[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 224(%rdi), %ymm10
+; AVX1-ONLY-NEXT: vmovaps 160(%rdi), %ymm2
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm6 = ymm2[0],ymm10[0],ymm2[2],ymm10[2]
+; AVX1-ONLY-NEXT: vmovaps 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovaps 48(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm15 = xmm0[0],xmm1[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm3 = ymm15[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovaps 736(%rdi), %ymm6
+; AVX1-ONLY-NEXT: vmovaps 672(%rdi), %ymm5
+; AVX1-ONLY-NEXT: vunpcklpd {{.*#+}} ymm15 = ymm5[0],ymm6[0],ymm5[2],ymm6[2]
+; AVX1-ONLY-NEXT: vmovaps 624(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovaps 560(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovlhps {{.*#+}} xmm13 = xmm3[0],xmm4[0]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm15 = ymm13[0,1,2,3],ymm15[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm10[1],ymm2[3],ymm10[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm8[1],ymm11[1],ymm8[3],ymm11[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm9[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm5[1],ymm6[1],ymm5[3],ymm6[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm14, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: # ymm0 = ymm14[1],mem[1],ymm14[3],mem[3]
+; AVX1-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = xmm12[1],mem[1]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 64(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 80(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 112(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 96(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 64(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 80(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 96(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 112(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 80(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 64(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 16(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 112(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 96(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 48(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 80(%rax)
+; AVX1-ONLY-NEXT: vmovaps (%rsp), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, (%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 16(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 112(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm3, 48(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm15, 64(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 96(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rax)
+; AVX1-ONLY-NEXT: addq $792, %rsp # imm = 0x318
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i64_stride8_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $808, %rsp # imm = 0x328
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm4 = xmm3[0],xmm2[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm6 = xmm5[0],xmm4[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm8 = xmm7[0],xmm6[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm10 = xmm9[0],xmm8[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm3[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm0[0],xmm10[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm7[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm2 = xmm5[1],xmm4[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm3 = xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm3 = xmm2[0],xmm1[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm1 = xmm2[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 320(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 256(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 448(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovaps 384(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm4 = ymm3[0],ymm2[0],ymm3[2],ymm2[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm5 = ymm1[0],ymm0[0],ymm1[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm5[2,3],ymm4[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 832(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 768(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 960(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 896(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm8 = ymm7[0],ymm6[0],ymm7[2],ymm6[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm9 = ymm5[0],ymm4[0],ymm5[2],ymm4[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm9[2,3],ymm8[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 64(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vmovaps (%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 192(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 128(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm11[0],ymm10[0],ymm11[2],ymm10[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm13 = ymm9[0],ymm8[0],ymm9[2],ymm8[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm13[2,3],ymm12[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 576(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovaps 512(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 704(%rdi), %ymm14
+; AVX2-ONLY-NEXT: vmovaps 640(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm15[0],ymm14[0],ymm15[2],ymm14[2]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm13[0],ymm12[0],ymm13[2],ymm12[2]
+; AVX2-ONLY-NEXT: vperm2f128 $49, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm0 = ymm0[2,3],mem[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm3[1],ymm2[1],ymm3[3],ymm2[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm1 = ymm1[1],mem[1],ymm1[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm6[1],ymm7[3],ymm6[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm5[1],ymm4[1],ymm5[3],ymm4[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm11[1],ymm10[1],ymm11[3],ymm10[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm9[1],ymm8[1],ymm9[3],ymm8[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm15[1],ymm14[1],ymm15[3],ymm14[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm13[1],ymm12[1],ymm13[3],ymm12[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsp) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm0[0],xmm1[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm2 = xmm1[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovlhps {{.*#+}} xmm1 = xmm2[0],xmm0[0]
+; AVX2-ONLY-NEXT: vmovaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} xmm0 = xmm2[1],xmm0[1]
+; AVX2-ONLY-NEXT: vmovaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 352(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 288(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovaps 480(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovaps 416(%rdi), %ymm8
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm2 = ymm8[0],ymm10[0],ymm8[2],ymm10[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm7 = ymm15[0],ymm0[0],ymm15[2],ymm0[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm7[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 864(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 800(%rdi), %ymm11
+; AVX2-ONLY-NEXT: vmovaps 992(%rdi), %ymm9
+; AVX2-ONLY-NEXT: vmovaps 928(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm7[0],ymm9[0],ymm7[2],ymm9[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm11[0],ymm1[0],ymm11[2],ymm1[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 96(%rdi), %ymm13
+; AVX2-ONLY-NEXT: vmovaps 32(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovaps 224(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovaps 160(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm0 = ymm2[0],ymm3[0],ymm2[2],ymm3[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm6[0],ymm13[0],ymm6[2],ymm13[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm12[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovaps 608(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovaps 544(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovaps 736(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovaps 672(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm12 = ymm0[0],ymm1[0],ymm0[2],ymm1[2]
+; AVX2-ONLY-NEXT: vunpcklpd {{.*#+}} ymm14 = ymm4[0],ymm5[0],ymm4[2],ymm5[2]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm12 = ymm14[2,3],ymm12[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm2[1],ymm3[1],ymm2[3],ymm3[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm3 = ymm6[1],ymm13[1],ymm6[3],ymm13[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm13 = ymm3[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm2 = ymm8[1],ymm10[1],ymm8[3],ymm10[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = ymm15[1],mem[1],ymm15[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm2 = ymm3[2,3],ymm2[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm0[1],ymm1[1],ymm0[3],ymm1[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm1 = ymm4[1],ymm5[1],ymm4[3],ymm5[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm1 = ymm1[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vunpckhpd {{.*#+}} ymm0 = ymm7[1],ymm9[1],ymm7[3],ymm9[3]
+; AVX2-ONLY-NEXT: vunpckhpd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: # ymm3 = ymm11[1],mem[1],ymm11[3],mem[3]
+; AVX2-ONLY-NEXT: vperm2f128 {{.*#+}} ymm0 = ymm3[2,3],ymm0[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 64(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 80(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 112(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 96(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 48(%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 64(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 80(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 96(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 112(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 48(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 64(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%r8)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 80(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 64(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%r9)
+; AVX2-ONLY-NEXT: vmovaps (%rsp), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 112(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 96(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 32(%r9)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 48(%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 64(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 80(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, (%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 16(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 96(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 112(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 32(%rax)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm3, 48(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm12, 64(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 96(%rax)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovaps %ymm0, 96(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 64(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-ONLY-NEXT: vmovaps %ymm13, (%rax)
+; AVX2-ONLY-NEXT: addq $808, %rsp # imm = 0x328
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i64_stride8_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: subq $280, %rsp # imm = 0x118
+; AVX512F-NEXT: vmovdqa64 704(%rdi), %zmm19
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512F-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %zmm30
+; AVX512F-NEXT: vmovaps 512(%rdi), %zmm0
+; AVX512F-NEXT: vmovups %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 832(%rdi), %zmm16
+; AVX512F-NEXT: vmovdqa64 768(%rdi), %zmm8
+; AVX512F-NEXT: vmovdqa64 960(%rdi), %zmm17
+; AVX512F-NEXT: vmovdqa64 896(%rdi), %zmm9
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %zmm11
+; AVX512F-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512F-NEXT: vmovdqa64 448(%rdi), %zmm10
+; AVX512F-NEXT: vmovdqa64 384(%rdi), %zmm12
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [0,8,0,8,0,8,0,8]
+; AVX512F-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm18, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm18, %zmm13
+; AVX512F-NEXT: movb $-64, %al
+; AVX512F-NEXT: kmovw %eax, %k1
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %xmm31
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm31[0],xmm1[0]
+; AVX512F-NEXT: vmovdqa64 (%rdi), %xmm23
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %xmm21
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm14 = xmm23[0],xmm21[0]
+; AVX512F-NEXT: vinserti128 $1, %xmm3, %ymm14, %ymm3
+; AVX512F-NEXT: vinserti64x4 $0, %ymm3, %zmm13, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm3
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm18, %zmm3
+; AVX512F-NEXT: vpermi2q %zmm16, %zmm8, %zmm18
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm18 {%k1}
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm3 = [2,10,2,10,2,10,2,10]
+; AVX512F-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm3, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm13
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm3, %zmm13
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm13 {%k1}
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm1 = ymm14[0],ymm0[0],ymm14[2],ymm0[2]
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %ymm22
+; AVX512F-NEXT: vmovdqa64 (%rdi), %ymm24
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm24[0],ymm22[0],ymm24[2],ymm22[2]
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm15[2,3],ymm1[2,3]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm1, %zmm13, %zmm1
+; AVX512F-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm3, %zmm1
+; AVX512F-NEXT: vpermi2q %zmm16, %zmm8, %zmm3
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm3 {%k1}
+; AVX512F-NEXT: vmovdqa 704(%rdi), %ymm1
+; AVX512F-NEXT: vmovdqa 640(%rdi), %ymm15
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm13 = ymm15[0],ymm1[0],ymm15[2],ymm1[2]
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %ymm26
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %ymm28
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} ymm6 = ymm28[0],ymm26[0],ymm28[2],ymm26[2]
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm6[2,3],ymm13[2,3]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm6, %zmm3, %zmm3
+; AVX512F-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm29 = [3,11,3,11,3,11,3,11]
+; AVX512F-NEXT: # zmm29 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm29, %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm29, %zmm4
+; AVX512F-NEXT: vmovdqa64 %zmm20, %zmm4 {%k1}
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %zmm25
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm14[1],ymm0[1],ymm14[3],ymm0[3]
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm13
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm3 = ymm24[1],ymm22[1],ymm24[3],ymm22[3]
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %zmm27
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm3[2,3],ymm0[2,3]
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512F-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm0
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm29, %zmm0
+; AVX512F-NEXT: vpermi2q %zmm16, %zmm8, %zmm29
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm29 {%k1}
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm15[1],ymm1[1],ymm15[3],ymm1[3]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} ymm1 = ymm28[1],ymm26[1],ymm28[3],ymm26[3]
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm29, %zmm22
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm0 = [4,12,4,12,4,12,4,12]
+; AVX512F-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm0, %zmm5
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm1 = zmm7[0],zmm11[0],zmm7[2],zmm11[2],zmm7[4],zmm11[4],zmm7[6],zmm11[6]
+; AVX512F-NEXT: vmovdqa64 %zmm5, %zmm1 {%k1}
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm0, %zmm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,4,12>
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm14
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm5, %zmm14
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm4, %zmm1, %zmm24
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm0, %zmm1
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm4 = zmm8[0],zmm16[0],zmm8[2],zmm16[2],zmm8[4],zmm16[4],zmm8[6],zmm16[6]
+; AVX512F-NEXT: vmovdqa64 %zmm1, %zmm4 {%k1}
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm6, %zmm0
+; AVX512F-NEXT: vpermi2q %zmm19, %zmm2, %zmm5
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm26
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [5,13,5,13,5,13,5,13]
+; AVX512F-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm14, %zmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,5,13>
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm2, %zmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm28 = [1,9,1,9,1,9,1,9]
+; AVX512F-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm29
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm28, %zmm29
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [6,14,6,14,6,14,6,14]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vmovdqa64 %zmm7, %zmm4
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm5, %zmm4
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm15 = zmm7[1],zmm11[1],zmm7[3],zmm11[3],zmm7[5],zmm11[5],zmm7[7],zmm11[7]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm1 = [7,15,7,15,7,15,7,15]
+; AVX512F-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpermt2q %zmm11, %zmm1, %zmm7
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm4 {%k1} = zmm12[0],zmm10[0],zmm12[2],zmm10[2],zmm12[4],zmm10[4],zmm12[6],zmm10[6]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm7 {%k1} = zmm12[1],zmm10[1],zmm12[3],zmm10[3],zmm12[5],zmm10[5],zmm12[7],zmm10[7]
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm28, %zmm11
+; AVX512F-NEXT: vpermt2q %zmm10, %zmm14, %zmm12
+; AVX512F-NEXT: vmovdqa64 %zmm12, %zmm15 {%k1}
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm15, %zmm20
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm10
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm28, %zmm10
+; AVX512F-NEXT: vpermi2q %zmm16, %zmm8, %zmm28
+; AVX512F-NEXT: vmovdqa64 %zmm8, %zmm12
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm5, %zmm12
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm15 = zmm8[1],zmm16[1],zmm8[3],zmm16[3],zmm8[5],zmm16[5],zmm8[7],zmm16[7]
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm1, %zmm8
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} zmm12 {%k1} = zmm9[0],zmm17[0],zmm9[2],zmm17[2],zmm9[4],zmm17[4],zmm9[6],zmm17[6]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} zmm8 {%k1} = zmm9[1],zmm17[1],zmm9[3],zmm17[3],zmm9[5],zmm17[5],zmm9[7],zmm17[7]
+; AVX512F-NEXT: vpermt2q %zmm17, %zmm14, %zmm9
+; AVX512F-NEXT: vmovdqa64 %zmm9, %zmm15 {%k1}
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm6, %zmm14
+; AVX512F-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512F-NEXT: vmovdqa64 %zmm19, %zmm16
+; AVX512F-NEXT: vpermi2q %zmm19, %zmm0, %zmm2
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm2, %zmm15, %zmm19
+; AVX512F-NEXT: vmovdqa64 %zmm3, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm5, %zmm9
+; AVX512F-NEXT: vpermt2q %zmm27, %zmm1, %zmm3
+; AVX512F-NEXT: vpermi2q %zmm30, %zmm6, %zmm5
+; AVX512F-NEXT: vpermt2q %zmm30, %zmm1, %zmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,6,14>
+; AVX512F-NEXT: vmovdqa64 %zmm13, %zmm14
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm1, %zmm14
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,7,15>
+; AVX512F-NEXT: vpermt2q %zmm25, %zmm15, %zmm13
+; AVX512F-NEXT: vpermi2q %zmm16, %zmm0, %zmm1
+; AVX512F-NEXT: vpermt2q %zmm16, %zmm15, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm0, %zmm2
+; AVX512F-NEXT: vmovdqa 704(%rdi), %xmm15
+; AVX512F-NEXT: vmovdqa64 640(%rdi), %xmm16
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm17 = xmm16[0],xmm15[0]
+; AVX512F-NEXT: vmovdqa64 576(%rdi), %xmm25
+; AVX512F-NEXT: vmovdqa64 512(%rdi), %xmm27
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm30 = xmm27[0],xmm25[0]
+; AVX512F-NEXT: vinserti32x4 $1, %xmm17, %ymm30, %ymm17
+; AVX512F-NEXT: vinserti64x4 $0, %ymm17, %zmm18, %zmm17
+; AVX512F-NEXT: vmovdqa64 %zmm11, %zmm29 {%k1}
+; AVX512F-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm31, %xmm11 # 16-byte Folded Reload
+; AVX512F-NEXT: # xmm11 = xmm31[1],mem[1]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} xmm18 = xmm23[1],xmm21[1]
+; AVX512F-NEXT: vinserti32x4 $1, %xmm11, %ymm18, %ymm11
+; AVX512F-NEXT: vinserti64x4 $0, %ymm11, %zmm29, %zmm11
+; AVX512F-NEXT: vmovdqa64 %zmm10, %zmm28 {%k1}
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} xmm10 = xmm16[1],xmm15[1]
+; AVX512F-NEXT: vpunpckhqdq {{.*#+}} xmm15 = xmm27[1],xmm25[1]
+; AVX512F-NEXT: vinserti128 $1, %xmm10, %ymm15, %ymm10
+; AVX512F-NEXT: vinserti64x4 $0, %ymm10, %zmm28, %zmm10
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm14[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm9, %zmm4, %zmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm0, %zmm12, %zmm0
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm3, %zmm7, %zmm3
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $0, %ymm5, %zmm8, %zmm5
+; AVX512F-NEXT: vmovdqa64 %zmm17, 64(%rsi)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm1, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm10, 64(%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm11, (%rdx)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm1, 64(%rcx)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512F-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-NEXT: vmovaps %zmm1, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm26, 64(%r9)
+; AVX512F-NEXT: vmovdqa64 %zmm24, (%r9)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm19, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm20, (%rax)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm4, (%rax)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm5, 64(%rax)
+; AVX512F-NEXT: vmovdqa64 %zmm3, (%rax)
+; AVX512F-NEXT: addq $280, %rsp # imm = 0x118
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i64_stride8_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: subq $280, %rsp # imm = 0x118
+; AVX512BW-NEXT: vmovdqa64 704(%rdi), %zmm19
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %zmm30
+; AVX512BW-NEXT: vmovaps 512(%rdi), %zmm0
+; AVX512BW-NEXT: vmovups %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 832(%rdi), %zmm16
+; AVX512BW-NEXT: vmovdqa64 768(%rdi), %zmm8
+; AVX512BW-NEXT: vmovdqa64 960(%rdi), %zmm17
+; AVX512BW-NEXT: vmovdqa64 896(%rdi), %zmm9
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %zmm11
+; AVX512BW-NEXT: vmovdqa64 256(%rdi), %zmm7
+; AVX512BW-NEXT: vmovdqa64 448(%rdi), %zmm10
+; AVX512BW-NEXT: vmovdqa64 384(%rdi), %zmm12
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm18 = [0,8,0,8,0,8,0,8]
+; AVX512BW-NEXT: # zmm18 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm18, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm18, %zmm13
+; AVX512BW-NEXT: movb $-64, %al
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX512BW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %xmm31
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm31[0],xmm1[0]
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %xmm23
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %xmm21
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm14 = xmm23[0],xmm21[0]
+; AVX512BW-NEXT: vinserti128 $1, %xmm3, %ymm14, %ymm3
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm3, %zmm13, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm3
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm18, %zmm3
+; AVX512BW-NEXT: vpermi2q %zmm16, %zmm8, %zmm18
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm18 {%k1}
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm3 = [2,10,2,10,2,10,2,10]
+; AVX512BW-NEXT: # zmm3 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm3, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm13
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm3, %zmm13
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm13 {%k1}
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm14
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm1 = ymm14[0],ymm0[0],ymm14[2],ymm0[2]
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %ymm22
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %ymm24
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm15 = ymm24[0],ymm22[0],ymm24[2],ymm22[2]
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm1 = ymm15[2,3],ymm1[2,3]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm1, %zmm13, %zmm1
+; AVX512BW-NEXT: vmovdqu64 %zmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm3, %zmm1
+; AVX512BW-NEXT: vpermi2q %zmm16, %zmm8, %zmm3
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm3 {%k1}
+; AVX512BW-NEXT: vmovdqa 704(%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 640(%rdi), %ymm15
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm13 = ymm15[0],ymm1[0],ymm15[2],ymm1[2]
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %ymm26
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %ymm28
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} ymm6 = ymm28[0],ymm26[0],ymm28[2],ymm26[2]
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm6 = ymm6[2,3],ymm13[2,3]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm6, %zmm3, %zmm3
+; AVX512BW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm29 = [3,11,3,11,3,11,3,11]
+; AVX512BW-NEXT: # zmm29 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm29, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm29, %zmm4
+; AVX512BW-NEXT: vmovdqa64 %zmm20, %zmm4 {%k1}
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm25
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm14[1],ymm0[1],ymm14[3],ymm0[3]
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm13
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm3 = ymm24[1],ymm22[1],ymm24[3],ymm22[3]
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm27
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm3[2,3],ymm0[2,3]
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512BW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm0
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm29, %zmm0
+; AVX512BW-NEXT: vpermi2q %zmm16, %zmm8, %zmm29
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm29 {%k1}
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm0 = ymm15[1],ymm1[1],ymm15[3],ymm1[3]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} ymm1 = ymm28[1],ymm26[1],ymm28[3],ymm26[3]
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],ymm0[2,3]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm29, %zmm22
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm0 = [4,12,4,12,4,12,4,12]
+; AVX512BW-NEXT: # zmm0 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm0, %zmm5
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm1 = zmm7[0],zmm11[0],zmm7[2],zmm11[2],zmm7[4],zmm11[4],zmm7[6],zmm11[6]
+; AVX512BW-NEXT: vmovdqa64 %zmm5, %zmm1 {%k1}
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm0, %zmm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,4,12>
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm25, %zmm5, %zmm14
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm4, %zmm1, %zmm24
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm0, %zmm1
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm4 = zmm8[0],zmm16[0],zmm8[2],zmm16[2],zmm8[4],zmm16[4],zmm8[6],zmm16[6]
+; AVX512BW-NEXT: vmovdqa64 %zmm1, %zmm4 {%k1}
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm6 # 64-byte Reload
+; AVX512BW-NEXT: vpermi2q %zmm30, %zmm6, %zmm0
+; AVX512BW-NEXT: vpermi2q %zmm19, %zmm2, %zmm5
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm26
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm14 = [5,13,5,13,5,13,5,13]
+; AVX512BW-NEXT: # zmm14 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm14, %zmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,5,13>
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm25, %zmm2, %zmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm28 = [1,9,1,9,1,9,1,9]
+; AVX512BW-NEXT: # zmm28 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm29
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm28, %zmm29
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [6,14,6,14,6,14,6,14]
+; AVX512BW-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vmovdqa64 %zmm7, %zmm4
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm5, %zmm4
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm15 = zmm7[1],zmm11[1],zmm7[3],zmm11[3],zmm7[5],zmm11[5],zmm7[7],zmm11[7]
+; AVX512BW-NEXT: vbroadcasti32x4 {{.*#+}} zmm1 = [7,15,7,15,7,15,7,15]
+; AVX512BW-NEXT: # zmm1 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512BW-NEXT: vpermt2q %zmm11, %zmm1, %zmm7
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm4 {%k1} = zmm12[0],zmm10[0],zmm12[2],zmm10[2],zmm12[4],zmm10[4],zmm12[6],zmm10[6]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm7 {%k1} = zmm12[1],zmm10[1],zmm12[3],zmm10[3],zmm12[5],zmm10[5],zmm12[7],zmm10[7]
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm28, %zmm11
+; AVX512BW-NEXT: vpermt2q %zmm10, %zmm14, %zmm12
+; AVX512BW-NEXT: vmovdqa64 %zmm12, %zmm15 {%k1}
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm15, %zmm20
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm10
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm28, %zmm10
+; AVX512BW-NEXT: vpermi2q %zmm16, %zmm8, %zmm28
+; AVX512BW-NEXT: vmovdqa64 %zmm8, %zmm12
+; AVX512BW-NEXT: vpermt2q %zmm16, %zmm5, %zmm12
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm15 = zmm8[1],zmm16[1],zmm8[3],zmm16[3],zmm8[5],zmm16[5],zmm8[7],zmm16[7]
+; AVX512BW-NEXT: vpermt2q %zmm16, %zmm1, %zmm8
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} zmm12 {%k1} = zmm9[0],zmm17[0],zmm9[2],zmm17[2],zmm9[4],zmm17[4],zmm9[6],zmm17[6]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} zmm8 {%k1} = zmm9[1],zmm17[1],zmm9[3],zmm17[3],zmm9[5],zmm17[5],zmm9[7],zmm17[7]
+; AVX512BW-NEXT: vpermt2q %zmm17, %zmm14, %zmm9
+; AVX512BW-NEXT: vmovdqa64 %zmm9, %zmm15 {%k1}
+; AVX512BW-NEXT: vpermi2q %zmm30, %zmm6, %zmm14
+; AVX512BW-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512BW-NEXT: vmovdqa64 %zmm19, %zmm16
+; AVX512BW-NEXT: vpermi2q %zmm19, %zmm0, %zmm2
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm2 = ymm14[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm2, %zmm15, %zmm19
+; AVX512BW-NEXT: vmovdqa64 %zmm3, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm5, %zmm9
+; AVX512BW-NEXT: vpermt2q %zmm27, %zmm1, %zmm3
+; AVX512BW-NEXT: vpermi2q %zmm30, %zmm6, %zmm5
+; AVX512BW-NEXT: vpermt2q %zmm30, %zmm1, %zmm6
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,6,14>
+; AVX512BW-NEXT: vmovdqa64 %zmm13, %zmm14
+; AVX512BW-NEXT: vpermt2q %zmm25, %zmm1, %zmm14
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,7,15>
+; AVX512BW-NEXT: vpermt2q %zmm25, %zmm15, %zmm13
+; AVX512BW-NEXT: vpermi2q %zmm16, %zmm0, %zmm1
+; AVX512BW-NEXT: vpermt2q %zmm16, %zmm15, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm0, %zmm2
+; AVX512BW-NEXT: vmovdqa 704(%rdi), %xmm15
+; AVX512BW-NEXT: vmovdqa64 640(%rdi), %xmm16
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm17 = xmm16[0],xmm15[0]
+; AVX512BW-NEXT: vmovdqa64 576(%rdi), %xmm25
+; AVX512BW-NEXT: vmovdqa64 512(%rdi), %xmm27
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm30 = xmm27[0],xmm25[0]
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm17, %ymm30, %ymm17
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm17, %zmm18, %zmm17
+; AVX512BW-NEXT: vmovdqa64 %zmm11, %zmm29 {%k1}
+; AVX512BW-NEXT: vpunpckhqdq {{[-0-9]+}}(%r{{[sb]}}p), %xmm31, %xmm11 # 16-byte Folded Reload
+; AVX512BW-NEXT: # xmm11 = xmm31[1],mem[1]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} xmm18 = xmm23[1],xmm21[1]
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm11, %ymm18, %ymm11
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm11, %zmm29, %zmm11
+; AVX512BW-NEXT: vmovdqa64 %zmm10, %zmm28 {%k1}
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} xmm10 = xmm16[1],xmm15[1]
+; AVX512BW-NEXT: vpunpckhqdq {{.*#+}} xmm15 = xmm27[1],xmm25[1]
+; AVX512BW-NEXT: vinserti128 $1, %xmm10, %ymm15, %ymm10
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm10, %zmm28, %zmm10
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm9, %zmm4, %zmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm0, %zmm12, %zmm0
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm3, %zmm7, %zmm3
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $0, %ymm5, %zmm8, %zmm5
+; AVX512BW-NEXT: vmovdqa64 %zmm17, 64(%rsi)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm1, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, 64(%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm11, (%rdx)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm1, 64(%rcx)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm22, 64(%r8)
+; AVX512BW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512BW-NEXT: vmovaps %zmm1, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm26, 64(%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm24, (%r9)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm19, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm20, (%rax)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm0, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rax)
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa64 %zmm5, 64(%rax)
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rax)
+; AVX512BW-NEXT: addq $280, %rsp # imm = 0x118
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i64>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120>
+ %strided.vec1 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121>
+ %strided.vec2 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122>
+ %strided.vec3 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123>
+ %strided.vec4 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124>
+ %strided.vec5 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125>
+ %strided.vec6 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126>
+ %strided.vec7 = shufflevector <128 x i64> %wide.vec, <128 x i64> poison, <16 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127>
+
+ store <16 x i64> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i64> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i64> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i64> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i64> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i64> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i64> %strided.vec6, ptr %out.vec6, align 64
+ store <16 x i64> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-FAST: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512BW-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-FAST: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; AVX512F-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movw %ax, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride2_vf2:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX-NEXT: vpextrw $0, %xmm0, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride2_vf2:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX1-NEXT: vpextrw $0, %xmm0, (%rdx)
+; AVX1-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride2_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpmovwb %xmm0, %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX512-NEXT: vpextrw $0, %xmm0, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <4 x i8>, ptr %in.vec, align 32
+; AVX512F-LABEL: load_i8_stride2_vf2:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX512F-NEXT: vpextrw $0, %xmm0, (%rdx)
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride2_vf2:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-NEXT: vpmovwb %xmm0, %xmm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX512BW-NEXT: vpextrw $0, %xmm0, (%rdx)
+; AVX512BW-NEXT: retq
+ %wide.vec = load <4 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <4 x i8> %wide.vec, <4 x i8> poison, <2 x i32> <i32 0, i32 2>
%strided.vec1 = shufflevector <4 x i8> %wide.vec, <4 x i8> poison, <2 x i32> <i32 1, i32 3>
- store <2 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i8> %strided.vec1, ptr %out.vec1, align 32
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movd %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride2_vf4:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vmovd %xmm1, (%rsi)
-; AVX-NEXT: vmovd %xmm0, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride2_vf4:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vmovd %xmm1, (%rsi)
+; AVX1-NEXT: vmovd %xmm0, (%rdx)
+; AVX1-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride2_vf4:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vmovd %xmm1, (%rsi)
+; AVX512F-NEXT: vmovd %xmm0, (%rdx)
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride2_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
-; AVX512-NEXT: vpmovwb %xmm0, %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vmovd %xmm1, (%rsi)
-; AVX512-NEXT: vmovd %xmm0, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <8 x i8>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i8_stride2_vf4:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
+; AVX512BW-NEXT: vpmovwb %xmm0, %xmm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vmovd %xmm1, (%rsi)
+; AVX512BW-NEXT: vmovd %xmm0, (%rdx)
+; AVX512BW-NEXT: retq
+ %wide.vec = load <8 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
%strided.vec1 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
- store <4 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i8> %strided.vec1, ptr %out.vec1, align 32
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movq %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride2_vf8:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vmovq %xmm1, (%rsi)
-; AVX-NEXT: vmovq %xmm0, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride2_vf8:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vmovq %xmm1, (%rsi)
+; AVX1-NEXT: vmovq %xmm0, (%rdx)
+; AVX1-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride2_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vmovq %xmm1, (%rsi)
+; AVX512F-NEXT: vmovq %xmm0, (%rdx)
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride2_vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpmovwb %xmm0, (%rsi)
-; AVX512-NEXT: vmovq %xmm1, (%rdx)
-; AVX512-NEXT: retq
- %wide.vec = load <16 x i8>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i8_stride2_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpmovwb %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512BW-NEXT: retq
+ %wide.vec = load <16 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <8 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14>
%strided.vec1 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <8 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15>
- store <8 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i8> %strided.vec1, ptr %out.vec1, align 32
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movdqa %xmm0, (%rdx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride2_vf16:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
-; AVX-NEXT: vmovdqa (%rdi), %xmm1
-; AVX-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX-NEXT: vpand %xmm0, %xmm2, %xmm3
-; AVX-NEXT: vpand %xmm0, %xmm1, %xmm0
-; AVX-NEXT: vpackuswb %xmm3, %xmm0, %xmm0
-; AVX-NEXT: vmovdqa {{.*#+}} xmm3 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
-; AVX-NEXT: vpshufb %xmm3, %xmm2, %xmm2
-; AVX-NEXT: vpshufb %xmm3, %xmm1, %xmm1
-; AVX-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
-; AVX-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride2_vf16:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
+; AVX1-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-NEXT: vpand %xmm0, %xmm2, %xmm3
+; AVX1-NEXT: vpand %xmm0, %xmm1, %xmm0
+; AVX1-NEXT: vpackuswb %xmm3, %xmm0, %xmm0
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride2_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-NEXT: vpand %xmm0, %xmm2, %xmm3
+; AVX512F-NEXT: vpand %xmm0, %xmm1, %xmm0
+; AVX512F-NEXT: vpackuswb %xmm3, %xmm0, %xmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm3 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX512F-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX512F-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512F-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride2_vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa (%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
-; AVX512-NEXT: vpshufb %xmm3, %xmm2, %xmm2
-; AVX512-NEXT: vpshufb %xmm3, %xmm1, %xmm1
-; AVX512-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
-; AVX512-NEXT: vpmovwb %ymm0, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <32 x i8>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i8_stride2_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX512BW-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX512BW-NEXT: vpmovwb %ymm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <32 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <16 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30>
%strided.vec1 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <16 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31>
- store <16 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i8> %strided.vec1, ptr %out.vec1, align 32
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
ret void
}
; SSE-NEXT: movdqa %xmm2, 16(%rdx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride2_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm4
-; AVX1-NEXT: vpand %xmm0, %xmm4, %xmm5
-; AVX1-NEXT: vpand %xmm0, %xmm3, %xmm6
-; AVX1-NEXT: vpackuswb %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpand %xmm0, %xmm2, %xmm6
-; AVX1-NEXT: vpand %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vpackuswb %xmm6, %xmm0, %xmm0
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm6, %xmm4, %xmm4
-; AVX1-NEXT: vpshufb %xmm6, %xmm3, %xmm3
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm4[0]
-; AVX1-NEXT: vpshufb %xmm6, %xmm2, %xmm2
-; AVX1-NEXT: vpshufb %xmm6, %xmm1, %xmm1
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm1, %ymm1
-; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm5, 16(%rsi)
-; AVX1-NEXT: vmovaps %ymm1, (%rdx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride2_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpand %xmm0, %xmm4, %xmm5
+; AVX1-ONLY-NEXT: vpand %xmm0, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vpackuswb %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpand %xmm0, %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vpand %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vpackuswb %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm4[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm1 = xmm1[0],xmm2[0]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride2_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %ymm0
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX2-NEXT: vpshufb {{.*#+}} ymm2 = ymm1[u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
-; AVX2-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
-; AVX2-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
-; AVX2-NEXT: vmovdqa %ymm2, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm0, (%rdx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i8_stride2_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm2 = ymm1[u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride2_vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
-; AVX512-NEXT: vmovdqa (%rdi), %ymm1
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm2
-; AVX512-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
-; AVX512-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,2,1,3]
-; AVX512-NEXT: vpmovwb %zmm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm1, (%rdx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <64 x i8>, ptr %in.vec, align 32
+; AVX512F-SLOW-LABEL: load_i8_stride2_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm1[u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1],ymm2[2,3],ymm3[4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride2_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm1[u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [0,2,5,7]
+; AVX512F-FAST-NEXT: vpermt2q %ymm2, %ymm4, %ymm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpermt2q %ymm1, %ymm4, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride2_vf32:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX512BW-SLOW-NEXT: vpermq {{.*#+}} ymm1 = ymm1[0,2,1,3]
+; AVX512BW-SLOW-NEXT: vpmovwb %zmm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride2_vf32:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,5,7]
+; AVX512BW-FAST-NEXT: vpermi2q %ymm2, %ymm1, %ymm3
+; AVX512BW-FAST-NEXT: vpmovwb %zmm0, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, (%rdx)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <64 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <32 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62>
%strided.vec1 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <32 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63>
- store <32 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i8> %strided.vec1, ptr %out.vec1, align 32
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+
+ ret void
+}
+
+define void @load_i8_stride2_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1) nounwind {
+; SSE-LABEL: load_i8_stride2_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm0
+; SSE-NEXT: movdqa 16(%rdi), %xmm7
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm4
+; SSE-NEXT: movdqa 96(%rdi), %xmm1
+; SSE-NEXT: movdqa 112(%rdi), %xmm9
+; SSE-NEXT: movdqa 64(%rdi), %xmm3
+; SSE-NEXT: movdqa 80(%rdi), %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm11, %xmm8
+; SSE-NEXT: pand %xmm6, %xmm8
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: pand %xmm6, %xmm5
+; SSE-NEXT: packuswb %xmm8, %xmm5
+; SSE-NEXT: movdqa %xmm9, %xmm10
+; SSE-NEXT: pand %xmm6, %xmm10
+; SSE-NEXT: movdqa %xmm1, %xmm8
+; SSE-NEXT: pand %xmm6, %xmm8
+; SSE-NEXT: packuswb %xmm10, %xmm8
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: pand %xmm6, %xmm12
+; SSE-NEXT: movdqa %xmm0, %xmm10
+; SSE-NEXT: pand %xmm6, %xmm10
+; SSE-NEXT: packuswb %xmm12, %xmm10
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: pand %xmm6, %xmm12
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: packuswb %xmm12, %xmm6
+; SSE-NEXT: psrlw $8, %xmm11
+; SSE-NEXT: psrlw $8, %xmm3
+; SSE-NEXT: packuswb %xmm11, %xmm3
+; SSE-NEXT: psrlw $8, %xmm9
+; SSE-NEXT: psrlw $8, %xmm1
+; SSE-NEXT: packuswb %xmm9, %xmm1
+; SSE-NEXT: psrlw $8, %xmm7
+; SSE-NEXT: psrlw $8, %xmm0
+; SSE-NEXT: packuswb %xmm7, %xmm0
+; SSE-NEXT: psrlw $8, %xmm4
+; SSE-NEXT: psrlw $8, %xmm2
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm6, 16(%rsi)
+; SSE-NEXT: movdqa %xmm10, (%rsi)
+; SSE-NEXT: movdqa %xmm8, 48(%rsi)
+; SSE-NEXT: movdqa %xmm5, 32(%rsi)
+; SSE-NEXT: movdqa %xmm2, 16(%rdx)
+; SSE-NEXT: movdqa %xmm0, (%rdx)
+; SSE-NEXT: movdqa %xmm1, 48(%rdx)
+; SSE-NEXT: movdqa %xmm3, 32(%rdx)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride2_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = [255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vpackuswb %xmm0, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm4, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm6, %xmm7
+; AVX1-ONLY-NEXT: vpackuswb %xmm5, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm10, %xmm11
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm9, %xmm12
+; AVX1-ONLY-NEXT: vpackuswb %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm8, %xmm12
+; AVX1-ONLY-NEXT: vpand %xmm1, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vpackuswb %xmm12, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm2 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm4[0],xmm3[0]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm4[0],xmm3[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm4 = xmm6[0],xmm4[0]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride2_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14>
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm3, %ymm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm2, %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1],ymm5[2,3],ymm7[4,5],ymm5[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm5 = ymm5[0,2,1,3]
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm1, %ymm4
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1],ymm4[2,3],ymm6[4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm4 = ymm4[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15>
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1],ymm3[2,3],ymm2[4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm2[0,2,1,3]
+; AVX2-ONLY-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1],ymm1[2,3],ymm0[4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm0 = ymm0[0,2,1,3]
+; AVX2-ONLY-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride2_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14>
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm4, %ymm5
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm6, %ymm3, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1],ymm5[2,3],ymm7[4,5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-SLOW-NEXT: vpshufb %ymm6, %ymm1, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1],ymm0[2,3],ymm6[4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm0
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} zmm0 = zmm0[0,2,1,3,4,6,5,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15>
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm4, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1],ymm4[2,3],ymm3[4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX512F-SLOW-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1],ymm2[2,3],ymm1[4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm1
+; AVX512F-SLOW-NEXT: vpermq {{.*#+}} zmm1 = zmm1[0,2,1,3,4,6,5,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride2_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14>
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm4, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm3, %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm5
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm5, %zmm5
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,2,9,11,4,6,13,15]
+; AVX512F-FAST-NEXT: vpermt2q %zmm0, %zmm6, %zmm5
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15>
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm2, %ymm0
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm1
+; AVX512F-FAST-NEXT: vpermt2q %zmm0, %zmm6, %zmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm1, (%rdx)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride2_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm2 = zmm1[u,u,u,u,u,u,u,u,0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u,32,34,36,38,40,42,44,46,u,u,u,u,u,u,u,u,48,50,52,54,56,58,60,62]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm3 = zmm0[0,2,4,6,8,10,12,14,u,u,u,u,u,u,u,u,16,18,20,22,24,26,28,30,u,u,u,u,u,u,u,u,32,34,36,38,40,42,44,46,u,u,u,u,u,u,u,u,48,50,52,54,56,58,60,62,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,2,4,6,9,11,13,15]
+; AVX512BW-NEXT: vpermt2q %zmm2, %zmm4, %zmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm1 = zmm1[u,u,u,u,u,u,u,u,1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u,33,35,37,39,41,43,45,47,u,u,u,u,u,u,u,u,49,51,53,55,57,59,61,63]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm0 = zmm0[1,3,5,7,9,11,13,15,u,u,u,u,u,u,u,u,17,19,21,23,25,27,29,31,u,u,u,u,u,u,u,u,33,35,37,39,41,43,45,47,u,u,u,u,u,u,u,u,49,51,53,55,57,59,61,63,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpermt2q %zmm1, %zmm4, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm3, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rdx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <64 x i32> <i32 0, i32 2, i32 4, i32 6, i32 8, i32 10, i32 12, i32 14, i32 16, i32 18, i32 20, i32 22, i32 24, i32 26, i32 28, i32 30, i32 32, i32 34, i32 36, i32 38, i32 40, i32 42, i32 44, i32 46, i32 48, i32 50, i32 52, i32 54, i32 56, i32 58, i32 60, i32 62, i32 64, i32 66, i32 68, i32 70, i32 72, i32 74, i32 76, i32 78, i32 80, i32 82, i32 84, i32 86, i32 88, i32 90, i32 92, i32 94, i32 96, i32 98, i32 100, i32 102, i32 104, i32 106, i32 108, i32 110, i32 112, i32 114, i32 116, i32 118, i32 120, i32 122, i32 124, i32 126>
+ %strided.vec1 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <64 x i32> <i32 1, i32 3, i32 5, i32 7, i32 9, i32 11, i32 13, i32 15, i32 17, i32 19, i32 21, i32 23, i32 25, i32 27, i32 29, i32 31, i32 33, i32 35, i32 37, i32 39, i32 41, i32 43, i32 45, i32 47, i32 49, i32 51, i32 53, i32 55, i32 57, i32 59, i32 61, i32 63, i32 65, i32 67, i32 69, i32 71, i32 73, i32 75, i32 77, i32 79, i32 81, i32 83, i32 85, i32 87, i32 89, i32 91, i32 93, i32 95, i32 97, i32 99, i32 101, i32 103, i32 105, i32 107, i32 109, i32 111, i32 113, i32 115, i32 117, i32 119, i32 121, i32 123, i32 125, i32 127>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; AVX-NEXT: vpextrw $0, %xmm2, (%rdx)
; AVX-NEXT: vpextrw $0, %xmm0, (%rcx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride3_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,3,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,4,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[2,5,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX512-NEXT: vpextrw $0, %xmm2, (%rdx)
-; AVX512-NEXT: vpextrw $0, %xmm0, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <6 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <6 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <6 x i8> %wide.vec, <6 x i8> poison, <2 x i32> <i32 0, i32 3>
%strided.vec1 = shufflevector <6 x i8> %wide.vec, <6 x i8> poison, <2 x i32> <i32 1, i32 4>
%strided.vec2 = shufflevector <6 x i8> %wide.vec, <6 x i8> poison, <2 x i32> <i32 2, i32 5>
- store <2 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i8> %strided.vec2, ptr %out.vec2, align 32
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; AVX-NEXT: vmovd %xmm2, (%rdx)
; AVX-NEXT: vmovd %xmm0, (%rcx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride3_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,3,6,9,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,4,7,10,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[2,5,8,11,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vmovd %xmm1, (%rsi)
-; AVX512-NEXT: vmovd %xmm2, (%rdx)
-; AVX512-NEXT: vmovd %xmm0, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <12 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <4 x i32> <i32 0, i32 3, i32 6, i32 9>
%strided.vec1 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <4 x i32> <i32 1, i32 4, i32 7, i32 10>
%strided.vec2 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <4 x i32> <i32 2, i32 5, i32 8, i32 11>
- store <4 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i8> %strided.vec2, ptr %out.vec2, align 32
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; AVX-NEXT: vmovq %xmm3, (%rdx)
; AVX-NEXT: vmovq %xmm0, (%rcx)
; AVX-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride3_vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,zero,zero,zero,xmm1[2,5,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,3,6,9,12,15],zero,zero,xmm0[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,zero,zero,xmm1[0,3,6,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,4,7,10,13],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm3, %xmm4, %xmm3
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,zero,zero,xmm1[1,4,7,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[2,5,8,11,14],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm1, %xmm0, %xmm0
-; AVX512-NEXT: vmovq %xmm2, (%rsi)
-; AVX512-NEXT: vmovq %xmm3, (%rdx)
-; AVX512-NEXT: vmovq %xmm0, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <24 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <8 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21>
%strided.vec1 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <8 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22>
%strided.vec2 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <8 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23>
- store <8 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i8> %strided.vec2, ptr %out.vec2, align 32
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movdqa %xmm4, (%rcx)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride3_vf16:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX-NEXT: vmovdqa {{.*#+}} xmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
-; AVX-NEXT: vpshufb %xmm3, %xmm0, %xmm0
-; AVX-NEXT: vpshufb %xmm3, %xmm1, %xmm1
-; AVX-NEXT: vpshufb %xmm3, %xmm2, %xmm2
-; AVX-NEXT: vpalignr {{.*#+}} xmm3 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
-; AVX-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
-; AVX-NEXT: vpalignr {{.*#+}} xmm2 = xmm3[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX-NEXT: vmovdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX-NEXT: vpblendvb %xmm4, %xmm0, %xmm1, %xmm1
-; AVX-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
-; AVX-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
-; AVX-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX-NEXT: vmovdqa %xmm1, (%rdx)
-; AVX-NEXT: vmovdqa %xmm2, (%rcx)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride3_vf16:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX1-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX1-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-NEXT: vpalignr {{.*#+}} xmm3 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-NEXT: vpalignr {{.*#+}} xmm2 = xmm3[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX1-NEXT: vpblendvb %xmm4, %xmm0, %xmm1, %xmm1
+; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
+; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX1-NEXT: vmovdqa %xmm2, (%rcx)
+; AVX1-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride3_vf16:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512F-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX512F-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX512F-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm3 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm2 = xmm3[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm0, %xmm1
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512F-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
+; AVX512F-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512F-NEXT: vmovdqa %xmm1, (%rdx)
+; AVX512F-NEXT: vmovdqa %xmm2, (%rcx)
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride3_vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX512-NEXT: vmovdqa {{.*#+}} xmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
-; AVX512-NEXT: vpshufb %xmm3, %xmm0, %xmm0
-; AVX512-NEXT: vpshufb %xmm3, %xmm1, %xmm1
-; AVX512-NEXT: vpshufb %xmm3, %xmm2, %xmm2
-; AVX512-NEXT: vpalignr {{.*#+}} xmm3 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
-; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX512-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
-; AVX512-NEXT: movw $-2048, %ax # imm = 0xF800
-; AVX512-NEXT: kmovd %eax, %k1
-; AVX512-NEXT: vpblendmb %xmm1, %xmm0, %xmm2 {%k1}
-; AVX512-NEXT: vpalignr {{.*#+}} xmm1 = xmm3[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
-; AVX512-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
-; AVX512-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm2, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX512-NEXT: retq
- %wide.vec = load <48 x i8>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i8_stride3_vf16:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm3 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512BW-NEXT: movw $-2048, %ax # imm = 0xF800
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vpblendmb %xmm1, %xmm0, %xmm2 {%k1}
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm1 = xmm3[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
+; AVX512BW-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
+; AVX512BW-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %xmm2, (%rdx)
+; AVX512BW-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX512BW-NEXT: retq
+ %wide.vec = load <48 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <16 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45>
%strided.vec1 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <16 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46>
%strided.vec2 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <16 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47>
- store <16 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i8> %strided.vec2, ptr %out.vec2, align 32
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
ret void
}
; SSE-NEXT: movdqa %xmm11, (%rcx)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride3_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm5
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
-; AVX1-NEXT: vpshufb %xmm6, %xmm0, %xmm0
-; AVX1-NEXT: vpshufb %xmm6, %xmm3, %xmm3
-; AVX1-NEXT: vpshufb %xmm6, %xmm1, %xmm1
-; AVX1-NEXT: vpshufb %xmm6, %xmm4, %xmm4
-; AVX1-NEXT: vpshufb %xmm6, %xmm2, %xmm2
-; AVX1-NEXT: vpshufb %xmm6, %xmm5, %xmm5
-; AVX1-NEXT: vpalignr {{.*#+}} xmm6 = xmm5[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm7 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm8
-; AVX1-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vinsertf128 $1, %xmm4, %ymm1, %ymm2
-; AVX1-NEXT: vpalignr {{.*#+}} xmm1 = xmm7[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm4 = xmm6[11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vbroadcastf128 {{.*#+}} ymm5 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX1-NEXT: # ymm5 = mem[0,1,0,1]
-; AVX1-NEXT: vandnps %ymm2, %ymm5, %ymm2
-; AVX1-NEXT: vandps %ymm5, %ymm8, %ymm5
-; AVX1-NEXT: vorps %ymm2, %ymm5, %ymm2
-; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7,8,9,10]
-; AVX1-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
-; AVX1-NEXT: vmovdqa %xmm3, 16(%rsi)
-; AVX1-NEXT: vmovdqa %xmm0, (%rsi)
-; AVX1-NEXT: vmovaps %ymm2, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm4, 16(%rcx)
-; AVX1-NEXT: vmovdqa %xmm1, (%rcx)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride3_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = xmm5[11,12,13,14,15],xmm3[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm2[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[11,12,13,14,15],xmm5[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[11,12,13,14,15],xmm2[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm1, %ymm2
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm7[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm6[11,12,13,14,15],xmm4[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vbroadcastf128 {{.*#+}} ymm5 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX1-ONLY-NEXT: # ymm5 = mem[0,1,0,1]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm5, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm8, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm5, %ymm2
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[11,12,13,14,15],xmm6[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm3 = xmm3[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, 16(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rcx)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride3_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX2-ONLY-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm2 = ymm3[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm0, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride3_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX2-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
-; AVX2-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
-; AVX2-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
-; AVX2-NEXT: vpshufb %ymm3, %ymm0, %ymm0
-; AVX2-NEXT: vpshufb %ymm3, %ymm1, %ymm1
-; AVX2-NEXT: vpshufb %ymm3, %ymm2, %ymm2
-; AVX2-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
-; AVX2-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
-; AVX2-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
-; AVX2-NEXT: vpalignr {{.*#+}} ymm2 = ymm3[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX2-NEXT: vpblendvb %ymm4, %ymm0, %ymm1, %ymm1
-; AVX2-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
-; AVX2-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
-; AVX2-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm1, (%rdx)
-; AVX2-NEXT: vmovdqa %ymm2, (%rcx)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX512F-LABEL: load_i8_stride3_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
+; AVX512F-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
+; AVX512F-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512F-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX512F-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm2 = ymm3[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vbroadcasti128 {{.*#+}} ymm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-NEXT: # ymm4 = mem[0,1,0,1]
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm0, %ymm4
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
+; AVX512F-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride3_vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX512-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
-; AVX512-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
-; AVX512-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
-; AVX512-NEXT: vpshufb %ymm3, %ymm0, %ymm0
-; AVX512-NEXT: vpshufb %ymm3, %ymm1, %ymm1
-; AVX512-NEXT: vpshufb %ymm3, %ymm2, %ymm2
-; AVX512-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
-; AVX512-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
-; AVX512-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
-; AVX512-NEXT: movl $-134154240, %eax # imm = 0xF800F800
-; AVX512-NEXT: kmovd %eax, %k1
-; AVX512-NEXT: vpblendmb %ymm1, %ymm0, %ymm2 {%k1}
-; AVX512-NEXT: vpalignr {{.*#+}} ymm1 = ymm3[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
-; AVX512-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
-; AVX512-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
-; AVX512-NEXT: vmovdqa %ymm0, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm2, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm1, (%rcx)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <96 x i8>, ptr %in.vec, align 32
+; AVX512BW-LABEL: load_i8_stride3_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
+; AVX512BW-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
+; AVX512BW-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512BW-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX512BW-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512BW-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm3 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512BW-NEXT: movl $-134154240, %eax # imm = 0xF800F800
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vpblendmb %ymm1, %ymm0, %ymm2 {%k1}
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm1 = ymm3[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512BW-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm2, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm1, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <96 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <32 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93>
%strided.vec1 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <32 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94>
%strided.vec2 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <32 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95>
- store <32 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i8> %strided.vec2, ptr %out.vec2, align 32
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+
+ ret void
+}
+
+define void @load_i8_stride3_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2) nounwind {
+; SSE-LABEL: load_i8_stride3_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $152, %rsp
+; SSE-NEXT: movdqa 80(%rdi), %xmm2
+; SSE-NEXT: movdqa (%rdi), %xmm4
+; SSE-NEXT: movdqa 16(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm6
+; SSE-NEXT: movdqa 64(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,0,255,255,0,255,255,0,255,255,0,255,255,0,255]
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,0,255,255,0,255,255,0,255,255,0,255,255,0,255,255]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm3, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: pxor %xmm10, %xmm10
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,0,65535,65535,0,65535,65535,0]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm10[0],xmm6[1],xmm10[1],xmm6[2],xmm10[2],xmm6[3],xmm10[3],xmm6[4],xmm10[4],xmm6[5],xmm10[5],xmm6[6],xmm10[6],xmm6[7],xmm10[7]
+; SSE-NEXT: pand %xmm7, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm10[8],xmm13[9],xmm10[9],xmm13[10],xmm10[10],xmm13[11],xmm10[11],xmm13[12],xmm10[12],xmm13[13],xmm10[13],xmm13[14],xmm10[14],xmm13[15],xmm10[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3],xmm2[4],xmm10[4],xmm2[5],xmm10[5],xmm2[6],xmm10[6],xmm2[7],xmm10[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm3, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3],xmm4[4],xmm10[4],xmm4[5],xmm10[5],xmm4[6],xmm10[6],xmm4[7],xmm10[7]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm11
+; SSE-NEXT: punpckhbw {{.*#+}} xmm11 = xmm11[8],xmm10[8],xmm11[9],xmm10[9],xmm11[10],xmm10[10],xmm11[11],xmm10[11],xmm11[12],xmm10[12],xmm11[13],xmm10[13],xmm11[14],xmm10[14],xmm11[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm10[0],xmm15[1],xmm10[1],xmm15[2],xmm10[2],xmm15[3],xmm10[3],xmm15[4],xmm10[4],xmm15[5],xmm10[5],xmm15[6],xmm10[6],xmm15[7],xmm10[7]
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: movdqa 144(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3],xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: packuswb %xmm0, %xmm4
+; SSE-NEXT: movdqa 176(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm10[8],xmm1[9],xmm10[9],xmm1[10],xmm10[10],xmm1[11],xmm10[11],xmm1[12],xmm10[12],xmm1[13],xmm10[13],xmm1[14],xmm10[14],xmm1[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pandn %xmm1, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3],xmm2[4],xmm10[4],xmm2[5],xmm10[5],xmm2[6],xmm10[6],xmm2[7],xmm10[7]
+; SSE-NEXT: movdqa %xmm2, %xmm9
+; SSE-NEXT: pand %xmm12, %xmm9
+; SSE-NEXT: por %xmm8, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm9[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: movdqa 96(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm3, %xmm8
+; SSE-NEXT: por %xmm4, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm10[8],xmm4[9],xmm10[9],xmm4[10],xmm10[10],xmm4[11],xmm10[11],xmm4[12],xmm10[12],xmm4[13],xmm10[13],xmm4[14],xmm10[14],xmm4[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm7, %xmm9
+; SSE-NEXT: pandn %xmm4, %xmm9
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm10[0],xmm8[1],xmm10[1],xmm8[2],xmm10[2],xmm8[3],xmm10[3],xmm8[4],xmm10[4],xmm8[5],xmm10[5],xmm8[6],xmm10[6],xmm8[7],xmm10[7]
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: por %xmm9, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm8[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,3]
+; SSE-NEXT: packuswb %xmm4, %xmm9
+; SSE-NEXT: movdqa 128(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm10[8],xmm3[9],xmm10[9],xmm3[10],xmm10[10],xmm3[11],xmm10[11],xmm3[12],xmm10[12],xmm3[13],xmm10[13],xmm3[14],xmm10[14],xmm3[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm10[0],xmm8[1],xmm10[1],xmm8[2],xmm10[2],xmm8[3],xmm10[3],xmm8[4],xmm10[4],xmm8[5],xmm10[5],xmm8[6],xmm10[6],xmm8[7],xmm10[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm8
+; SSE-NEXT: por %xmm4, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm9
+; SSE-NEXT: por %xmm9, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm4, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm10[8],xmm8[9],xmm10[9],xmm8[10],xmm10[10],xmm8[11],xmm10[11],xmm8[12],xmm10[12],xmm8[13],xmm10[13],xmm8[14],xmm10[14],xmm8[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm9
+; SSE-NEXT: pandn %xmm8, %xmm9
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3],xmm4[4],xmm10[4],xmm4[5],xmm10[5],xmm4[6],xmm10[6],xmm4[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm9, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,6,7,4]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[1,2,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm4
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, %xmm9
+; SSE-NEXT: pandn %xmm13, %xmm9
+; SSE-NEXT: pand %xmm12, %xmm13
+; SSE-NEXT: por %xmm8, %xmm13
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm13[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm4, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm10[8],xmm8[9],xmm10[9],xmm8[10],xmm10[10],xmm8[11],xmm10[11],xmm8[12],xmm10[12],xmm8[13],xmm10[13],xmm8[14],xmm10[14],xmm8[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: pandn %xmm8, %xmm13
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3],xmm4[4],xmm10[4],xmm4[5],xmm10[5],xmm4[6],xmm10[6],xmm4[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm13, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,5,6,7,4]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm8[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pandn %xmm15, %xmm8
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm11, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm11
+; SSE-NEXT: por %xmm8, %xmm11
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm11[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm6, %xmm13
+; SSE-NEXT: pandn %xmm8, %xmm13
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm10[8],xmm8[9],xmm10[9],xmm8[10],xmm10[10],xmm8[11],xmm10[11],xmm8[12],xmm10[12],xmm8[13],xmm10[13],xmm8[14],xmm10[14],xmm8[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm11, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm8[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm8
+; SSE-NEXT: pandn %xmm1, %xmm8
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm6, %xmm11
+; SSE-NEXT: por %xmm11, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm10[8],xmm1[9],xmm10[9],xmm1[10],xmm10[10],xmm1[11],xmm10[11],xmm1[12],xmm10[12],xmm1[13],xmm10[13],xmm1[14],xmm10[14],xmm1[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: pandn %xmm1, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm10[0],xmm5[1],xmm10[1],xmm5[2],xmm10[2],xmm5[3],xmm10[3],xmm5[4],xmm10[4],xmm5[5],xmm10[5],xmm5[6],xmm10[6],xmm5[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm11, %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,6,7,4]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm12
+; SSE-NEXT: pand %xmm6, %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pandn %xmm1, %xmm6
+; SSE-NEXT: por %xmm5, %xmm6
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [255,255,0,255,255,0,255,255,0,255,255,0,255,255,0,255]
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm10[8],xmm1[9],xmm10[9],xmm1[10],xmm10[10],xmm1[11],xmm10[11],xmm1[12],xmm10[12],xmm1[13],xmm10[13],xmm1[14],xmm10[14],xmm1[15],xmm10[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [0,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm5[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm9, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm11
+; SSE-NEXT: por %xmm11, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pand %xmm4, %xmm9
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: pandn %xmm0, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3],xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm9
+; SSE-NEXT: por %xmm11, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm9[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[2,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm9, %xmm11
+; SSE-NEXT: pand %xmm7, %xmm15
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm4, %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm9, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm11
+; SSE-NEXT: por %xmm11, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,0,255,255,0,255,255,0,255,255,0,255,255,0,255]
+; SSE-NEXT: pand %xmm0, %xmm14
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm14, %xmm9
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm10[8],xmm9[9],xmm10[9],xmm9[10],xmm10[10],xmm9[11],xmm10[11],xmm9[12],xmm10[12],xmm9[13],xmm10[13],xmm9[14],xmm10[14],xmm9[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: pandn %xmm9, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm10[0],xmm14[1],xmm10[1],xmm14[2],xmm10[2],xmm14[3],xmm10[3],xmm14[4],xmm10[4],xmm14[5],xmm10[5],xmm14[6],xmm10[6],xmm14[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm14
+; SSE-NEXT: por %xmm11, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm14[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[2,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm9, %xmm11
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm8, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: pand %xmm5, %xmm11
+; SSE-NEXT: por %xmm11, %xmm8
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm10[8],xmm2[9],xmm10[9],xmm2[10],xmm10[10],xmm2[11],xmm10[11],xmm2[12],xmm10[12],xmm2[13],xmm10[13],xmm2[14],xmm10[14],xmm2[15],xmm10[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3],xmm9[4],xmm10[4],xmm9[5],xmm10[5],xmm9[6],xmm10[6],xmm9[7],xmm10[7]
+; SSE-NEXT: pand %xmm12, %xmm9
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: por %xmm9, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm12[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[2,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,6,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: pand %xmm5, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm5
+; SSE-NEXT: por %xmm9, %xmm5
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movdqa %xmm6, 32(%rdx)
+; SSE-NEXT: movdqa %xmm3, 48(%rdx)
+; SSE-NEXT: movdqa %xmm13, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movdqa %xmm5, 32(%rcx)
+; SSE-NEXT: movdqa %xmm8, 48(%rcx)
+; SSE-NEXT: movdqa %xmm4, (%rcx)
+; SSE-NEXT: movdqa %xmm1, 16(%rcx)
+; SSE-NEXT: addq $152, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride3_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = [128,128,128,128,128,0,3,6,9,12,15,2,5,8,11,14]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm10, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm6, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <1,4,7,10,13,128,128,128,128,128,128,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,128,128,128,0,3,6,9,12,15,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm15, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm15, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm15, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm2, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm14, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = [1,4,7,10,13,128,128,128,128,128,128,128,128,128,128,128]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm12 = xmm12[11,12,13,14,15],xmm10[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm7 = xmm7[11,12,13,14,15],xmm0[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm8[11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm5[11,12,13,14,15],xmm9[0,1,2,3,4,5,6,7,8,9,10]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [0,1,2,3,4,5,6,7,8,9,10,128,128,128,128,128]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = [128,128,128,128,128,128,128,128,128,128,128,2,5,8,11,14]
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm14, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm14, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm14, %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [5,6,7,8,9,10,128,128,128,128,128,0,1,2,3,4]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = [128,128,128,128,128,128,2,5,8,11,14,128,128,128,128,128]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm15, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, 48(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, 16(%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, 48(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, 16(%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, 48(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, 16(%rcx)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride3_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vinserti128 $1, 144(%rdi), %ymm3, %ymm2
+; AVX2-ONLY-NEXT: vinserti128 $1, 160(%rdi), %ymm4, %ymm3
+; AVX2-ONLY-NEXT: vinserti128 $1, 176(%rdi), %ymm5, %ymm4
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm5 = [255,0,255,255,0,255,255,0,255,255,0,255,255,0,255,255,255,0,255,255,0,255,255,0,255,255,0,255,255,0,255,255]
+; AVX2-ONLY-NEXT: # ymm5 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, %ymm6, %ymm1, %ymm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = [1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14]
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, %ymm2, %ymm4, %ymm5
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm5, %ymm5
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm8 = [255,0,0,255,0,0,255,0,0,255,0,0,255,0,0,255,255,0,0,255,0,0,255,0,0,255,0,0,255,0,0,255]
+; AVX2-ONLY-NEXT: # ymm8 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm0, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm1, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm10 = <1,4,7,10,13,0,3,6,9,12,15,u,u,u,u,u,1,4,7,10,13,0,3,6,9,12,15,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm9, %ymm9
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm4, %ymm3, %ymm8
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm8, %ymm8
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm8 = ymm5[11,12,13,14,15],ymm8[0,1,2,3,4,5,6,7,8,9,10],ymm5[27,28,29,30,31],ymm8[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm9 = ymm7[11,12,13,14,15],ymm9[0,1,2,3,4,5,6,7,8,9,10],ymm7[27,28,29,30,31],ymm9[16,17,18,19,20,21,22,23,24,25,26]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm10 = [1,4,7,10,13,0,3,6,9,12,15,128,128,128,128,128,17,20,23,26,29,16,19,22,25,28,31,128,128,128,128,128]
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = [128,128,128,128,128,128,128,128,128,128,128,2,5,8,11,14,128,128,128,128,128,128,128,128,128,128,128,18,21,24,27,30]
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vpor %ymm4, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm6, %ymm4
+; AVX2-ONLY-NEXT: vpshufb %ymm11, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpor %ymm1, %ymm4, %ymm1
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm5[5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,21,22,23,24,25,26,27,28,29,30,31,16,17,18,19,20]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,2,5,8,11,14,u,u,u,u,u,u,u,u,u,u,u,2,5,8,11,14,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm6 = [255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255]
+; AVX2-ONLY-NEXT: # ymm6 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm4, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vpalignr {{.*#+}} ymm4 = ymm7[5,6,7,8,9,10,11,12,13,14,15,0,1,2,3,4,21,22,23,24,25,26,27,28,29,30,31,16,17,18,19,20]
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, 32(%rcx)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride3_vf64:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512F-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX512F-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX512F-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX512F-NEXT: vinserti128 $1, 144(%rdi), %ymm3, %ymm3
+; AVX512F-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
+; AVX512F-NEXT: vinserti128 $1, 160(%rdi), %ymm4, %ymm4
+; AVX512F-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
+; AVX512F-NEXT: vinserti128 $1, 176(%rdi), %ymm5, %ymm5
+; AVX512F-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512F-NEXT: vpshufb %ymm6, %ymm0, %ymm0
+; AVX512F-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX512F-NEXT: vpshufb %ymm6, %ymm1, %ymm1
+; AVX512F-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX512F-NEXT: vpshufb %ymm6, %ymm2, %ymm2
+; AVX512F-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm6 = ymm5[11,12,13,14,15],ymm3[0,1,2,3,4,5,6,7,8,9,10],ymm5[27,28,29,30,31],ymm3[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm7 = ymm2[11,12,13,14,15],ymm0[0,1,2,3,4,5,6,7,8,9,10],ymm2[27,28,29,30,31],ymm0[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm3 = ymm3[11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm8
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm4 = ymm4[11,12,13,14,15],ymm5[0,1,2,3,4,5,6,7,8,9,10],ymm4[27,28,29,30,31],ymm5[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm1 = ymm1[11,12,13,14,15],ymm2[0,1,2,3,4,5,6,7,8,9,10],ymm1[27,28,29,30,31],ymm2[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm4, %zmm1, %zmm2
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm1 = ymm7[11,12,13,14,15],ymm1[0,1,2,3,4,5,6,7,8,9,10],ymm7[27,28,29,30,31],ymm1[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm4 = ymm6[11,12,13,14,15],ymm4[0,1,2,3,4,5,6,7,8,9,10],ymm6[27,28,29,30,31],ymm4[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vbroadcasti32x4 {{.*#+}} zmm5 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-NEXT: # zmm5 = mem[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3]
+; AVX512F-NEXT: vpternlogq $202, %zmm2, %zmm8, %zmm5
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[11,12,13,14,15],ymm7[0,1,2,3,4,5,6,7,8,9,10],ymm0[27,28,29,30,31],ymm7[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm0 = ymm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm2 = ymm3[11,12,13,14,15],ymm6[0,1,2,3,4,5,6,7,8,9,10],ymm3[27,28,29,30,31],ymm6[16,17,18,19,20,21,22,23,24,25,26]
+; AVX512F-NEXT: vpalignr {{.*#+}} ymm2 = ymm2[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25]
+; AVX512F-NEXT: vmovdqa %ymm2, 32(%rsi)
+; AVX512F-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm4, 32(%rcx)
+; AVX512F-NEXT: vmovdqa %ymm1, (%rcx)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride3_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX512BW-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX512BW-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX512BW-NEXT: vinserti128 $1, 144(%rdi), %ymm3, %ymm3
+; AVX512BW-NEXT: vinserti128 $1, 48(%rdi), %ymm0, %ymm0
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0
+; AVX512BW-NEXT: vinserti128 $1, 160(%rdi), %ymm4, %ymm3
+; AVX512BW-NEXT: vinserti128 $1, 64(%rdi), %ymm1, %ymm1
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm1
+; AVX512BW-NEXT: vinserti128 $1, 176(%rdi), %ymm5, %ymm3
+; AVX512BW-NEXT: vinserti128 $1, 80(%rdi), %ymm2, %ymm2
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm2
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm3 = [0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13,0,3,6,9,12,15,2,5,8,11,14,1,4,7,10,13]
+; AVX512BW-NEXT: vpshufb %zmm3, %zmm0, %zmm0
+; AVX512BW-NEXT: vpshufb %zmm3, %zmm1, %zmm1
+; AVX512BW-NEXT: vpshufb %zmm3, %zmm2, %zmm2
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm3 = zmm2[11,12,13,14,15],zmm0[0,1,2,3,4,5,6,7,8,9,10],zmm2[27,28,29,30,31],zmm0[16,17,18,19,20,21,22,23,24,25,26],zmm2[43,44,45,46,47],zmm0[32,33,34,35,36,37,38,39,40,41,42],zmm2[59,60,61,62,63],zmm0[48,49,50,51,52,53,54,55,56,57,58]
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm0 = zmm0[11,12,13,14,15],zmm1[0,1,2,3,4,5,6,7,8,9,10],zmm0[27,28,29,30,31],zmm1[16,17,18,19,20,21,22,23,24,25,26],zmm0[43,44,45,46,47],zmm1[32,33,34,35,36,37,38,39,40,41,42],zmm0[59,60,61,62,63],zmm1[48,49,50,51,52,53,54,55,56,57,58]
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm1 = zmm1[11,12,13,14,15],zmm2[0,1,2,3,4,5,6,7,8,9,10],zmm1[27,28,29,30,31],zmm2[16,17,18,19,20,21,22,23,24,25,26],zmm1[43,44,45,46,47],zmm2[32,33,34,35,36,37,38,39,40,41,42],zmm1[59,60,61,62,63],zmm2[48,49,50,51,52,53,54,55,56,57,58]
+; AVX512BW-NEXT: movabsq $-576188069258921984, %rax # imm = 0xF800F800F800F800
+; AVX512BW-NEXT: kmovq %rax, %k1
+; AVX512BW-NEXT: vpblendmb %zmm1, %zmm0, %zmm2 {%k1}
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm1 = zmm3[11,12,13,14,15],zmm1[0,1,2,3,4,5,6,7,8,9,10],zmm3[27,28,29,30,31],zmm1[16,17,18,19,20,21,22,23,24,25,26],zmm3[43,44,45,46,47],zmm1[32,33,34,35,36,37,38,39,40,41,42],zmm3[59,60,61,62,63],zmm1[48,49,50,51,52,53,54,55,56,57,58]
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm0 = zmm0[11,12,13,14,15],zmm3[0,1,2,3,4,5,6,7,8,9,10],zmm0[27,28,29,30,31],zmm3[16,17,18,19,20,21,22,23,24,25,26],zmm0[43,44,45,46,47],zmm3[32,33,34,35,36,37,38,39,40,41,42],zmm0[59,60,61,62,63],zmm3[48,49,50,51,52,53,54,55,56,57,58]
+; AVX512BW-NEXT: vpalignr {{.*#+}} zmm0 = zmm0[10,11,12,13,14,15,0,1,2,3,4,5,6,7,8,9,26,27,28,29,30,31,16,17,18,19,20,21,22,23,24,25,42,43,44,45,46,47,32,33,34,35,36,37,38,39,40,41,58,59,60,61,62,63,48,49,50,51,52,53,54,55,56,57]
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rcx)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <64 x i32> <i32 0, i32 3, i32 6, i32 9, i32 12, i32 15, i32 18, i32 21, i32 24, i32 27, i32 30, i32 33, i32 36, i32 39, i32 42, i32 45, i32 48, i32 51, i32 54, i32 57, i32 60, i32 63, i32 66, i32 69, i32 72, i32 75, i32 78, i32 81, i32 84, i32 87, i32 90, i32 93, i32 96, i32 99, i32 102, i32 105, i32 108, i32 111, i32 114, i32 117, i32 120, i32 123, i32 126, i32 129, i32 132, i32 135, i32 138, i32 141, i32 144, i32 147, i32 150, i32 153, i32 156, i32 159, i32 162, i32 165, i32 168, i32 171, i32 174, i32 177, i32 180, i32 183, i32 186, i32 189>
+ %strided.vec1 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <64 x i32> <i32 1, i32 4, i32 7, i32 10, i32 13, i32 16, i32 19, i32 22, i32 25, i32 28, i32 31, i32 34, i32 37, i32 40, i32 43, i32 46, i32 49, i32 52, i32 55, i32 58, i32 61, i32 64, i32 67, i32 70, i32 73, i32 76, i32 79, i32 82, i32 85, i32 88, i32 91, i32 94, i32 97, i32 100, i32 103, i32 106, i32 109, i32 112, i32 115, i32 118, i32 121, i32 124, i32 127, i32 130, i32 133, i32 136, i32 139, i32 142, i32 145, i32 148, i32 151, i32 154, i32 157, i32 160, i32 163, i32 166, i32 169, i32 172, i32 175, i32 178, i32 181, i32 184, i32 187, i32 190>
+ %strided.vec2 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <64 x i32> <i32 2, i32 5, i32 8, i32 11, i32 14, i32 17, i32 20, i32 23, i32 26, i32 29, i32 32, i32 35, i32 38, i32 41, i32 44, i32 47, i32 50, i32 53, i32 56, i32 59, i32 62, i32 65, i32 68, i32 71, i32 74, i32 77, i32 80, i32 83, i32 86, i32 89, i32 92, i32 95, i32 98, i32 101, i32 104, i32 107, i32 110, i32 113, i32 116, i32 119, i32 122, i32 125, i32 128, i32 131, i32 134, i32 137, i32 140, i32 143, i32 146, i32 149, i32 152, i32 155, i32 158, i32 161, i32 164, i32 167, i32 170, i32 173, i32 176, i32 179, i32 182, i32 185, i32 188, i32 191>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-FAST: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512BW-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-FAST: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; AVX512F-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
-; These patterns are produced by LoopVectorizer for interleaved stores.
+; These patterns are produced by LoopVectorizer for interleaved loads.
define void @load_i8_stride4_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
; SSE-LABEL: load_i8_stride4_vf2:
; SSE-NEXT: movw %ax, (%r8)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride4_vf2:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,4,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,5,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[3,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX-NEXT: vpextrw $0, %xmm2, (%rdx)
-; AVX-NEXT: vpextrw $0, %xmm3, (%rcx)
-; AVX-NEXT: vpextrw $0, %xmm0, (%r8)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride4_vf2:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovq {{.*#+}} xmm0 = mem[0],zero
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,4,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,5,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[3,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX1-NEXT: vpextrw $0, %xmm2, (%rdx)
+; AVX1-NEXT: vpextrw $0, %xmm3, (%rcx)
+; AVX1-NEXT: vpextrw $0, %xmm0, (%r8)
+; AVX1-NEXT: retq
;
; AVX512-LABEL: load_i8_stride4_vf2:
; AVX512: # %bb.0:
; AVX512-NEXT: vpextrw $0, %xmm3, (%rcx)
; AVX512-NEXT: vpextrw $0, %xmm0, (%r8)
; AVX512-NEXT: retq
- %wide.vec = load <8 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <8 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <2 x i32> <i32 0, i32 4>
%strided.vec1 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <2 x i32> <i32 1, i32 5>
%strided.vec2 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <2 x i32> <i32 2, i32 6>
%strided.vec3 = shufflevector <8 x i8> %wide.vec, <8 x i8> poison, <2 x i32> <i32 3, i32 7>
- store <2 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i8> %strided.vec3, ptr %out.vec3, align 32
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i8> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movd %xmm1, (%r8)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride4_vf4:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa (%rdi), %xmm0
-; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX-NEXT: vmovd %xmm1, (%rsi)
-; AVX-NEXT: vmovd %xmm2, (%rdx)
-; AVX-NEXT: vmovd %xmm3, (%rcx)
-; AVX-NEXT: vmovd %xmm0, (%r8)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride4_vf4:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vmovd %xmm1, (%rsi)
+; AVX1-NEXT: vmovd %xmm2, (%rdx)
+; AVX1-NEXT: vmovd %xmm3, (%rcx)
+; AVX1-NEXT: vmovd %xmm0, (%r8)
+; AVX1-NEXT: retq
;
; AVX512-LABEL: load_i8_stride4_vf4:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovd %xmm2, (%rcx)
; AVX512-NEXT: vmovd %xmm3, (%r8)
; AVX512-NEXT: retq
- %wide.vec = load <16 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <16 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <4 x i32> <i32 0, i32 4, i32 8, i32 12>
%strided.vec1 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <4 x i32> <i32 1, i32 5, i32 9, i32 13>
%strided.vec2 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <4 x i32> <i32 2, i32 6, i32 10, i32 14>
%strided.vec3 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <4 x i32> <i32 3, i32 7, i32 11, i32 15>
- store <4 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i8> %strided.vec3, ptr %out.vec3, align 32
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i8> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movq %xmm2, (%r8)
; SSE-NEXT: retq
;
-; AVX-LABEL: load_i8_stride4_vf8:
-; AVX: # %bb.0:
-; AVX-NEXT: vmovdqa {{.*#+}} xmm0 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX-NEXT: vmovdqa (%rdi), %xmm1
-; AVX-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX-NEXT: vpshufb %xmm0, %xmm2, %xmm3
-; AVX-NEXT: vpshufb %xmm0, %xmm1, %xmm0
-; AVX-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
-; AVX-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX-NEXT: vpshufb %xmm3, %xmm2, %xmm4
-; AVX-NEXT: vpshufb %xmm3, %xmm1, %xmm3
-; AVX-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; AVX-NEXT: vmovdqa {{.*#+}} xmm4 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX-NEXT: vpshufb %xmm4, %xmm2, %xmm5
-; AVX-NEXT: vpshufb %xmm4, %xmm1, %xmm4
-; AVX-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX-NEXT: vmovdqa {{.*#+}} xmm5 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX-NEXT: vpshufb %xmm5, %xmm2, %xmm2
-; AVX-NEXT: vpshufb %xmm5, %xmm1, %xmm1
-; AVX-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
-; AVX-NEXT: vmovq %xmm0, (%rsi)
-; AVX-NEXT: vmovq %xmm3, (%rdx)
-; AVX-NEXT: vmovq %xmm4, (%rcx)
-; AVX-NEXT: vmovq %xmm1, (%r8)
-; AVX-NEXT: retq
+; AVX1-LABEL: load_i8_stride4_vf8:
+; AVX1: # %bb.0:
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-NEXT: vpshufb %xmm0, %xmm2, %xmm3
+; AVX1-NEXT: vpshufb %xmm0, %xmm1, %xmm0
+; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm4
+; AVX1-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm4 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm4, %xmm2, %xmm5
+; AVX1-NEXT: vpshufb %xmm4, %xmm1, %xmm4
+; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm5 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX1-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; AVX1-NEXT: vmovq %xmm0, (%rsi)
+; AVX1-NEXT: vmovq %xmm3, (%rdx)
+; AVX1-NEXT: vmovq %xmm4, (%rcx)
+; AVX1-NEXT: vmovq %xmm1, (%r8)
+; AVX1-NEXT: retq
;
; AVX512-LABEL: load_i8_stride4_vf8:
; AVX512: # %bb.0:
; AVX512-NEXT: vmovq %xmm2, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <32 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <32 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <8 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28>
%strided.vec1 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <8 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29>
%strided.vec2 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <8 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30>
%strided.vec3 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <8 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31>
- store <8 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i8> %strided.vec3, ptr %out.vec3, align 32
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i8> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: movaps %xmm5, (%r8)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride4_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm3
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm4
-; AVX1-NEXT: vpshufb %xmm2, %xmm4, %xmm5
-; AVX1-NEXT: vpshufb %xmm2, %xmm3, %xmm2
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm5 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm5, %xmm1, %xmm6
-; AVX1-NEXT: vpshufb %xmm5, %xmm0, %xmm5
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm5, %xmm4, %xmm6
-; AVX1-NEXT: vpshufb %xmm5, %xmm3, %xmm5
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm6, %xmm1, %xmm7
-; AVX1-NEXT: vpshufb %xmm6, %xmm0, %xmm6
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm6, %xmm4, %xmm7
-; AVX1-NEXT: vpshufb %xmm6, %xmm3, %xmm6
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm7 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm7, %xmm1, %xmm8
-; AVX1-NEXT: vpshufb %xmm7, %xmm0, %xmm7
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm7, %xmm4, %xmm4
-; AVX1-NEXT: vpshufb %xmm7, %xmm3, %xmm3
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm4 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm4, %xmm1, %xmm1
-; AVX1-NEXT: vpshufb %xmm4, %xmm0, %xmm0
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
-; AVX1-NEXT: vmovdqa %xmm2, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm5, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm6, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm0, (%r8)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride4_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%r8)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride4_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %xmm2
-; AVX2-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm4, %xmm3, %xmm5
-; AVX2-NEXT: vpshufb %xmm4, %xmm2, %xmm4
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm5 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm5, %xmm1, %xmm6
-; AVX2-NEXT: vpshufb %xmm5, %xmm0, %xmm5
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm5, %xmm3, %xmm6
-; AVX2-NEXT: vpshufb %xmm5, %xmm2, %xmm5
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm6 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm6, %xmm1, %xmm7
-; AVX2-NEXT: vpshufb %xmm6, %xmm0, %xmm6
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm6, %xmm3, %xmm7
-; AVX2-NEXT: vpshufb %xmm6, %xmm2, %xmm6
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm7 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm7, %xmm1, %xmm8
-; AVX2-NEXT: vpshufb %xmm7, %xmm0, %xmm7
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm7, %xmm3, %xmm3
-; AVX2-NEXT: vpshufb %xmm7, %xmm2, %xmm2
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm3 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm3, %xmm1, %xmm1
-; AVX2-NEXT: vpshufb %xmm3, %xmm0, %xmm0
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
-; AVX2-NEXT: vmovdqa %xmm4, (%rsi)
-; AVX2-NEXT: vmovdqa %xmm5, (%rdx)
-; AVX2-NEXT: vmovdqa %xmm6, (%rcx)
-; AVX2-NEXT: vmovdqa %xmm0, (%r8)
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i8_stride4_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm5
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm7
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%r8)
+; AVX2-ONLY-NEXT: retq
;
; AVX512-LABEL: load_i8_stride4_vf16:
; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm0
+; AVX512-NEXT: vmovdqa64 (%rdi), %zmm0
; AVX512-NEXT: vmovdqa (%rdi), %xmm1
; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
; AVX512-NEXT: vmovdqa 32(%rdi), %xmm3
; AVX512-NEXT: vmovdqa %xmm1, (%r8)
; AVX512-NEXT: vzeroupper
; AVX512-NEXT: retq
- %wide.vec = load <64 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <64 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <16 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60>
%strided.vec1 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <16 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61>
%strided.vec2 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <16 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62>
%strided.vec3 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <16 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63>
- store <16 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i8> %strided.vec3, ptr %out.vec3, align 32
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i8> %strided.vec3, ptr %out.vec3, align 64
ret void
}
; SSE-NEXT: addq $120, %rsp
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride4_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm0
-; AVX1-NEXT: vpshufb %xmm8, %xmm0, %xmm1
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm2
-; AVX1-NEXT: vpshufb %xmm8, %xmm2, %xmm3
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm3
-; AVX1-NEXT: vpshufb %xmm9, %xmm3, %xmm4
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm5
-; AVX1-NEXT: vpshufb %xmm9, %xmm5, %xmm6
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm10
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm4
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm6
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm7
-; AVX1-NEXT: vpshufb %xmm8, %xmm7, %xmm11
-; AVX1-NEXT: vpshufb %xmm8, %xmm6, %xmm8
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm11[0],xmm8[1],xmm11[1]
-; AVX1-NEXT: vpshufb %xmm9, %xmm4, %xmm11
-; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm9
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3],xmm8[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm9, %xmm0, %xmm10
-; AVX1-NEXT: vpshufb %xmm9, %xmm2, %xmm11
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm11, %xmm3, %xmm12
-; AVX1-NEXT: vpshufb %xmm11, %xmm5, %xmm13
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3],xmm10[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
-; AVX1-NEXT: vpshufb %xmm9, %xmm7, %xmm12
-; AVX1-NEXT: vpshufb %xmm9, %xmm6, %xmm9
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1]
-; AVX1-NEXT: vpshufb %xmm11, %xmm4, %xmm12
-; AVX1-NEXT: vpshufb %xmm11, %xmm1, %xmm11
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1,2,3],xmm9[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm10, %xmm0, %xmm11
-; AVX1-NEXT: vpshufb %xmm10, %xmm2, %xmm12
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm12 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm12, %xmm3, %xmm13
-; AVX1-NEXT: vpshufb %xmm12, %xmm5, %xmm14
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0,1,2,3],xmm11[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
-; AVX1-NEXT: vpshufb %xmm10, %xmm7, %xmm13
-; AVX1-NEXT: vpshufb %xmm10, %xmm6, %xmm10
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1]
-; AVX1-NEXT: vpshufb %xmm12, %xmm4, %xmm13
-; AVX1-NEXT: vpshufb %xmm12, %xmm1, %xmm12
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3],xmm10[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm11, %xmm0, %xmm0
-; AVX1-NEXT: vpshufb %xmm11, %xmm2, %xmm2
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm2 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm2, %xmm3, %xmm3
-; AVX1-NEXT: vpshufb %xmm2, %xmm5, %xmm5
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
-; AVX1-NEXT: vpshufb %xmm11, %xmm7, %xmm3
-; AVX1-NEXT: vpshufb %xmm11, %xmm6, %xmm5
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
-; AVX1-NEXT: vpshufb %xmm2, %xmm4, %xmm4
-; AVX1-NEXT: vpshufb %xmm2, %xmm1, %xmm1
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
-; AVX1-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX1-NEXT: vmovaps %ymm8, (%rsi)
-; AVX1-NEXT: vmovaps %ymm9, (%rdx)
-; AVX1-NEXT: vmovaps %ymm10, (%rcx)
-; AVX1-NEXT: vmovaps %ymm0, (%r8)
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride4_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm2, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm5, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm6, %xmm8
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm11[0],xmm8[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm13
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm0, %ymm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm6, %xmm9
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm4, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm11
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm14
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm7, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm6, %xmm10
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm4, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps %ymm8, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride4_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa 64(%rdi), %ymm0
-; AVX2-NEXT: vmovdqa 96(%rdi), %ymm1
-; AVX2-NEXT: vmovdqa (%rdi), %xmm2
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm3
-; AVX2-NEXT: vmovdqa 32(%rdi), %xmm4
-; AVX2-NEXT: vmovdqa 48(%rdi), %xmm5
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm6, %xmm5, %xmm7
-; AVX2-NEXT: vpshufb %xmm6, %xmm4, %xmm6
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm7 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm7, %xmm3, %xmm8
-; AVX2-NEXT: vpshufb %xmm7, %xmm2, %xmm7
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm6[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm8 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %ymm8, %ymm1, %ymm9
-; AVX2-NEXT: vpbroadcastq {{.*#+}} ymm6 = [17179869184,17179869184,17179869184,17179869184]
-; AVX2-NEXT: vpermd %ymm9, %ymm6, %ymm9
-; AVX2-NEXT: vpshufb %ymm8, %ymm0, %ymm8
-; AVX2-NEXT: vpermd %ymm8, %ymm6, %ymm8
-; AVX2-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm8, %xmm5, %xmm9
-; AVX2-NEXT: vpshufb %xmm8, %xmm4, %xmm8
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm9, %xmm3, %xmm10
-; AVX2-NEXT: vpshufb %xmm9, %xmm2, %xmm9
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %ymm9, %ymm1, %ymm10
-; AVX2-NEXT: vpermd %ymm10, %ymm6, %ymm10
-; AVX2-NEXT: vpshufb %ymm9, %ymm0, %ymm9
-; AVX2-NEXT: vpermd %ymm9, %ymm6, %ymm9
-; AVX2-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm9, %xmm5, %xmm10
-; AVX2-NEXT: vpshufb %xmm9, %xmm4, %xmm9
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm10, %xmm3, %xmm11
-; AVX2-NEXT: vpshufb %xmm10, %xmm2, %xmm10
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %ymm10, %ymm1, %ymm11
-; AVX2-NEXT: vpermd %ymm11, %ymm6, %ymm11
-; AVX2-NEXT: vpshufb %ymm10, %ymm0, %ymm10
-; AVX2-NEXT: vpermd %ymm10, %ymm6, %ymm10
-; AVX2-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm10, %xmm5, %xmm5
-; AVX2-NEXT: vpshufb %xmm10, %xmm4, %xmm4
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm5 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %xmm5, %xmm3, %xmm3
-; AVX2-NEXT: vpshufb %xmm5, %xmm2, %xmm2
-; AVX2-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
-; AVX2-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm3 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX2-NEXT: vpshufb %ymm3, %ymm1, %ymm1
-; AVX2-NEXT: vpermd %ymm1, %ymm6, %ymm1
-; AVX2-NEXT: vpshufb %ymm3, %ymm0, %ymm0
-; AVX2-NEXT: vpermd %ymm0, %ymm6, %ymm0
-; AVX2-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
-; AVX2-NEXT: vmovdqa %ymm7, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm8, (%rdx)
-; AVX2-NEXT: vmovdqa %ymm9, (%rcx)
-; AVX2-NEXT: vmovdqa %ymm0, (%r8)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i8_stride4_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm2, %xmm7
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm7[0,1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm1, %ymm9
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm6 = [17179869184,17179869184,17179869184,17179869184]
+; AVX2-ONLY-NEXT: vpermd %ymm9, %ymm6, %ymm9
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpermd %ymm8, %ymm6, %ymm8
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm9
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm8
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm1, %ymm10
+; AVX2-ONLY-NEXT: vpermd %ymm10, %ymm6, %ymm10
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vpermd %ymm9, %ymm6, %ymm9
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm5, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm4, %xmm9
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm10
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm1, %ymm11
+; AVX2-ONLY-NEXT: vpermd %ymm11, %ymm6, %ymm11
+; AVX2-ONLY-NEXT: vpshufb %ymm10, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpermd %ymm10, %ymm6, %ymm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm3 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm6, %ymm1
+; AVX2-ONLY-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%r8)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride4_vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: vmovdqa {{.*#+}} ymm0 = [0,4,8,12,1,5,9,13]
-; AVX512-NEXT: vmovdqu64 (%rdi), %zmm1
-; AVX512-NEXT: vmovdqu64 64(%rdi), %zmm2
-; AVX512-NEXT: vpshufb {{.*#+}} zmm3 = zero,zero,zero,zero,zmm2[0,4,8,12,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[16,20,24,28,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[32,36,40,44,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[48,52,56,60,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} zmm4 = zmm1[0,4,8,12],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,16,20,24,28],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,32,36,40,44],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,48,52,56,60],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vporq %zmm3, %zmm4, %zmm3
-; AVX512-NEXT: vpermd %zmm3, %zmm0, %zmm3
-; AVX512-NEXT: vpshufb {{.*#+}} zmm4 = zero,zero,zero,zero,zmm2[1,5,9,13,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[17,21,25,29,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[33,37,41,45,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[49,53,57,61,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} zmm5 = zmm1[1,5,9,13],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,17,21,25,29],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,33,37,41,45],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,49,53,57,61],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vporq %zmm4, %zmm5, %zmm4
-; AVX512-NEXT: vpermd %zmm4, %zmm0, %zmm4
-; AVX512-NEXT: vpshufb {{.*#+}} zmm5 = zero,zero,zero,zero,zmm2[2,6,10,14,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[18,22,26,30,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[34,38,42,46,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[50,54,58,62,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} zmm6 = zmm1[2,6,10,14],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,18,22,26,30],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,34,38,42,46],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,50,54,58,62],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vporq %zmm5, %zmm6, %zmm5
-; AVX512-NEXT: vpermd %zmm5, %zmm0, %zmm5
-; AVX512-NEXT: vpshufb {{.*#+}} zmm2 = zero,zero,zero,zero,zmm2[3,7,11,15,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[19,23,27,31,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[35,39,43,47,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[51,55,59,63,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} zmm1 = zmm1[3,7,11,15],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,19,23,27,31],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,35,39,43,47],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,51,55,59,63],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vporq %zmm2, %zmm1, %zmm1
-; AVX512-NEXT: vpermd %zmm1, %zmm0, %zmm0
-; AVX512-NEXT: vmovdqa %ymm3, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm4, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm5, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm0, (%r8)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <128 x i8>, ptr %in.vec, align 32
+; AVX512F-LABEL: load_i8_stride4_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa 96(%rdi), %ymm0
+; AVX512F-NEXT: vpshufb %ymm2, %ymm0, %ymm3
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-NEXT: vpshufb %ymm2, %ymm1, %ymm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = [0,4,0,4,0,4,8,12]
+; AVX512F-NEXT: vpermt2d %ymm3, %ymm8, %ymm2
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm3
+; AVX512F-NEXT: vpmovdb %zmm3, %xmm3
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm4
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512F-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX512F-NEXT: vpshufb %xmm6, %xmm7, %xmm9
+; AVX512F-NEXT: vpshufb %xmm6, %xmm5, %xmm6
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm4, %xmm10
+; AVX512F-NEXT: vpshufb %xmm9, %xmm3, %xmm9
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm6 = xmm9[0,1],xmm6[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm9, %ymm0, %ymm10
+; AVX512F-NEXT: vpshufb %ymm9, %ymm1, %ymm9
+; AVX512F-NEXT: vpermt2d %ymm10, %ymm8, %ymm9
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm7, %xmm10
+; AVX512F-NEXT: vpshufb %xmm9, %xmm5, %xmm9
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm10, %xmm4, %xmm11
+; AVX512F-NEXT: vpshufb %xmm10, %xmm3, %xmm10
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm10 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm10, %ymm0, %ymm11
+; AVX512F-NEXT: vpshufb %ymm10, %ymm1, %ymm10
+; AVX512F-NEXT: vpermt2d %ymm11, %ymm8, %ymm10
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm10, %xmm7, %xmm7
+; AVX512F-NEXT: vpshufb %xmm10, %xmm5, %xmm5
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm7 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX512F-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1],xmm5[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm4, %ymm0, %ymm0
+; AVX512F-NEXT: vpshufb %ymm4, %ymm1, %ymm1
+; AVX512F-NEXT: vpermt2d %ymm0, %ymm8, %ymm1
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-NEXT: vmovdqa %ymm2, (%rsi)
+; AVX512F-NEXT: vmovdqa %ymm6, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm9, (%rcx)
+; AVX512F-NEXT: vmovdqa %ymm0, (%r8)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride4_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm0 = [0,4,8,12,1,5,9,13]
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm2
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm3 = zero,zero,zero,zero,zmm2[0,4,8,12,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[16,20,24,28,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[32,36,40,44,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[48,52,56,60,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm4 = zmm1[0,4,8,12],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,16,20,24,28],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,32,36,40,44],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,48,52,56,60],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %zmm3, %zmm4, %zmm3
+; AVX512BW-NEXT: vpermd %zmm3, %zmm0, %zmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm4 = zero,zero,zero,zero,zmm2[1,5,9,13,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[17,21,25,29,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[33,37,41,45,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[49,53,57,61,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm5 = zmm1[1,5,9,13],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,17,21,25,29],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,33,37,41,45],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,49,53,57,61],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %zmm4, %zmm5, %zmm4
+; AVX512BW-NEXT: vpermd %zmm4, %zmm0, %zmm4
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm5 = zero,zero,zero,zero,zmm2[2,6,10,14,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[18,22,26,30,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[34,38,42,46,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[50,54,58,62,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm6 = zmm1[2,6,10,14],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,18,22,26,30],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,34,38,42,46],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,50,54,58,62],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %zmm5, %zmm6, %zmm5
+; AVX512BW-NEXT: vpermd %zmm5, %zmm0, %zmm5
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm2 = zero,zero,zero,zero,zmm2[3,7,11,15,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[19,23,27,31,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[35,39,43,47,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zmm2[51,55,59,63,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} zmm1 = zmm1[3,7,11,15],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,19,23,27,31],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,35,39,43,47],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u,51,55,59,63],zero,zero,zero,zero,zmm1[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %zmm2, %zmm1, %zmm1
+; AVX512BW-NEXT: vpermd %zmm1, %zmm0, %zmm0
+; AVX512BW-NEXT: vmovdqa %ymm3, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <128 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <32 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124>
%strided.vec1 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <32 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125>
%strided.vec2 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <32 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126>
%strided.vec3 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <32 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127>
- store <32 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i8> %strided.vec3, ptr %out.vec3, align 32
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i8> %strided.vec3, ptr %out.vec3, align 64
+
+ ret void
+}
+
+define void @load_i8_stride4_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3) nounwind {
+; SSE-LABEL: load_i8_stride4_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $632, %rsp # imm = 0x278
+; SSE-NEXT: movdqa 16(%rdi), %xmm15
+; SSE-NEXT: movdqa 32(%rdi), %xmm13
+; SSE-NEXT: movdqa 48(%rdi), %xmm7
+; SSE-NEXT: movdqa 128(%rdi), %xmm14
+; SSE-NEXT: movdqa 144(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm4
+; SSE-NEXT: movdqa 176(%rdi), %xmm3
+; SSE-NEXT: movdqa 64(%rdi), %xmm8
+; SSE-NEXT: movdqa 80(%rdi), %xmm11
+; SSE-NEXT: movdqa 96(%rdi), %xmm2
+; SSE-NEXT: movdqa 112(%rdi), %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,0,255,0,255,0,255,0]
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm9
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa (%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 208(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: packuswb %xmm0, %xmm6
+; SSE-NEXT: packuswb %xmm1, %xmm6
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm5, %xmm9
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm11[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm5, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm9[0,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3],xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3],xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm5, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm11[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm5, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm9[0,3]
+; SSE-NEXT: movaps %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: packuswb %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm2[8],xmm1[9],xmm2[9],xmm1[10],xmm2[10],xmm1[11],xmm2[11],xmm1[12],xmm2[12],xmm1[13],xmm2[13],xmm1[14],xmm2[14],xmm1[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm9[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm2[8],xmm3[9],xmm2[9],xmm3[10],xmm2[10],xmm3[11],xmm2[11],xmm3[12],xmm2[12],xmm3[13],xmm2[13],xmm3[14],xmm2[14],xmm3[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm3, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm5[1,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3],xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm14 = xmm5[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm14 = xmm14[0],xmm3[0],xmm14[1],xmm3[1]
+; SSE-NEXT: packuswb %xmm1, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,3],xmm0[0,3]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3],xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[0,1,1,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm2[8],xmm1[9],xmm2[9],xmm1[10],xmm2[10],xmm1[11],xmm2[11],xmm1[12],xmm2[12],xmm1[13],xmm2[13],xmm1[14],xmm2[14],xmm1[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm5
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3],xmm5[4],xmm2[4],xmm5[5],xmm2[5],xmm5[6],xmm2[6],xmm5[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm1[1,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,3],xmm3[0,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm0, %xmm7
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,6,5,4]
+; SSE-NEXT: pand %xmm0, %xmm13
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: pand %xmm0, %xmm15
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm15[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,6,5,4]
+; SSE-NEXT: pand %xmm0, %xmm10
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm10[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm4[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,3],xmm3[0,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,6,5,4]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm2[0,1,2,3,7,6,5,4]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,3],xmm3[0,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,6,5,4]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm3[0,1,2,3,7,6,5,4]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm4[0,3]
+; SSE-NEXT: pand %xmm0, %xmm12
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm12[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,6,5,4]
+; SSE-NEXT: pand %xmm0, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm9[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm7
+; SSE-NEXT: pand %xmm0, %xmm11
+; SSE-NEXT: pand %xmm0, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,5,4]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,3],xmm7[0,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: packuswb %xmm7, %xmm8
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1]
+; SSE-NEXT: pshufd $231, (%rsp), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1]
+; SSE-NEXT: packuswb %xmm7, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,3],xmm8[0,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; SSE-NEXT: packuswb %xmm8, %xmm9
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm11[0],xmm7[1],xmm11[1]
+; SSE-NEXT: packuswb %xmm8, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,3],xmm9[0,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm8[0],xmm11[1],xmm8[1]
+; SSE-NEXT: packuswb %xmm9, %xmm11
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm12[0],xmm8[1],xmm12[1]
+; SSE-NEXT: packuswb %xmm9, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[0,3],xmm11[0,3]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm9[0],xmm11[1],xmm9[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm9[0],xmm12[1],xmm9[1]
+; SSE-NEXT: packuswb %xmm11, %xmm12
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[0,1,3,1,4,5,6,7]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[0,1,3,1,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm11 = xmm11[0],xmm9[0],xmm11[1],xmm9[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: # xmm9 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm9[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm5[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm9[0],xmm13[1],xmm9[1]
+; SSE-NEXT: packuswb %xmm11, %xmm13
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,3],xmm12[0,3]
+; SSE-NEXT: movdqa %xmm6, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movaps %xmm6, 16(%rsi)
+; SSE-NEXT: movaps %xmm1, 48(%rdx)
+; SSE-NEXT: movaps %xmm14, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps %xmm4, 48(%rcx)
+; SSE-NEXT: movaps %xmm3, 32(%rcx)
+; SSE-NEXT: movaps %xmm2, 16(%rcx)
+; SSE-NEXT: movaps %xmm10, (%rcx)
+; SSE-NEXT: movaps %xmm13, 48(%r8)
+; SSE-NEXT: movaps %xmm8, 32(%r8)
+; SSE-NEXT: movaps %xmm7, 16(%r8)
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: addq $632, %rsp # imm = 0x278
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride4_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm8
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm9
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm10[0,1,2,3],ymm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm12[0],xmm11[0],xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm14[0,1,2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm5[0,1,2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm5[0,1,2,3],ymm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm14, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm7
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm3, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: addq $296, %rsp # imm = 0x128
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride4_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $216, %rsp
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm2
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm8
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm8[0],xmm2[0],xmm8[1],xmm2[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm9
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm13 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm1, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm2 = [17179869184,17179869184,17179869184,17179869184]
+; AVX2-ONLY-NEXT: vpermd %ymm9, %ymm2, %ymm9
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpermd %ymm11, %ymm2, %ymm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 176(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm11
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm11[0],xmm3[1],xmm11[1]
+; AVX2-ONLY-NEXT: vmovdqa 144(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm11, %xmm14
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm12, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm14 = xmm10[0],xmm14[0],xmm10[1],xmm14[1]
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm3 = xmm14[0,1],xmm3[2,3]
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm0, %ymm14
+; AVX2-ONLY-NEXT: vpermd %ymm14, %ymm2, %ymm15
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %ymm13, %ymm0, %ymm13
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm2, %ymm13
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5],ymm15[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm13
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm15
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, %xmm7
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm15[0],xmm13[0],xmm15[1],xmm13[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm5, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, %xmm14
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm5, %xmm1
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm1 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm4, %ymm13
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm2, %ymm13
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm6, %ymm4
+; AVX2-ONLY-NEXT: vpermd %ymm4, %ymm2, %ymm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm11, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm12, %xmm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm12, %ymm3
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm4, %ymm1
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm3
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm13
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm7, %ymm13
+; AVX2-ONLY-NEXT: vpermd %ymm13, %ymm2, %ymm13
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm6, %ymm15
+; AVX2-ONLY-NEXT: vpermd %ymm15, %ymm2, %ymm15
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm15[0,1,2,3,4,5],ymm13[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm1[0,1,2,3],ymm13[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %ymm12, %ymm10
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm12, %ymm1
+; AVX2-ONLY-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm12, %ymm3
+; AVX2-ONLY-NEXT: vpermd %ymm3, %ymm2, %ymm3
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm7, %ymm6
+; AVX2-ONLY-NEXT: vpermd %ymm6, %ymm2, %ymm6
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vpermd %ymm7, %ymm2, %ymm7
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm11, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm14, %xmm4
+; AVX2-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm10, %ymm4
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm12, %ymm5
+; AVX2-ONLY-NEXT: vpermd %ymm4, %ymm2, %ymm4
+; AVX2-ONLY-NEXT: vpermd %ymm5, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%r8)
+; AVX2-ONLY-NEXT: addq $216, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride4_vf64:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm4
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa 224(%rdi), %ymm3
+; AVX512F-NEXT: vpshufb %ymm6, %ymm3, %ymm2
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm5
+; AVX512F-NEXT: vpshufb %ymm6, %ymm5, %ymm7
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm18 = [0,4,0,4,0,4,8,12]
+; AVX512F-NEXT: vpermt2d %ymm2, %ymm18, %ymm7
+; AVX512F-NEXT: vpmovdb %zmm1, %xmm1
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm7
+; AVX512F-NEXT: vmovdqa 96(%rdi), %ymm0
+; AVX512F-NEXT: vpshufb %ymm6, %ymm0, %ymm8
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512F-NEXT: vpshufb %ymm6, %ymm0, %ymm6
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-NEXT: vpermt2d %ymm8, %ymm18, %ymm6
+; AVX512F-NEXT: vpmovdb %zmm4, %xmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm16 = zmm4[0,1,2,3],zmm7[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX512F-NEXT: vpshufb %xmm13, %xmm6, %xmm7
+; AVX512F-NEXT: vmovdqa 160(%rdi), %xmm8
+; AVX512F-NEXT: vpshufb %xmm13, %xmm8, %xmm9
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm15 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa 144(%rdi), %xmm9
+; AVX512F-NEXT: vpshufb %xmm15, %xmm9, %xmm10
+; AVX512F-NEXT: vmovdqa 128(%rdi), %xmm11
+; AVX512F-NEXT: vpshufb %xmm15, %xmm11, %xmm12
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm10 = xmm12[0],xmm10[0],xmm12[1],xmm10[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm7 = xmm10[0,1],xmm7[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm10
+; AVX512F-NEXT: vpshufb %ymm4, %ymm5, %ymm12
+; AVX512F-NEXT: vpermt2d %ymm10, %ymm18, %ymm12
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm7, %zmm0, %zmm17
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm7
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm10
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX512F-NEXT: vmovdqa 48(%rdi), %xmm14
+; AVX512F-NEXT: vpshufb %xmm13, %xmm14, %xmm0
+; AVX512F-NEXT: vpshufb %xmm13, %xmm12, %xmm13
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; AVX512F-NEXT: vpshufb %xmm15, %xmm10, %xmm13
+; AVX512F-NEXT: vpshufb %xmm15, %xmm7, %xmm15
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm13 = xmm15[0],xmm13[0],xmm15[1],xmm13[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm0 = xmm13[0,1],xmm0[2,3]
+; AVX512F-NEXT: vpshufb %ymm4, %ymm1, %ymm13
+; AVX512F-NEXT: vmovdqa64 %ymm1, %ymm19
+; AVX512F-NEXT: vpshufb %ymm4, %ymm2, %ymm4
+; AVX512F-NEXT: vmovdqa64 %ymm2, %ymm20
+; AVX512F-NEXT: vpermt2d %ymm13, %ymm18, %ymm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm17 = zmm0[0,1,2,3],zmm17[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm0, %xmm6, %xmm4
+; AVX512F-NEXT: vpshufb %xmm0, %xmm8, %xmm15
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm15[0],xmm4[0],xmm15[1],xmm4[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm15 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm15, %xmm9, %xmm13
+; AVX512F-NEXT: vpshufb %xmm15, %xmm11, %xmm1
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm4[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm13
+; AVX512F-NEXT: vpshufb %ymm4, %ymm5, %ymm2
+; AVX512F-NEXT: vpermt2d %ymm13, %ymm18, %ymm2
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm1
+; AVX512F-NEXT: vpshufb %xmm0, %xmm14, %xmm2
+; AVX512F-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
+; AVX512F-NEXT: vpshufb %xmm15, %xmm10, %xmm2
+; AVX512F-NEXT: vpshufb %xmm15, %xmm7, %xmm13
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-NEXT: vmovdqa64 %ymm19, %ymm13
+; AVX512F-NEXT: vpshufb %ymm4, %ymm13, %ymm2
+; AVX512F-NEXT: vmovdqa64 %ymm20, %ymm15
+; AVX512F-NEXT: vpshufb %ymm4, %ymm15, %ymm4
+; AVX512F-NEXT: vpermt2d %ymm2, %ymm18, %ymm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm0 = zmm0[0,1,2,3],zmm1[4,5,6,7]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm1, %xmm6, %xmm2
+; AVX512F-NEXT: vpshufb %xmm1, %xmm8, %xmm4
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm4 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm4, %xmm9, %xmm6
+; AVX512F-NEXT: vpshufb %xmm4, %xmm11, %xmm8
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm2 = xmm6[0,1],xmm2[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = <3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX512F-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX512F-NEXT: vpermt2d %ymm3, %ymm18, %ymm5
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm2
+; AVX512F-NEXT: vpshufb %xmm1, %xmm14, %xmm3
+; AVX512F-NEXT: vpshufb %xmm1, %xmm12, %xmm1
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1]
+; AVX512F-NEXT: vpshufb %xmm4, %xmm10, %xmm3
+; AVX512F-NEXT: vpshufb %xmm4, %xmm7, %xmm4
+; AVX512F-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX512F-NEXT: vpshufb %ymm6, %ymm13, %ymm3
+; AVX512F-NEXT: vpshufb %ymm6, %ymm15, %ymm4
+; AVX512F-NEXT: vpermt2d %ymm3, %ymm18, %ymm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vshufi64x2 {{.*#+}} zmm1 = zmm1[0,1,2,3],zmm2[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 %zmm16, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r8)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride4_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-NEXT: vmovdqa64 128(%rdi), %zmm2
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm4 = <128,128,128,128,0,4,8,12,u,u,u,u,u,u,u,u,128,128,128,128,16,20,24,28,u,u,u,u,u,u,u,u,128,128,128,128,32,36,40,44,u,u,u,u,u,u,u,u,128,128,128,128,48,52,56,60,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm4, %zmm3, %zmm5
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = <0,4,8,12,128,128,128,128,u,u,u,u,u,u,u,u,16,20,24,28,128,128,128,128,u,u,u,u,u,u,u,u,32,36,40,44,128,128,128,128,u,u,u,u,u,u,u,u,48,52,56,60,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm6, %zmm2, %zmm7
+; AVX512BW-NEXT: vporq %zmm5, %zmm7, %zmm5
+; AVX512BW-NEXT: vpshufb %zmm4, %zmm1, %zmm4
+; AVX512BW-NEXT: vpshufb %zmm6, %zmm0, %zmm6
+; AVX512BW-NEXT: vporq %zmm4, %zmm6, %zmm4
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm6 = [0,4,8,12,1,5,9,13,16,20,24,28,17,21,25,29]
+; AVX512BW-NEXT: vpermt2d %zmm5, %zmm6, %zmm4
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm5 = <128,128,128,128,1,5,9,13,u,u,u,u,u,u,u,u,128,128,128,128,17,21,25,29,u,u,u,u,u,u,u,u,128,128,128,128,33,37,41,45,u,u,u,u,u,u,u,u,128,128,128,128,49,53,57,61,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm5, %zmm3, %zmm7
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = <1,5,9,13,128,128,128,128,u,u,u,u,u,u,u,u,17,21,25,29,128,128,128,128,u,u,u,u,u,u,u,u,33,37,41,45,128,128,128,128,u,u,u,u,u,u,u,u,49,53,57,61,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm8, %zmm2, %zmm9
+; AVX512BW-NEXT: vporq %zmm7, %zmm9, %zmm7
+; AVX512BW-NEXT: vpshufb %zmm5, %zmm1, %zmm5
+; AVX512BW-NEXT: vpshufb %zmm8, %zmm0, %zmm8
+; AVX512BW-NEXT: vporq %zmm5, %zmm8, %zmm5
+; AVX512BW-NEXT: vpermt2d %zmm7, %zmm6, %zmm5
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm7 = <128,128,128,128,2,6,10,14,u,u,u,u,u,u,u,u,128,128,128,128,18,22,26,30,u,u,u,u,u,u,u,u,128,128,128,128,34,38,42,46,u,u,u,u,u,u,u,u,128,128,128,128,50,54,58,62,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm7, %zmm3, %zmm8
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm9 = <2,6,10,14,128,128,128,128,u,u,u,u,u,u,u,u,18,22,26,30,128,128,128,128,u,u,u,u,u,u,u,u,34,38,42,46,128,128,128,128,u,u,u,u,u,u,u,u,50,54,58,62,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm9, %zmm2, %zmm10
+; AVX512BW-NEXT: vporq %zmm8, %zmm10, %zmm8
+; AVX512BW-NEXT: vpshufb %zmm7, %zmm1, %zmm7
+; AVX512BW-NEXT: vpshufb %zmm9, %zmm0, %zmm9
+; AVX512BW-NEXT: vporq %zmm7, %zmm9, %zmm7
+; AVX512BW-NEXT: vpermt2d %zmm8, %zmm6, %zmm7
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm8 = <128,128,128,128,3,7,11,15,u,u,u,u,u,u,u,u,128,128,128,128,19,23,27,31,u,u,u,u,u,u,u,u,128,128,128,128,35,39,43,47,u,u,u,u,u,u,u,u,128,128,128,128,51,55,59,63,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm8, %zmm3, %zmm3
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} zmm9 = <3,7,11,15,128,128,128,128,u,u,u,u,u,u,u,u,19,23,27,31,128,128,128,128,u,u,u,u,u,u,u,u,35,39,43,47,128,128,128,128,u,u,u,u,u,u,u,u,51,55,59,63,128,128,128,128,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %zmm9, %zmm2, %zmm2
+; AVX512BW-NEXT: vporq %zmm3, %zmm2, %zmm2
+; AVX512BW-NEXT: vpshufb %zmm8, %zmm1, %zmm1
+; AVX512BW-NEXT: vpshufb %zmm9, %zmm0, %zmm0
+; AVX512BW-NEXT: vporq %zmm1, %zmm0, %zmm0
+; AVX512BW-NEXT: vpermt2d %zmm2, %zmm6, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm7, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%r8)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <256 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <64 x i32> <i32 0, i32 4, i32 8, i32 12, i32 16, i32 20, i32 24, i32 28, i32 32, i32 36, i32 40, i32 44, i32 48, i32 52, i32 56, i32 60, i32 64, i32 68, i32 72, i32 76, i32 80, i32 84, i32 88, i32 92, i32 96, i32 100, i32 104, i32 108, i32 112, i32 116, i32 120, i32 124, i32 128, i32 132, i32 136, i32 140, i32 144, i32 148, i32 152, i32 156, i32 160, i32 164, i32 168, i32 172, i32 176, i32 180, i32 184, i32 188, i32 192, i32 196, i32 200, i32 204, i32 208, i32 212, i32 216, i32 220, i32 224, i32 228, i32 232, i32 236, i32 240, i32 244, i32 248, i32 252>
+ %strided.vec1 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <64 x i32> <i32 1, i32 5, i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45, i32 49, i32 53, i32 57, i32 61, i32 65, i32 69, i32 73, i32 77, i32 81, i32 85, i32 89, i32 93, i32 97, i32 101, i32 105, i32 109, i32 113, i32 117, i32 121, i32 125, i32 129, i32 133, i32 137, i32 141, i32 145, i32 149, i32 153, i32 157, i32 161, i32 165, i32 169, i32 173, i32 177, i32 181, i32 185, i32 189, i32 193, i32 197, i32 201, i32 205, i32 209, i32 213, i32 217, i32 221, i32 225, i32 229, i32 233, i32 237, i32 241, i32 245, i32 249, i32 253>
+ %strided.vec2 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <64 x i32> <i32 2, i32 6, i32 10, i32 14, i32 18, i32 22, i32 26, i32 30, i32 34, i32 38, i32 42, i32 46, i32 50, i32 54, i32 58, i32 62, i32 66, i32 70, i32 74, i32 78, i32 82, i32 86, i32 90, i32 94, i32 98, i32 102, i32 106, i32 110, i32 114, i32 118, i32 122, i32 126, i32 130, i32 134, i32 138, i32 142, i32 146, i32 150, i32 154, i32 158, i32 162, i32 166, i32 170, i32 174, i32 178, i32 182, i32 186, i32 190, i32 194, i32 198, i32 202, i32 206, i32 210, i32 214, i32 218, i32 222, i32 226, i32 230, i32 234, i32 238, i32 242, i32 246, i32 250, i32 254>
+ %strided.vec3 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <64 x i32> <i32 3, i32 7, i32 11, i32 15, i32 19, i32 23, i32 27, i32 31, i32 35, i32 39, i32 43, i32 47, i32 51, i32 55, i32 59, i32 63, i32 67, i32 71, i32 75, i32 79, i32 83, i32 87, i32 91, i32 95, i32 99, i32 103, i32 107, i32 111, i32 115, i32 119, i32 123, i32 127, i32 131, i32 135, i32 139, i32 143, i32 147, i32 151, i32 155, i32 159, i32 163, i32 167, i32 171, i32 175, i32 179, i32 183, i32 187, i32 191, i32 195, i32 199, i32 203, i32 207, i32 211, i32 215, i32 219, i32 223, i32 227, i32 231, i32 235, i32 239, i32 243, i32 247, i32 251, i32 255>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i8> %strided.vec3, ptr %out.vec3, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX2: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-FAST: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512BW-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-FAST: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; AVX512F-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i8_stride5_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm1
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[2,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[2,3,2,3]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm2[8],xmm1[9],xmm2[9],xmm1[10],xmm2[10],xmm1[11],xmm2[11],xmm1[12],xmm2[12],xmm1[13],xmm2[13],xmm1[14],xmm2[14],xmm1[15],xmm2[15]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1],xmm6[2],xmm1[2],xmm6[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movd %xmm3, %eax
+; SSE-NEXT: movw %ax, (%rsi)
+; SSE-NEXT: movd %xmm4, %eax
+; SSE-NEXT: movw %ax, (%rdx)
+; SSE-NEXT: movd %xmm5, %eax
+; SSE-NEXT: movw %ax, (%rcx)
+; SSE-NEXT: movd %xmm0, %eax
+; SSE-NEXT: movw %ax, (%r8)
+; SSE-NEXT: movd %xmm6, %eax
+; SSE-NEXT: movw %ax, (%r9)
+; SSE-NEXT: retq
+;
+; AVX-LABEL: load_i8_stride5_vf2:
+; AVX: # %bb.0:
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,5,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX-NEXT: vpextrw $0, %xmm2, (%rdx)
+; AVX-NEXT: vpextrw $0, %xmm3, (%rcx)
+; AVX-NEXT: vpextrw $0, %xmm4, (%r8)
+; AVX-NEXT: vpextrw $0, %xmm0, (%r9)
+; AVX-NEXT: retq
+ %wide.vec = load <10 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <10 x i8> %wide.vec, <10 x i8> poison, <2 x i32> <i32 0, i32 5>
+ %strided.vec1 = shufflevector <10 x i8> %wide.vec, <10 x i8> poison, <2 x i32> <i32 1, i32 6>
+ %strided.vec2 = shufflevector <10 x i8> %wide.vec, <10 x i8> poison, <2 x i32> <i32 2, i32 7>
+ %strided.vec3 = shufflevector <10 x i8> %wide.vec, <10 x i8> poison, <2 x i32> <i32 3, i32 8>
+ %strided.vec4 = shufflevector <10 x i8> %wide.vec, <10 x i8> poison, <2 x i32> <i32 4, i32 9>
+
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i8_stride5_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm5
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3],xmm3[4],xmm4[4],xmm3[5],xmm4[5],xmm3[6],xmm4[6],xmm3[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: pand %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3],xmm6[4],xmm4[4],xmm6[5],xmm4[5],xmm6[6],xmm4[6],xmm6[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,0],xmm6[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm6[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm7[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,2,3,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [0,65535,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3],xmm7[4],xmm4[4],xmm7[5],xmm4[5],xmm7[6],xmm4[6],xmm7[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm2, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[2,0],xmm7[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm8[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [255,255,0,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm8, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm8
+; SSE-NEXT: por %xmm5, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm4[0],xmm8[1],xmm4[1],xmm8[2],xmm4[2],xmm8[3],xmm4[3],xmm8[4],xmm4[4],xmm8[5],xmm4[5],xmm8[6],xmm4[6],xmm8[7],xmm4[7]
+; SSE-NEXT: shufps {{.*#+}} xmm8 = xmm8[1,1],xmm2[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,0,1,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm3[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,255,0,255,255,255,255,255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm3, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movd %xmm1, (%rsi)
+; SSE-NEXT: movd %xmm6, (%rdx)
+; SSE-NEXT: movd %xmm7, (%rcx)
+; SSE-NEXT: movd %xmm4, (%r8)
+; SSE-NEXT: movd %xmm3, (%r9)
+; SSE-NEXT: retq
+;
+; AVX-LABEL: load_i8_stride5_vf4:
+; AVX: # %bb.0:
+; AVX-NEXT: vmovdqa {{.*#+}} xmm0 = <0,5,10,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX-NEXT: vmovdqa (%rdi), %xmm1
+; AVX-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX-NEXT: vpshufb %xmm0, %xmm1, %xmm3
+; AVX-NEXT: vpalignr {{.*#+}} xmm4 = xmm1[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],xmm2[0]
+; AVX-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX-NEXT: vpalignr {{.*#+}} xmm5 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],xmm2[0,1]
+; AVX-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX-NEXT: vpalignr {{.*#+}} xmm6 = xmm1[3,4,5,6,7,8,9,10,11,12,13,14,15],xmm2[0,1,2]
+; AVX-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[4,5,6,7,8,9,10,11,12,13,14,15],xmm2[0,1,2,3]
+; AVX-NEXT: vpshufb %xmm0, %xmm1, %xmm0
+; AVX-NEXT: vmovd %xmm3, (%rsi)
+; AVX-NEXT: vmovd %xmm4, (%rdx)
+; AVX-NEXT: vmovd %xmm5, (%rcx)
+; AVX-NEXT: vmovd %xmm6, (%r8)
+; AVX-NEXT: vmovd %xmm0, (%r9)
+; AVX-NEXT: retq
+ %wide.vec = load <20 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <20 x i8> %wide.vec, <20 x i8> poison, <4 x i32> <i32 0, i32 5, i32 10, i32 15>
+ %strided.vec1 = shufflevector <20 x i8> %wide.vec, <20 x i8> poison, <4 x i32> <i32 1, i32 6, i32 11, i32 16>
+ %strided.vec2 = shufflevector <20 x i8> %wide.vec, <20 x i8> poison, <4 x i32> <i32 2, i32 7, i32 12, i32 17>
+ %strided.vec3 = shufflevector <20 x i8> %wide.vec, <20 x i8> poison, <4 x i32> <i32 3, i32 8, i32 13, i32 18>
+ %strided.vec4 = shufflevector <20 x i8> %wide.vec, <20 x i8> poison, <4 x i32> <i32 4, i32 9, i32 14, i32 19>
+
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i8_stride5_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm4
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm4, %xmm5
+; SSE-NEXT: pand %xmm1, %xmm5
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: pxor %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [0,65535,65535,65535,0,0,65535,65535]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm6[8],xmm5[9],xmm6[9],xmm5[10],xmm6[10],xmm5[11],xmm6[11],xmm5[12],xmm6[12],xmm5[13],xmm6[13],xmm5[14],xmm6[14],xmm5[15],xmm6[15]
+; SSE-NEXT: pand %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: por %xmm5, %xmm7
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm7[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,255,255,255,255,255,255,0,255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm2, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm0[0,0,1,1]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pandn %xmm8, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,0,255,255,255,255,0,255,255,255,255,0,255,255,255,255]
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: pandn %xmm4, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm6[8],xmm8[9],xmm6[9],xmm8[10],xmm6[10],xmm8[11],xmm6[11],xmm8[12],xmm6[12],xmm8[13],xmm6[13],xmm8[14],xmm6[14],xmm8[15],xmm6[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,0,0,65535,65535,65535,0]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3],xmm7[4],xmm6[4],xmm7[5],xmm6[5],xmm7[6],xmm6[6],xmm7[7],xmm6[7]
+; SSE-NEXT: pand %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm8, %xmm9
+; SSE-NEXT: por %xmm7, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm9[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: pslld $24, %xmm8
+; SSE-NEXT: pandn %xmm8, %xmm2
+; SSE-NEXT: por %xmm7, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: pandn %xmm4, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm9
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm6[8],xmm9[9],xmm6[9],xmm9[10],xmm6[10],xmm9[11],xmm6[11],xmm9[12],xmm6[12],xmm9[13],xmm6[13],xmm9[14],xmm6[14],xmm9[15],xmm6[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm8, %xmm10
+; SSE-NEXT: pandn %xmm9, %xmm10
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3],xmm7[4],xmm6[4],xmm7[5],xmm6[5],xmm7[6],xmm6[6],xmm7[7],xmm6[7]
+; SSE-NEXT: pand %xmm8, %xmm7
+; SSE-NEXT: por %xmm10, %xmm7
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm7[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm7, %xmm10
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm9[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: movdqa %xmm7, %xmm9
+; SSE-NEXT: pandn %xmm11, %xmm9
+; SSE-NEXT: por %xmm10, %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: movdqa %xmm3, %xmm11
+; SSE-NEXT: pand %xmm10, %xmm11
+; SSE-NEXT: pandn %xmm4, %xmm10
+; SSE-NEXT: por %xmm11, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm11
+; SSE-NEXT: punpckhbw {{.*#+}} xmm11 = xmm11[8],xmm6[8],xmm11[9],xmm6[9],xmm11[10],xmm6[10],xmm11[11],xmm6[11],xmm11[12],xmm6[12],xmm11[13],xmm6[13],xmm11[14],xmm6[14],xmm11[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm6[0],xmm10[1],xmm6[1],xmm10[2],xmm6[2],xmm10[3],xmm6[3],xmm10[4],xmm6[4],xmm10[5],xmm6[5],xmm10[6],xmm6[6],xmm10[7],xmm6[7]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[3,1],xmm11[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm10[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: pand %xmm7, %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm10[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: pandn %xmm12, %xmm10
+; SSE-NEXT: por %xmm11, %xmm10
+; SSE-NEXT: pand %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm8[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: movq %xmm5, (%rsi)
+; SSE-NEXT: movq %xmm2, (%rdx)
+; SSE-NEXT: movq %xmm9, (%rcx)
+; SSE-NEXT: movq %xmm10, (%r8)
+; SSE-NEXT: movq %xmm7, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride5_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpunpcklbw {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3],xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[0,2,4,6,8,10,12,7,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,6,11],zero,zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[0,5,10,15,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklbw {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3],xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,2,4,6,8,10,12,9,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[2,7,12],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklbw {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3],xmm5[4],xmm2[4],xmm5[5],xmm2[5],xmm5[6],xmm2[6],xmm5[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,2,4,6,8,10,1,11,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm1[2,7,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[3,8,13],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklbw {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3],xmm6[4],xmm2[4],xmm6[5],xmm2[5],xmm6[6],xmm2[6],xmm6[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,2,4,6,8,10,3,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[3,8,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,9,14],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklbw {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,2,4,6,8,10,5,15,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%r9)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-LABEL: load_i8_stride5_vf8:
+; AVX2: # %bb.0:
+; AVX2-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,zero,xmm1[4,9,14],zero,xmm1[u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpblendw {{.*#+}} xmm4 = xmm0[0],xmm2[1],xmm0[2,3,4,5,6,7]
+; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[0,5,10,15],zero,zero,zero,xmm4[3,u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[0,5,10,15],zero,xmm1[u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1],xmm2[2],xmm0[3,4,5,6,7]
+; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[1,6,11],zero,zero,zero,zero,xmm5[4,u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[1,6,11],zero,zero,xmm1[u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpblendw {{.*#+}} xmm6 = xmm2[0],xmm0[1],xmm2[2],xmm0[3,4,5,6,7]
+; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,7,12],zero,zero,zero,xmm6[0,5,u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm1[2,7,12],zero,zero,xmm1[u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpblendw {{.*#+}} xmm7 = xmm2[0],xmm0[1,2],xmm2[3],xmm0[4,5,6,7]
+; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[3,8,13],zero,zero,zero,xmm7[1,6,u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[3,8,13],zero,zero,xmm1[u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2],xmm2[3],xmm0[4,5,6,7]
+; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,9,14],zero,zero,zero,xmm0[2,7,u,u,u,u,u,u,u,u]
+; AVX2-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-NEXT: vmovq %xmm3, (%rsi)
+; AVX2-NEXT: vmovq %xmm4, (%rdx)
+; AVX2-NEXT: vmovq %xmm5, (%rcx)
+; AVX2-NEXT: vmovq %xmm6, (%r8)
+; AVX2-NEXT: vmovq %xmm0, (%r9)
+; AVX2-NEXT: retq
+ %wide.vec = load <40 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <40 x i8> %wide.vec, <40 x i8> poison, <8 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35>
+ %strided.vec1 = shufflevector <40 x i8> %wide.vec, <40 x i8> poison, <8 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36>
+ %strided.vec2 = shufflevector <40 x i8> %wide.vec, <40 x i8> poison, <8 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37>
+ %strided.vec3 = shufflevector <40 x i8> %wide.vec, <40 x i8> poison, <8 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38>
+ %strided.vec4 = shufflevector <40 x i8> %wide.vec, <40 x i8> poison, <8 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39>
+
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i8_stride5_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa 64(%rdi), %xmm3
+; SSE-NEXT: movdqa (%rdi), %xmm14
+; SSE-NEXT: movdqa 16(%rdi), %xmm1
+; SSE-NEXT: movdqa 32(%rdi), %xmm4
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: pxor %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm6[8],xmm4[9],xmm6[9],xmm4[10],xmm6[10],xmm4[11],xmm6[11],xmm4[12],xmm6[12],xmm4[13],xmm6[13],xmm4[14],xmm6[14],xmm4[15],xmm6[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; SSE-NEXT: packuswb %xmm4, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,0,0,0,0,0,0,255,255,255]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm1, %xmm15
+; SSE-NEXT: movdqa %xmm14, %xmm8
+; SSE-NEXT: pand %xmm5, %xmm8
+; SSE-NEXT: por %xmm7, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3],xmm7[4],xmm6[4],xmm7[5],xmm6[5],xmm7[6],xmm6[6],xmm7[7],xmm6[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [0,65535,65535,65535,0,0,65535,65535]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm6[8],xmm8[9],xmm6[9],xmm8[10],xmm6[10],xmm8[11],xmm6[11],xmm8[12],xmm6[12],xmm8[13],xmm6[13],xmm8[14],xmm6[14],xmm8[15],xmm6[15]
+; SSE-NEXT: pand %xmm10, %xmm8
+; SSE-NEXT: pandn %xmm7, %xmm10
+; SSE-NEXT: por %xmm8, %xmm10
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm10[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm7[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: pand %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: pandn %xmm4, %xmm7
+; SSE-NEXT: por %xmm7, %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: pand %xmm8, %xmm11
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm3[2,3]
+; SSE-NEXT: movaps %xmm3, %xmm10
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: por %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm11
+; SSE-NEXT: pandn %xmm12, %xmm11
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm11, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm6[8],xmm12[9],xmm6[9],xmm12[10],xmm6[10],xmm12[11],xmm6[11],xmm12[12],xmm6[12],xmm12[13],xmm6[13],xmm12[14],xmm6[14],xmm12[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3],xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm4, %xmm11
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[1,0],xmm12[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[2,0],xmm12[2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [255,0,255,255,255,255,0,255,255,255,255,0,255,255,255,255]
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm14, %xmm13
+; SSE-NEXT: movdqa %xmm15, %xmm3
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm14
+; SSE-NEXT: pand %xmm12, %xmm14
+; SSE-NEXT: por %xmm13, %xmm14
+; SSE-NEXT: movdqa %xmm14, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm6[8],xmm13[9],xmm6[9],xmm13[10],xmm6[10],xmm13[11],xmm6[11],xmm13[12],xmm6[12],xmm13[13],xmm6[13],xmm13[14],xmm6[14],xmm13[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3],xmm14[4],xmm6[4],xmm14[5],xmm6[5],xmm14[6],xmm6[6],xmm14[7],xmm6[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [65535,65535,0,0,65535,65535,65535,0]
+; SSE-NEXT: pand %xmm15, %xmm14
+; SSE-NEXT: pandn %xmm13, %xmm15
+; SSE-NEXT: por %xmm14, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm15[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm13, %xmm13
+; SSE-NEXT: pand %xmm0, %xmm13
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm11[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm4
+; SSE-NEXT: packuswb %xmm11, %xmm4
+; SSE-NEXT: movdqa %xmm7, %xmm11
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: pand %xmm8, %xmm13
+; SSE-NEXT: movaps %xmm10, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[2,0],xmm10[3,0]
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm11[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: por %xmm13, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: pand %xmm13, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: pandn %xmm0, %xmm15
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3],xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm15, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: pandn %xmm0, %xmm15
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm12
+; SSE-NEXT: pand %xmm13, %xmm10
+; SSE-NEXT: pandn %xmm0, %xmm13
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pandn %xmm15, %xmm9
+; SSE-NEXT: por %xmm1, %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm2[8],xmm1[9],xmm2[9],xmm1[10],xmm2[10],xmm1[11],xmm2[11],xmm1[12],xmm2[12],xmm1[13],xmm2[13],xmm1[14],xmm2[14],xmm1[15],xmm2[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3],xmm9[4],xmm2[4],xmm9[5],xmm2[5],xmm9[6],xmm2[6],xmm9[7],xmm2[7]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[3,1],xmm1[2,0]
+; SSE-NEXT: por %xmm4, %xmm12
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm2[8],xmm12[9],xmm2[9],xmm12[10],xmm2[10],xmm12[11],xmm2[11],xmm12[12],xmm2[12],xmm12[13],xmm2[13],xmm12[14],xmm2[14],xmm12[15],xmm2[15]
+; SSE-NEXT: pxor %xmm8, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm12[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm9[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pandn %xmm4, %xmm11
+; SSE-NEXT: movaps %xmm7, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm3[3,0]
+; SSE-NEXT: por %xmm11, %xmm1
+; SSE-NEXT: movaps %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm4[0,2]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: por %xmm1, %xmm12
+; SSE-NEXT: por %xmm10, %xmm13
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm8[0],xmm13[1],xmm8[1],xmm13[2],xmm8[2],xmm13[3],xmm8[3],xmm13[4],xmm8[4],xmm13[5],xmm8[5],xmm13[6],xmm8[6],xmm13[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,3],xmm1[1,2]
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm15, %xmm5
+; SSE-NEXT: por %xmm6, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3],xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm8[8],xmm5[9],xmm8[9],xmm5[10],xmm8[10],xmm5[11],xmm8[11],xmm5[12],xmm8[12],xmm5[13],xmm8[13],xmm5[14],xmm8[14],xmm5[15],xmm8[15]
+; SSE-NEXT: pand %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: por %xmm5, %xmm14
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm14[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm3, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm9[3,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm7[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: packuswb %xmm1, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm3[2,1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movdqa %xmm0, (%rcx)
+; SSE-NEXT: movdqa %xmm12, (%r8)
+; SSE-NEXT: movaps %xmm4, (%r9)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride5_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm4 = xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[u,u,u,u,u,u,u],zero,zero,zero,xmm3[2,7,12,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[u,u,u,u,u,u,u,3,8,13],zero,zero,zero,xmm1[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <255,255,255,255,255,255,255,0,0,0,0,0,0,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = [0,1,2,3,4,5,6,7,8,9,10,11,12,128,128,128]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm4, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[1,6,11]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[1,6,11],zero,zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm2[0,5,10,15,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[u,u,u,u,u,u,u],zero,zero,zero,xmm3[3,8,13,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,u,4,9,14],zero,zero,zero,xmm1[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm8, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[2,7,12]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm2[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[u,u,u,u,u,u],zero,zero,zero,zero,xmm3[4,9,14,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2],xmm9[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm0[2,7,12],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,0,5,10,15],zero,zero,zero,xmm1[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[3,8,13]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm2[2,7,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,1,6,11],zero,zero,zero,zero,xmm1[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[3,8,13],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[u,u,u,u,u,u],zero,zero,zero,xmm3[0,5,10,15,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm11[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm4[4,9,14]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u],zero,zero,zero,xmm3[1,6,11,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm2[3,8,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,2,7,12],zero,zero,zero,xmm1[u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,9,14],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%r9)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride5_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,zero,xmm3[4,9,14],zero,zero,zero,xmm3[2,7,12,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,5,10,15],zero,zero,zero,xmm2[3,8,13],zero,zero,zero,xmm2[u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = [0,1,2,3,4,5,6,7,8,9,10,11,12,128,128,128]
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[1,6,11]
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, %ymm0, %ymm1, %ymm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[1,6,11],zero,zero,zero,zero,xmm5[4,9,14],zero,zero,zero,xmm5[u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[0,5,10,15],zero,zero,zero,xmm5[3,8,13,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[2,7,12]
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[1,6,11],zero,zero,zero,zero,xmm7[4,9,14,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[2,7,12],zero,zero,zero,xmm6[0,5,10,15],zero,zero,zero,xmm6[u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[3,8,13]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm1, %ymm0, %ymm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[3,8,13],zero,zero,zero,xmm7[1,6,11],zero,zero,zero,zero,xmm7[u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[2,7,12],zero,zero,zero,xmm7[0,5,10,15,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm4
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,xmm2[4,9,14]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[3,8,13],zero,zero,zero,xmm1[1,6,11,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,9,14],zero,zero,zero,xmm0[2,7,12],zero,zero,zero,xmm0[u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm4, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512-LABEL: load_i8_stride5_vf16:
+; AVX512: # %bb.0:
+; AVX512-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512-NEXT: vpextrb $4, %xmm2, %eax
+; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm4[0,5,10,15,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpinsrb $4, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $9, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $5, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $14, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $6, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $3, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $7, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $8, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $8, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $13, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $9, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $2, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $10, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $7, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $11, %eax, %xmm3, %xmm3
+; AVX512-NEXT: vpextrb $12, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $12, %eax, %xmm3, %xmm5
+; AVX512-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512-NEXT: vpextrb $1, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $13, %eax, %xmm5, %xmm5
+; AVX512-NEXT: vpextrb $6, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $14, %eax, %xmm5, %xmm5
+; AVX512-NEXT: vpextrb $11, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $15, %eax, %xmm5, %xmm5
+; AVX512-NEXT: vmovd %xmm2, %eax
+; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = xmm4[1,6,11],zero,xmm4[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpinsrb $3, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $5, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $4, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $10, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $5, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $15, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $6, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $4, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $7, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $9, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $8, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $14, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $9, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $3, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $10, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $8, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $11, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $13, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $12, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $2, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $13, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $7, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $14, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $12, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $15, %eax, %xmm6, %xmm6
+; AVX512-NEXT: vpextrb $1, %xmm2, %eax
+; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[2,7,12],zero,xmm4[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpinsrb $3, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $6, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $4, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $11, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $5, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vmovd %xmm1, %eax
+; AVX512-NEXT: vpinsrb $6, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $5, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $7, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $10, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $8, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $15, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $9, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $4, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $10, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $9, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $11, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $14, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $12, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $3, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $13, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $8, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $14, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $13, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $15, %eax, %xmm7, %xmm7
+; AVX512-NEXT: vpextrb $2, %xmm2, %eax
+; AVX512-NEXT: vpshufb {{.*#+}} xmm8 = xmm4[3,8,13],zero,xmm4[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpinsrb $3, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $7, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $4, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $12, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $5, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $1, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $6, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $6, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $7, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $11, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $8, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vmovd %xmm0, %eax
+; AVX512-NEXT: vpinsrb $9, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $5, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $10, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $10, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $11, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $15, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $12, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $4, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $13, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $9, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $14, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $14, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $15, %eax, %xmm8, %xmm8
+; AVX512-NEXT: vpextrb $3, %xmm2, %eax
+; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[4,9,14],zero,xmm4[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpinsrb $3, %eax, %xmm4, %xmm4
+; AVX512-NEXT: vpextrb $8, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $4, %eax, %xmm4, %xmm4
+; AVX512-NEXT: vpextrb $13, %xmm2, %eax
+; AVX512-NEXT: vpinsrb $5, %eax, %xmm4, %xmm2
+; AVX512-NEXT: vpextrb $2, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $6, %eax, %xmm2, %xmm2
+; AVX512-NEXT: vpextrb $7, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $7, %eax, %xmm2, %xmm2
+; AVX512-NEXT: vpextrb $12, %xmm1, %eax
+; AVX512-NEXT: vpinsrb $8, %eax, %xmm2, %xmm1
+; AVX512-NEXT: vpextrb $1, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $9, %eax, %xmm1, %xmm1
+; AVX512-NEXT: vpextrb $6, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $10, %eax, %xmm1, %xmm1
+; AVX512-NEXT: vpextrb $11, %xmm0, %eax
+; AVX512-NEXT: vpinsrb $11, %eax, %xmm1, %xmm0
+; AVX512-NEXT: vmovd %xmm3, %eax
+; AVX512-NEXT: vpinsrb $12, %eax, %xmm0, %xmm0
+; AVX512-NEXT: vpextrb $5, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $13, %eax, %xmm0, %xmm0
+; AVX512-NEXT: vpextrb $10, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $14, %eax, %xmm0, %xmm0
+; AVX512-NEXT: vpextrb $15, %xmm3, %eax
+; AVX512-NEXT: vpinsrb $15, %eax, %xmm0, %xmm0
+; AVX512-NEXT: vmovdqa %xmm5, (%rsi)
+; AVX512-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX512-NEXT: vmovdqa %xmm7, (%rcx)
+; AVX512-NEXT: vmovdqa %xmm8, (%r8)
+; AVX512-NEXT: vmovdqa %xmm0, (%r9)
+; AVX512-NEXT: retq
+ %wide.vec = load <80 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <80 x i8> %wide.vec, <80 x i8> poison, <16 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75>
+ %strided.vec1 = shufflevector <80 x i8> %wide.vec, <80 x i8> poison, <16 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76>
+ %strided.vec2 = shufflevector <80 x i8> %wide.vec, <80 x i8> poison, <16 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77>
+ %strided.vec3 = shufflevector <80 x i8> %wide.vec, <80 x i8> poison, <16 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78>
+ %strided.vec4 = shufflevector <80 x i8> %wide.vec, <80 x i8> poison, <16 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79>
+
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i8_stride5_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $168, %rsp
+; SSE-NEXT: movdqa (%rdi), %xmm8
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm10
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,255,255,255,255,255,255,0,0,0,0,0,0,255,255,255]
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm5, %xmm11
+; SSE-NEXT: pandn %xmm3, %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,0,255,255,255,255,0,255,255,255,255,0,255,255,255,255]
+; SSE-NEXT: pandn %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm5, %xmm8
+; SSE-NEXT: por %xmm11, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [0,65535,65535,65535,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm4[8],xmm8[9],xmm4[9],xmm8[10],xmm4[10],xmm8[11],xmm4[11],xmm8[12],xmm4[12],xmm8[13],xmm4[13],xmm8[14],xmm4[14],xmm8[15],xmm4[15]
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: por %xmm3, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm8[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa 64(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm9
+; SSE-NEXT: pxor %xmm3, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm3[0],xmm9[1],xmm3[1],xmm9[2],xmm3[2],xmm9[3],xmm3[3],xmm9[4],xmm3[4],xmm9[5],xmm3[5],xmm9[6],xmm3[6],xmm9[7],xmm3[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm3[8],xmm15[9],xmm3[9],xmm15[10],xmm3[10],xmm15[11],xmm3[11],xmm15[12],xmm3[12],xmm15[13],xmm3[13],xmm15[14],xmm3[14],xmm15[15],xmm3[15]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm9[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm9[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm3[8],xmm1[9],xmm3[9],xmm1[10],xmm3[10],xmm1[11],xmm3[11],xmm1[12],xmm3[12],xmm1[13],xmm3[13],xmm1[14],xmm3[14],xmm1[15],xmm3[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 96(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: movdqa 80(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm3[8],xmm6[9],xmm3[9],xmm6[10],xmm3[10],xmm6[11],xmm3[11],xmm6[12],xmm3[12],xmm6[13],xmm3[13],xmm6[14],xmm3[14],xmm6[15],xmm3[15]
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa 144(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3],xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm3[8],xmm12[9],xmm3[9],xmm12[10],xmm3[10],xmm12[11],xmm3[11],xmm12[12],xmm3[12],xmm12[13],xmm3[13],xmm12[14],xmm3[14],xmm12[15],xmm3[15]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm4[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm4[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm3[8],xmm0[9],xmm3[9],xmm0[10],xmm3[10],xmm0[11],xmm3[11],xmm0[12],xmm3[12],xmm0[13],xmm3[13],xmm0[14],xmm3[14],xmm0[15],xmm3[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3],xmm1[4],xmm3[4],xmm1[5],xmm3[5],xmm1[6],xmm3[6],xmm1[7],xmm3[7]
+; SSE-NEXT: pxor %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [255,0,255,255,255,255,0,255,255,255,255,0,255,255,255,255]
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,0,0,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: movaps %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm9[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm9 = xmm9[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm9[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: pand %xmm9, %xmm11
+; SSE-NEXT: movdqa %xmm9, %xmm14
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm5[0],xmm11[1],xmm5[1],xmm11[2],xmm5[2],xmm11[3],xmm5[3],xmm11[4],xmm5[4],xmm11[5],xmm5[5],xmm11[6],xmm5[6],xmm11[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm11
+; SSE-NEXT: packuswb %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa (%rsp), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm7
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm12[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm14, %xmm12
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm14
+; SSE-NEXT: movdqa %xmm1, %xmm13
+; SSE-NEXT: pandn %xmm7, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1],xmm7[2],xmm5[2],xmm7[3],xmm5[3],xmm7[4],xmm5[4],xmm7[5],xmm5[5],xmm7[6],xmm5[6],xmm7[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm7[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm7[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm12[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm6, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm15[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm7
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm6
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3],xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; SSE-NEXT: pand %xmm3, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm6[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm11
+; SSE-NEXT: pand %xmm10, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm10
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm4, %xmm12
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm4[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: pand {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm2
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: pand %xmm8, %xmm2
+; SSE-NEXT: por %xmm2, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm2[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm14
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[2,0],xmm15[3,0]
+; SSE-NEXT: movaps %xmm15, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm13[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: movdqa (%rsp), %xmm13 # 16-byte Reload
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm2[8],xmm1[9],xmm2[9],xmm1[10],xmm2[10],xmm1[11],xmm2[11],xmm1[12],xmm2[12],xmm1[13],xmm2[13],xmm1[14],xmm2[14],xmm1[15],xmm2[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3],xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[2,0]
+; SSE-NEXT: por %xmm11, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm2[8],xmm10[9],xmm2[9],xmm10[10],xmm2[10],xmm10[11],xmm2[11],xmm10[12],xmm2[12],xmm10[13],xmm2[13],xmm10[14],xmm2[14],xmm10[15],xmm2[15]
+; SSE-NEXT: pxor %xmm6, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm10[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm14
+; SSE-NEXT: por %xmm14, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm11[3,0]
+; SSE-NEXT: movaps %xmm11, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm7[0,2]
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,3],xmm1[1,2]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm2, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: pand %xmm3, %xmm2
+; SSE-NEXT: por %xmm7, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm5, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm15[3,1,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1]
+; SSE-NEXT: packuswb %xmm1, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,1]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm6[0],xmm12[1],xmm6[1],xmm12[2],xmm6[2],xmm12[3],xmm6[3],xmm12[4],xmm6[4],xmm12[5],xmm6[5],xmm12[6],xmm6[6],xmm12[7],xmm6[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm12[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,3],xmm1[1,2]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm13, %xmm10
+; SSE-NEXT: por %xmm1, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm6[8],xmm10[9],xmm6[9],xmm10[10],xmm6[10],xmm10[11],xmm6[11],xmm10[12],xmm6[12],xmm10[13],xmm6[13],xmm10[14],xmm6[14],xmm10[15],xmm6[15]
+; SSE-NEXT: pand %xmm3, %xmm10
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: por %xmm10, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm12 = xmm12[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm12[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm5, %xmm6
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm11[3,1,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = mem[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; SSE-NEXT: packuswb %xmm3, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm6[2,1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movdqa %xmm9, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movdqa %xmm8, 16(%r8)
+; SSE-NEXT: movdqa %xmm4, (%r8)
+; SSE-NEXT: movaps %xmm1, 16(%r9)
+; SSE-NEXT: movaps %xmm2, (%r9)
+; SSE-NEXT: addq $168, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride5_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[1,6,11]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u],zero,zero,zero,xmm2[3,8,13,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,4,9,14],zero,zero,zero,xmm3[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpxor %xmm6, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[0,5,10,15],zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm6[0,1,2,3,4],xmm5[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm9[u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm6[u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm11[2],xmm5[2],xmm11[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u,u,u,u],zero,zero,zero,xmm10[2,7,12,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,u,u,u,u,u,3,8,13],zero,zero,zero,xmm8[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <255,255,255,255,255,255,255,0,0,0,0,0,0,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm5, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm12 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm12, %ymm11
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11]
+; AVX1-ONLY-NEXT: vandnps %ymm14, %ymm12, %ymm14
+; AVX1-ONLY-NEXT: vorps %ymm14, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm11, %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[2,7,12]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm1[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm14, %xmm11
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[1,6,11],zero,zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,zero,xmm9[0,5,10,15,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm10[u,u,u,u,u,u,u],zero,zero,zero,xmm10[3,8,13,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[u,u,u,u,u,u,u,4,9,14],zero,zero,zero,xmm8[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm15, %xmm7
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm14, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u],zero,zero,zero,zero,xmm2[4,9,14,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,0,5,10,15],zero,zero,zero,xmm3[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,128,3,4,5,6,7,8,9,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm4[1,6,11],zero,zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm15, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm13[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm12, %ymm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12]
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm12, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm13, %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[3,8,13]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm3[u,u,u,1,6,11],zero,zero,zero,zero,xmm3[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm2[u,u,u],zero,zero,zero,xmm2[0,5,10,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm15, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[2,7,12],zero,zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm13[0,1,2,3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,zero,xmm9[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[u,u,u,u,u,u],zero,zero,zero,zero,xmm10[4,9,14,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2],xmm14[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[2,7,12],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm8[u,u,u,u,u,u,0,5,10,15],zero,zero,zero,xmm8[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm14 = xmm14[0,1,2],xmm15[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vandps %ymm12, %ymm13, %ymm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13]
+; AVX1-ONLY-NEXT: vandnps %ymm14, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm12, %ymm13, %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm9[2,7,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,1,6,11],zero,zero,zero,zero,xmm8[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2],xmm13[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm6[3,8,13],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[u,u,u,u,u,u],zero,zero,zero,xmm10[0,5,10,15,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2],xmm14[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u],zero,zero,zero,xmm2[1,6,11,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,2,7,12],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,128,3,4,5,6,7,8,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm4[3,8,13],zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm15, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm15, %ymm13
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm15, %ymm7
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm15, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm13, %ymm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm0[4,9,14]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm1[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm15, %xmm13
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm7, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm15, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u],zero,zero,zero,xmm10[1,6,11,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[3,8,13,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2],xmm10[3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,2,7,12],zero,zero,zero,xmm8[u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[4,9,14],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm8[3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,zero,xmm2[2,7,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,3,8,13],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm4[4,9,14],zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,1,6,11],zero,zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[0,5,10,15]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm2, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm6[0,1,2],ymm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm12, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride5_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm3 = <255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm4, %ymm5, %ymm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,zero,xmm7[4,9,14],zero,zero,zero,xmm7[2,7,12,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[0,5,10,15],zero,zero,zero,xmm6[3,8,13],zero,zero,zero,xmm6[u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = <255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm9, %ymm1, %ymm2, %ymm7
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm10 = <u,255,u,u,u,u,255,u,u,u,u,255,u,u,u,u,255,u,u,255,0,255,u,u,255,0,255,u,u,255,0,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm10, %ymm7, %ymm8, %ymm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11,16,21,26,31,20,25,30,19,24,29,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm10, %ymm6, %ymm7, %ymm6
+; AVX2-ONLY-NEXT: vmovdqa 144(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[1,6,11]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm11 = ymm6[0,1,2,3,4],ymm11[5,6,7],ymm6[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm9, %ymm4, %ymm5, %ymm9
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[1,6,11],zero,zero,zero,zero,xmm9[4,9,14],zero,zero,zero,xmm9[u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[0,5,10,15],zero,zero,zero,xmm9[3,8,13,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm11, %xmm9, %xmm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm2, %ymm1, %ymm12
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,255,u,u,u,u,255,u,u,u,u,255,u,u,u,0,255,u,u,255,0,255,u,u,255,0,255,u,u,255,0>
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm12, %ymm13, %ymm12
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12,17,22,27,16,21,26,31,20,25,30,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendvb %ymm10, %ymm9, %ymm12, %ymm9
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[2,7,12]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm12 = ymm9[0,1,2,3,4],ymm12[5,6,7],ymm9[8,9,10,11,12],ymm12[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm5, %ymm4, %ymm11
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm12[1,6,11],zero,zero,zero,zero,xmm12[4,9,14,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[2,7,12],zero,zero,zero,xmm11[0,5,10,15],zero,zero,zero,xmm11[u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm2, %ymm1, %ymm13
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm14 = ymm13[2,3,0,1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,255,u,u,u,u,255,u,u,u,u,255,u,u,255,0,255,u,u,255,0,255,u,u,255,0,255,u,u,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13,18,23,28,17,22,27,16,21,26,31,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendvb %ymm10, %ymm11, %ymm13, %ymm10
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[3,8,13]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm11 = ymm10[0,1,2,3,4],ymm11[5,6,7],ymm10[8,9,10,11,12],ymm11[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm11[4,5,6,7]
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm5, %ymm4, %ymm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[3,8,13],zero,zero,zero,xmm11[1,6,11],zero,zero,zero,zero,xmm11[u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[2,7,12],zero,zero,zero,xmm11[0,5,10,15,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm2, %ymm1, %ymm13
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm14 = ymm13[2,3,0,1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,255,u,u,u,u,255,u,u,u,u,255,u,u,255,0,255,u,u,255,0,255,u,u,255,0,255,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14,19,24,29,18,23,28,17,22,27,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = <255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm11, %ymm13, %ymm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[4,9,14]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm11, %ymm7, %ymm7
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm5, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[3,8,13],zero,zero,zero,xmm5[1,6,11,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[4,9,14],zero,zero,zero,xmm4[2,7,12],zero,zero,zero,xmm4[u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm2 = ymm1[2,3,0,1]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm3 = <255,u,u,u,u,255,u,u,u,u,255,u,u,u,u,255,u,u,255,0,255,u,u,255,0,255,u,u,255,0,255,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,20,25,30,19,24,29,18,23,28,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2],ymm1[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,1,6,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,21,26,31,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm2 = [21474836480,21474836480,21474836480,21474836480]
+; AVX2-ONLY-NEXT: vpermd %ymm0, %ymm2, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm7, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride5_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-NEXT: vmovdqa 96(%rdi), %ymm2
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm5
+; AVX512F-NEXT: vpternlogq $202, %ymm4, %ymm3, %ymm5
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,zero,xmm6[4,9,14],zero,zero,zero,xmm6[2,7,12,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,5,10,15],zero,zero,zero,xmm5[3,8,13],zero,zero,zero,xmm5[u,u,u]
+; AVX512F-NEXT: vpor %xmm6, %xmm5, %xmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = [65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535]
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm7
+; AVX512F-NEXT: vpternlogq $202, %ymm2, %ymm1, %ymm7
+; AVX512F-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm7, %ymm8
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[1,6,11,16,21,26,31,20,25,30,19,24,29],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm10 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $248, %ymm10, %ymm6, %ymm9
+; AVX512F-NEXT: vmovdqa 144(%rdi), %xmm7
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[1,6,11]
+; AVX512F-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm8[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm6, %xmm11, %xmm6
+; AVX512F-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5,6,7],ymm9[8,9,10,11,12],ymm6[13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm9
+; AVX512F-NEXT: vpternlogq $202, %ymm4, %ymm3, %ymm9
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[1,6,11],zero,zero,zero,zero,xmm9[4,9,14],zero,zero,zero,xmm9[u,u,u]
+; AVX512F-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[0,5,10,15],zero,zero,zero,xmm9[3,8,13,u,u,u]
+; AVX512F-NEXT: vpor %xmm11, %xmm9, %xmm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm11, %ymm12
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm2, %ymm12
+; AVX512F-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm12, %ymm13
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[2,7,12,17,22,27,16,21,26,31,20,25,30],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vpternlogq $248, %ymm10, %ymm9, %ymm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[2,7,12]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm9, %xmm13, %xmm9
+; AVX512F-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm9 = ymm12[0,1,2,3,4],ymm9[5,6,7],ymm12[8,9,10,11,12],ymm9[13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $202, %ymm3, %ymm4, %ymm11
+; AVX512F-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm12[1,6,11],zero,zero,zero,zero,xmm12[4,9,14,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[2,7,12],zero,zero,zero,xmm11[0,5,10,15],zero,zero,zero,xmm11[u,u,u]
+; AVX512F-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm12
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm2, %ymm12
+; AVX512F-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm12, %ymm13
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[3,8,13,18,23,28,17,22,27,16,21,26,31],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vpternlogq $248, %ymm10, %ymm11, %ymm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm7[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[3,8,13]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm8[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX512F-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5,6,7],ymm12[8,9,10,11,12],ymm10[13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm11
+; AVX512F-NEXT: vpternlogq $202, %ymm3, %ymm4, %ymm11
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[3,8,13],zero,zero,zero,xmm11[1,6,11],zero,zero,zero,zero,xmm11[u,u,u]
+; AVX512F-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[2,7,12],zero,zero,zero,xmm11[0,5,10,15,u,u,u]
+; AVX512F-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm12
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm2, %ymm12
+; AVX512F-NEXT: vpermq {{.*#+}} ymm13 = ymm12[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm12, %ymm13
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm13[4,9,14,19,24,29,18,23,28,17,22,27,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm11, %ymm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[4,9,14]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512F-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $184, %ymm12, %ymm8, %ymm7
+; AVX512F-NEXT: vpternlogq $202, %ymm3, %ymm4, %ymm5
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[3,8,13],zero,zero,zero,xmm3[1,6,11,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[4,9,14],zero,zero,zero,xmm5[2,7,12],zero,zero,zero,xmm5[u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512F-NEXT: vpternlogq $202, %ymm2, %ymm1, %ymm0
+; AVX512F-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm0, %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm0 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,20,25,30,19,24,29,18,23,28,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2],ymm0[3,4,5,6,7]
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,1,6,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,21,26,31,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpbroadcastq {{.*#+}} ymm2 = [21474836480,21474836480,21474836480,21474836480]
+; AVX512F-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX512F-NEXT: vpternlogq $184, %ymm0, %ymm8, %ymm1
+; AVX512F-NEXT: vmovdqa %ymm6, (%rsi)
+; AVX512F-NEXT: vmovdqa %ymm9, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX512F-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512F-NEXT: vmovdqa %ymm1, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride5_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX512BW-NEXT: movw $21140, %ax # imm = 0x5294
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vpblendmw %ymm1, %ymm0, %ymm4 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX512BW-NEXT: movl $1108344832, %eax # imm = 0x42100000
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm5, %ymm4 {%k2}
+; AVX512BW-NEXT: movw $19026, %ax # imm = 0x4A52
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vpblendmw %ymm2, %ymm3, %ymm5 {%k2}
+; AVX512BW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,zero,xmm6[4,9,14],zero,zero,zero,xmm6[2,7,12,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,5,10,15],zero,zero,zero,xmm5[3,8,13],zero,zero,zero,xmm5[u,u,u]
+; AVX512BW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512BW-NEXT: movl $67100672, %eax # imm = 0x3FFE000
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm5 {%k3} = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11,16,21,26,31,20,25,30,19,24,29,u,u,u,u,u,u]
+; AVX512BW-NEXT: vmovdqa 144(%rdi), %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[1,6,11]
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %xmm7
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm4, %xmm8, %xmm4
+; AVX512BW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5,6,7],ymm5[8,9,10,11,12],ymm4[13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: movw $10570, %ax # imm = 0x294A
+; AVX512BW-NEXT: kmovd %eax, %k4
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm5 {%k4}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm8 = ymm5[2,3,0,1]
+; AVX512BW-NEXT: movl $-2078212096, %eax # imm = 0x84210000
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vmovdqu8 %ymm8, %ymm5 {%k5}
+; AVX512BW-NEXT: vpblendmw %ymm2, %ymm3, %ymm8 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm8[1,6,11],zero,zero,zero,zero,xmm8[4,9,14],zero,zero,zero,xmm8[u,u,u]
+; AVX512BW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm8[0,5,10,15],zero,zero,zero,xmm8[3,8,13,u,u,u]
+; AVX512BW-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm8 {%k3} = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12,17,22,27,16,21,26,31,20,25,30,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = xmm6[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[2,7,12]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm7[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm5, %xmm9, %xmm5
+; AVX512BW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm5 = ymm8[0,1,2,3,4],ymm5[5,6,7],ymm8[8,9,10,11,12],ymm5[13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm8 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm9 = ymm8[2,3,0,1]
+; AVX512BW-NEXT: movl $138543104, %eax # imm = 0x8420000
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm8 {%k5}
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm2, %ymm9 {%k4}
+; AVX512BW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm10[1,6,11],zero,zero,zero,zero,xmm10[4,9,14,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[2,7,12],zero,zero,zero,xmm9[0,5,10,15],zero,zero,zero,xmm9[u,u,u]
+; AVX512BW-NEXT: vpor %xmm10, %xmm9, %xmm9
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm9 {%k3} = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13,18,23,28,17,22,27,16,21,26,31,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = xmm6[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[3,8,13]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm10 = xmm7[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX512BW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5,6,7],ymm9[8,9,10,11,12],ymm8[13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm9 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm10 = ymm9[2,3,0,1]
+; AVX512BW-NEXT: movl $277086208, %eax # imm = 0x10840000
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vmovdqu8 %ymm10, %ymm9 {%k3}
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm2, %ymm10 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[3,8,13],zero,zero,zero,xmm10[1,6,11],zero,zero,zero,zero,xmm10[u,u,u]
+; AVX512BW-NEXT: vextracti128 $1, %ymm10, %xmm10
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm10[2,7,12],zero,zero,zero,xmm10[0,5,10,15,u,u,u]
+; AVX512BW-NEXT: vpor %xmm11, %xmm10, %xmm10
+; AVX512BW-NEXT: movl $33546240, %eax # imm = 0x1FFE000
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm10 {%k3} = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14,19,24,29,18,23,28,17,22,27,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm6[4,9,14]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX512BW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-NEXT: movl $-33554432, %eax # imm = 0xFE000000
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vmovdqu8 %ymm6, %ymm10 {%k3}
+; AVX512BW-NEXT: vmovdqu16 %ymm3, %ymm2 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[3,8,13],zero,zero,zero,xmm3[1,6,11,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,9,14],zero,zero,zero,xmm2[2,7,12],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512BW-NEXT: vmovdqu16 %ymm1, %ymm0 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512BW-NEXT: movl $554172416, %eax # imm = 0x21080000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu8 %ymm1, %ymm0 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,20,25,30,19,24,29,18,23,28,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,1,6,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,21,26,31,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpbroadcastq {{.*#+}} ymm2 = [21474836480,21474836480,21474836480,21474836480]
+; AVX512BW-NEXT: vpermd %ymm1, %ymm2, %ymm1
+; AVX512BW-NEXT: vmovdqu8 %ymm1, %ymm0 {%k3}
+; AVX512BW-NEXT: vmovdqa %ymm4, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm10, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <160 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <160 x i8> %wide.vec, <160 x i8> poison, <32 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155>
+ %strided.vec1 = shufflevector <160 x i8> %wide.vec, <160 x i8> poison, <32 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156>
+ %strided.vec2 = shufflevector <160 x i8> %wide.vec, <160 x i8> poison, <32 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77, i32 82, i32 87, i32 92, i32 97, i32 102, i32 107, i32 112, i32 117, i32 122, i32 127, i32 132, i32 137, i32 142, i32 147, i32 152, i32 157>
+ %strided.vec3 = shufflevector <160 x i8> %wide.vec, <160 x i8> poison, <32 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158>
+ %strided.vec4 = shufflevector <160 x i8> %wide.vec, <160 x i8> poison, <32 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159>
+
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+
+define void @load_i8_stride5_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4) nounwind {
+; SSE-LABEL: load_i8_stride5_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $568, %rsp # imm = 0x238
+; SSE-NEXT: movdqa (%rdi), %xmm9
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,0,0,0,0,0,0,255,255,255]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [255,0,255,255,255,255,0,255,255,255,255,0,255,255,255,255]
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm9, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pandn %xmm9, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm9, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm9, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [0,65535,65535,65535,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm8[8],xmm9[9],xmm8[9],xmm9[10],xmm8[10],xmm9[11],xmm8[11],xmm9[12],xmm8[12],xmm9[13],xmm8[13],xmm9[14],xmm8[14],xmm9[15],xmm8[15]
+; SSE-NEXT: pand %xmm6, %xmm9
+; SSE-NEXT: por %xmm2, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm9[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa 64(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm8[0],xmm5[1],xmm8[1],xmm5[2],xmm8[2],xmm5[3],xmm8[3],xmm5[4],xmm8[4],xmm5[5],xmm8[5],xmm5[6],xmm8[6],xmm5[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm5[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm5[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa 288(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm0[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 256(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa 240(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm8[8],xmm3[9],xmm8[9],xmm3[10],xmm8[10],xmm3[11],xmm8[11],xmm3[12],xmm8[12],xmm3[13],xmm8[13],xmm3[14],xmm8[14],xmm3[15],xmm8[15]
+; SSE-NEXT: pand %xmm6, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa 304(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3],xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm3[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3],xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm1[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa 176(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: movdqa 160(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm4
+; SSE-NEXT: por %xmm7, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3],xmm7[4],xmm8[4],xmm7[5],xmm8[5],xmm7[6],xmm8[6],xmm7[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm6, %xmm12
+; SSE-NEXT: pandn %xmm7, %xmm12
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm12, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm10, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa 224(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa 128(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,4,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,0,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: movdqa 96(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa 80(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm7
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm8[8],xmm7[9],xmm8[9],xmm7[10],xmm8[10],xmm7[11],xmm8[11],xmm7[12],xmm8[12],xmm7[13],xmm8[13],xmm7[14],xmm8[14],xmm7[15],xmm8[15]
+; SSE-NEXT: pand %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm6[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,2,1,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,5,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: movdqa 144(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3],xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm3[2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,4]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pand %xmm15, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,0],xmm2[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm2[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm4
+; SSE-NEXT: packuswb %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm0, %xmm6
+; SSE-NEXT: pandn %xmm4, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm8[8],xmm7[9],xmm8[9],xmm7[10],xmm8[10],xmm7[11],xmm8[11],xmm7[12],xmm8[12],xmm7[13],xmm8[13],xmm7[14],xmm8[14],xmm7[15],xmm8[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,0,0,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: pandn %xmm7, %xmm12
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: por %xmm12, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm0, %xmm12
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, %xmm6
+; SSE-NEXT: movaps %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm5[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,1],xmm6[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm5[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: por %xmm4, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3],xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[1,0],xmm4[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm4[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm7[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm6
+; SSE-NEXT: packuswb %xmm4, %xmm6
+; SSE-NEXT: movdqa %xmm12, %xmm4
+; SSE-NEXT: pandn %xmm6, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, %xmm6
+; SSE-NEXT: pand %xmm11, %xmm6
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3],xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm6[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm4[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm6[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm4
+; SSE-NEXT: packuswb %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: pandn %xmm1, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm4[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3],xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[2,0],xmm0[2,3]
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: psllq $48, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn %xmm9, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,4,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,5,4]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,65535,0,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [0,0,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pandn %xmm6, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: pandn %xmm6, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3],xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm6[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm6[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm7[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm6
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm6
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm9, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: movdqa (%rsp), %xmm5 # 16-byte Reload
+; SSE-NEXT: pandn %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm6
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm4, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3],xmm7[4],xmm8[4],xmm7[5],xmm8[5],xmm7[6],xmm8[6],xmm7[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm7[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm7[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm13[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm7
+; SSE-NEXT: pand %xmm12, %xmm7
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm7, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm10
+; SSE-NEXT: pandn %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm7, %xmm13
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3],xmm3[4],xmm8[4],xmm3[5],xmm8[5],xmm3[6],xmm8[6],xmm3[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm3[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm0[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[0,1],xmm3[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm7[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,1,1]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm10
+; SSE-NEXT: pandn %xmm0, %xmm10
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pandn %xmm13, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm5
+; SSE-NEXT: movdqa %xmm4, %xmm11
+; SSE-NEXT: pand %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm13, %xmm15
+; SSE-NEXT: pand %xmm0, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pandn %xmm15, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,0,255,255,255,255,0,255,255,255,255,0,255,255,255]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm15, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm15
+; SSE-NEXT: por %xmm1, %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm8[0],xmm15[1],xmm8[1],xmm15[2],xmm8[2],xmm15[3],xmm8[3],xmm15[4],xmm8[4],xmm15[5],xmm8[5],xmm15[6],xmm8[6],xmm15[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[0,1,2,0]
+; SSE-NEXT: shufps {{.*#+}} xmm15 = xmm15[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm15[0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,6,6,6]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm10, %xmm2
+; SSE-NEXT: pshufd $85, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,1,1,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [255,255,255,0,255,255,255,255,0,255,255,255,255,0,255,255]
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[3,1],xmm2[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm4[8],xmm3[9],xmm4[9],xmm3[10],xmm4[10],xmm3[11],xmm4[11],xmm3[12],xmm4[12],xmm3[13],xmm4[13],xmm3[14],xmm4[14],xmm3[15],xmm4[15]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm3[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movaps %xmm10, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: por %xmm6, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm4[8],xmm5[9],xmm4[9],xmm5[10],xmm4[10],xmm5[11],xmm4[11],xmm5[12],xmm4[12],xmm5[13],xmm4[13],xmm5[14],xmm4[14],xmm5[15],xmm4[15]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[3,1],xmm0[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm5[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm2, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movaps %xmm5, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm2[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm1[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: pandn %xmm1, %xmm15
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm11 = xmm11[8],xmm4[8],xmm11[9],xmm4[9],xmm11[10],xmm4[10],xmm11[11],xmm4[11],xmm11[12],xmm4[12],xmm11[13],xmm4[13],xmm11[14],xmm4[14],xmm11[15],xmm4[15]
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[3,1],xmm0[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm11[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movaps %xmm11, %xmm0
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm0[0,2]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: pandn %xmm1, %xmm6
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3],xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm1[2,0]
+; SSE-NEXT: movaps %xmm2, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: pxor %xmm13, %xmm13
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[3,1],xmm1[2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,5,6]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,4,5,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,0,1,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: por %xmm12, %xmm1
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movaps %xmm12, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm7[3,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm2[0,2]
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm3[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm14
+; SSE-NEXT: por %xmm1, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3],xmm3[4],xmm13[4],xmm3[5],xmm13[5],xmm3[6],xmm13[6],xmm3[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm1[1,2]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,0,255,255,255,255,0,255,255,255,255,0,255]
+; SSE-NEXT: pand %xmm0, %xmm8
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm13[0],xmm2[1],xmm13[1],xmm2[2],xmm13[2],xmm2[3],xmm13[3],xmm2[4],xmm13[4],xmm2[5],xmm13[5],xmm2[6],xmm13[6],xmm2[7],xmm13[7]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm13[8],xmm8[9],xmm13[9],xmm8[10],xmm13[10],xmm8[11],xmm13[11],xmm8[12],xmm13[12],xmm8[13],xmm13[13],xmm8[14],xmm13[14],xmm8[15],xmm13[15]
+; SSE-NEXT: pand %xmm9, %xmm8
+; SSE-NEXT: por %xmm7, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm3, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm10[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; SSE-NEXT: packuswb %xmm1, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[0,1],xmm7[2,1]
+; SSE-NEXT: movdqa (%rsp), %xmm7 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm13[0],xmm7[1],xmm13[1],xmm7[2],xmm13[2],xmm7[3],xmm13[3],xmm7[4],xmm13[4],xmm7[5],xmm13[5],xmm7[6],xmm13[6],xmm7[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,3],xmm1[1,2]
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: pandn %xmm4, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm10
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm13[0],xmm4[1],xmm13[1],xmm4[2],xmm13[2],xmm4[3],xmm13[3],xmm4[4],xmm13[4],xmm4[5],xmm13[5],xmm4[6],xmm13[6],xmm4[7],xmm13[7]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm4, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm13[8],xmm10[9],xmm13[9],xmm10[10],xmm13[10],xmm10[11],xmm13[11],xmm10[12],xmm13[12],xmm10[13],xmm13[13],xmm10[14],xmm13[14],xmm10[15],xmm13[15]
+; SSE-NEXT: pand %xmm9, %xmm10
+; SSE-NEXT: por %xmm7, %xmm10
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm10[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm3, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm4[0],xmm8[1],xmm4[1]
+; SSE-NEXT: packuswb %xmm1, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm8[2,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm13[0],xmm5[1],xmm13[1],xmm5[2],xmm13[2],xmm5[3],xmm13[3],xmm5[4],xmm13[4],xmm5[5],xmm13[5],xmm5[6],xmm13[6],xmm5[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm5[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,3],xmm1[1,2]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[0,2,3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: pandn %xmm4, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm5
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm13[0],xmm4[1],xmm13[1],xmm4[2],xmm13[2],xmm4[3],xmm13[3],xmm4[4],xmm13[4],xmm4[5],xmm13[5],xmm4[6],xmm13[6],xmm4[7],xmm13[7]
+; SSE-NEXT: movdqa %xmm9, %xmm10
+; SSE-NEXT: pandn %xmm4, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm13[8],xmm5[9],xmm13[9],xmm5[10],xmm13[10],xmm5[11],xmm13[11],xmm5[12],xmm13[12],xmm5[13],xmm13[13],xmm5[14],xmm13[14],xmm5[15],xmm13[15]
+; SSE-NEXT: pand %xmm9, %xmm5
+; SSE-NEXT: por %xmm10, %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm5[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm3, %xmm4
+; SSE-NEXT: por %xmm8, %xmm4
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm11[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm8[0],xmm10[1],xmm8[1]
+; SSE-NEXT: packuswb %xmm1, %xmm10
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,1],xmm10[2,1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1],xmm10[2],xmm13[2],xmm10[3],xmm13[3],xmm10[4],xmm13[4],xmm10[5],xmm13[5],xmm10[6],xmm13[6],xmm10[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm10[0,1,1,3]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[0,3],xmm1[1,2]
+; SSE-NEXT: movaps %xmm10, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3],xmm1[4],xmm13[4],xmm1[5],xmm13[5],xmm1[6],xmm13[6],xmm1[7],xmm13[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm13[8],xmm0[9],xmm13[9],xmm0[10],xmm13[10],xmm0[11],xmm13[11],xmm0[12],xmm13[12],xmm0[13],xmm13[13],xmm0[14],xmm13[14],xmm0[15],xmm13[15]
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm9[3,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6,4]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm11 = xmm11[0,2],xmm10[3,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,6,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[2,1,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm5, %xmm8
+; SSE-NEXT: pandn %xmm8, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[3,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm12[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,0,3,4,5,6,7]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm3[0],xmm8[1],xmm3[1]
+; SSE-NEXT: packuswb %xmm5, %xmm8
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[0,1],xmm8[2,1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movaps %xmm3, (%rcx)
+; SSE-NEXT: movdqa %xmm14, 16(%r8)
+; SSE-NEXT: movdqa %xmm6, 32(%r8)
+; SSE-NEXT: movdqa %xmm15, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps %xmm1, 16(%r9)
+; SSE-NEXT: movaps %xmm4, 32(%r9)
+; SSE-NEXT: movaps %xmm7, 48(%r9)
+; SSE-NEXT: movaps %xmm2, (%r9)
+; SSE-NEXT: addq $568, %rsp # imm = 0x238
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride5_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $488, %rsp # imm = 0x1E8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm5 = xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,128,128,128,2,7,12,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,3,8,13,128,128,128,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <255,255,255,255,255,255,255,0,0,0,0,0,0,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <1,6,11,128,128,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <128,128,128,0,5,10,15,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,128,128,128,3,8,13,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,4,9,14,128,128,128,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm15, %xmm8
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,128,128,128,1,6,11>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,u,u,u,u,2,7,12,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,128,128,128,3,8,13,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,4,9,14,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm14, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vpxor %xmm3, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm3[0,1],xmm5[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <0,5,10,15,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm7[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11>
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm8, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm11, %ymm13, %ymm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm11, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm3, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm1[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[2,7,12]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,3,8,13,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,128,128,128,128,4,9,14,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,0,5,10,15,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm14, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm12[3,4,5,6,7,8,9,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <1,6,11,128,128,128,128,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm12 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vandnps %ymm15, %ymm8, %ymm15
+; AVX1-ONLY-NEXT: vorps %ymm15, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm11, %ymm12, %ymm7
+; AVX1-ONLY-NEXT: vmovups %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm9[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm9[2,7,12]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <128,128,128,3,4,5,6,7,8,9,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm3
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm8, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[3,8,13]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,1,6,11,128,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm6[u,u,u],zero,zero,zero,xmm6[0,5,10,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm12, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm12[2,7,12],zero,zero,zero,zero,zero,zero,zero,xmm12[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm14, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm5[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,zero,xmm6[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm10[u,u,u,u,u,u],zero,zero,zero,zero,xmm10[4,9,14,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1,2],xmm13[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <2,7,12,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,0,5,10,15,128,128,128,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm4[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm8, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm4[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13]
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm8, %ymm13
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm13, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[3,8,13]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm4[u,u,u],zero,zero,zero,xmm4[0,5,10,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm2[3,4,5,6,7,8,9,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm15[2,7,12],zero,zero,zero,zero,zero,zero,zero,xmm15[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm4[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u],zero,zero,zero,zero,xmm2[4,9,14,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm3[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm8, %ymm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm8, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <128,128,128,2,7,12,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,1,6,11],zero,zero,zero,zero,xmm5[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm0[0,1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm7[3,8,13],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm10[u,u,u,u,u,u],zero,zero,zero,xmm10[0,5,10,15,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm0[0,1,2],xmm7[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[u,u,u],zero,zero,zero,xmm8[1,6,11,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm0[u,u,u,2,7,12],zero,zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <128,128,128,3,4,5,6,7,8,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[3,8,13],zero,zero,zero,zero,zero,zero,xmm12[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm13, %ymm7
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm13 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm13, %ymm5
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm13, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm6[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm6[4,9,14]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm3[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm5, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm12, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm14[u,u,u,u,u,u,1,6,11],zero,zero,zero,zero,xmm14[u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm15[3,8,13],zero,zero,zero,xmm15[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u],zero,zero,zero,xmm2[0,5,10,15,u,u,u]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2],xmm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u],zero,zero,zero,xmm1[1,6,11,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[u,u,u,2,7,12],zero,zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[3,8,13],zero,zero,zero,zero,zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm13, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm11[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm11[4,9,14]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vextractf128 $1, %ymm0, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm12, %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,1,6,11,128,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,128,128,128,0,5,10,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm8[u,u,u],zero,zero,zero,xmm8[2,7,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,3,8,13,128,128,128,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm8
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[4,9,14],zero,zero,zero,zero,zero,zero,xmm10[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,128,128,128,1,6,11,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <128,128,128,3,8,13,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm12[0,1,2],xmm10[3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,2,7,12,128,128,128,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <4,9,14,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm15[0,1,2],xmm13[3,4,5],xmm15[6,7]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm13, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm3, %xmm5, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm15, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm10[0,1,2],ymm5[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm5, %ymm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,zero,xmm2[2,7,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm2[3,4,5,6,7,8,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[4,9,14],zero,zero,zero,zero,zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm3, %xmm2, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm5, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm2 = ymm4[0,1,2],ymm2[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: addq $488, %rsp # imm = 0x1E8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride5_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $136, %rsp
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = <255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm1, %ymm2, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, %ymm5
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm6
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [255,255,0,255,0,255,255,0,255,0,255,255,0,255,0,255,255,255,0,255,0,255,255,0,255,0,255,255,0,255,0,255]
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm12
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm3, %ymm4, %ymm0
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm7
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [0,255,255,0,255,0,255,255,0,255,0,255,255,0,255,0,0,255,255,0,255,0,255,255,0,255,0,255,255,0,255,0]
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm13
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm4, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm7
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm5, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [255,0,255,255,0,255,0,255,255,0,255,0,255,255,0,255,255,0,255,255,0,255,0,255,255,0,255,0,255,255,0,255]
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm4, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, %ymm5
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm2 = [0,255,0,255,255,0,255,0,255,255,0,255,0,255,255,0,0,255,0,255,255,0,255,0,255,255,0,255,0,255,255,0]
+; AVX2-ONLY-NEXT: # ymm2 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, %ymm4, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm11
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm15, %ymm4, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <128,128,128,128,4,9,14,128,128,128,2,7,12,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <0,5,10,15,128,128,128,3,8,13,128,128,128,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11,0,5,10,15,4,9,14,3,8,13,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm12, %ymm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm5, %ymm12
+; AVX2-ONLY-NEXT: vpshufb %ymm1, %ymm9, %ymm5
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm2, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm5, %ymm9
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm15, %ymm4, %ymm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,6,11,128,128,128,128,4,9,14,128,128,128,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm7
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <128,128,128,0,5,10,15,128,128,128,3,8,13,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12,1,6,11,0,5,10,15,4,9,14,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm13, %ymm8
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm5, %ymm8, %ymm13
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm10, %ymm5
+; AVX2-ONLY-NEXT: vpblendvb %ymm14, %ymm2, %ymm1, %ymm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm5, %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm4, %ymm15, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <128,128,128,1,6,11,128,128,128,128,4,9,14,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <2,7,12,128,128,128,0,5,10,15,128,128,128,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13,2,7,12,1,6,11,0,5,10,15,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm14, %ymm14
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm14, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm1, %ymm2, %ymm14
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm14, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm14, %xmm6
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm6, %xmm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm5, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm4, %ymm15, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <3,8,13,128,128,128,1,6,11,128,128,128,128,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm7
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,128,2,7,12,128,128,128,0,5,10,15,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14,3,8,13,2,7,12,1,6,11,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %ymm7, %ymm11, %ymm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm1, %ymm2, %ymm7
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm7, %xmm5
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm7, %xmm5
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm5, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm5 = <255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendvb %ymm5, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm6 = ymm3[2,3,0,1]
+; AVX2-ONLY-NEXT: vbroadcasti128 {{.*#+}} ymm11 = [255,0,255,0,255,255,0,255,0,255,255,0,255,0,255,255,255,0,255,0,255,255,0,255,0,255,255,0,255,0,255,255]
+; AVX2-ONLY-NEXT: # ymm11 = mem[0,1,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm3, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpermq {{.*#+}} ymm3 = ymm5[2,3,0,1]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm5, %ymm3, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,u,u,128,128,128,1,6,11>
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u,255,255,0,0,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm0, %ymm4, %ymm15, %ymm14
+; AVX2-ONLY-NEXT: vmovdqa 304(%rdi), %xmm11
+; AVX2-ONLY-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm15
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,2,7,12,128,128,128>
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm3
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm2 = ymm12[0,1,2,3,4],ymm2[5,6,7],ymm12[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 144(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm12
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm4
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm12, %xmm4
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5,6,7],ymm9[8,9,10,11,12],ymm4[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,u,u,128,128,128,2,7,12>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm11, %xmm12
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,3,8,13,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm12, %xmm7
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm7 = ymm13[0,1,2,3,4],ymm7[5,6,7],ymm13[8,9,10,11,12],ymm7[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm13[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm8, %xmm0
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm0 = ymm10[0,1,2,3,4],ymm0[5,6,7],ymm10[8,9,10,11,12],ymm0[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm13 = ymm10[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,128,128,128,128,4,9,14>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm11, %xmm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,u,u,u,0,5,10,15,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm12
+; AVX2-ONLY-NEXT: vpor %xmm9, %xmm12, %xmm9
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm3, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm10
+; AVX2-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, {{[-0-9]+}}(%r{{[sb]}}p), %ymm8, %ymm8 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm14, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,128,3,8,13,128,128,128,1,6,11,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm10, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <4,9,14,128,128,128,2,7,12,128,128,128,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm14, %xmm14
+; AVX2-ONLY-NEXT: vpor %xmm10, %xmm14, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,4,9,14,3,8,13,2,7,12,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2],ymm6[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm2 = <u,1,6,11,0,5,10,15,u,u,u,u,u,u,u,u,u,1,6,11,0,5,10,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %ymm2, %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vpbroadcastq {{.*#+}} ymm0 = [21474836480,21474836480,21474836480,21474836480]
+; AVX2-ONLY-NEXT: vpermd %ymm10, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm6, %ymm10, %ymm6
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm10, %ymm10
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm15, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm14, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm15, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm7, %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2],ymm10[3,4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vpshufb %ymm2, %ymm7, %ymm2
+; AVX2-ONLY-NEXT: vpermd %ymm2, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm4, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,128,128,128,3,8,13>
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,u,u,4,9,14,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm4[0,1,2,3,4],ymm1[5,6,7],ymm4[8,9,10,11,12],ymm1[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm5, %xmm3
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5,6,7],ymm3[8,9,10,11,12],ymm2[13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm3, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, 32(%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 32(%r9)
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-ONLY-NEXT: addq $136, %rsp
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride5_vf64:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa64 (%rdi), %ymm23
+; AVX512F-NEXT: vmovdqa64 32(%rdi), %ymm24
+; AVX512F-NEXT: vmovdqa64 64(%rdi), %ymm21
+; AVX512F-NEXT: vmovdqa64 96(%rdi), %ymm22
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm5
+; AVX512F-NEXT: vpternlogq $202, %ymm24, %ymm23, %ymm5
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,zero,xmm6[4,9,14],zero,zero,zero,xmm6[2,7,12,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,5,10,15],zero,zero,zero,xmm5[3,8,13],zero,zero,zero,xmm5[u,u,u]
+; AVX512F-NEXT: vpor %xmm6, %xmm5, %xmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm5 = [65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535]
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm7
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm21, %ymm7
+; AVX512F-NEXT: vpermq {{.*#+}} ymm8 = ymm7[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm7, %ymm8
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[1,6,11,16,21,26,31,20,25,30,19,24,29],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm18 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $248, %ymm18, %ymm6, %ymm9
+; AVX512F-NEXT: vmovdqa 192(%rdi), %ymm6
+; AVX512F-NEXT: vmovdqa 224(%rdi), %ymm7
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm10
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm10
+; AVX512F-NEXT: vmovdqa 208(%rdi), %xmm8
+; AVX512F-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm8, %ymm10
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,ymm10[3,8,13,2,7,12,1,6,11,16,21,26,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vmovdqa 176(%rdi), %xmm10
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm13 = xmm10[u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u]
+; AVX512F-NEXT: vmovdqa 160(%rdi), %xmm11
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm14 = xmm11[u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u]
+; AVX512F-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = [0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $186, %ymm12, %ymm16, %ymm1
+; AVX512F-NEXT: vmovdqa 144(%rdi), %xmm13
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm12 = xmm13[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm13[1,6,11]
+; AVX512F-NEXT: vmovdqa 128(%rdi), %xmm14
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm12, %xmm15, %xmm12
+; AVX512F-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm12, %zmm17
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm20 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-NEXT: vpternlogq $184, %zmm9, %zmm20, %zmm17
+; AVX512F-NEXT: vmovdqa 256(%rdi), %ymm15
+; AVX512F-NEXT: vmovdqa 288(%rdi), %ymm12
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm9
+; AVX512F-NEXT: vpternlogq $202, %ymm15, %ymm12, %ymm9
+; AVX512F-NEXT: vextracti128 $1, %ymm9, %xmm2
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u],zero,zero,zero,xmm2[3,8,13],zero,zero,zero,xmm2[1,6,11]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,4,9,14],zero,zero,zero,xmm9[2,7,12],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm2, %xmm9, %xmm2
+; AVX512F-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5,6,7]
+; AVX512F-NEXT: vinserti64x4 $1, %ymm1, %zmm17, %zmm19
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm12, %ymm15, %ymm1
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,zero,zero,xmm2[4,9,14],zero,zero,zero,xmm2[2,7,12]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,0,5,10,15],zero,zero,zero,xmm1[3,8,13],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm2
+; AVX512F-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm8, %ymm2
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,ymm2[4,9,14,3,8,13,2,7,12,17,22,27,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = xmm11[1,6,11],zero,zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm10[0,5,10,15,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm9, %xmm3
+; AVX512F-NEXT: vpternlogq $186, %ymm2, %ymm16, %ymm3
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $226, %ymm1, %ymm16, %ymm3
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm24, %ymm23, %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[1,6,11],zero,zero,zero,zero,xmm1[4,9,14],zero,zero,zero,xmm1[u,u,u]
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[0,5,10,15],zero,zero,zero,xmm1[3,8,13,u,u,u]
+; AVX512F-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = [65535,0,65535,0,65535,65535,0,65535,0,65535,65535,0,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm22, %ymm2
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm4
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[2,7,12,17,22,27,16,21,26,31,20,25,30],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vpternlogq $248, %ymm18, %ymm1, %ymm2
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm13[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm13[2,7,12]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm14[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $184, %zmm2, %zmm20, %zmm1
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm17
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm12, %ymm15, %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[u,u,u,1,6,11],zero,zero,zero,zero,xmm1[4,9,14],zero,zero,zero
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u],zero,zero,zero,xmm1[0,5,10,15],zero,zero,zero,xmm1[3,8,13]
+; AVX512F-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm2
+; AVX512F-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm8, %ymm2
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,0,5,10,15,4,9,14,3,8,13,18,23,28,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm10[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm11[2,7,12],zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $226, %ymm1, %ymm16, %ymm2
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm23, %ymm24, %ymm1
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[1,6,11],zero,zero,zero,zero,xmm3[4,9,14,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[2,7,12],zero,zero,zero,xmm1[0,5,10,15],zero,zero,zero,xmm1[u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm22, %ymm3
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm3, %ymm4
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[3,8,13,18,23,28,17,22,27,16,21,26,31],zero,zero,zero,zero,zero,zero
+; AVX512F-NEXT: vpternlogq $248, %ymm18, %ymm1, %ymm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm13[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm13[3,8,13]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm14[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $184, %zmm3, %zmm20, %zmm1
+; AVX512F-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm18
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm15, %ymm12, %ymm1
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,zero,xmm2[1,6,11],zero,zero,zero,zero,xmm2[4,9,14]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,2,7,12],zero,zero,zero,xmm1[0,5,10,15],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm2
+; AVX512F-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm8, %ymm2
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,1,6,11,0,5,10,15,4,9,14,19,24,29,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm10[2,7,12,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm11[3,8,13],zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm2[3,4,5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $226, %ymm1, %ymm16, %ymm2
+; AVX512F-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-NEXT: vpternlogq $202, %ymm23, %ymm24, %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[3,8,13],zero,zero,zero,xmm1[1,6,11],zero,zero,zero,zero,xmm1[u,u,u]
+; AVX512F-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[2,7,12],zero,zero,zero,xmm1[0,5,10,15,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512F-NEXT: vmovdqa %ymm5, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm22, %ymm3
+; AVX512F-NEXT: vpermq {{.*#+}} ymm4 = ymm3[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm3, %ymm4
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[4,9,14,19,24,29,18,23,28,17,22,27,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm1, %ymm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm13[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm13[4,9,14]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm14[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, %zmm3, %zmm4, %zmm1
+; AVX512F-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm1
+; AVX512F-NEXT: vpternlogq $226, %ymm15, %ymm0, %ymm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm12[u,u,u,3,8,13],zero,zero,zero,xmm12[1,6,11],zero,zero,zero,zero
+; AVX512F-NEXT: vextracti128 $1, %ymm12, %xmm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u],zero,zero,zero,xmm3[2,7,12],zero,zero,zero,xmm3[0,5,10,15]
+; AVX512F-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512F-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm9
+; AVX512F-NEXT: vpternlogq $228, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm8, %ymm9
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = ymm9[u,u,u,u,u,u,2,7,12,1,6,11,0,5,10,15,20,25,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm10[3,8,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm11[4,9,14],zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2],xmm3[3,4,5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $226, %ymm2, %ymm16, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm23, %ymm24, %ymm5
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm2
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm2[3,8,13],zero,zero,zero,xmm2[1,6,11,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[4,9,14],zero,zero,zero,xmm5[2,7,12],zero,zero,zero,xmm5[u,u,u,u]
+; AVX512F-NEXT: vpor %xmm2, %xmm5, %xmm2
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm21, %ymm0
+; AVX512F-NEXT: vpermq {{.*#+}} ymm5 = ymm0[2,3,0,1]
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm0, %ymm5
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm0 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,20,25,30,19,24,29,18,23,28,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,1,6,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,21,26,31,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpbroadcastq {{.*#+}} ymm5 = [21474836480,21474836480,21474836480,21474836480]
+; AVX512F-NEXT: vpermd %ymm2, %ymm5, %ymm2
+; AVX512F-NEXT: vpternlogq $226, %zmm0, %zmm4, %zmm2
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm0
+; AVX512F-NEXT: vmovdqa64 %zmm19, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm1, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride5_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX512BW-NEXT: movw $21140, %ax # imm = 0x5294
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vpblendmw %ymm1, %ymm0, %ymm4 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX512BW-NEXT: movl $1108344832, %eax # imm = 0x42100000
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vmovdqu8 %ymm5, %ymm4 {%k1}
+; AVX512BW-NEXT: movw $19026, %ax # imm = 0x4A52
+; AVX512BW-NEXT: kmovd %eax, %k1
+; AVX512BW-NEXT: vpblendmw %ymm2, %ymm3, %ymm5 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,zero,xmm6[4,9,14],zero,zero,zero,xmm6[2,7,12,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[0,5,10,15],zero,zero,zero,xmm5[3,8,13],zero,zero,zero,xmm5[u,u,u]
+; AVX512BW-NEXT: vpor %xmm6, %xmm5, %xmm10
+; AVX512BW-NEXT: movl $67100672, %eax # imm = 0x3FFE000
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm10 {%k5} = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,1,6,11,16,21,26,31,20,25,30,19,24,29,u,u,u,u,u,u]
+; AVX512BW-NEXT: vmovdqa 192(%rdi), %ymm5
+; AVX512BW-NEXT: vmovdqa 224(%rdi), %ymm4
+; AVX512BW-NEXT: vpblendmw %ymm5, %ymm4, %ymm6 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm7 = ymm6[2,3,0,1]
+; AVX512BW-NEXT: movl $4228, %eax # imm = 0x1084
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vmovdqu8 %ymm7, %ymm6 {%k3}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm8 = ymm6[u,u,u,u,u,u,u,3,8,13,2,7,12,1,6,11,16,21,26,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm6[u,u,u,u,u,u,u,u,4,9,14,u,u,u,u,u]
+; AVX512BW-NEXT: vmovdqa 160(%rdi), %xmm7
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u,u,u,u,u,0,5,10,15,u,u,u,u]
+; AVX512BW-NEXT: vpunpckhdq {{.*#+}} xmm9 = xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; AVX512BW-NEXT: movl $127, %eax
+; AVX512BW-NEXT: kmovd %eax, %k4
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm8 {%k4}
+; AVX512BW-NEXT: vmovdqa 144(%rdi), %xmm12
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm12[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[1,6,11]
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %xmm13
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,u,u,u,u,u,u,u,u,2,7,12],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm9, %xmm11, %xmm9
+; AVX512BW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm8, %zmm9, %zmm8
+; AVX512BW-NEXT: vmovdqu16 %zmm8, %zmm10 {%k5}
+; AVX512BW-NEXT: vextracti64x4 $1, %zmm10, %ymm11
+; AVX512BW-NEXT: vmovdqa 256(%rdi), %ymm9
+; AVX512BW-NEXT: vmovdqa 288(%rdi), %ymm8
+; AVX512BW-NEXT: vpblendmw %ymm9, %ymm8, %ymm14 {%k2}
+; AVX512BW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,u,u],zero,zero,zero,xmm15[3,8,13],zero,zero,zero,xmm15[1,6,11]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,4,9,14],zero,zero,zero,xmm14[2,7,12],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm14[5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm10, %zmm18
+; AVX512BW-NEXT: movw $10570, %ax # imm = 0x294A
+; AVX512BW-NEXT: kmovd %eax, %k3
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm11 {%k3}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm14 = ymm11[2,3,0,1]
+; AVX512BW-NEXT: movl $-2078212096, %eax # imm = 0x84210000
+; AVX512BW-NEXT: kmovd %eax, %k6
+; AVX512BW-NEXT: vmovdqu8 %ymm14, %ymm11 {%k6}
+; AVX512BW-NEXT: vpblendmw %ymm2, %ymm3, %ymm14 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[1,6,11],zero,zero,zero,zero,xmm14[4,9,14],zero,zero,zero,xmm14[u,u,u]
+; AVX512BW-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,zero,xmm14[0,5,10,15],zero,zero,zero,xmm14[3,8,13,u,u,u]
+; AVX512BW-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm14 {%k5} = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,2,7,12,17,22,27,16,21,26,31,20,25,30,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpblendmw %ymm5, %ymm4, %ymm11 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm15 = ymm11[2,3,0,1]
+; AVX512BW-NEXT: movl $8456, %eax # imm = 0x2108
+; AVX512BW-NEXT: kmovd %eax, %k6
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm11 {%k6}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[u,u,u,u,u,u,u,4,9,14,3,8,13,2,7,12,17,22,27,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[1,6,11],zero,zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = zero,zero,zero,xmm6[0,5,10,15,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %xmm15, %xmm16, %xmm15
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm11 {%k4}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[2,7,12]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = xmm13[u,u,u,u,u,u,u,u,u,u,3,8,13],zero,zero,zero
+; AVX512BW-NEXT: vporq %xmm15, %xmm16, %xmm15
+; AVX512BW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm15, %zmm11
+; AVX512BW-NEXT: vmovdqu16 %zmm11, %zmm14 {%k5}
+; AVX512BW-NEXT: vextracti64x4 $1, %zmm14, %ymm11
+; AVX512BW-NEXT: vpblendmw %ymm8, %ymm9, %ymm15 {%k1}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm15, %xmm16
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = xmm16[u,u,u],zero,zero,zero,zero,xmm16[4,9,14],zero,zero,zero,xmm16[2,7,12]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,u,0,5,10,15],zero,zero,zero,xmm15[3,8,13],zero,zero,zero
+; AVX512BW-NEXT: vporq %xmm16, %xmm15, %xmm15
+; AVX512BW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-NEXT: movl $-524288, %eax # imm = 0xFFF80000
+; AVX512BW-NEXT: kmovd %eax, %k4
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm11 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm14, %zmm19
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm14 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm15 = ymm14[2,3,0,1]
+; AVX512BW-NEXT: movl $138543104, %eax # imm = 0x8420000
+; AVX512BW-NEXT: kmovd %eax, %k6
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm14 {%k6}
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm2, %ymm15 {%k3}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm15, %xmm16
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = zero,zero,zero,xmm16[1,6,11],zero,zero,zero,zero,xmm16[4,9,14,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[2,7,12],zero,zero,zero,xmm15[0,5,10,15],zero,zero,zero,xmm15[u,u,u]
+; AVX512BW-NEXT: vporq %xmm16, %xmm15, %xmm15
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm15 {%k5} = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,3,8,13,18,23,28,17,22,27,16,21,26,31,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpblendmw %ymm4, %ymm5, %ymm14 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm16 = ymm14[2,3,0,1]
+; AVX512BW-NEXT: movl $16912, %eax # imm = 0x4210
+; AVX512BW-NEXT: kmovd %eax, %k6
+; AVX512BW-NEXT: vmovdqu8 %ymm16, %ymm14 {%k6}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,0,5,10,15,4,9,14,3,8,13,18,23,28,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = zero,zero,zero,xmm6[1,6,11,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm17 = xmm7[2,7,12],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %xmm16, %xmm17, %xmm10
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2],xmm14[3,4,5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3],ymm14[4,5,6,7]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm14 = xmm12[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[3,8,13]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = xmm13[u,u,u,u,u,u,u,u,u,u,4,9,14],zero,zero,zero
+; AVX512BW-NEXT: vporq %xmm14, %xmm16, %xmm14
+; AVX512BW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm10, %zmm14, %zmm10
+; AVX512BW-NEXT: vmovdqu16 %zmm10, %zmm15 {%k5}
+; AVX512BW-NEXT: vextracti64x4 $1, %zmm15, %ymm10
+; AVX512BW-NEXT: vpblendmw %ymm8, %ymm9, %ymm14 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = xmm14[u,u,u,1,6,11],zero,zero,zero,zero,xmm14[4,9,14],zero,zero,zero
+; AVX512BW-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u],zero,zero,zero,xmm14[0,5,10,15],zero,zero,zero,xmm14[3,8,13]
+; AVX512BW-NEXT: vporq %xmm16, %xmm14, %xmm14
+; AVX512BW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-NEXT: vmovdqu8 %ymm14, %ymm10 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm10, %zmm15, %zmm14
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm10 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm15 = ymm10[2,3,0,1]
+; AVX512BW-NEXT: movl $277086208, %eax # imm = 0x10840000
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm10 {%k5}
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm2, %ymm15 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = xmm15[3,8,13],zero,zero,zero,xmm15[1,6,11],zero,zero,zero,zero,xmm15[u,u,u]
+; AVX512BW-NEXT: vextracti128 $1, %ymm15, %xmm15
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,zero,xmm15[2,7,12],zero,zero,zero,xmm15[0,5,10,15,u,u,u]
+; AVX512BW-NEXT: vporq %xmm16, %xmm15, %xmm15
+; AVX512BW-NEXT: movl $33546240, %eax # imm = 0x1FFE000
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm15 {%k5} = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,4,9,14,19,24,29,18,23,28,17,22,27,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpblendmw %ymm4, %ymm5, %ymm10 {%k2}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm16 = ymm10[2,3,0,1]
+; AVX512BW-NEXT: movl $33825, %eax # imm = 0x8421
+; AVX512BW-NEXT: kmovd %eax, %k5
+; AVX512BW-NEXT: vmovdqu8 %ymm16, %ymm10 {%k5}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,1,6,11,0,5,10,15,4,9,14,19,24,29,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm16 = zero,zero,zero,xmm6[2,7,12,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm17 = xmm7[3,8,13],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vporq %xmm16, %xmm17, %xmm11
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm11 = xmm11[0,1,2],xmm10[3,4,5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm12[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm12[4,9,14]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm13[u,u,u,u,u,u,u,u,u,0,5,10,15],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX512BW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm10, %zmm11, %zmm10
+; AVX512BW-NEXT: movl $33554431, %eax # imm = 0x1FFFFFF
+; AVX512BW-NEXT: kmovq %rax, %k5
+; AVX512BW-NEXT: vmovdqu8 %zmm15, %zmm10 {%k5}
+; AVX512BW-NEXT: vextracti64x4 $1, %zmm10, %ymm11
+; AVX512BW-NEXT: vpblendmw %ymm9, %ymm8, %ymm12 {%k3}
+; AVX512BW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u],zero,zero,zero,xmm13[1,6,11],zero,zero,zero,zero,xmm13[4,9,14]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,2,7,12],zero,zero,zero,xmm12[0,5,10,15],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX512BW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-NEXT: vmovdqu8 %ymm12, %ymm11 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm10, %zmm10
+; AVX512BW-NEXT: vmovdqu16 %ymm3, %ymm2 {%k2}
+; AVX512BW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[3,8,13],zero,zero,zero,xmm3[1,6,11,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,9,14],zero,zero,zero,xmm2[2,7,12],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512BW-NEXT: vmovdqu16 %ymm1, %ymm0 {%k1}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm1 = ymm0[2,3,0,1]
+; AVX512BW-NEXT: movl $554172416, %eax # imm = 0x21080000
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm1, %ymm0 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,0,5,10,15,20,25,30,19,24,29,18,23,28,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2],ymm0[3,4,5,6,7]
+; AVX512BW-NEXT: vmovdqu16 %ymm5, %ymm4 {%k3}
+; AVX512BW-NEXT: vpermq {{.*#+}} ymm1 = ymm4[2,3,0,1]
+; AVX512BW-NEXT: movl $2114, %eax # imm = 0x842
+; AVX512BW-NEXT: kmovd %eax, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm1, %ymm4 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm1 = ymm4[u,u,u,u,u,u,2,7,12,1,6,11,0,5,10,15,20,25,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm6[3,8,13,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[4,9,14],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm1[3,4,5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,1,6,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,21,26,31,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpbroadcastq {{.*#+}} ymm3 = [21474836480,21474836480,21474836480,21474836480]
+; AVX512BW-NEXT: vpermd %ymm2, %ymm3, %ymm2
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm1, %zmm2, %zmm1
+; AVX512BW-NEXT: vmovdqu8 %zmm0, %zmm1 {%k5}
+; AVX512BW-NEXT: vextracti64x4 $1, %zmm1, %ymm0
+; AVX512BW-NEXT: vmovdqu16 %ymm9, %ymm8 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[u,u,u,3,8,13],zero,zero,zero,xmm8[1,6,11],zero,zero,zero,zero
+; AVX512BW-NEXT: vextracti128 $1, %ymm8, %xmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u],zero,zero,zero,xmm3[2,7,12],zero,zero,zero,xmm3[0,5,10,15]
+; AVX512BW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512BW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm0, %zmm1, %zmm0
+; AVX512BW-NEXT: vmovdqa64 %zmm18, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm19, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <320 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <320 x i8> %wide.vec, <320 x i8> poison, <64 x i32> <i32 0, i32 5, i32 10, i32 15, i32 20, i32 25, i32 30, i32 35, i32 40, i32 45, i32 50, i32 55, i32 60, i32 65, i32 70, i32 75, i32 80, i32 85, i32 90, i32 95, i32 100, i32 105, i32 110, i32 115, i32 120, i32 125, i32 130, i32 135, i32 140, i32 145, i32 150, i32 155, i32 160, i32 165, i32 170, i32 175, i32 180, i32 185, i32 190, i32 195, i32 200, i32 205, i32 210, i32 215, i32 220, i32 225, i32 230, i32 235, i32 240, i32 245, i32 250, i32 255, i32 260, i32 265, i32 270, i32 275, i32 280, i32 285, i32 290, i32 295, i32 300, i32 305, i32 310, i32 315>
+ %strided.vec1 = shufflevector <320 x i8> %wide.vec, <320 x i8> poison, <64 x i32> <i32 1, i32 6, i32 11, i32 16, i32 21, i32 26, i32 31, i32 36, i32 41, i32 46, i32 51, i32 56, i32 61, i32 66, i32 71, i32 76, i32 81, i32 86, i32 91, i32 96, i32 101, i32 106, i32 111, i32 116, i32 121, i32 126, i32 131, i32 136, i32 141, i32 146, i32 151, i32 156, i32 161, i32 166, i32 171, i32 176, i32 181, i32 186, i32 191, i32 196, i32 201, i32 206, i32 211, i32 216, i32 221, i32 226, i32 231, i32 236, i32 241, i32 246, i32 251, i32 256, i32 261, i32 266, i32 271, i32 276, i32 281, i32 286, i32 291, i32 296, i32 301, i32 306, i32 311, i32 316>
+ %strided.vec2 = shufflevector <320 x i8> %wide.vec, <320 x i8> poison, <64 x i32> <i32 2, i32 7, i32 12, i32 17, i32 22, i32 27, i32 32, i32 37, i32 42, i32 47, i32 52, i32 57, i32 62, i32 67, i32 72, i32 77, i32 82, i32 87, i32 92, i32 97, i32 102, i32 107, i32 112, i32 117, i32 122, i32 127, i32 132, i32 137, i32 142, i32 147, i32 152, i32 157, i32 162, i32 167, i32 172, i32 177, i32 182, i32 187, i32 192, i32 197, i32 202, i32 207, i32 212, i32 217, i32 222, i32 227, i32 232, i32 237, i32 242, i32 247, i32 252, i32 257, i32 262, i32 267, i32 272, i32 277, i32 282, i32 287, i32 292, i32 297, i32 302, i32 307, i32 312, i32 317>
+ %strided.vec3 = shufflevector <320 x i8> %wide.vec, <320 x i8> poison, <64 x i32> <i32 3, i32 8, i32 13, i32 18, i32 23, i32 28, i32 33, i32 38, i32 43, i32 48, i32 53, i32 58, i32 63, i32 68, i32 73, i32 78, i32 83, i32 88, i32 93, i32 98, i32 103, i32 108, i32 113, i32 118, i32 123, i32 128, i32 133, i32 138, i32 143, i32 148, i32 153, i32 158, i32 163, i32 168, i32 173, i32 178, i32 183, i32 188, i32 193, i32 198, i32 203, i32 208, i32 213, i32 218, i32 223, i32 228, i32 233, i32 238, i32 243, i32 248, i32 253, i32 258, i32 263, i32 268, i32 273, i32 278, i32 283, i32 288, i32 293, i32 298, i32 303, i32 308, i32 313, i32 318>
+ %strided.vec4 = shufflevector <320 x i8> %wide.vec, <320 x i8> poison, <64 x i32> <i32 4, i32 9, i32 14, i32 19, i32 24, i32 29, i32 34, i32 39, i32 44, i32 49, i32 54, i32 59, i32 64, i32 69, i32 74, i32 79, i32 84, i32 89, i32 94, i32 99, i32 104, i32 109, i32 114, i32 119, i32 124, i32 129, i32 134, i32 139, i32 144, i32 149, i32 154, i32 159, i32 164, i32 169, i32 174, i32 179, i32 184, i32 189, i32 194, i32 199, i32 204, i32 209, i32 214, i32 219, i32 224, i32 229, i32 234, i32 239, i32 244, i32 249, i32 254, i32 259, i32 264, i32 269, i32 274, i32 279, i32 284, i32 289, i32 294, i32 299, i32 304, i32 309, i32 314, i32 319>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i8> %strided.vec4, ptr %out.vec4, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512BW-FAST: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512BW-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-FAST: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; AVX512F-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX1
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck --check-prefixes=AVX2 %s
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck --check-prefixes=AVX2 %s
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck --check-prefixes=AVX2 %s
-; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512bw,+avx512vl | FileCheck %s --check-prefixes=AVX512
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
; These patterns are produced by LoopVectorizer for interleaved loads.
; SSE-NEXT: movw %cx, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride6_vf2:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX1-NEXT: vpextrw $0, %xmm2, (%rdx)
-; AVX1-NEXT: vpextrw $0, %xmm3, (%rcx)
-; AVX1-NEXT: vpextrw $0, %xmm4, (%r8)
-; AVX1-NEXT: vpextrw $0, %xmm5, (%r9)
-; AVX1-NEXT: vpextrw $0, %xmm0, (%rax)
-; AVX1-NEXT: retq
-;
-; AVX2-LABEL: load_i8_stride6_vf2:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX2-NEXT: vpextrw $0, %xmm2, (%rdx)
-; AVX2-NEXT: vpextrw $0, %xmm3, (%rcx)
-; AVX2-NEXT: vpextrw $0, %xmm4, (%r8)
-; AVX2-NEXT: vpextrw $0, %xmm5, (%r9)
-; AVX2-NEXT: vpextrw $0, %xmm0, (%rax)
-; AVX2-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride6_vf2:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpextrw $0, %xmm1, (%rsi)
-; AVX512-NEXT: vpextrw $0, %xmm2, (%rdx)
-; AVX512-NEXT: vpextrw $0, %xmm3, (%rcx)
-; AVX512-NEXT: vpextrw $0, %xmm4, (%r8)
-; AVX512-NEXT: vpextrw $0, %xmm5, (%r9)
-; AVX512-NEXT: vpextrw $0, %xmm0, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <12 x i8>, ptr %in.vec, align 32
+; AVX-LABEL: load_i8_stride6_vf2:
+; AVX: # %bb.0:
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX-NEXT: vpextrw $0, %xmm2, (%rdx)
+; AVX-NEXT: vpextrw $0, %xmm3, (%rcx)
+; AVX-NEXT: vpextrw $0, %xmm4, (%r8)
+; AVX-NEXT: vpextrw $0, %xmm5, (%r9)
+; AVX-NEXT: vpextrw $0, %xmm0, (%rax)
+; AVX-NEXT: retq
+ %wide.vec = load <12 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <2 x i32> <i32 0, i32 6>
%strided.vec1 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <2 x i32> <i32 1, i32 7>
%strided.vec4 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <2 x i32> <i32 4, i32 10>
%strided.vec5 = shufflevector <12 x i8> %wide.vec, <12 x i8> poison, <2 x i32> <i32 5, i32 11>
- store <2 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <2 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <2 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <2 x i8> %strided.vec3, ptr %out.vec3, align 32
- store <2 x i8> %strided.vec4, ptr %out.vec4, align 32
- store <2 x i8> %strided.vec5, ptr %out.vec5, align 32
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i8> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: movd %xmm2, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride6_vf4:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm1[2,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,6,12],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm1[3,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,7,13],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm3, %xmm4, %xmm3
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[4,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[2,8,14],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm4, %xmm5, %xmm4
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[5,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[3,9,15],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX1-NEXT: vmovd %xmm2, (%rsi)
-; AVX1-NEXT: vmovd %xmm3, (%rdx)
-; AVX1-NEXT: vmovd %xmm4, (%rcx)
-; AVX1-NEXT: vmovd %xmm5, (%r8)
-; AVX1-NEXT: vmovd %xmm6, (%r9)
-; AVX1-NEXT: vmovd %xmm0, (%rax)
-; AVX1-NEXT: retq
-;
-; AVX2-LABEL: load_i8_stride6_vf4:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovdqa (%rdi), %xmm0
-; AVX2-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX2-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm1[2,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,6,12],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm1[3,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,7,13],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm3, %xmm4, %xmm3
-; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[4,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[2,8,14],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm4, %xmm5, %xmm4
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[5,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[3,9,15],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX2-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX2-NEXT: vmovd %xmm2, (%rsi)
-; AVX2-NEXT: vmovd %xmm3, (%rdx)
-; AVX2-NEXT: vmovd %xmm4, (%rcx)
-; AVX2-NEXT: vmovd %xmm5, (%r8)
-; AVX2-NEXT: vmovd %xmm6, (%r9)
-; AVX2-NEXT: vmovd %xmm0, (%rax)
-; AVX2-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride6_vf4:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %xmm0
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm1[2,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,6,12],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm1[3,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,7,13],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm3, %xmm4, %xmm3
-; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[4,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[2,8,14],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm4, %xmm5, %xmm4
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[5,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[3,9,15],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
-; AVX512-NEXT: vmovd %xmm2, (%rsi)
-; AVX512-NEXT: vmovd %xmm3, (%rdx)
-; AVX512-NEXT: vmovd %xmm4, (%rcx)
-; AVX512-NEXT: vmovd %xmm5, (%r8)
-; AVX512-NEXT: vmovd %xmm6, (%r9)
-; AVX512-NEXT: vmovd %xmm0, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <24 x i8>, ptr %in.vec, align 32
+; AVX-LABEL: load_i8_stride6_vf4:
+; AVX: # %bb.0:
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm1[2,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,6,12],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm1[3,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,7,13],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[4,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[2,8,14],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[5,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[3,9,15],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[1,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX-NEXT: vmovd %xmm2, (%rsi)
+; AVX-NEXT: vmovd %xmm3, (%rdx)
+; AVX-NEXT: vmovd %xmm4, (%rcx)
+; AVX-NEXT: vmovd %xmm5, (%r8)
+; AVX-NEXT: vmovd %xmm6, (%r9)
+; AVX-NEXT: vmovd %xmm0, (%rax)
+; AVX-NEXT: retq
+ %wide.vec = load <24 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <4 x i32> <i32 0, i32 6, i32 12, i32 18>
%strided.vec1 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <4 x i32> <i32 1, i32 7, i32 13, i32 19>
%strided.vec4 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <4 x i32> <i32 4, i32 10, i32 16, i32 22>
%strided.vec5 = shufflevector <24 x i8> %wide.vec, <24 x i8> poison, <4 x i32> <i32 5, i32 11, i32 17, i32 23>
- store <4 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <4 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <4 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <4 x i8> %strided.vec3, ptr %out.vec3, align 32
- store <4 x i8> %strided.vec4, ptr %out.vec4, align 32
- store <4 x i8> %strided.vec5, ptr %out.vec5, align 32
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i8> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: movq %xmm9, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride6_vf8:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm0
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm2[2,8,14,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm1[0,6,12],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm3, %xmm4, %xmm3
-; AVX1-NEXT: vpxor %xmm4, %xmm4, %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3],xmm3[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,xmm0[4,10,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm3, %xmm3
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[3,9,15,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[1,7,13],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3],xmm5[4,5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,xmm0[5,11,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm4, %xmm4
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[4,10,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <0,1,2,3,4,128,128,128,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm6, %xmm5, %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,zero,zero,xmm0[0,6,12,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm7, %xmm5, %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm2[5,11,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vpshufb %xmm6, %xmm7, %xmm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,zero,zero,xmm0[1,7,13,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[4,10],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm2[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm8, %xmm9, %xmm8
-; AVX1-NEXT: vpshufb %xmm6, %xmm8, %xmm8
-; AVX1-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,zero,zero,xmm0[2,8,14,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm9, %xmm8, %xmm8
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpshufb %xmm6, %xmm1, %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,zero,zero,zero,xmm0[3,9,15,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovq %xmm3, (%rsi)
-; AVX1-NEXT: vmovq %xmm4, (%rdx)
-; AVX1-NEXT: vmovq %xmm5, (%rcx)
-; AVX1-NEXT: vmovq %xmm7, (%r8)
-; AVX1-NEXT: vmovq %xmm8, (%r9)
-; AVX1-NEXT: vmovq %xmm0, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride6_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm2[2,8,14,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm1[0,6,12],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpxor %xmm4, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2],xmm4[3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,xmm0[4,10,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[3,9,15,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[1,7,13],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,zero,zero,zero,xmm0[5,11,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[4,10,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <0,1,2,3,4,128,128,128,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,zero,zero,xmm0[0,6,12,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm2[5,11,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,zero,zero,xmm0[1,7,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[4,10],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm2[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,zero,zero,xmm0[2,8,14,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,zero,zero,zero,xmm0[3,9,15,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovq %xmm3, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm8, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
;
; AVX2-LABEL: load_i8_stride6_vf8:
; AVX2: # %bb.0:
; AVX2-NEXT: vmovq %xmm0, (%rax)
; AVX2-NEXT: vzeroupper
; AVX2-NEXT: retq
-;
-; AVX512-LABEL: load_i8_stride6_vf8:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %ymm0
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0,1],ymm1[2],ymm0[3,4],ymm1[5],ymm0[6,7,8,9],ymm1[10],ymm0[11,12],ymm1[13],ymm0[14,15]
-; AVX512-NEXT: vextracti128 $1, %ymm2, %xmm3
-; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm3[2,8,14],zero,zero,xmm3[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[0,6,12],zero,zero,zero,xmm2[4,10,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm4, %xmm5, %xmm4
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[3,9,15],zero,zero,xmm3[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[1,7,13],zero,zero,zero,xmm2[5,11,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm3, %xmm2, %xmm2
-; AVX512-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm0[1,2],ymm1[3],ymm0[4,5],ymm1[6],ymm0[7],ymm1[8],ymm0[9,10],ymm1[11],ymm0[12,13],ymm1[14],ymm0[15]
-; AVX512-NEXT: vextracti128 $1, %ymm3, %xmm5
-; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm5[4,10],zero,zero,zero,xmm5[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[2,8,14],zero,zero,xmm3[0,6,12,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm6, %xmm7, %xmm6
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,11],zero,zero,zero,xmm5[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[3,9,15],zero,zero,xmm3[1,7,13,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm5, %xmm3, %xmm3
-; AVX512-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm1[1],ymm0[2,3],ymm1[4],ymm0[5,6],ymm1[7],ymm0[8],ymm1[9],ymm0[10,11],ymm1[12],ymm0[13,14],ymm1[15]
-; AVX512-NEXT: vextracti128 $1, %ymm0, %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm1[0,6,12],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10],zero,zero,zero,xmm0[2,8,14,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm5, %xmm7, %xmm5
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[1,7,13],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11],zero,zero,zero,xmm0[3,9,15,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm1, %xmm0, %xmm0
-; AVX512-NEXT: vmovq %xmm4, (%rsi)
-; AVX512-NEXT: vmovq %xmm2, (%rdx)
-; AVX512-NEXT: vmovq %xmm6, (%rcx)
-; AVX512-NEXT: vmovq %xmm3, (%r8)
-; AVX512-NEXT: vmovq %xmm5, (%r9)
-; AVX512-NEXT: vmovq %xmm0, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <48 x i8>, ptr %in.vec, align 32
+ %wide.vec = load <48 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <8 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42>
%strided.vec1 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <8 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43>
%strided.vec4 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <8 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46>
%strided.vec5 = shufflevector <48 x i8> %wide.vec, <48 x i8> poison, <8 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47>
- store <8 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <8 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <8 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <8 x i8> %strided.vec3, ptr %out.vec3, align 32
- store <8 x i8> %strided.vec4, ptr %out.vec4, align 32
- store <8 x i8> %strided.vec5, ptr %out.vec5, align 32
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i8> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: movdqa %xmm0, (%rax)
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride6_vf16:
-; AVX1: # %bb.0:
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovdqa (%rdi), %xmm1
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm0
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm3
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[2,8,14,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,12],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpblendw {{.*#+}} xmm6 = xmm5[0,1,2],xmm4[3,4,5],xmm5[6,7]
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm4
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[4,10]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
-; AVX1-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX1-NEXT: vpblendvb %xmm9, %xmm6, %xmm7, %xmm6
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm2[3,9,15,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[1,7,13],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm8, %xmm10, %xmm8
-; AVX1-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5],xmm8[6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[5,11]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
-; AVX1-NEXT: vpor %xmm8, %xmm10, %xmm8
-; AVX1-NEXT: vpblendvb %xmm9, %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,0,6,12,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm8 = xmm10[0],xmm8[0]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm2[4,10,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm10, %xmm11, %xmm10
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = <0,0,0,0,0,255,255,255,255,255,255,u,u,u,u,u>
-; AVX1-NEXT: vpblendvb %xmm11, %xmm8, %xmm10, %xmm8
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm4[0,6,12]
-; AVX1-NEXT: vpor %xmm10, %xmm12, %xmm10
-; AVX1-NEXT: vpblendvb %xmm9, %xmm8, %xmm10, %xmm8
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[3,9,15,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,1,7,13,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm10 = xmm12[0],xmm10[0]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm2[5,11,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm12, %xmm13, %xmm12
-; AVX1-NEXT: vpblendvb %xmm11, %xmm10, %xmm12, %xmm10
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm4[1,7,13]
-; AVX1-NEXT: vpor %xmm11, %xmm12, %xmm11
-; AVX1-NEXT: vpblendvb %xmm9, %xmm10, %xmm11, %xmm9
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[4,10],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm2[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm10, %xmm11, %xmm10
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm12[1],xmm11[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm12 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
-; AVX1-NEXT: vpblendvb %xmm12, %xmm10, %xmm11, %xmm10
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm4[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[2,8,14]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,u,u,u,0,6,12],zero,zero,zero
-; AVX1-NEXT: vpor %xmm11, %xmm13, %xmm11
-; AVX1-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm11[5,6,7]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
-; AVX1-NEXT: vpblendvb %xmm12, %xmm1, %xmm0, %xmm0
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[3,9,15]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,u,u,u,u,u,u,1,7,13],zero,zero,zero
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
-; AVX1-NEXT: vmovdqa %xmm6, (%rsi)
-; AVX1-NEXT: vmovdqa %xmm7, (%rdx)
-; AVX1-NEXT: vmovdqa %xmm8, (%rcx)
-; AVX1-NEXT: vmovdqa %xmm9, (%r8)
-; AVX1-NEXT: vmovdqa %xmm10, (%r9)
-; AVX1-NEXT: vmovdqa %xmm0, (%rax)
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride6_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm2[2,8,14,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,6,12],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm5[0,1,2],xmm4[3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[4,10]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm2[3,9,15,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[1,7,13],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3,4,5],xmm8[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[5,11]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,0,6,12,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm8 = xmm10[0],xmm8[0]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm2[4,10,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <0,0,0,0,0,255,255,255,255,255,255,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm4[0,6,12]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[3,9,15,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,1,7,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm10 = xmm12[0],xmm10[0]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm2[5,11,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm10, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm4[1,7,13]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm10, %xmm11, %xmm9
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[4,10],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm2[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm12, %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm4[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[2,8,14]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,u,u,u,0,6,12],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm11[5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm0 = xmm0[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendvb %xmm12, %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm4[3,9,15]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,u,u,u,u,u,u,1,7,13],zero,zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, (%r9)
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride6_vf16:
-; AVX2: # %bb.0:
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovdqa (%rdi), %ymm3
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm4
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
-; AVX2-NEXT: vpblendvb %ymm0, %ymm3, %ymm4, %ymm5
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm5[0,6,12],zero,zero,zero,xmm5[4,10],zero,zero,zero,xmm5[u,u,u,u,u]
-; AVX2-NEXT: vextracti128 $1, %ymm5, %xmm6
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm6[2,8,14],zero,zero,xmm6[0,6,12,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm0, %xmm1, %xmm2
-; AVX2-NEXT: vmovdqa 80(%rdi), %xmm0
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[4,10]
-; AVX2-NEXT: vmovdqa 64(%rdi), %xmm1
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
-; AVX2-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX2-NEXT: vpblendvb %xmm8, %xmm2, %xmm7, %xmm2
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[1,7,13],zero,zero,zero,xmm5[5,11],zero,zero,zero,xmm5[u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm6[3,9,15],zero,zero,xmm6[1,7,13,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[5,11]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
-; AVX2-NEXT: vpor %xmm6, %xmm7, %xmm6
-; AVX2-NEXT: vpblendvb %xmm8, %xmm5, %xmm6, %xmm5
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
-; AVX2-NEXT: vpblendvb %ymm6, %ymm4, %ymm3, %ymm6
-; AVX2-NEXT: vextracti128 $1, %ymm6, %xmm7
-; AVX2-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[2,8,14,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[2,8,14],zero,zero,xmm6[0,6,12],zero,zero,zero,xmm6[u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm9, %xmm10, %xmm9
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
-; AVX2-NEXT: vpshufb {{.*#+}} xmm11 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm0[0,6,12]
-; AVX2-NEXT: vpor %xmm10, %xmm11, %xmm10
-; AVX2-NEXT: vpblendvb %xmm8, %xmm9, %xmm10, %xmm9
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[3,9,15,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[3,9,15],zero,zero,xmm6[1,7,13],zero,zero,zero,xmm6[u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm7, %xmm6, %xmm6
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm0[1,7,13]
-; AVX2-NEXT: vpor %xmm7, %xmm10, %xmm7
-; AVX2-NEXT: vpblendvb %xmm8, %xmm6, %xmm7, %xmm6
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
-; AVX2-NEXT: vpblendvb %ymm7, %ymm4, %ymm3, %ymm3
-; AVX2-NEXT: vextracti128 $1, %ymm3, %xmm4
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm4[0,6,12],zero,zero,zero,xmm4[4,10,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[4,10],zero,zero,zero,xmm3[2,8,14],zero,zero,xmm3[u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[2,8,14]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,u,u,u,u,0,6,12],zero,zero,zero
-; AVX2-NEXT: vpor %xmm8, %xmm10, %xmm8
-; AVX2-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4],xmm8[5,6,7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[1,7,13],zero,zero,zero,xmm4[5,11,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,11],zero,zero,zero,xmm3[3,9,15],zero,zero,xmm3[u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm4, %xmm3, %xmm3
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[3,9,15]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,u,1,7,13],zero,zero,zero
-; AVX2-NEXT: vpor %xmm0, %xmm1, %xmm0
-; AVX2-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3,4],xmm0[5,6,7]
-; AVX2-NEXT: vmovdqa %xmm2, (%rsi)
-; AVX2-NEXT: vmovdqa %xmm5, (%rdx)
-; AVX2-NEXT: vmovdqa %xmm9, (%rcx)
-; AVX2-NEXT: vmovdqa %xmm6, (%r8)
-; AVX2-NEXT: vmovdqa %xmm7, (%r9)
-; AVX2-NEXT: vmovdqa %xmm0, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i8_stride6_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm0, %ymm3, %ymm4, %ymm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm5[0,6,12],zero,zero,zero,xmm5[4,10],zero,zero,zero,xmm5[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm6[2,8,14],zero,zero,xmm6[0,6,12,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[4,10]
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %xmm8, %xmm2, %xmm7, %xmm2
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[1,7,13],zero,zero,zero,xmm5[5,11],zero,zero,zero,xmm5[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm6[3,9,15],zero,zero,xmm6[1,7,13,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[5,11]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX2-ONLY-NEXT: vpblendvb %xmm8, %xmm5, %xmm6, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm4, %ymm3, %ymm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[2,8,14,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[2,8,14],zero,zero,xmm6[0,6,12],zero,zero,zero,xmm6[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm0[0,6,12]
+; AVX2-ONLY-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX2-ONLY-NEXT: vpblendvb %xmm8, %xmm9, %xmm10, %xmm9
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[3,9,15,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[3,9,15],zero,zero,xmm6[1,7,13],zero,zero,zero,xmm6[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm0[1,7,13]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm10, %xmm7
+; AVX2-ONLY-NEXT: vpblendvb %xmm8, %xmm6, %xmm7, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm4, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm4[0,6,12],zero,zero,zero,xmm4[4,10,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[4,10],zero,zero,zero,xmm3[2,8,14],zero,zero,xmm3[u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[2,8,14]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm1[u,u,u,u,u,u,u,u,u,u,0,6,12],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm7[0,1,2,3,4],xmm8[5,6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[1,7,13],zero,zero,zero,xmm4[5,11,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,11],zero,zero,zero,xmm3[3,9,15],zero,zero,xmm3[u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm0[3,9,15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,u,1,7,13],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm7, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride6_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[0,6,12],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $4, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm2, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $5, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm1, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $6, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm1, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $7, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $8, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $9, %r10d, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm0, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $10, %r10d, %xmm3, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $11, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $12, %r10d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm3, %r10d
+; AVX512F-SLOW-NEXT: vpinsrb $13, %r10d, %xmm4, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm5[1,7,13],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[2,8,14],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm5[3,9,15],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm5, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm10
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm5, %r10d
+; AVX512F-SLOW-NEXT: vmovd %r10d, %xmm5
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm1, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride6_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,6,12],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $4, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm2, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $5, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm1, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $6, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm1, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $7, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vmovd %xmm0, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $8, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm0, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $9, %r10d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm0, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $10, %r10d, %xmm4, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm4, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $11, %r10d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm4, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $12, %r10d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm4, %r10d
+; AVX512F-FAST-NEXT: vpinsrb $13, %r10d, %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[1,7,13],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[2,8,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[3,9,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[4,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride6_vf16:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm2, %r10d
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[0,6,12],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm2, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm2, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm1, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm1, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %r10d, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm0, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %r10d, %xmm3, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %r10d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %r10d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm3, %r10d
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %r10d, %xmm4, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm5[1,7,13],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[2,8,14],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm5[3,9,15],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm5, %r10d
+; AVX512BW-SLOW-NEXT: vmovd %r10d, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm5, %r10d
+; AVX512BW-SLOW-NEXT: vmovd %r10d, %xmm5
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm5, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm2, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride6_vf16:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %xmm5
-; AVX512-NEXT: vmovdqa 16(%rdi), %xmm2
-; AVX512-NEXT: vmovdqa 32(%rdi), %xmm1
-; AVX512-NEXT: vmovdqa 48(%rdi), %xmm0
-; AVX512-NEXT: vpextrb $2, %xmm2, %r10d
-; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[0,6,12],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpinsrb $3, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $8, %xmm2, %r10d
-; AVX512-NEXT: vpinsrb $4, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $14, %xmm2, %r10d
-; AVX512-NEXT: vpinsrb $5, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $4, %xmm1, %r10d
-; AVX512-NEXT: vpinsrb $6, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $10, %xmm1, %r10d
-; AVX512-NEXT: vpinsrb $7, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vmovd %xmm0, %r10d
-; AVX512-NEXT: vpinsrb $8, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $6, %xmm0, %r10d
-; AVX512-NEXT: vpinsrb $9, %r10d, %xmm3, %xmm3
-; AVX512-NEXT: vpextrb $12, %xmm0, %r10d
-; AVX512-NEXT: vpinsrb $10, %r10d, %xmm3, %xmm4
-; AVX512-NEXT: vmovdqa 64(%rdi), %xmm3
-; AVX512-NEXT: vpextrb $2, %xmm3, %r10d
-; AVX512-NEXT: vpinsrb $11, %r10d, %xmm4, %xmm4
-; AVX512-NEXT: vpextrb $8, %xmm3, %r10d
-; AVX512-NEXT: vpinsrb $12, %r10d, %xmm4, %xmm4
-; AVX512-NEXT: vpextrb $14, %xmm3, %r10d
-; AVX512-NEXT: vpinsrb $13, %r10d, %xmm4, %xmm6
-; AVX512-NEXT: vmovdqa 80(%rdi), %xmm4
-; AVX512-NEXT: vpextrb $4, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrb $10, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm6, %xmm6
-; AVX512-NEXT: vpextrb $3, %xmm2, %edi
-; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm5[1,7,13],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpinsrb $3, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $9, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $4, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $15, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $5, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $5, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $6, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $11, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $7, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $1, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $8, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $7, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $9, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $13, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $10, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $3, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $11, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $9, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $12, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $15, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $13, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $5, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $11, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
-; AVX512-NEXT: vpextrb $4, %xmm2, %edi
-; AVX512-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[2,8,14],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $10, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vmovd %xmm1, %edi
-; AVX512-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $6, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $12, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $2, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $8, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $14, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $4, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $10, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vmovd %xmm4, %edi
-; AVX512-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $6, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $12, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
-; AVX512-NEXT: vpextrb $5, %xmm2, %edi
-; AVX512-NEXT: vpshufb {{.*#+}} xmm9 = xmm5[3,9,15],zero,xmm5[u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX512-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $11, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $1, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $7, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $13, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $3, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $9, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $15, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $5, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $11, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $1, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $7, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $13, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
-; AVX512-NEXT: vpextrb $10, %xmm5, %edi
-; AVX512-NEXT: vpextrb $4, %xmm5, %r10d
-; AVX512-NEXT: vmovd %r10d, %xmm10
-; AVX512-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vmovd %xmm2, %edi
-; AVX512-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $6, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $12, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $2, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $8, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $14, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $4, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $10, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vmovd %xmm3, %edi
-; AVX512-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $6, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $12, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $2, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $8, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $14, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
-; AVX512-NEXT: vpextrb $11, %xmm5, %edi
-; AVX512-NEXT: vpextrb $5, %xmm5, %r10d
-; AVX512-NEXT: vmovd %r10d, %xmm5
-; AVX512-NEXT: vpinsrb $1, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpextrb $1, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $2, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpextrb $7, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $3, %edi, %xmm5, %xmm5
-; AVX512-NEXT: vpextrb $13, %xmm2, %edi
-; AVX512-NEXT: vpinsrb $4, %edi, %xmm5, %xmm2
-; AVX512-NEXT: vpextrb $3, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $5, %edi, %xmm2, %xmm2
-; AVX512-NEXT: vpextrb $9, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $6, %edi, %xmm2, %xmm2
-; AVX512-NEXT: vpextrb $15, %xmm1, %edi
-; AVX512-NEXT: vpinsrb $7, %edi, %xmm2, %xmm1
-; AVX512-NEXT: vpextrb $5, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $8, %edi, %xmm1, %xmm1
-; AVX512-NEXT: vpextrb $11, %xmm0, %edi
-; AVX512-NEXT: vpinsrb $9, %edi, %xmm1, %xmm0
-; AVX512-NEXT: vpextrb $1, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrb $7, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrb $13, %xmm3, %edi
-; AVX512-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrb $3, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrb $9, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vpextrb $15, %xmm4, %edi
-; AVX512-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
-; AVX512-NEXT: vmovdqa %xmm6, (%rsi)
-; AVX512-NEXT: vmovdqa %xmm7, (%rdx)
-; AVX512-NEXT: vmovdqa %xmm8, (%rcx)
-; AVX512-NEXT: vmovdqa %xmm9, (%r8)
-; AVX512-NEXT: vmovdqa %xmm10, (%r9)
-; AVX512-NEXT: vmovdqa %xmm0, (%rax)
-; AVX512-NEXT: retq
- %wide.vec = load <96 x i8>, ptr %in.vec, align 32
+; AVX512BW-FAST-LABEL: load_i8_stride6_vf16:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm2, %r10d
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,6,12],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm2, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $4, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm2, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $5, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm1, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $6, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm1, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $7, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm0, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $8, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm0, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $9, %r10d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm0, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $10, %r10d, %xmm4, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm4, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $11, %r10d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm4, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $12, %r10d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm4, %r10d
+; AVX512BW-FAST-NEXT: vpinsrb $13, %r10d, %xmm5, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[1,7,13],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[2,8,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[3,9,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[4,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm3, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm2, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm1, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa %xmm6, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <96 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <16 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90>
%strided.vec1 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <16 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91>
%strided.vec4 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <16 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94>
%strided.vec5 = shufflevector <96 x i8> %wide.vec, <96 x i8> poison, <16 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95>
- store <16 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <16 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <16 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <16 x i8> %strided.vec3, ptr %out.vec3, align 32
- store <16 x i8> %strided.vec4, ptr %out.vec4, align 32
- store <16 x i8> %strided.vec5, ptr %out.vec5, align 32
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i8> %strided.vec5, ptr %out.vec5, align 64
ret void
}
; SSE-NEXT: addq $280, %rsp # imm = 0x118
; SSE-NEXT: retq
;
-; AVX1-LABEL: load_i8_stride6_vf32:
-; AVX1: # %bb.0:
-; AVX1-NEXT: subq $168, %rsp
-; AVX1-NEXT: vmovdqa 128(%rdi), %xmm4
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm4[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vmovdqa 144(%rdi), %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
-; AVX1-NEXT: vmovdqa 176(%rdi), %xmm6
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[4,10]
-; AVX1-NEXT: vmovdqa 160(%rdi), %xmm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
-; AVX1-NEXT: vpor %xmm0, %xmm2, %xmm2
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,255,255,255,255,255,0,0,0,0,0>
-; AVX1-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[5,11]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
-; AVX1-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX1-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vmovdqa 32(%rdi), %xmm15
-; AVX1-NEXT: vmovdqa 48(%rdi), %xmm14
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,0,6,12,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm1, %xmm15, %xmm3
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
-; AVX1-NEXT: vmovdqa (%rdi), %xmm9
-; AVX1-NEXT: vmovdqa 16(%rdi), %xmm8
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm8[4,10,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[2,8,14],zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm2, %xmm10, %xmm10
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm2 = <0,0,0,0,0,255,255,255,255,255,255,u,u,u,u,u>
-; AVX1-NEXT: vpblendvb %xmm2, %xmm3, %xmm10, %xmm3
-; AVX1-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <3,9,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm3, %xmm14, %xmm10
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,1,7,13,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm11, %xmm15, %xmm12
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm10 = xmm12[0],xmm10[0]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm8[5,11,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm9[3,9,15],zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm12, %xmm13, %xmm12
-; AVX1-NEXT: vpblendvb %xmm2, %xmm10, %xmm12, %xmm0
-; AVX1-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm5[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb %xmm1, %xmm4, %xmm1
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm7[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
-; AVX1-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm6[0,6,12]
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,255,255,255,255,255,255,0,0,0,0,0>
-; AVX1-NEXT: vpblendvb %xmm2, %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb %xmm3, %xmm5, %xmm0
-; AVX1-NEXT: vpshufb %xmm11, %xmm4, %xmm1
-; AVX1-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm7[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm6[1,7,13]
-; AVX1-NEXT: vpor %xmm1, %xmm3, %xmm1
-; AVX1-NEXT: vpblendvb %xmm2, %xmm0, %xmm1, %xmm0
-; AVX1-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm9[4,10],zero,zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm8[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm0, %xmm1, %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm14[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
-; AVX1-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm9[5,11],zero,zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm8[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
-; AVX1-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
-; AVX1-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm10 = <128,128,128,2,8,14,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vmovdqa 112(%rdi), %xmm3
-; AVX1-NEXT: vpshufb %xmm10, %xmm3, %xmm1
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <0,6,12,128,128,128,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vmovdqa 96(%rdi), %xmm0
-; AVX1-NEXT: vpshufb %xmm6, %xmm0, %xmm2
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm5
-; AVX1-NEXT: vmovdqa 80(%rdi), %xmm2
-; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[4,10]
-; AVX1-NEXT: vmovdqa 64(%rdi), %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
-; AVX1-NEXT: vpor %xmm4, %xmm13, %xmm4
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm15[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1]
-; AVX1-NEXT: vpshufb %xmm10, %xmm8, %xmm10
-; AVX1-NEXT: vpshufb %xmm6, %xmm9, %xmm6
-; AVX1-NEXT: vpor %xmm6, %xmm10, %xmm6
-; AVX1-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4,5],xmm6[6,7]
-; AVX1-NEXT: vmovaps {{.*#+}} ymm6 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255]
-; AVX1-NEXT: vandnps %ymm4, %ymm6, %ymm4
-; AVX1-NEXT: vandps %ymm6, %ymm5, %ymm5
-; AVX1-NEXT: vorps %ymm4, %ymm5, %ymm4
-; AVX1-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm5, %ymm4, %ymm4
-; AVX1-NEXT: vinsertf128 $1, (%rsp), %ymm0, %ymm10 # 16-byte Folded Reload
-; AVX1-NEXT: vandnps %ymm10, %ymm5, %ymm10
-; AVX1-NEXT: vorps %ymm4, %ymm10, %ymm4
-; AVX1-NEXT: vmovups %ymm4, (%rsp) # 32-byte Spill
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm7 = <128,128,128,3,9,15,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm7, %xmm3, %xmm13
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm4 = <1,7,13,128,128,128,u,u,u,u,u,u,u,u,u,u>
-; AVX1-NEXT: vpshufb %xmm4, %xmm0, %xmm12
-; AVX1-NEXT: vpor %xmm13, %xmm12, %xmm12
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[5,11]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
-; AVX1-NEXT: vpor %xmm13, %xmm11, %xmm11
-; AVX1-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm15[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
-; AVX1-NEXT: vpshufb %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vpshufb %xmm4, %xmm9, %xmm4
-; AVX1-NEXT: vpor %xmm7, %xmm4, %xmm4
-; AVX1-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm12[3,4,5],xmm4[6,7]
-; AVX1-NEXT: vandnps %ymm11, %ymm6, %ymm7
-; AVX1-NEXT: vandps %ymm6, %ymm4, %ymm4
-; AVX1-NEXT: vorps %ymm7, %ymm4, %ymm4
-; AVX1-NEXT: vandps %ymm5, %ymm4, %ymm4
-; AVX1-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm6 # 16-byte Folded Reload
-; AVX1-NEXT: vandnps %ymm6, %ymm5, %ymm5
-; AVX1-NEXT: vorps %ymm5, %ymm4, %ymm4
-; AVX1-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm3[4,10,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[2,8,14],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm5, %xmm6, %xmm5
-; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm2[0,6,12]
-; AVX1-NEXT: vpor %xmm6, %xmm7, %xmm6
-; AVX1-NEXT: vinsertf128 $1, %xmm5, %ymm6, %ymm5
-; AVX1-NEXT: vmovaps {{.*#+}} ymm6 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
-; AVX1-NEXT: vandnps %ymm5, %ymm6, %ymm5
-; AVX1-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm7 # 32-byte Folded Reload
-; AVX1-NEXT: vorps %ymm5, %ymm7, %ymm7
-; AVX1-NEXT: vmovaps {{.*#+}} ymm10 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
-; AVX1-NEXT: vandps %ymm7, %ymm10, %ymm7
-; AVX1-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm8 # 16-byte Folded Reload
-; AVX1-NEXT: vandnps %ymm8, %ymm10, %ymm8
-; AVX1-NEXT: vorps %ymm7, %ymm8, %ymm13
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm3[5,11,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[3,9,15],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
-; AVX1-NEXT: vpshufb {{.*#+}} xmm9 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm2[1,7,13]
-; AVX1-NEXT: vpor %xmm8, %xmm9, %xmm8
-; AVX1-NEXT: vinsertf128 $1, %xmm7, %ymm8, %ymm7
-; AVX1-NEXT: vandnps %ymm7, %ymm6, %ymm7
-; AVX1-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
-; AVX1-NEXT: vorps %ymm7, %ymm6, %ymm6
-; AVX1-NEXT: vandps %ymm6, %ymm10, %ymm6
-; AVX1-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 16-byte Folded Reload
-; AVX1-NEXT: vandnps %ymm7, %ymm10, %ymm7
-; AVX1-NEXT: vorps %ymm7, %ymm6, %ymm6
-; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm3[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,128,128,128,2,8,14>
-; AVX1-NEXT: vpshufb %xmm8, %xmm2, %xmm9
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,0,6,12,128,128,128>
-; AVX1-NEXT: vpshufb %xmm11, %xmm1, %xmm12
-; AVX1-NEXT: vpor %xmm9, %xmm12, %xmm9
-; AVX1-NEXT: vinsertf128 $1, %xmm7, %ymm9, %ymm7
-; AVX1-NEXT: vmovaps {{.*#+}} ymm9 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
-; AVX1-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm12 # 32-byte Folded Reload
-; AVX1-NEXT: vandps %ymm7, %ymm9, %ymm7
-; AVX1-NEXT: vorps %ymm7, %ymm12, %ymm7
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
-; AVX1-NEXT: vpshufb %xmm8, %xmm5, %xmm8
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
-; AVX1-NEXT: vpshufb %xmm11, %xmm4, %xmm11
-; AVX1-NEXT: vpor %xmm8, %xmm11, %xmm8
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
-; AVX1-NEXT: vpshufb {{.*#+}} xmm11 = xmm15[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
-; AVX1-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
-; AVX1-NEXT: vpshufb {{.*#+}} xmm12 = xmm14[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm12[1],xmm11[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm8 = xmm11[0,1,2,3,4],xmm8[5,6,7]
-; AVX1-NEXT: vandps %ymm7, %ymm10, %ymm7
-; AVX1-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
-; AVX1-NEXT: vandnps %ymm8, %ymm10, %ymm8
-; AVX1-NEXT: vorps %ymm7, %ymm8, %ymm7
-; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
-; AVX1-NEXT: vpor %xmm0, %xmm3, %xmm0
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,128,128,128,3,9,15>
-; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm2
-; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,1,7,13,128,128,128>
-; AVX1-NEXT: vpshufb %xmm8, %xmm1, %xmm1
-; AVX1-NEXT: vpor %xmm2, %xmm1, %xmm1
-; AVX1-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
-; AVX1-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm1 # 32-byte Folded Reload
-; AVX1-NEXT: vandps %ymm0, %ymm9, %ymm0
-; AVX1-NEXT: vorps %ymm1, %ymm0, %ymm0
-; AVX1-NEXT: vpshufb %xmm3, %xmm5, %xmm1
-; AVX1-NEXT: vpshufb %xmm8, %xmm4, %xmm2
-; AVX1-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm15[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
-; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm14[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
-; AVX1-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
-; AVX1-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4],xmm1[5,6,7]
-; AVX1-NEXT: vandps %ymm0, %ymm10, %ymm0
-; AVX1-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
-; AVX1-NEXT: vandnps %ymm1, %ymm10, %ymm1
-; AVX1-NEXT: vorps %ymm1, %ymm0, %ymm0
-; AVX1-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rsi)
-; AVX1-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
-; AVX1-NEXT: vmovaps %ymm1, (%rdx)
-; AVX1-NEXT: vmovaps %ymm13, (%rcx)
-; AVX1-NEXT: vmovaps %ymm6, (%r8)
-; AVX1-NEXT: vmovaps %ymm7, (%r9)
-; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX1-NEXT: vmovaps %ymm0, (%rax)
-; AVX1-NEXT: addq $168, %rsp
-; AVX1-NEXT: vzeroupper
-; AVX1-NEXT: retq
+; AVX1-ONLY-LABEL: load_i8_stride6_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $168, %rsp
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm4[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[4,10]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm6[5,11]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,0,6,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm2[0]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm8[4,10,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[2,8,14],zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <0,0,0,0,0,255,255,255,255,255,255,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm3, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <3,9,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,1,7,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm15, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm10 = xmm12[0],xmm10[0]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm8[5,11,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm9[3,9,15],zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm10, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm5[2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm7[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm6[0,6,12]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,255,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm7[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm6[1,7,13]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm9[4,10],zero,zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm8[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm14[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm9[5,11],zero,zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm8[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <128,128,128,2,8,14,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <0,6,12,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[4,10]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm15[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm6, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm5 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, (%rsp), %ymm0, %ymm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm5, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <128,128,128,3,9,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <1,7,13,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[5,11]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm15[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2],xmm12[3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm6, %ymm7
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm6 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm6, %ymm5, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm3[4,10,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[2,8,14],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm2[0,6,12]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm6, %ymm5
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm6 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm6, %ymm5
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm7, %ymm7
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm10, %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm8 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm8, %ymm10, %ymm8
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm8, %ymm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm3[5,11,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[3,9,15],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm2[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm2[1,7,13]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm8, %ymm7
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm6, %ymm7
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm7 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm10, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[4,10],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm3[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,128,128,128,2,8,14>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,0,6,12,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm12, %xmm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm9, %ymm7
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm9 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm12 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm9, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm12, %ymm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm15[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm14[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm11 = xmm12[1],xmm11[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm11[0,1,2,3,4],xmm8[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm7, %ymm10, %ymm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm8, %ymm0, %ymm8
+; AVX1-ONLY-NEXT: vandnps %ymm8, %ymm10, %ymm8
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm8, %ymm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[5,11],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,128,128,128,3,9,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,1,7,13,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm1 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm9, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm15[u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm14[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovaps %ymm13, (%rcx)
+; AVX1-ONLY-NEXT: vmovaps %ymm6, (%r8)
+; AVX1-ONLY-NEXT: vmovaps %ymm7, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $168, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
;
-; AVX2-LABEL: load_i8_stride6_vf32:
-; AVX2: # %bb.0:
-; AVX2-NEXT: vmovdqa (%rdi), %ymm1
-; AVX2-NEXT: vmovdqa 32(%rdi), %ymm2
-; AVX2-NEXT: vmovdqa 64(%rdi), %ymm0
-; AVX2-NEXT: vmovdqa 96(%rdi), %ymm4
-; AVX2-NEXT: vmovdqa 160(%rdi), %ymm5
-; AVX2-NEXT: vmovdqa 128(%rdi), %ymm6
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm9 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
-; AVX2-NEXT: vpblendvb %ymm9, %ymm1, %ymm2, %ymm7
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[0,6,12],zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[u,u,u,u,u]
-; AVX2-NEXT: vextracti128 $1, %ymm7, %xmm10
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm10[2,8,14],zero,zero,xmm10[0,6,12,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm3, %xmm8, %xmm11
-; AVX2-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm0[2,3],ymm4[2,3]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,ymm3[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[4,10],zero,zero,zero,ymm3[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[20,26]
-; AVX2-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm0[0,1],ymm4[0,1]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm0 = ymm4[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[2,8,14],zero,zero,ymm4[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[18,24,30],zero,zero
-; AVX2-NEXT: vpor %ymm0, %ymm8, %ymm0
-; AVX2-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
-; AVX2-NEXT: vpblendvb %ymm8, %ymm11, %ymm0, %ymm0
-; AVX2-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
-; AVX2-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[1,7,13],zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm10[3,9,15],zero,zero,xmm10[1,7,13,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm7, %xmm10, %xmm7
-; AVX2-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,ymm3[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[5,11],zero,zero,zero,ymm3[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[21,27]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm11 = ymm4[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[3,9,15],zero,zero,ymm4[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[19,25,31],zero,zero
-; AVX2-NEXT: vpor %ymm10, %ymm11, %ymm10
-; AVX2-NEXT: vpblendvb %ymm8, %ymm7, %ymm10, %ymm7
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
-; AVX2-NEXT: vpblendvb %ymm12, %ymm2, %ymm1, %ymm10
-; AVX2-NEXT: vextracti128 $1, %ymm10, %xmm11
-; AVX2-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,zero,xmm11[4,10],zero,zero,zero,xmm11[2,8,14,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[2,8,14],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm13, %xmm14, %xmm13
-; AVX2-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,ymm3[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,6,12],zero,zero,zero,ymm3[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[16,22,28]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm15 = ymm4[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[4,10],zero,zero,zero,ymm4[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[20,26],zero,zero,zero
-; AVX2-NEXT: vpor %ymm14, %ymm15, %ymm14
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
-; AVX2-NEXT: vpblendvb %ymm9, %ymm6, %ymm5, %ymm9
-; AVX2-NEXT: vpblendvb %ymm8, %ymm13, %ymm14, %ymm13
-; AVX2-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[5,11],zero,zero,zero,xmm11[3,9,15,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[3,9,15],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm11, %xmm10, %xmm10
-; AVX2-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,zero,ymm3[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[1,7,13],zero,zero,zero,ymm3[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[17,23,29]
-; AVX2-NEXT: vpshufb {{.*#+}} ymm14 = ymm4[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[5,11],zero,zero,zero,ymm4[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[21,27],zero,zero,zero
-; AVX2-NEXT: vpor %ymm11, %ymm14, %ymm11
-; AVX2-NEXT: vpshufb {{.*#+}} xmm14 = xmm9[u,u,u,u,u,0,6,12],zero,zero,zero,xmm9[4,10],zero,zero,zero
-; AVX2-NEXT: vpblendvb %ymm8, %ymm10, %ymm11, %ymm0
-; AVX2-NEXT: vextracti128 $1, %ymm9, %xmm8
-; AVX2-NEXT: vpshufb {{.*#+}} xmm10 = xmm8[u,u,u,u,u],zero,zero,zero,xmm8[2,8,14],zero,zero,xmm8[0,6,12]
-; AVX2-NEXT: vpor %xmm14, %xmm10, %xmm10
-; AVX2-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
-; AVX2-NEXT: vmovdqa {{.*#+}} ymm11 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
-; AVX2-NEXT: vpblendvb %ymm11, %ymm13, %ymm10, %ymm13
-; AVX2-NEXT: vpblendvb %ymm15, %ymm5, %ymm6, %ymm10
-; AVX2-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,1,7,13],zero,zero,zero,xmm9[5,11],zero,zero,zero
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u],zero,zero,zero,xmm8[3,9,15],zero,zero,xmm8[1,7,13]
-; AVX2-NEXT: vpor %xmm9, %xmm8, %xmm8
-; AVX2-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
-; AVX2-NEXT: vpblendvb %ymm11, %ymm0, %ymm8, %ymm9
-; AVX2-NEXT: vpblendvb %ymm12, %ymm5, %ymm6, %ymm0
-; AVX2-NEXT: vextracti128 $1, %ymm0, %xmm5
-; AVX2-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u],zero,zero,zero,xmm5[4,10],zero,zero,zero,xmm5[2,8,14]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[u,u,u,u,u,2,8,14],zero,zero,xmm0[0,6,12],zero,zero,zero
-; AVX2-NEXT: vpor %xmm6, %xmm8, %xmm6
-; AVX2-NEXT: vpblendvb %ymm15, %ymm2, %ymm1, %ymm1
-; AVX2-NEXT: vextracti128 $1, %ymm1, %xmm2
-; AVX2-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm2[0,6,12],zero,zero,zero,xmm2[4,10,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm12 = xmm1[4,10],zero,zero,zero,xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm8, %xmm12, %xmm8
-; AVX2-NEXT: vpshufb {{.*#+}} ymm12 = ymm4[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,6,12],zero,zero,zero,ymm4[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[16,22,28],zero,zero,zero
-; AVX2-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,ymm3[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,8,14],zero,zero,ymm3[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[18,24,30]
-; AVX2-NEXT: vpor %ymm12, %ymm14, %ymm12
-; AVX2-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm12[5,6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
-; AVX2-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
-; AVX2-NEXT: vpblendvb %ymm11, %ymm8, %ymm6, %ymm6
-; AVX2-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,zero,xmm5[5,11],zero,zero,zero,xmm5[3,9,15]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,3,9,15],zero,zero,xmm0[1,7,13],zero,zero,zero
-; AVX2-NEXT: vpor %xmm5, %xmm0, %xmm0
-; AVX2-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13],zero,zero,zero,xmm2[5,11,u,u,u,u,u,u]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u]
-; AVX2-NEXT: vpor %xmm2, %xmm1, %xmm1
-; AVX2-NEXT: vpshufb {{.*#+}} ymm2 = ymm4[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[1,7,13],zero,zero,zero,ymm4[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[17,23,29],zero,zero,zero
-; AVX2-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,ymm3[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[3,9,15],zero,zero,ymm3[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[19,25,31]
-; AVX2-NEXT: vpor %ymm2, %ymm3, %ymm2
-; AVX2-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vextracti128 $1, %ymm10, %xmm2
-; AVX2-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
-; AVX2-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm0
-; AVX2-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[u,u,u,u,u,u],zero,zero,xmm2[0,6,12],zero,zero,zero,xmm2[4,10]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm10[u,u,u,u,u,u,4,10],zero,zero,zero,xmm10[2,8,14],zero,zero
-; AVX2-NEXT: vpor %xmm1, %xmm3, %xmm1
-; AVX2-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
-; AVX2-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
-; AVX2-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5,6,7],ymm3[8,9,10],ymm1[11,12,13,14,15]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u],zero,zero,xmm2[1,7,13],zero,zero,zero,xmm2[5,11]
-; AVX2-NEXT: vpshufb {{.*#+}} xmm3 = xmm10[u,u,u,u,u,u,5,11],zero,zero,zero,xmm10[3,9,15],zero,zero
-; AVX2-NEXT: vpor %xmm2, %xmm3, %xmm2
-; AVX2-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
-; AVX2-NEXT: vpblendw {{.*#+}} ymm2 = ymm7[0,1,2],ymm2[3,4,5,6,7],ymm7[8,9,10],ymm2[11,12,13,14,15]
-; AVX2-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
-; AVX2-NEXT: vmovdqa %ymm1, (%rsi)
-; AVX2-NEXT: vmovdqa %ymm2, (%rdx)
-; AVX2-NEXT: vmovdqa %ymm13, (%rcx)
-; AVX2-NEXT: vmovdqa %ymm9, (%r8)
-; AVX2-NEXT: vmovdqa %ymm6, (%r9)
-; AVX2-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX2-NEXT: vmovdqa %ymm0, (%rax)
-; AVX2-NEXT: vzeroupper
-; AVX2-NEXT: retq
+; AVX2-ONLY-LABEL: load_i8_stride6_vf32:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm9, %ymm1, %ymm2, %ymm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[0,6,12],zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm10
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm10[2,8,14],zero,zero,xmm10[0,6,12,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm8, %xmm11
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm3 = ymm0[2,3],ymm4[2,3]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,ymm3[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[4,10],zero,zero,zero,ymm3[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[20,26]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm4 = ymm0[0,1],ymm4[0,1]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm0 = ymm4[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[2,8,14],zero,zero,ymm4[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[18,24,30],zero,zero
+; AVX2-ONLY-NEXT: vpor %ymm0, %ymm8, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm11, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[1,7,13],zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm10[3,9,15],zero,zero,xmm10[1,7,13,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm10, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,ymm3[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[5,11],zero,zero,zero,ymm3[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[21,27]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm11 = ymm4[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[3,9,15],zero,zero,ymm4[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[19,25,31],zero,zero
+; AVX2-ONLY-NEXT: vpor %ymm10, %ymm11, %ymm10
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm7, %ymm10, %ymm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm2, %ymm1, %ymm10
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,zero,xmm11[4,10],zero,zero,zero,xmm11[2,8,14,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[2,8,14],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,ymm3[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,6,12],zero,zero,zero,ymm3[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[16,22,28]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm15 = ymm4[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[4,10],zero,zero,zero,ymm4[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[20,26],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %ymm14, %ymm15, %ymm14
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm9, %ymm6, %ymm5, %ymm9
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm13, %ymm14, %ymm13
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[5,11],zero,zero,zero,xmm11[3,9,15,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[3,9,15],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm11, %xmm10, %xmm10
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,zero,ymm3[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[1,7,13],zero,zero,zero,ymm3[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[17,23,29]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm14 = ymm4[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[5,11],zero,zero,zero,ymm4[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[21,27],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %ymm11, %ymm14, %ymm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm9[u,u,u,u,u,0,6,12],zero,zero,zero,xmm9[4,10],zero,zero,zero
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm10, %ymm11, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm8[u,u,u,u,u],zero,zero,zero,xmm8[2,8,14],zero,zero,xmm8[0,6,12]
+; AVX2-ONLY-NEXT: vpor %xmm14, %xmm10, %xmm10
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm13, %ymm10, %ymm13
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm5, %ymm6, %ymm10
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,1,7,13],zero,zero,zero,xmm9[5,11],zero,zero,zero
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u],zero,zero,zero,xmm8[3,9,15],zero,zero,xmm8[1,7,13]
+; AVX2-ONLY-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm0, %ymm8, %ymm9
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm5, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u],zero,zero,zero,xmm5[4,10],zero,zero,zero,xmm5[2,8,14]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[u,u,u,u,u,2,8,14],zero,zero,xmm0[0,6,12],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm2, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm2[0,6,12],zero,zero,zero,xmm2[4,10,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm1[4,10],zero,zero,zero,xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm12 = ymm4[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,6,12],zero,zero,zero,ymm4[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[16,22,28],zero,zero,zero
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,ymm3[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,8,14],zero,zero,ymm3[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[18,24,30]
+; AVX2-ONLY-NEXT: vpor %ymm12, %ymm14, %ymm12
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm12[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm8, %ymm6, %ymm6
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,zero,xmm5[5,11],zero,zero,zero,xmm5[3,9,15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,3,9,15],zero,zero,xmm0[1,7,13],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,7,13],zero,zero,zero,xmm2[5,11,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm2 = ymm4[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[1,7,13],zero,zero,zero,ymm4[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[17,23,29],zero,zero,zero
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,ymm3[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[3,9,15],zero,zero,ymm3[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[19,25,31]
+; AVX2-ONLY-NEXT: vpor %ymm2, %ymm3, %ymm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm10, %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[u,u,u,u,u,u],zero,zero,xmm2[0,6,12],zero,zero,zero,xmm2[4,10]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm10[u,u,u,u,u,u,4,10],zero,zero,zero,xmm10[2,8,14],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm3[0,1,2],ymm1[3,4,5,6,7],ymm3[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u],zero,zero,xmm2[1,7,13],zero,zero,zero,xmm2[5,11]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm10[u,u,u,u,u,u,5,11],zero,zero,zero,xmm10[3,9,15],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm2 = ymm7[0,1,2],ymm2[3,4,5,6,7],ymm7[8,9,10],ymm2[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm2 = ymm7[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
;
-; AVX512-LABEL: load_i8_stride6_vf32:
-; AVX512: # %bb.0:
-; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
-; AVX512-NEXT: vmovdqa (%rdi), %ymm6
-; AVX512-NEXT: vmovdqa 32(%rdi), %ymm1
-; AVX512-NEXT: vmovdqa 64(%rdi), %ymm2
-; AVX512-NEXT: vmovdqa 128(%rdi), %ymm3
-; AVX512-NEXT: vinserti128 $1, 96(%rdi), %ymm2, %ymm0
-; AVX512-NEXT: vpshufb {{.*#+}} ymm4 = ymm0[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[2,8,14],zero,zero,ymm0[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[18,24,30],zero,zero
-; AVX512-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm2[2,3],mem[2,3]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,ymm2[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[4,10],zero,zero,zero,ymm2[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[20,26]
-; AVX512-NEXT: vpor %ymm4, %ymm5, %ymm4
-; AVX512-NEXT: movw $18724, %r10w # imm = 0x4924
-; AVX512-NEXT: kmovd %r10d, %k1
-; AVX512-NEXT: vpblendmw %ymm1, %ymm6, %ymm7 {%k1}
-; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = xmm7[0,6,12],zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[u,u,u,u,u]
-; AVX512-NEXT: vextracti128 $1, %ymm7, %xmm8
-; AVX512-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm8[2,8,14],zero,zero,xmm8[0,6,12,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm5, %xmm9, %xmm5
-; AVX512-NEXT: movl $4192256, %r10d # imm = 0x3FF800
-; AVX512-NEXT: kmovd %r10d, %k2
-; AVX512-NEXT: vmovdqu8 %ymm4, %ymm5 {%k2}
-; AVX512-NEXT: vmovdqa 160(%rdi), %ymm4
-; AVX512-NEXT: vpblendmw %ymm3, %ymm4, %ymm9 {%k1}
-; AVX512-NEXT: vextracti128 $1, %ymm9, %xmm10
-; AVX512-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u,u,u],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[4,10]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm12 = xmm9[u,u,u,u,u,u,4,10],zero,zero,zero,xmm9[2,8,14],zero,zero
-; AVX512-NEXT: vpor %xmm11, %xmm12, %xmm11
-; AVX512-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
-; AVX512-NEXT: vpblendw {{.*#+}} ymm11 = ymm5[0,1,2],ymm11[3,4,5,6,7],ymm5[8,9,10],ymm11[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm11[4,5,6,7]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm11 = ymm0[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[3,9,15],zero,zero,ymm0[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[19,25,31],zero,zero
-; AVX512-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,ymm2[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[5,11],zero,zero,zero,ymm2[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[21,27]
-; AVX512-NEXT: vpor %ymm11, %ymm12, %ymm11
-; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[1,7,13],zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm8[3,9,15],zero,zero,xmm8[1,7,13,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm7, %xmm8, %xmm7
-; AVX512-NEXT: vmovdqu8 %ymm11, %ymm7 {%k2}
-; AVX512-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[5,11]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,5,11],zero,zero,zero,xmm9[3,9,15],zero,zero
-; AVX512-NEXT: vpor %xmm8, %xmm9, %xmm8
-; AVX512-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
-; AVX512-NEXT: vpblendw {{.*#+}} ymm8 = ymm7[0,1,2],ymm8[3,4,5,6,7],ymm7[8,9,10],ymm8[11,12,13,14,15]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm8 = ymm0[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[4,10],zero,zero,zero,ymm0[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[20,26],zero,zero,zero
-; AVX512-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,ymm2[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[0,6,12],zero,zero,zero,ymm2[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[16,22,28]
-; AVX512-NEXT: vpor %ymm8, %ymm9, %ymm9
-; AVX512-NEXT: movw $9362, %di # imm = 0x2492
-; AVX512-NEXT: kmovd %edi, %k3
-; AVX512-NEXT: vpblendmw %ymm6, %ymm1, %ymm10 {%k3}
-; AVX512-NEXT: vextracti128 $1, %ymm10, %xmm11
-; AVX512-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm11[4,10],zero,zero,zero,xmm11[2,8,14,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[2,8,14],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm8, %xmm12, %xmm8
-; AVX512-NEXT: movl $2095104, %edi # imm = 0x1FF800
-; AVX512-NEXT: kmovd %edi, %k4
-; AVX512-NEXT: vmovdqu8 %ymm9, %ymm8 {%k4}
-; AVX512-NEXT: vpblendmw %ymm4, %ymm3, %ymm9 {%k1}
-; AVX512-NEXT: vpshufb {{.*#+}} xmm12 = xmm9[u,u,u,u,u,0,6,12],zero,zero,zero,xmm9[4,10],zero,zero,zero
-; AVX512-NEXT: vextracti128 $1, %ymm9, %xmm13
-; AVX512-NEXT: vpshufb {{.*#+}} xmm14 = xmm13[u,u,u,u,u],zero,zero,zero,xmm13[2,8,14],zero,zero,xmm13[0,6,12]
-; AVX512-NEXT: vpor %xmm12, %xmm14, %xmm12
-; AVX512-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
-; AVX512-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
-; AVX512-NEXT: kmovd %edi, %k2
-; AVX512-NEXT: vmovdqu8 %ymm12, %ymm8 {%k2}
-; AVX512-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[5,11],zero,zero,zero,ymm0[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[21,27],zero,zero,zero
-; AVX512-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,ymm2[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[1,7,13],zero,zero,zero,ymm2[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[17,23,29]
-; AVX512-NEXT: vpor %ymm12, %ymm14, %ymm12
-; AVX512-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[5,11],zero,zero,zero,xmm11[3,9,15,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[3,9,15],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm11, %xmm10, %xmm10
-; AVX512-NEXT: vmovdqu8 %ymm12, %ymm10 {%k4}
-; AVX512-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,1,7,13],zero,zero,zero,xmm9[5,11],zero,zero,zero
-; AVX512-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,u,u,u],zero,zero,zero,xmm13[3,9,15],zero,zero,xmm13[1,7,13]
-; AVX512-NEXT: vpor %xmm9, %xmm11, %xmm9
-; AVX512-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
-; AVX512-NEXT: vmovdqu8 %ymm9, %ymm10 {%k2}
-; AVX512-NEXT: vmovdqu16 %ymm6, %ymm1 {%k1}
-; AVX512-NEXT: vextracti128 $1, %ymm1, %xmm6
-; AVX512-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm6[0,6,12],zero,zero,zero,xmm6[4,10,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[4,10],zero,zero,zero,xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm9, %xmm11, %xmm9
-; AVX512-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,ymm2[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[2,8,14],zero,zero,ymm2[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[18,24,30]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[0,6,12],zero,zero,zero,ymm0[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[16,22,28],zero,zero,zero
-; AVX512-NEXT: vpor %ymm11, %ymm12, %ymm11
-; AVX512-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm11[5,6,7]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
-; AVX512-NEXT: vmovdqu16 %ymm3, %ymm4 {%k3}
-; AVX512-NEXT: vextracti128 $1, %ymm4, %xmm3
-; AVX512-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[u,u,u,u,u],zero,zero,zero,xmm3[4,10],zero,zero,zero,xmm3[2,8,14]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,2,8,14],zero,zero,xmm4[0,6,12],zero,zero,zero
-; AVX512-NEXT: vpor %xmm11, %xmm12, %xmm11
-; AVX512-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
-; AVX512-NEXT: vmovdqu8 %ymm11, %ymm9 {%k2}
-; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,7,13],zero,zero,zero,xmm6[5,11,u,u,u,u,u,u]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u]
-; AVX512-NEXT: vpor %xmm6, %xmm1, %xmm1
-; AVX512-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,ymm2[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,9,15],zero,zero,ymm2[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[19,25,31]
-; AVX512-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[1,7,13],zero,zero,zero,ymm0[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[17,23,29],zero,zero,zero
-; AVX512-NEXT: vpor %ymm2, %ymm0, %ymm0
-; AVX512-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
-; AVX512-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm3[u,u,u,u,u],zero,zero,zero,xmm3[5,11],zero,zero,zero,xmm3[3,9,15]
-; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,3,9,15],zero,zero,xmm4[1,7,13],zero,zero,zero
-; AVX512-NEXT: vpor %xmm1, %xmm2, %xmm1
-; AVX512-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
-; AVX512-NEXT: vmovdqu8 %ymm1, %ymm0 {%k2}
-; AVX512-NEXT: vmovdqa %ymm5, (%rsi)
-; AVX512-NEXT: vmovdqa %ymm7, (%rdx)
-; AVX512-NEXT: vmovdqa %ymm8, (%rcx)
-; AVX512-NEXT: vmovdqa %ymm10, (%r8)
-; AVX512-NEXT: vmovdqa %ymm9, (%r9)
-; AVX512-NEXT: vmovdqa %ymm0, (%rax)
-; AVX512-NEXT: vzeroupper
-; AVX512-NEXT: retq
- %wide.vec = load <192 x i8>, ptr %in.vec, align 32
+; AVX512F-LABEL: load_i8_stride6_vf32:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm0 = ymm1[2,3],mem[2,3]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = ymm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,ymm0[4,10],zero,zero,zero,ymm0[18,24,30,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vinserti128 $1, 96(%rdi), %ymm1, %ymm1
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm4 = ymm1[u,u,u,u,u,u,u,u,u,u,u,2,8,14],zero,zero,ymm1[16,22,28],zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %ymm2, %ymm4, %ymm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa %ymm2, %ymm7
+; AVX512F-NEXT: vpternlogq $202, %ymm5, %ymm3, %ymm7
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[0,6,12],zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX512F-NEXT: vextracti128 $1, %ymm7, %xmm9
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm9[2,8,14],zero,zero,xmm9[0,6,12,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm8, %xmm10, %xmm10
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, %ymm4, %ymm11, %ymm10
+; AVX512F-NEXT: vmovdqa 160(%rdi), %ymm8
+; AVX512F-NEXT: vmovdqa %ymm2, %ymm12
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm8, %ymm12
+; AVX512F-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm13[u,u,u,u,u,u],zero,zero,xmm13[0,6,12],zero,zero,zero,xmm13[4,10]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm14 = xmm12[u,u,u,u,u,u,4,10],zero,zero,zero,xmm12[2,8,14],zero,zero
+; AVX512F-NEXT: vpor %xmm4, %xmm14, %xmm4
+; AVX512F-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm4 = ymm10[0,1,2],ymm4[3,4,5,6,7],ymm10[8,9,10],ymm4[11,12,13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 %ymm4, %ymm17
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm10 = ymm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,ymm0[5,11],zero,zero,zero,ymm0[19,25,31,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm14 = ymm1[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero,ymm1[17,23,29],zero,zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %ymm10, %ymm14, %ymm10
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[1,7,13],zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[3,9,15],zero,zero,xmm9[1,7,13,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm7, %xmm9, %xmm7
+; AVX512F-NEXT: vpternlogq $226, %ymm10, %ymm11, %ymm7
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm9 = xmm13[u,u,u,u,u,u],zero,zero,xmm13[1,7,13],zero,zero,zero,xmm13[5,11]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm12[u,u,u,u,u,u,5,11],zero,zero,zero,xmm12[3,9,15],zero,zero
+; AVX512F-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX512F-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm9 = ymm7[0,1,2],ymm9[3,4,5,6,7],ymm7[8,9,10],ymm9[11,12,13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm4 = ymm7[0,1,2,3],ymm9[4,5,6,7]
+; AVX512F-NEXT: vmovdqa64 %ymm4, %ymm18
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm9 = ymm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,ymm0[0,6,12],zero,zero,zero,ymm0[20,26,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm10 = ymm1[u,u,u,u,u,u,u,u,u,u,u,4,10],zero,zero,zero,ymm1[18,24,30],zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %ymm9, %ymm10, %ymm10
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = [65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm11
+; AVX512F-NEXT: vpternlogq $202, %ymm3, %ymm5, %ymm11
+; AVX512F-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,zero,xmm12[4,10],zero,zero,zero,xmm12[2,8,14,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm14 = xmm11[2,8,14],zero,zero,xmm11[0,6,12],zero,zero,zero,xmm11[u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, %ymm10, %ymm16, %ymm13
+; AVX512F-NEXT: vmovdqa %ymm2, %ymm10
+; AVX512F-NEXT: vpternlogq $202, %ymm8, %ymm6, %ymm10
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm15 = xmm10[u,u,u,u,u,0,6,12],zero,zero,zero,xmm10[4,10],zero,zero,zero
+; AVX512F-NEXT: vextracti128 $1, %ymm10, %xmm14
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm14[u,u,u,u,u],zero,zero,zero,xmm14[2,8,14],zero,zero,xmm14[0,6,12]
+; AVX512F-NEXT: vpor %xmm4, %xmm15, %xmm4
+; AVX512F-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm15 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $184, %ymm13, %ymm15, %ymm4
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm13 = ymm0[u,u,u,u,u,u,u,u,u,u,u],zero,zero,ymm0[1,7,13],zero,zero,zero,ymm0[21,27,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm7 = ymm1[u,u,u,u,u,u,u,u,u,u,u,5,11],zero,zero,zero,ymm1[19,25,31],zero,zero,ymm1[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %ymm7, %ymm13, %ymm7
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm12[5,11],zero,zero,zero,xmm12[3,9,15,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[3,9,15],zero,zero,xmm11[1,7,13],zero,zero,zero,xmm11[u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512F-NEXT: vpternlogq $226, %ymm7, %ymm16, %ymm11
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm10[u,u,u,u,u,1,7,13],zero,zero,zero,xmm10[5,11],zero,zero,zero
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm14[u,u,u,u,u],zero,zero,zero,xmm14[3,9,15],zero,zero,xmm14[1,7,13]
+; AVX512F-NEXT: vpor %xmm7, %xmm10, %xmm7
+; AVX512F-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-NEXT: vpternlogq $184, %ymm11, %ymm15, %ymm7
+; AVX512F-NEXT: vpternlogq $202, %ymm6, %ymm8, %ymm9
+; AVX512F-NEXT: vextracti128 $1, %ymm9, %xmm6
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm8 = xmm6[u,u,u,u,u],zero,zero,zero,xmm6[4,10],zero,zero,zero,xmm6[2,8,14]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm9[u,u,u,u,u,2,8,14],zero,zero,xmm9[0,6,12],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX512F-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-NEXT: vpternlogq $202, %ymm3, %ymm5, %ymm2
+; AVX512F-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm3[0,6,12],zero,zero,zero,xmm3[4,10,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm2[4,10],zero,zero,zero,xmm2[2,8,14],zero,zero,xmm2[u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm5, %xmm10, %xmm5
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm10 = ymm1[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[0,6,12],zero,zero,zero,ymm1[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[16,22,28],zero,zero,zero
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,ymm0[0,6,12,u,u,u,u,u],zero,zero,zero,ymm0[2,8,14],zero,zero,ymm0[16,22,28,u,u,u,u,u],zero,zero,zero,ymm0[18,24,30]
+; AVX512F-NEXT: vpor %ymm10, %ymm11, %ymm10
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm10[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $226, %ymm8, %ymm15, %ymm5
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u],zero,zero,zero,xmm6[5,11],zero,zero,zero,xmm6[3,9,15]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm8 = xmm9[u,u,u,u,u,3,9,15],zero,zero,xmm9[1,7,13],zero,zero,zero
+; AVX512F-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX512F-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[1,7,13],zero,zero,zero,xmm3[5,11,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[5,11],zero,zero,zero,xmm2[3,9,15],zero,zero,xmm2[u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[1,7,13],zero,zero,zero,ymm1[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm1[17,23,29],zero,zero,zero
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,ymm0[1,7,13,u,u,u,u,u],zero,zero,zero,ymm0[3,9,15],zero,zero,ymm0[17,23,29,u,u,u,u,u],zero,zero,zero,ymm0[19,25,31]
+; AVX512F-NEXT: vpor %ymm1, %ymm0, %ymm0
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4],xmm0[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $226, %ymm6, %ymm15, %ymm0
+; AVX512F-NEXT: vmovdqa64 %ymm17, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %ymm18, (%rdx)
+; AVX512F-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX512F-NEXT: vmovdqa %ymm7, (%r8)
+; AVX512F-NEXT: vmovdqa %ymm5, (%r9)
+; AVX512F-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride6_vf32:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm3
+; AVX512BW-NEXT: vinserti128 $1, 96(%rdi), %ymm2, %ymm0
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm4 = ymm0[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[2,8,14],zero,zero,ymm0[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[18,24,30],zero,zero
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm2 = ymm2[2,3],mem[2,3]
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,ymm2[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[4,10],zero,zero,zero,ymm2[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[20,26]
+; AVX512BW-NEXT: vpor %ymm4, %ymm5, %ymm4
+; AVX512BW-NEXT: movw $18724, %r10w # imm = 0x4924
+; AVX512BW-NEXT: kmovd %r10d, %k1
+; AVX512BW-NEXT: vpblendmw %ymm1, %ymm6, %ymm7 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = xmm7[0,6,12],zero,zero,zero,xmm7[4,10],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX512BW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm8[2,8,14],zero,zero,xmm8[0,6,12,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm5, %xmm9, %xmm5
+; AVX512BW-NEXT: movl $4192256, %r10d # imm = 0x3FF800
+; AVX512BW-NEXT: kmovd %r10d, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm4, %ymm5 {%k2}
+; AVX512BW-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm4, %ymm9 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u,u,u],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[4,10]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm9[u,u,u,u,u,u,4,10],zero,zero,zero,xmm9[2,8,14],zero,zero
+; AVX512BW-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX512BW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm11 = ymm5[0,1,2],ymm11[3,4,5,6,7],ymm5[8,9,10],ymm11[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm11 = ymm0[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[3,9,15],zero,zero,ymm0[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[19,25,31],zero,zero
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,ymm2[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[5,11],zero,zero,zero,ymm2[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[21,27]
+; AVX512BW-NEXT: vpor %ymm11, %ymm12, %ymm11
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[1,7,13],zero,zero,zero,xmm7[5,11],zero,zero,zero,xmm7[u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm8[3,9,15],zero,zero,xmm8[1,7,13,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512BW-NEXT: vmovdqu8 %ymm11, %ymm7 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[5,11]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,5,11],zero,zero,zero,xmm9[3,9,15],zero,zero
+; AVX512BW-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX512BW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm8 = ymm7[0,1,2],ymm8[3,4,5,6,7],ymm7[8,9,10],ymm8[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm8 = ymm0[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[4,10],zero,zero,zero,ymm0[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[20,26],zero,zero,zero
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm9 = zero,zero,zero,ymm2[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[0,6,12],zero,zero,zero,ymm2[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[16,22,28]
+; AVX512BW-NEXT: vpor %ymm8, %ymm9, %ymm9
+; AVX512BW-NEXT: movw $9362, %di # imm = 0x2492
+; AVX512BW-NEXT: kmovd %edi, %k3
+; AVX512BW-NEXT: vpblendmw %ymm6, %ymm1, %ymm10 {%k3}
+; AVX512BW-NEXT: vextracti128 $1, %ymm10, %xmm11
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm11[4,10],zero,zero,zero,xmm11[2,8,14,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[2,8,14],zero,zero,xmm10[0,6,12],zero,zero,zero,xmm10[u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX512BW-NEXT: movl $2095104, %edi # imm = 0x1FF800
+; AVX512BW-NEXT: kmovd %edi, %k4
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm8 {%k4}
+; AVX512BW-NEXT: vpblendmw %ymm4, %ymm3, %ymm9 {%k1}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm9[u,u,u,u,u,0,6,12],zero,zero,zero,xmm9[4,10],zero,zero,zero
+; AVX512BW-NEXT: vextracti128 $1, %ymm9, %xmm13
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm14 = xmm13[u,u,u,u,u],zero,zero,zero,xmm13[2,8,14],zero,zero,xmm13[0,6,12]
+; AVX512BW-NEXT: vpor %xmm12, %xmm14, %xmm12
+; AVX512BW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm12, %ymm8 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[5,11],zero,zero,zero,ymm0[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[21,27],zero,zero,zero
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,ymm2[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[1,7,13],zero,zero,zero,ymm2[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[17,23,29]
+; AVX512BW-NEXT: vpor %ymm12, %ymm14, %ymm12
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[5,11],zero,zero,zero,xmm11[3,9,15,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[3,9,15],zero,zero,xmm10[1,7,13],zero,zero,zero,xmm10[u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm11, %xmm10, %xmm10
+; AVX512BW-NEXT: vmovdqu8 %ymm12, %ymm10 {%k4}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,1,7,13],zero,zero,zero,xmm9[5,11],zero,zero,zero
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,u,u,u],zero,zero,zero,xmm13[3,9,15],zero,zero,xmm13[1,7,13]
+; AVX512BW-NEXT: vpor %xmm9, %xmm11, %xmm9
+; AVX512BW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm10 {%k2}
+; AVX512BW-NEXT: vmovdqu16 %ymm6, %ymm1 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm1, %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm6[0,6,12],zero,zero,zero,xmm6[4,10,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[4,10],zero,zero,zero,xmm1[2,8,14],zero,zero,xmm1[u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm9, %xmm11, %xmm9
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,ymm2[0,6,12],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[2,8,14],zero,zero,ymm2[16,22,28],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[18,24,30]
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[0,6,12],zero,zero,zero,ymm0[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[16,22,28],zero,zero,zero
+; AVX512BW-NEXT: vpor %ymm11, %ymm12, %ymm11
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm11[5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu16 %ymm3, %ymm4 {%k3}
+; AVX512BW-NEXT: vextracti128 $1, %ymm4, %xmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[u,u,u,u,u],zero,zero,zero,xmm3[4,10],zero,zero,zero,xmm3[2,8,14]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,2,8,14],zero,zero,xmm4[0,6,12],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX512BW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-NEXT: vmovdqu8 %ymm11, %ymm9 {%k2}
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,7,13],zero,zero,zero,xmm6[5,11,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[5,11],zero,zero,zero,xmm1[3,9,15],zero,zero,xmm1[u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,ymm2[1,7,13],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,9,15],zero,zero,ymm2[17,23,29],zero,zero,zero,zero,zero,zero,zero,zero,ymm2[19,25,31]
+; AVX512BW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[5,11],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[1,7,13],zero,zero,zero,ymm0[21,27],zero,zero,zero,zero,zero,zero,zero,zero,ymm0[17,23,29],zero,zero,zero
+; AVX512BW-NEXT: vpor %ymm2, %ymm0, %ymm0
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm1 = xmm3[u,u,u,u,u],zero,zero,zero,xmm3[5,11],zero,zero,zero,xmm3[3,9,15]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,3,9,15],zero,zero,xmm4[1,7,13],zero,zero,zero
+; AVX512BW-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX512BW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-NEXT: vmovdqu8 %ymm1, %ymm0 {%k2}
+; AVX512BW-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX512BW-NEXT: vmovdqa %ymm7, (%rdx)
+; AVX512BW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX512BW-NEXT: vmovdqa %ymm10, (%r8)
+; AVX512BW-NEXT: vmovdqa %ymm9, (%r9)
+; AVX512BW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <192 x i8>, ptr %in.vec, align 64
%strided.vec0 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <32 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186>
%strided.vec1 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <32 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187>
%strided.vec4 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <32 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190>
%strided.vec5 = shufflevector <192 x i8> %wide.vec, <192 x i8> poison, <32 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191>
- store <32 x i8> %strided.vec0, ptr %out.vec0, align 32
- store <32 x i8> %strided.vec1, ptr %out.vec1, align 32
- store <32 x i8> %strided.vec2, ptr %out.vec2, align 32
- store <32 x i8> %strided.vec3, ptr %out.vec3, align 32
- store <32 x i8> %strided.vec4, ptr %out.vec4, align 32
- store <32 x i8> %strided.vec5, ptr %out.vec5, align 32
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i8> %strided.vec5, ptr %out.vec5, align 64
+
+ ret void
+}
+
+define void @load_i8_stride6_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5) nounwind {
+; SSE-LABEL: load_i8_stride6_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $824, %rsp # imm = 0x338
+; SSE-NEXT: movdqa 256(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 272(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movaps 192(%rdi), %xmm0
+; SSE-NEXT: movaps %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 240(%rdi), %xmm14
+; SSE-NEXT: movdqa 224(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,0,65535,65535,0,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 320(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa 336(%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa 304(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa 288(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm10
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa 368(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa 352(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa 48(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm12, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm12, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm12
+; SSE-NEXT: por %xmm0, %xmm12
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa (%rdi), %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa 80(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm14, %xmm2
+; SSE-NEXT: movdqa 64(%rdi), %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm13
+; SSE-NEXT: por %xmm2, %xmm13
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa 144(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm7, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: pandn %xmm7, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm6, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,6,5]
+; SSE-NEXT: packuswb %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: movdqa 112(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm10, %xmm9
+; SSE-NEXT: pandn %xmm6, %xmm10
+; SSE-NEXT: movdqa 160(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm8
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm14, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm10, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pand %xmm15, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,65535,0,0,0,65535,65535]
+; SSE-NEXT: pand %xmm4, %xmm5
+; SSE-NEXT: por %xmm11, %xmm5
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[3,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm5
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm5, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm14 = xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm14, %xmm6
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm6, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm5[8],xmm6[9],xmm5[9],xmm6[10],xmm5[10],xmm6[11],xmm5[11],xmm6[12],xmm5[12],xmm6[13],xmm5[13],xmm6[14],xmm5[14],xmm6[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,1,1,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,7,6,7]
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,0,65535,0,0,65535,65535]
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3],xmm3[4],xmm5[4],xmm3[5],xmm5[5],xmm3[6],xmm5[6],xmm3[7],xmm5[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,3,2,0,4,5,6,7]
+; SSE-NEXT: pand %xmm14, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm5[8],xmm4[9],xmm5[9],xmm4[10],xmm5[10],xmm4[11],xmm5[11],xmm4[12],xmm5[12],xmm4[13],xmm5[13],xmm4[14],xmm5[14],xmm4[15],xmm5[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,4]
+; SSE-NEXT: pand %xmm1, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: packuswb %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm6
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm5[8],xmm3[9],xmm5[9],xmm3[10],xmm5[10],xmm3[11],xmm5[11],xmm3[12],xmm5[12],xmm3[13],xmm5[13],xmm3[14],xmm5[14],xmm3[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,1,1,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,3,2,0,4,5,6,7]
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm5[8],xmm4[9],xmm5[9],xmm4[10],xmm5[10],xmm4[11],xmm5[11],xmm4[12],xmm5[12],xmm4[13],xmm5[13],xmm4[14],xmm5[14],xmm4[15],xmm5[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,4]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3],xmm12[4],xmm5[4],xmm12[5],xmm5[5],xmm12[6],xmm5[6],xmm12[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm12[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm12[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm5[8],xmm3[9],xmm5[9],xmm3[10],xmm5[10],xmm3[11],xmm5[11],xmm3[12],xmm5[12],xmm3[13],xmm5[13],xmm3[14],xmm5[14],xmm3[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,1,1,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,3,2,0,4,5,6,7]
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm5[8],xmm13[9],xmm5[9],xmm13[10],xmm5[10],xmm13[11],xmm5[11],xmm13[12],xmm5[12],xmm13[13],xmm5[13],xmm13[14],xmm5[14],xmm13[15],xmm5[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,4]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1],xmm7[2],xmm5[2],xmm7[3],xmm5[3],xmm7[4],xmm5[4],xmm7[5],xmm5[5],xmm7[6],xmm5[6],xmm7[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm7[2,2,3,3]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm4, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,1,1,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,3,2,0,4,5,6,7]
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm14
+; SSE-NEXT: por %xmm2, %xmm14
+; SSE-NEXT: packuswb %xmm14, %xmm14
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm14
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm5[8],xmm8[9],xmm5[9],xmm8[10],xmm5[10],xmm8[11],xmm5[11],xmm8[12],xmm5[12],xmm8[13],xmm5[13],xmm8[14],xmm5[14],xmm8[15],xmm5[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,4]
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm14
+; SSE-NEXT: por %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,0,65535,65535,0,65535,65535,0]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,5,6]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,5,6]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,5,6]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,3,4,5,6,7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,5,6]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,2,3,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,0]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,2,2,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,6,7,4]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pxor %xmm10, %xmm10
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm10[8],xmm4[9],xmm10[9],xmm4[10],xmm10[10],xmm4[11],xmm10[11],xmm4[12],xmm10[12],xmm4[13],xmm10[13],xmm4[14],xmm10[14],xmm4[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm0[3,0]
+; SSE-NEXT: movaps %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,1],xmm1[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm4[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm4[2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [0,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm10[8],xmm6[9],xmm10[9],xmm6[10],xmm10[10],xmm6[11],xmm10[11],xmm6[12],xmm10[12],xmm6[13],xmm10[13],xmm6[14],xmm10[14],xmm6[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,5,6,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,0,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3],xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,2,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm10[8],xmm1[9],xmm10[9],xmm1[10],xmm10[10],xmm1[11],xmm10[11],xmm1[12],xmm10[12],xmm1[13],xmm10[13],xmm1[14],xmm10[14],xmm1[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: shufps {{.*#+}} xmm2 = xmm2[2,0],xmm0[3,0]
+; SSE-NEXT: movaps %xmm0, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm2[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm1[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm1[2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm6[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; SSE-NEXT: movdqa %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm10[8],xmm9[9],xmm10[9],xmm9[10],xmm10[10],xmm9[11],xmm10[11],xmm9[12],xmm10[12],xmm9[13],xmm10[13],xmm9[14],xmm10[14],xmm9[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,5,6,5]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3],xmm11[4],xmm10[4],xmm11[5],xmm10[5],xmm11[6],xmm10[6],xmm11[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[0,2,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm10[8],xmm9[9],xmm10[9],xmm9[10],xmm10[10],xmm9[11],xmm10[11],xmm9[12],xmm10[12],xmm9[13],xmm10[13],xmm9[14],xmm10[14],xmm9[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm0[3,0]
+; SSE-NEXT: movaps %xmm0, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[0,1],xmm1[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[1,0],xmm9[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm0 = xmm0[2,0],xmm9[2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm6[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3],xmm0[4],xmm10[4],xmm0[5],xmm10[5],xmm0[6],xmm10[6],xmm0[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,1,4,5,6,7]
+; SSE-NEXT: movdqa %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm10[8],xmm7[9],xmm10[9],xmm7[10],xmm10[10],xmm7[11],xmm10[11],xmm7[12],xmm10[12],xmm7[13],xmm10[13],xmm7[14],xmm10[14],xmm7[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,5,6,5]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm10[0],xmm13[1],xmm10[1],xmm13[2],xmm10[2],xmm13[3],xmm10[3],xmm13[4],xmm10[4],xmm13[5],xmm10[5],xmm13[6],xmm10[6],xmm13[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,2,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,7,7]
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: por %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3],xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm10[8],xmm0[9],xmm10[9],xmm0[10],xmm10[10],xmm0[11],xmm10[11],xmm0[12],xmm10[12],xmm0[13],xmm10[13],xmm0[14],xmm10[14],xmm0[15],xmm10[15]
+; SSE-NEXT: movdqa %xmm0, %xmm6
+; SSE-NEXT: shufps {{.*#+}} xmm6 = xmm6[2,0],xmm1[3,0]
+; SSE-NEXT: movaps %xmm1, %xmm7
+; SSE-NEXT: shufps {{.*#+}} xmm7 = xmm7[0,1],xmm6[0,2]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[1,0],xmm0[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm1 = xmm1[2,0],xmm0[2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,3,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3],xmm1[4],xmm10[4],xmm1[5],xmm10[5],xmm1[6],xmm10[6],xmm1[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,1,4,5,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm10[8],xmm12[9],xmm10[9],xmm12[10],xmm10[10],xmm12[11],xmm10[11],xmm12[12],xmm10[12],xmm12[13],xmm10[13],xmm12[14],xmm10[14],xmm12[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm12[0,3,2,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,3,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,7,7,7]
+; SSE-NEXT: pand %xmm3, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: por %xmm7, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm6
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pandn %xmm3, %xmm8
+; SSE-NEXT: por %xmm6, %xmm8
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm10[8],xmm1[9],xmm10[9],xmm1[10],xmm10[10],xmm1[11],xmm10[11],xmm1[12],xmm10[12],xmm1[13],xmm10[13],xmm1[14],xmm10[14],xmm1[15],xmm10[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,5,6,5]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm10[0],xmm14[1],xmm10[1],xmm14[2],xmm10[2],xmm14[3],xmm10[3],xmm14[4],xmm10[4],xmm14[5],xmm10[5],xmm14[6],xmm10[6],xmm14[7],xmm10[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm14[0,2,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: por %xmm3, %xmm5
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm8
+; SSE-NEXT: packuswb %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: por %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,0,65535,65535,0,65535,65535,0]
+; SSE-NEXT: pand %xmm0, %xmm13
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm6
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,2]
+; SSE-NEXT: packuswb %xmm6, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm6
+; SSE-NEXT: pandn %xmm1, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm1[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm6, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm0, %xmm11
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm7
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm6, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,1,0,2]
+; SSE-NEXT: packuswb %xmm7, %xmm6
+; SSE-NEXT: movdqa %xmm14, %xmm7
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm6[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm14, %xmm8
+; SSE-NEXT: por %xmm7, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: pand %xmm15, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm6, %xmm7
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: pandn %xmm7, %xmm6
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: por %xmm8, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm7[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,0,2]
+; SSE-NEXT: packuswb %xmm8, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm8
+; SSE-NEXT: pandn %xmm7, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[3,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm9 = xmm7[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm14, %xmm9
+; SSE-NEXT: por %xmm8, %xmm9
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: pand %xmm0, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,2,1,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,6,5,4,7]
+; SSE-NEXT: packuswb %xmm7, %xmm8
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: pandn %xmm8, %xmm7
+; SSE-NEXT: pand %xmm2, %xmm9
+; SSE-NEXT: por %xmm9, %xmm7
+; SSE-NEXT: movdqa %xmm10, %xmm8
+; SSE-NEXT: pxor %xmm5, %xmm5
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm5[8],xmm8[9],xmm5[9],xmm8[10],xmm5[10],xmm8[11],xmm5[11],xmm8[12],xmm5[12],xmm8[13],xmm5[13],xmm8[14],xmm5[14],xmm8[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm5[0],xmm10[1],xmm5[1],xmm10[2],xmm5[2],xmm10[3],xmm5[3],xmm10[4],xmm5[4],xmm10[5],xmm5[5],xmm10[6],xmm5[6],xmm10[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm10, %xmm9
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[1,0],xmm8[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm10 = xmm10[2,0],xmm8[2,3]
+; SSE-NEXT: psrlq $48, %xmm8
+; SSE-NEXT: psrldq {{.*#+}} xmm9 = xmm9[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm10[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,4,5,7]
+; SSE-NEXT: packuswb %xmm9, %xmm8
+; SSE-NEXT: movdqa %xmm14, %xmm10
+; SSE-NEXT: pandn %xmm8, %xmm10
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm8 = xmm8[8],xmm5[8],xmm8[9],xmm5[9],xmm8[10],xmm5[10],xmm8[11],xmm5[11],xmm8[12],xmm5[12],xmm8[13],xmm5[13],xmm8[14],xmm5[14],xmm8[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[1,1,2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm11
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3],xmm12[4],xmm5[4],xmm12[5],xmm5[5],xmm12[6],xmm5[6],xmm12[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm12[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm8[3,1,1,2,4,5,6,7]
+; SSE-NEXT: pand %xmm9, %xmm12
+; SSE-NEXT: por %xmm11, %xmm12
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: pand %xmm14, %xmm12
+; SSE-NEXT: por %xmm10, %xmm12
+; SSE-NEXT: movdqa %xmm13, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm5[8],xmm13[9],xmm5[9],xmm13[10],xmm5[10],xmm13[11],xmm5[11],xmm13[12],xmm5[12],xmm13[13],xmm5[13],xmm13[14],xmm5[14],xmm13[15],xmm5[15]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm13[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,5,7,4]
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,65535,65535,65535,0,65535,0,0]
+; SSE-NEXT: movdqa %xmm11, %xmm13
+; SSE-NEXT: pandn %xmm10, %xmm13
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm5[0],xmm8[1],xmm5[1],xmm8[2],xmm5[2],xmm8[3],xmm5[3],xmm8[4],xmm5[4],xmm8[5],xmm5[5],xmm8[6],xmm5[6],xmm8[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pand %xmm11, %xmm8
+; SSE-NEXT: por %xmm8, %xmm13
+; SSE-NEXT: packuswb %xmm13, %xmm10
+; SSE-NEXT: movdqa %xmm2, %xmm8
+; SSE-NEXT: pandn %xmm10, %xmm8
+; SSE-NEXT: pand %xmm2, %xmm12
+; SSE-NEXT: por %xmm12, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm5[8],xmm10[9],xmm5[9],xmm10[10],xmm5[10],xmm10[11],xmm5[11],xmm10[12],xmm5[12],xmm10[13],xmm5[13],xmm10[14],xmm5[14],xmm10[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3],xmm13[4],xmm5[4],xmm13[5],xmm5[5],xmm13[6],xmm5[6],xmm13[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm13, %xmm12
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm13 = xmm13[2,0],xmm10[2,3]
+; SSE-NEXT: psrlq $48, %xmm10
+; SSE-NEXT: psrldq {{.*#+}} xmm12 = xmm12[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm10[0],xmm12[1],xmm10[1],xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,4,5,7]
+; SSE-NEXT: packuswb %xmm12, %xmm10
+; SSE-NEXT: movdqa %xmm14, %xmm12
+; SSE-NEXT: pandn %xmm10, %xmm12
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm5[8],xmm10[9],xmm5[9],xmm10[10],xmm5[10],xmm10[11],xmm5[11],xmm10[12],xmm5[12],xmm10[13],xmm5[13],xmm10[14],xmm5[14],xmm10[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[1,1,2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa %xmm9, %xmm13
+; SSE-NEXT: pandn %xmm10, %xmm13
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm4[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[3,1,1,2,4,5,6,7]
+; SSE-NEXT: pand %xmm9, %xmm10
+; SSE-NEXT: por %xmm13, %xmm10
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: pand %xmm14, %xmm10
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: por %xmm12, %xmm10
+; SSE-NEXT: movdqa %xmm3, %xmm12
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm5[8],xmm3[9],xmm5[9],xmm3[10],xmm5[10],xmm3[11],xmm5[11],xmm3[12],xmm5[12],xmm3[13],xmm5[13],xmm3[14],xmm5[14],xmm3[15],xmm5[15]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,5,5,7,4]
+; SSE-NEXT: movdqa %xmm11, %xmm14
+; SSE-NEXT: pandn %xmm13, %xmm14
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3],xmm12[4],xmm5[4],xmm12[5],xmm5[5],xmm12[6],xmm5[6],xmm12[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pand %xmm11, %xmm12
+; SSE-NEXT: por %xmm12, %xmm14
+; SSE-NEXT: packuswb %xmm14, %xmm13
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: pandn %xmm13, %xmm12
+; SSE-NEXT: pand %xmm2, %xmm10
+; SSE-NEXT: por %xmm10, %xmm12
+; SSE-NEXT: movdqa (%rsp), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm5[8],xmm10[9],xmm5[9],xmm10[10],xmm5[10],xmm10[11],xmm5[11],xmm10[12],xmm5[12],xmm10[13],xmm5[13],xmm10[14],xmm5[14],xmm10[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3],xmm14[4],xmm5[4],xmm14[5],xmm5[5],xmm14[6],xmm5[6],xmm14[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm14, %xmm13
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[2,0],xmm10[2,3]
+; SSE-NEXT: psrlq $48, %xmm10
+; SSE-NEXT: psrldq {{.*#+}} xmm13 = xmm13[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm10[0],xmm13[1],xmm10[1],xmm13[2],xmm10[2],xmm13[3],xmm10[3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm14[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,4,5,7]
+; SSE-NEXT: packuswb %xmm13, %xmm10
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: pandn %xmm10, %xmm13
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm5[8],xmm10[9],xmm5[9],xmm10[10],xmm5[10],xmm10[11],xmm5[11],xmm10[12],xmm5[12],xmm10[13],xmm5[13],xmm10[14],xmm5[14],xmm10[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[1,1,2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,5,5,5]
+; SSE-NEXT: movdqa %xmm9, %xmm14
+; SSE-NEXT: pandn %xmm10, %xmm14
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3],xmm3[4],xmm5[4],xmm3[5],xmm5[5],xmm3[6],xmm5[6],xmm3[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm3[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[3,1,1,2,4,5,6,7]
+; SSE-NEXT: pand %xmm9, %xmm10
+; SSE-NEXT: por %xmm14, %xmm10
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: pand %xmm4, %xmm10
+; SSE-NEXT: por %xmm13, %xmm10
+; SSE-NEXT: movdqa %xmm1, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm1[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,5,5,7,4]
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: pandn %xmm14, %xmm15
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3],xmm13[4],xmm5[4],xmm13[5],xmm5[5],xmm13[6],xmm5[6],xmm13[7],xmm5[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pand %xmm11, %xmm13
+; SSE-NEXT: por %xmm13, %xmm15
+; SSE-NEXT: packuswb %xmm15, %xmm14
+; SSE-NEXT: movdqa %xmm2, %xmm13
+; SSE-NEXT: pandn %xmm14, %xmm13
+; SSE-NEXT: pand %xmm2, %xmm10
+; SSE-NEXT: por %xmm10, %xmm13
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm5[8],xmm10[9],xmm5[9],xmm10[10],xmm5[10],xmm10[11],xmm5[11],xmm10[12],xmm5[12],xmm10[13],xmm5[13],xmm10[14],xmm5[14],xmm10[15],xmm5[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3],xmm3[4],xmm5[4],xmm3[5],xmm5[5],xmm3[6],xmm5[6],xmm3[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm3, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[1,0],xmm10[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[2,0],xmm10[2,3]
+; SSE-NEXT: psrlq $48, %xmm10
+; SSE-NEXT: psrldq {{.*#+}} xmm14 = xmm14[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm10[0],xmm14[1],xmm10[1],xmm14[2],xmm10[2],xmm14[3],xmm10[3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,4,5,7]
+; SSE-NEXT: packuswb %xmm14, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: punpckhbw {{.*#+}} xmm14 = xmm14[8],xmm5[8],xmm14[9],xmm5[9],xmm14[10],xmm5[10],xmm14[11],xmm5[11],xmm14[12],xmm5[12],xmm14[13],xmm5[13],xmm14[14],xmm5[14],xmm14[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[1,1,2,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,5,5,5,5]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm15 = xmm1[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[3,1,1,2,4,5,6,7]
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: pandn %xmm14, %xmm9
+; SSE-NEXT: por %xmm15, %xmm9
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm4, %xmm9
+; SSE-NEXT: pandn %xmm10, %xmm4
+; SSE-NEXT: por %xmm4, %xmm9
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,1,3,4,5,6,7]
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,7,4]
+; SSE-NEXT: pandn %xmm5, %xmm11
+; SSE-NEXT: por %xmm4, %xmm11
+; SSE-NEXT: pand %xmm2, %xmm9
+; SSE-NEXT: packuswb %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: por %xmm9, %xmm2
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r8)
+; SSE-NEXT: movdqa %xmm7, 16(%r9)
+; SSE-NEXT: movdqa %xmm6, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 32(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm2, 16(%rax)
+; SSE-NEXT: movdqa %xmm13, (%rax)
+; SSE-NEXT: movdqa %xmm12, 48(%rax)
+; SSE-NEXT: movdqa %xmm8, 32(%rax)
+; SSE-NEXT: addq $824, %rsp # imm = 0x338
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride6_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $808, %rsp # imm = 0x328
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,4,10>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,u,u,u,2,8,14,128,128>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,5,11>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,3,9,15,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm14, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,0,6,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm3[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm10
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,128,4,10,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <2,8,14,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm14, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <0,0,0,0,0,255,255,255,255,255,255,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm3 = xmm4[0],xmm3[0]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <3,9,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,1,7,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm12, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm5 = xmm6[0],xmm5[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <128,128,128,5,11,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <3,9,15,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm5 = xmm6[0],xmm5[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpblendvb %xmm13, %xmm5, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,8,14,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm5[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,u,4,10,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,6,12>
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,255,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,5,11,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,7,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklqdq {{.*#+}} xmm0 = xmm1[0],xmm0[0]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <4,10,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <128,128,0,6,12,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm14, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm7
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <5,11,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <128,128,1,7,13,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15>
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, %xmm12
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm2 = xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpblendvb %xmm12, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <128,128,128,2,8,14,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <0,6,12,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,4,10>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,u,u,u,2,8,14,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm4[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2],xmm0[3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm4 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm13, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,4,10,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm6[u,u,u,u,0,6,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm2 = xmm15[0],xmm2[0],xmm15[1],xmm2[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm10[0,1,2],xmm2[3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm1, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <128,128,128,3,9,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <1,7,13,128,128,128,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm14[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm14[5,11]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm15, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm9[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm15[0],xmm11[0],xmm15[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm14[0,1,2],xmm11[3,4,5],xmm14[6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm1, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm12[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[5,11]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,u,u,u,u,u,u,u,3,9,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm14, %xmm11
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[u,u,5,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,1,7,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm11 = xmm14[0],xmm11[0],xmm14[1],xmm11[1]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2],xmm11[3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <128,128,128,4,10,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <2,8,14,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,u,u,u,4,10,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,6,12>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm10, %ymm1
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm11 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm11, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm11, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,5,11,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <3,9,15,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,u,5,11,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,7,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm15
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm10, %ymm4
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm14 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm14, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm11, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm14 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm14, %ymm11, %ymm14
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm14, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,zero,xmm1[5,11,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm14, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm11, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm11, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <4,10,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,xmm2[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,u,u,128,128,128,2,8,14>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,u,u,0,6,12,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm10 = [0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm2 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm14[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3,4],xmm2[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm11, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm1[0,6,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm0, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[u,u,u,u,u,u,u,u,4,10,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,2,8,14]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm4 = xmm14[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm11, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm2, %ymm1
+; AVX1-ONLY-NEXT: vmovups %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <5,11,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,128,128,128,3,9,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,u,u,u,u,1,7,13,128,128,128>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm7, %ymm2
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm7 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm12, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,5,11,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm3[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm12 = xmm13[1],xmm12[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm12[0,1,2,3,4],xmm7[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm7, %ymm0, %ymm7
+; AVX1-ONLY-NEXT: vandnps %ymm7, %ymm11, %ymm7
+; AVX1-ONLY-NEXT: vorps %ymm7, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm1[1,7,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm10, %ymm5 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm10, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm15[u,u,u,u,u,u,u,u,u,u,u,u,u,3,9,15]
+; AVX1-ONLY-NEXT: vpunpckhqdq {{.*#+}} xmm5 = xmm6[1],xmm5[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4],xmm4[5,6,7]
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm11, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm11, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, 32(%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm3, 32(%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, (%rax)
+; AVX1-ONLY-NEXT: addq $808, %rsp # imm = 0x328
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride6_vf64:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: subq $488, %rsp # imm = 0x1E8
+; AVX2-ONLY-NEXT: vmovdqa 192(%rdi), %ymm12
+; AVX2-ONLY-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 224(%rdi), %ymm15
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-ONLY-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = [128,128,128,2,8,14,128,128,128,128,128,128,128,128,4,10,128,128,128,18,24,30,128,128,128,128,128,128,128,128,20,26]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm0[2,3],ymm1[2,3]
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm5, %ymm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = [0,6,12,128,128,128,128,128,128,128,128,2,8,14,128,128,16,22,28,128,128,128,128,128,128,128,128,18,24,30,128,128]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm8 = ymm0[0,1],ymm1[0,1]
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm8, %ymm0
+; AVX2-ONLY-NEXT: vpor %ymm3, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm0, %ymm4, %ymm6, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <0,6,12,128,128,128,4,10,128,128,128,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <128,128,128,2,8,14,128,128,0,6,12,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm13
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm6, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqa %ymm11, %ymm13
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpblendvb %ymm10, %ymm12, %ymm15, %ymm1
+; AVX2-ONLY-NEXT: vmovdqa %ymm15, %ymm11
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm1, %xmm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm1, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm6, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm7, %xmm15
+; AVX2-ONLY-NEXT: vmovdqa 288(%rdi), %ymm7
+; AVX2-ONLY-NEXT: vmovdqa 256(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm10 = ymm0[2,3],ymm7[2,3]
+; AVX2-ONLY-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm0[0,1],ymm7[0,1]
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm10, %ymm0
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm7, %ymm9
+; AVX2-ONLY-NEXT: vpor %ymm0, %ymm9, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm15, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = [128,128,128,3,9,15,128,128,128,128,128,128,128,128,5,11,128,128,128,19,25,31,128,128,128,128,128,128,128,128,21,27]
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm5, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = [1,7,13,128,128,128,128,128,128,128,128,3,9,15,128,128,17,23,29,128,128,128,128,128,128,128,128,19,25,31,128,128]
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm8, %ymm15
+; AVX2-ONLY-NEXT: vpor %ymm9, %ymm15, %ymm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <1,7,13,128,128,128,5,11,128,128,128,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <128,128,128,3,9,15,128,128,1,7,13,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm2, %ymm9, %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %ymm4, %ymm10, %ymm1
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm7, %ymm2
+; AVX2-ONLY-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm0, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm15 = [128,128,128,4,10,128,128,128,128,128,128,128,128,0,6,12,128,128,128,20,26,128,128,128,128,128,128,128,128,16,22,28]
+; AVX2-ONLY-NEXT: vpshufb %ymm15, %ymm5, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = [2,8,14,128,128,128,128,128,128,128,128,4,10,128,128,128,18,24,30,128,128,128,128,128,128,128,128,20,26,128,128,128]
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm8, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpor %ymm0, %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <128,128,128,4,10,128,128,128,2,8,14,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <2,8,14,128,128,0,6,12,128,128,128,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm12
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm12, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa %ymm13, %ymm12
+; AVX2-ONLY-NEXT: vpblendvb %ymm13, %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm11, %ymm13, %ymm2
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm9, %xmm4
+; AVX2-ONLY-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %ymm15, %ymm10, %ymm6
+; AVX2-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm7, %ymm9
+; AVX2-ONLY-NEXT: vpor %ymm6, %ymm9, %ymm6
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm4, %ymm6, %ymm4
+; AVX2-ONLY-NEXT: vmovdqa %ymm12, %ymm15
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = [128,128,128,5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29]
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm5, %ymm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = [3,9,15,128,128,128,128,128,128,128,128,5,11,128,128,128,19,25,31,128,128,128,128,128,128,128,128,21,27,128,128,128]
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm8, %ymm12
+; AVX2-ONLY-NEXT: vpor %ymm6, %ymm12, %ymm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <128,128,128,5,11,128,128,128,3,9,15,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <3,9,15,128,128,1,7,13,128,128,128,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm0, %ymm6, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm1
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm10, %ymm1
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm7, %ymm2
+; AVX2-ONLY-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm0, %ymm1, %ymm14
+; AVX2-ONLY-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm0, %ymm2, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255,u,u,0,0,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm2, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm0, %ymm2, %ymm8
+; AVX2-ONLY-NEXT: vmovdqa 352(%rdi), %ymm4
+; AVX2-ONLY-NEXT: vmovdqa 320(%rdi), %ymm5
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm5, %ymm4, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm7, %ymm4, %ymm5, %ymm12
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm4, %ymm5, %ymm2
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm9 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vpblendvb %ymm3, %ymm11, %ymm13, %ymm11
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,0,6,12,128,128,128,4,10,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm1, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,128,128,128,2,8,14,128,128,0,6,12>
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm10
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm10, %xmm4
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm15 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm4 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm3
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, (%rsp), %ymm2, %ymm2 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,1,7,13,128,128,128,5,11,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,128,128,128,3,9,15,128,128,1,7,13>
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm5, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm1 # 32-byte Folded Reload
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm14, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm8, %xmm2
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[u,u,u,u,u],zero,zero,zero,xmm2[4,10],zero,zero,zero,xmm2[2,8,14]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,2,8,14,128,128,0,6,12,128,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm14
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm14, %xmm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm9, %xmm14
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <128,128,0,6,12,128,128,128,4,10,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <4,10,128,128,128,2,8,14,128,128,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm8
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm8, %xmm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm0 = ymm10[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm10[0,6,12],zero,zero,zero,ymm10[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm10[16,22,28],zero,zero,zero
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = [128,128,0,6,12,128,128,128,128,128,128,128,128,2,8,14,128,128,16,22,28,128,128,128,128,128,128,128,128,18,24,30]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm3, %ymm13
+; AVX2-ONLY-NEXT: vpor %ymm0, %ymm13, %ymm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm0[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm0, %ymm1, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm12, %xmm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[u,u,u,u,u],zero,zero,zero,xmm0[4,10],zero,zero,zero,xmm0[2,8,14]
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm12, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm7, %xmm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm11, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm12, %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm11, %xmm6
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} ymm6 = ymm11[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[0,6,12],zero,zero,zero,ymm11[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm11[16,22,28],zero,zero,zero
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %ymm8, %ymm7, %ymm4
+; AVX2-ONLY-NEXT: vpor %ymm6, %ymm4, %ymm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1,2,3,4],xmm4[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm4, %ymm1, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,128,128,128,5,11,128,128,128,3,9,15>
+; AVX2-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,3,9,15,128,128,1,7,13,128,128,128>
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <128,128,1,7,13,128,128,128,5,11,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm14, %xmm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <5,11,128,128,128,3,9,15,128,128,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm9
+; AVX2-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm9 = [5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29,128,128,128]
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm10, %ymm13
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm14 = [128,128,1,7,13,128,128,128,128,128,128,128,128,3,9,15,128,128,17,23,29,128,128,128,128,128,128,128,128,19,25,31]
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm3, %ymm3
+; AVX2-ONLY-NEXT: vpor %ymm3, %ymm13, %ymm3
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm8[0,1,2,3,4],xmm3[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm3, %ymm2, %ymm2
+; AVX2-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm12, %xmm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %ymm9, %ymm11, %ymm3
+; AVX2-ONLY-NEXT: vpshufb %ymm14, %ymm7, %ymm5
+; AVX2-ONLY-NEXT: vpor %ymm3, %ymm5, %ymm3
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm3[5,6,7]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpblendvb %ymm15, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm4, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,128,128,0,6,12,128,128,128,4,10>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,4,10,128,128,128,2,8,14,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm7, %xmm5
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm5 = ymm7[0,1,2],ymm5[3,4,5,6,7],ymm7[8,9,10],ymm5[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm8, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa %ymm8, %ymm10
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm3 = ymm6[0,1,2],ymm3[3,4,5,6,7],ymm6[8,9,10],ymm3[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,128,128,1,7,13,128,128,128,5,11>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,5,11,128,128,128,3,9,15,128,128>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm9
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm1 = ymm9[0,1,2],ymm1[3,4,5,6,7],ymm9[8,9,10],ymm1[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm10, %xmm7
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX2-ONLY-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0,1,2],ymm6[3,4,5,6,7],ymm7[8,9,10],ymm6[11,12,13,14,15]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa %ymm3, 32(%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm5, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %ymm6, 32(%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %ymm1, (%rdx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %ymm0, 32(%rax)
+; AVX2-ONLY-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-ONLY-NEXT: addq $488, %rsp # imm = 0x1E8
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride6_vf64:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: subq $264, %rsp # imm = 0x108
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm3 = <0,6,12,128,128,128,4,10,128,128,128,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm7 = [65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535]
+; AVX512F-NEXT: vmovdqa64 224(%rdi), %ymm19
+; AVX512F-NEXT: vmovdqa64 192(%rdi), %ymm21
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm0
+; AVX512F-NEXT: vpternlogq $202, %ymm19, %ymm21, %ymm0
+; AVX512F-NEXT: vpshufb %xmm3, %xmm0, %xmm2
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <128,128,128,2,8,14,128,128,0,6,12,u,u,u,u,u>
+; AVX512F-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-NEXT: vpshufb %xmm10, %xmm1, %xmm4
+; AVX512F-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512F-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512F-NEXT: vmovdqa64 128(%rdi), %ymm23
+; AVX512F-NEXT: vmovdqa64 160(%rdi), %ymm18
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm2
+; AVX512F-NEXT: vpternlogq $202, %ymm23, %ymm18, %ymm2
+; AVX512F-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,128,128,0,6,12,128,128,128,4,10>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm4, %xmm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,4,10,128,128,128,2,8,14,128,128>
+; AVX512F-NEXT: vpshufb %xmm13, %xmm2, %xmm9
+; AVX512F-NEXT: vpor %xmm6, %xmm9, %xmm6
+; AVX512F-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm9 = ymm5[2,3],mem[2,3]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,ymm9[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm9[4,10],zero,zero,zero,ymm9[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm9[20,26]
+; AVX512F-NEXT: vinserti128 $1, 96(%rdi), %ymm5, %ymm12
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm5 = ymm12[0,6,12],zero,zero,zero,ymm12[u,u,u,u,u,2,8,14],zero,zero,ymm12[16,22,28],zero,zero,zero,ymm12[u,u,u,u,u,18,24,30],zero,zero
+; AVX512F-NEXT: vpor %ymm6, %ymm5, %ymm5
+; AVX512F-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa64 (%rdi), %ymm22
+; AVX512F-NEXT: vmovdqa64 32(%rdi), %ymm20
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm5
+; AVX512F-NEXT: vpternlogq $202, %ymm20, %ymm22, %ymm5
+; AVX512F-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-NEXT: vpshufb %xmm10, %xmm6, %xmm10
+; AVX512F-NEXT: vporq %xmm3, %xmm10, %xmm16
+; AVX512F-NEXT: vmovdqa64 320(%rdi), %ymm17
+; AVX512F-NEXT: vmovdqa64 352(%rdi), %ymm26
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm3
+; AVX512F-NEXT: vpternlogq $202, %ymm17, %ymm26, %ymm3
+; AVX512F-NEXT: vextracti128 $1, %ymm3, %xmm10
+; AVX512F-NEXT: vpshufb %xmm8, %xmm10, %xmm8
+; AVX512F-NEXT: vpshufb %xmm13, %xmm3, %xmm13
+; AVX512F-NEXT: vpor %xmm8, %xmm13, %xmm8
+; AVX512F-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <1,7,13,128,128,128,5,11,128,128,128,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm13 = <128,128,128,3,9,15,128,128,1,7,13,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm13, %xmm1, %xmm1
+; AVX512F-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX512F-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,128,128,1,7,13,128,128,128,5,11>
+; AVX512F-NEXT: vpshufb %xmm0, %xmm4, %xmm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,5,11,128,128,128,3,9,15,128,128>
+; AVX512F-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX512F-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX512F-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,ymm9[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm9[5,11],zero,zero,zero,ymm9[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm9[21,27]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm2 = ymm12[1,7,13],zero,zero,zero,ymm12[u,u,u,u,u,3,9,15],zero,zero,ymm12[17,23,29],zero,zero,zero,ymm12[u,u,u,u,u,19,25,31],zero,zero
+; AVX512F-NEXT: vpor %ymm1, %ymm2, %ymm1
+; AVX512F-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vpshufb %xmm8, %xmm5, %xmm1
+; AVX512F-NEXT: vpshufb %xmm13, %xmm6, %xmm2
+; AVX512F-NEXT: vporq %xmm1, %xmm2, %xmm31
+; AVX512F-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX512F-NEXT: vpshufb %xmm4, %xmm3, %xmm1
+; AVX512F-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,4,10,128,128,128,2,8,14,u,u,u,u,u>
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-NEXT: vmovdqa %ymm2, %ymm4
+; AVX512F-NEXT: vpternlogq $202, %ymm21, %ymm19, %ymm4
+; AVX512F-NEXT: vextracti128 $1, %ymm4, %xmm8
+; AVX512F-NEXT: vpshufb %xmm1, %xmm8, %xmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm3 = <2,8,14,128,128,0,6,12,128,128,128,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm3, %xmm4, %xmm5
+; AVX512F-NEXT: vpor %xmm0, %xmm5, %xmm0
+; AVX512F-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm6
+; AVX512F-NEXT: vpternlogq $202, %ymm18, %ymm23, %ymm6
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,0,6,12,128,128,128,4,10,128,128,128>
+; AVX512F-NEXT: vpshufb %xmm5, %xmm6, %xmm0
+; AVX512F-NEXT: vmovdqa64 %xmm5, %xmm24
+; AVX512F-NEXT: vextracti128 $1, %ymm6, %xmm10
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,128,128,128,2,8,14,128,128,0,6,12>
+; AVX512F-NEXT: vpshufb %xmm5, %xmm10, %xmm13
+; AVX512F-NEXT: vpor %xmm0, %xmm13, %xmm0
+; AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = [128,128,128,4,10,128,128,128,128,128,128,128,128,0,6,12,128,128,128,20,26,128,128,128,128,128,128,128,128,16,22,28]
+; AVX512F-NEXT: vpshufb %ymm11, %ymm9, %ymm0
+; AVX512F-NEXT: vmovdqa %ymm9, %ymm15
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm9 = <2,8,14,128,128,u,u,u,u,u,u,4,10,128,128,128,18,24,30,128,128,u,u,u,u,u,u,20,26,128,128,128>
+; AVX512F-NEXT: vpshufb %ymm9, %ymm12, %ymm13
+; AVX512F-NEXT: vpor %ymm0, %ymm13, %ymm0
+; AVX512F-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa %ymm2, %ymm0
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm20, %ymm0
+; AVX512F-NEXT: vextracti128 $1, %ymm0, %xmm13
+; AVX512F-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX512F-NEXT: vpshufb %xmm3, %xmm0, %xmm3
+; AVX512F-NEXT: vporq %xmm1, %xmm3, %xmm27
+; AVX512F-NEXT: vmovdqa %ymm7, %ymm14
+; AVX512F-NEXT: vpternlogq $202, %ymm26, %ymm17, %ymm14
+; AVX512F-NEXT: vmovdqa64 %xmm24, %xmm1
+; AVX512F-NEXT: vpshufb %xmm1, %xmm14, %xmm3
+; AVX512F-NEXT: vextracti128 $1, %ymm14, %xmm1
+; AVX512F-NEXT: vpshufb %xmm5, %xmm1, %xmm5
+; AVX512F-NEXT: vpor %xmm3, %xmm5, %xmm3
+; AVX512F-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa 256(%rdi), %ymm3
+; AVX512F-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm3[2,3],mem[2,3]
+; AVX512F-NEXT: vpshufb %ymm11, %ymm5, %ymm11
+; AVX512F-NEXT: vinserti128 $1, 288(%rdi), %ymm3, %ymm3
+; AVX512F-NEXT: vpshufb %ymm9, %ymm3, %ymm9
+; AVX512F-NEXT: vporq %ymm11, %ymm9, %ymm30
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <128,128,128,5,11,128,128,128,3,9,15,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm11 = <3,9,15,128,128,1,7,13,128,128,128,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX512F-NEXT: vpor %xmm4, %xmm8, %xmm4
+; AVX512F-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,1,7,13,128,128,128,5,11,128,128,128>
+; AVX512F-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX512F-NEXT: vmovdqa64 %xmm4, %xmm29
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,128,128,128,3,9,15,128,128,1,7,13>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm10, %xmm10
+; AVX512F-NEXT: vpor %xmm6, %xmm10, %xmm4
+; AVX512F-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [128,128,128,5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29]
+; AVX512F-NEXT: vpshufb %ymm6, %ymm15, %ymm10
+; AVX512F-NEXT: vmovdqa64 %ymm15, %ymm28
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = <3,9,15,128,128,u,u,u,u,u,u,5,11,128,128,128,19,25,31,128,128,u,u,u,u,u,u,21,27,128,128,128>
+; AVX512F-NEXT: vpshufb %ymm4, %ymm12, %ymm15
+; AVX512F-NEXT: vmovdqa64 %ymm12, %ymm24
+; AVX512F-NEXT: vpor %ymm10, %ymm15, %ymm10
+; AVX512F-NEXT: vmovdqu %ymm10, (%rsp) # 32-byte Spill
+; AVX512F-NEXT: vpshufb %xmm9, %xmm13, %xmm9
+; AVX512F-NEXT: vpshufb %xmm11, %xmm0, %xmm0
+; AVX512F-NEXT: vporq %xmm9, %xmm0, %xmm25
+; AVX512F-NEXT: vmovdqa64 %xmm29, %xmm0
+; AVX512F-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX512F-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX512F-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX512F-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-NEXT: vpshufb %ymm6, %ymm5, %ymm0
+; AVX512F-NEXT: vpshufb %ymm4, %ymm3, %ymm1
+; AVX512F-NEXT: vpor %ymm0, %ymm1, %ymm6
+; AVX512F-NEXT: vmovdqa64 %ymm19, %ymm12
+; AVX512F-NEXT: vpternlogq $226, %ymm21, %ymm7, %ymm12
+; AVX512F-NEXT: vextracti128 $1, %ymm12, %xmm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm1[0,6,12],zero,zero,zero,xmm1[4,10,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm12[4,10],zero,zero,zero,xmm12[2,8,14],zero,zero,xmm12[u,u,u,u,u,u]
+; AVX512F-NEXT: vporq %xmm0, %xmm4, %xmm21
+; AVX512F-NEXT: vmovdqa64 %ymm18, %ymm13
+; AVX512F-NEXT: vpternlogq $226, %ymm23, %ymm2, %ymm13
+; AVX512F-NEXT: vextracti128 $1, %ymm13, %xmm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,128,128,128,4,10,128,128,128,2,8,14>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm4, %xmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,2,8,14,128,128,0,6,12,128,128,128>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm13, %xmm10
+; AVX512F-NEXT: vporq %xmm0, %xmm10, %xmm23
+; AVX512F-NEXT: vpternlogq $202, %ymm17, %ymm26, %ymm2
+; AVX512F-NEXT: vextracti128 $1, %ymm2, %xmm0
+; AVX512F-NEXT: vpshufb %xmm8, %xmm0, %xmm8
+; AVX512F-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX512F-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm11 = <128,128,0,6,12,u,u,u,u,u,128,128,128,2,8,14,128,128,16,22,28,u,u,u,u,u,128,128,128,18,24,30>
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm9 = ymm3[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,6,12],zero,zero,zero,ymm3[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm3[16,22,28],zero,zero,zero
+; AVX512F-NEXT: vpshufb %ymm11, %ymm5, %ymm10
+; AVX512F-NEXT: vmovdqa64 %ymm11, %ymm29
+; AVX512F-NEXT: vpor %ymm9, %ymm10, %ymm9
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <128,128,1,7,13,128,128,128,5,11,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm10, %xmm1, %xmm11
+; AVX512F-NEXT: vmovdqa64 %xmm10, %xmm19
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm1 = <5,11,128,128,128,3,9,15,128,128,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm1, %xmm12, %xmm12
+; AVX512F-NEXT: vmovdqa64 %xmm1, %xmm18
+; AVX512F-NEXT: vporq %xmm11, %xmm12, %xmm17
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,128,128,128,5,11,128,128,128,3,9,15>
+; AVX512F-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,3,9,15,128,128,1,7,13,128,128,128>
+; AVX512F-NEXT: vpshufb %xmm15, %xmm13, %xmm14
+; AVX512F-NEXT: vporq %xmm4, %xmm14, %xmm26
+; AVX512F-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX512F-NEXT: vpshufb %xmm15, %xmm2, %xmm2
+; AVX512F-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29,128,128,128]
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm12 = <128,128,1,7,13,u,u,u,u,u,128,128,128,3,9,15,128,128,17,23,29,u,u,u,u,u,128,128,128,19,25,31>
+; AVX512F-NEXT: vpshufb %ymm2, %ymm3, %ymm14
+; AVX512F-NEXT: vpshufb %ymm12, %ymm5, %ymm15
+; AVX512F-NEXT: vpor %ymm14, %ymm15, %ymm14
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,ymm5[2,8,14],zero,zero,zero,zero,zero,zero,zero,zero,ymm5[4,10],zero,zero,zero,ymm5[18,24,30],zero,zero,zero,zero,zero,zero,zero,zero,ymm5[20,26]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm13 = ymm3[0,6,12],zero,zero,zero,ymm3[u,u,u,u,u,2,8,14],zero,zero,ymm3[16,22,28],zero,zero,zero,ymm3[u,u,u,u,u,18,24,30],zero,zero
+; AVX512F-NEXT: vpor %ymm15, %ymm13, %ymm13
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm15 # 16-byte Folded Reload
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm15 = ymm13[0,1,2],ymm15[3,4,5,6,7],ymm13[8,9,10],ymm15[11,12,13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3],ymm15[4,5,6,7]
+; AVX512F-NEXT: vpternlogq $202, %ymm22, %ymm20, %ymm7
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,ymm5[3,9,15],zero,zero,zero,zero,zero,zero,zero,zero,ymm5[5,11],zero,zero,zero,ymm5[19,25,31],zero,zero,zero,zero,zero,zero,zero,zero,ymm5[21,27]
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[1,7,13],zero,zero,zero,ymm3[u,u,u,u,u,3,9,15],zero,zero,ymm3[17,23,29],zero,zero,zero,ymm3[u,u,u,u,u,19,25,31],zero,zero
+; AVX512F-NEXT: vpor %ymm5, %ymm3, %ymm3
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 16-byte Folded Reload
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm5 = ymm3[0,1,2],ymm5[3,4,5,6,7],ymm3[8,9,10],ymm5[11,12,13,14,15]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX512F-NEXT: vextracti128 $1, %ymm7, %xmm5
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm5[0,6,12],zero,zero,zero,xmm5[4,10,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm10 = xmm7[4,10],zero,zero,zero,xmm7[2,8,14],zero,zero,xmm7[u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm15, %xmm10, %xmm10
+; AVX512F-NEXT: vmovdqa64 %ymm24, %ymm4
+; AVX512F-NEXT: vpshufb {{.*#+}} ymm15 = ymm4[4,10],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,6,12],zero,zero,zero,ymm4[20,26],zero,zero,zero,zero,zero,zero,zero,zero,ymm4[16,22,28],zero,zero,zero
+; AVX512F-NEXT: vmovdqa64 %ymm28, %ymm11
+; AVX512F-NEXT: vmovdqa64 %ymm29, %ymm1
+; AVX512F-NEXT: vpshufb %ymm1, %ymm11, %ymm1
+; AVX512F-NEXT: vpor %ymm1, %ymm15, %ymm1
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1,2,3,4],xmm1[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-NEXT: vinserti32x4 $1, %xmm23, %ymm0, %ymm10
+; AVX512F-NEXT: vinserti64x4 $1, %ymm21, %zmm10, %zmm10
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm15 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, %zmm10, %zmm15, %zmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm10 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $226, %ymm8, %ymm10, %ymm9
+; AVX512F-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm8
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm9 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $184, %zmm1, %zmm9, %zmm8
+; AVX512F-NEXT: vmovdqa64 %xmm19, %xmm1
+; AVX512F-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX512F-NEXT: vmovdqa64 %xmm18, %xmm5
+; AVX512F-NEXT: vpshufb %xmm5, %xmm7, %xmm5
+; AVX512F-NEXT: vpor %xmm1, %xmm5, %xmm1
+; AVX512F-NEXT: vpshufb %ymm2, %ymm4, %ymm2
+; AVX512F-NEXT: vpshufb %ymm12, %ymm11, %ymm5
+; AVX512F-NEXT: vpor %ymm2, %ymm5, %ymm2
+; AVX512F-NEXT: vinserti64x4 $1, %ymm13, %zmm0, %zmm5
+; AVX512F-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm2[5,6,7]
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm2
+; AVX512F-NEXT: vinserti64x4 $1, %ymm17, %zmm2, %zmm2
+; AVX512F-NEXT: vpternlogq $226, %zmm2, %zmm15, %zmm1
+; AVX512F-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-NEXT: vpternlogq $226, %ymm0, %ymm10, %ymm14
+; AVX512F-NEXT: vinserti64x4 $1, %ymm14, %zmm0, %zmm0
+; AVX512F-NEXT: vpternlogq $184, %zmm1, %zmm9, %zmm0
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm1 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm16 # 32-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm31 # 32-byte Folded Reload
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 32-byte Folded Reload
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm2 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-NEXT: vpternlogq $226, %zmm1, %zmm2, %zmm16
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 32-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $226, %zmm1, %zmm2, %zmm31
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 32-byte Folded Reload
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $226, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm27 # 32-byte Folded Reload
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm4 = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-NEXT: vpternlogq $184, %zmm1, %zmm4, %zmm27
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vinserti64x4 $1, {{[-0-9]+}}(%r{{[sb]}}p), %zmm1, %zmm1 # 32-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $226, (%rsp), %ymm2, %ymm25 # 32-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $184, %zmm1, %zmm4, %zmm25
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $184, %ymm1, %ymm2, %ymm30
+; AVX512F-NEXT: vinserti128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 16-byte Folded Reload
+; AVX512F-NEXT: vpternlogq $184, %ymm1, %ymm2, %ymm6
+; AVX512F-NEXT: vmovdqa64 {{.*#+}} zmm1 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-NEXT: vpternlogq $184, %zmm16, %zmm1, %zmm5
+; AVX512F-NEXT: vpternlogq $184, %zmm31, %zmm1, %zmm3
+; AVX512F-NEXT: vinserti64x4 $1, %ymm30, %zmm0, %zmm2
+; AVX512F-NEXT: vpternlogq $184, %zmm27, %zmm1, %zmm2
+; AVX512F-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm4
+; AVX512F-NEXT: vpternlogq $184, %zmm25, %zmm1, %zmm4
+; AVX512F-NEXT: vmovdqa64 %zmm5, (%rsi)
+; AVX512F-NEXT: vmovdqa64 %zmm3, (%rdx)
+; AVX512F-NEXT: vmovdqa64 %zmm2, (%rcx)
+; AVX512F-NEXT: vmovdqa64 %zmm4, (%r8)
+; AVX512F-NEXT: vmovdqa64 %zmm8, (%r9)
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-NEXT: addq $264, %rsp # imm = 0x108
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride6_vf64:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,6,12,128,128,128,4,10,128,128,128,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512BW-NEXT: vmovdqa64 192(%rdi), %ymm24
+; AVX512BW-NEXT: movw $18724, %r10w # imm = 0x4924
+; AVX512BW-NEXT: kmovd %r10d, %k1
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm24, %ymm10 {%k1}
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm10, %xmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm6 = <128,128,128,2,8,14,128,128,0,6,12,u,u,u,u,u>
+; AVX512BW-NEXT: vextracti128 $1, %ymm10, %xmm14
+; AVX512BW-NEXT: vpshufb %xmm6, %xmm14, %xmm3
+; AVX512BW-NEXT: vpor %xmm1, %xmm3, %xmm4
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %ymm22
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 64(%rdi), %ymm5
+; AVX512BW-NEXT: vmovdqa 128(%rdi), %ymm12
+; AVX512BW-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512BW-NEXT: vpblendmw %ymm12, %ymm3, %ymm15 {%k1}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm15, %xmm16
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <u,u,u,u,u,u,128,128,0,6,12,128,128,128,4,10>
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm16, %xmm7
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <u,u,u,u,u,u,4,10,128,128,128,2,8,14,128,128>
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm15, %xmm8
+; AVX512BW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512BW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm4, %zmm7, %zmm7
+; AVX512BW-NEXT: vinserti128 $1, 96(%rdi), %ymm5, %ymm4
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm8 = [0,6,12,128,128,128,128,128,128,128,128,2,8,14,128,128,16,22,28,128,128,128,128,128,128,128,128,18,24,30,128,128]
+; AVX512BW-NEXT: vpshufb %ymm8, %ymm4, %ymm13
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm5 = ymm5[2,3],mem[2,3]
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm19 = [128,128,128,2,8,14,128,128,128,128,128,128,128,128,4,10,128,128,128,18,24,30,128,128,128,128,128,128,128,128,20,26]
+; AVX512BW-NEXT: vpshufb %ymm19, %ymm5, %ymm20
+; AVX512BW-NEXT: vporq %ymm13, %ymm20, %ymm13
+; AVX512BW-NEXT: vpblendmw %ymm1, %ymm22, %ymm20 {%k1}
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm20, %xmm2
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm20, %xmm21
+; AVX512BW-NEXT: vpshufb %xmm6, %xmm21, %xmm6
+; AVX512BW-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX512BW-NEXT: movl $4192256, %r10d # imm = 0x3FF800
+; AVX512BW-NEXT: kmovd %r10d, %k3
+; AVX512BW-NEXT: vmovdqu8 %ymm13, %ymm2 {%k3}
+; AVX512BW-NEXT: vmovdqu16 %zmm7, %zmm2 {%k3}
+; AVX512BW-NEXT: vmovdqa 256(%rdi), %ymm7
+; AVX512BW-NEXT: vinserti128 $1, 288(%rdi), %ymm7, %ymm6
+; AVX512BW-NEXT: vpshufb %ymm8, %ymm6, %ymm8
+; AVX512BW-NEXT: vperm2i128 {{.*#+}} ymm7 = ymm7[2,3],mem[2,3]
+; AVX512BW-NEXT: vpshufb %ymm19, %ymm7, %ymm13
+; AVX512BW-NEXT: vpor %ymm8, %ymm13, %ymm9
+; AVX512BW-NEXT: vmovdqa64 320(%rdi), %ymm28
+; AVX512BW-NEXT: vmovdqa 352(%rdi), %ymm8
+; AVX512BW-NEXT: vpblendmw %ymm28, %ymm8, %ymm19 {%k1}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm19, %xmm23
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm23, %xmm17
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm19, %xmm18
+; AVX512BW-NEXT: vporq %xmm17, %xmm18, %xmm17
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm17, %ymm0, %ymm11
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm11 = ymm9[0,1,2],ymm11[3,4,5,6,7],ymm9[8,9,10],ymm11[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm9
+; AVX512BW-NEXT: movabsq $-8796093022208, %rdi # imm = 0xFFFFF80000000000
+; AVX512BW-NEXT: kmovq %rdi, %k2
+; AVX512BW-NEXT: vmovdqu8 %zmm9, %zmm2 {%k2}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = <1,7,13,128,128,128,5,11,128,128,128,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm10, %xmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = <128,128,128,3,9,15,128,128,1,7,13,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm14, %xmm14
+; AVX512BW-NEXT: vpor %xmm10, %xmm14, %xmm10
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,128,128,1,7,13,128,128,128,5,11>
+; AVX512BW-NEXT: vpshufb %xmm14, %xmm16, %xmm16
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <u,u,u,u,u,u,5,11,128,128,128,3,9,15,128,128>
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm15, %xmm15
+; AVX512BW-NEXT: vporq %xmm16, %xmm15, %xmm15
+; AVX512BW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm10, %zmm15, %zmm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm16 = [1,7,13,128,128,128,128,128,128,128,128,3,9,15,128,128,17,23,29,128,128,128,128,128,128,128,128,19,25,31,128,128]
+; AVX512BW-NEXT: vpshufb %ymm16, %ymm4, %ymm10
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm18 = [128,128,128,3,9,15,128,128,128,128,128,128,128,128,5,11,128,128,128,19,25,31,128,128,128,128,128,128,128,128,21,27]
+; AVX512BW-NEXT: vpshufb %ymm18, %ymm5, %ymm25
+; AVX512BW-NEXT: vporq %ymm10, %ymm25, %ymm25
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm20, %xmm9
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm21, %xmm10
+; AVX512BW-NEXT: vpor %xmm9, %xmm10, %xmm10
+; AVX512BW-NEXT: vmovdqu8 %ymm25, %ymm10 {%k3}
+; AVX512BW-NEXT: vmovdqu16 %zmm15, %zmm10 {%k3}
+; AVX512BW-NEXT: vpshufb %ymm16, %ymm6, %ymm9
+; AVX512BW-NEXT: vpshufb %ymm18, %ymm7, %ymm11
+; AVX512BW-NEXT: vpor %ymm9, %ymm11, %ymm9
+; AVX512BW-NEXT: vpshufb %xmm14, %xmm23, %xmm11
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm19, %xmm14
+; AVX512BW-NEXT: vpor %xmm11, %xmm14, %xmm11
+; AVX512BW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm11 = ymm9[0,1,2],ymm11[3,4,5,6,7],ymm9[8,9,10],ymm11[11,12,13,14,15]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm9
+; AVX512BW-NEXT: vmovdqu8 %zmm9, %zmm10 {%k2}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = [2,8,14,128,128,128,128,128,128,128,128,4,10,128,128,128,18,24,30,128,128,128,128,128,128,128,128,20,26,128,128,128]
+; AVX512BW-NEXT: vpshufb %ymm9, %ymm4, %ymm11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm15 = [128,128,128,4,10,128,128,128,128,128,128,128,128,0,6,12,128,128,128,20,26,128,128,128,128,128,128,128,128,16,22,28]
+; AVX512BW-NEXT: vpshufb %ymm15, %ymm5, %ymm14
+; AVX512BW-NEXT: vpor %ymm11, %ymm14, %ymm11
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,128,4,10,128,128,128,2,8,14,u,u,u,u,u>
+; AVX512BW-NEXT: movw $9362, %di # imm = 0x2492
+; AVX512BW-NEXT: kmovd %edi, %k3
+; AVX512BW-NEXT: vpblendmw %ymm22, %ymm1, %ymm16 {%k3}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm16, %xmm17
+; AVX512BW-NEXT: vpshufb %xmm14, %xmm17, %xmm18
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm19 = <2,8,14,128,128,0,6,12,128,128,128,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm19, %xmm16, %xmm20
+; AVX512BW-NEXT: vporq %xmm18, %xmm20, %xmm18
+; AVX512BW-NEXT: movl $2095104, %edi # imm = 0x1FF800
+; AVX512BW-NEXT: kmovd %edi, %k4
+; AVX512BW-NEXT: vmovdqu8 %ymm11, %ymm18 {%k4}
+; AVX512BW-NEXT: vpblendmw %ymm24, %ymm0, %ymm11 {%k3}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm11, %xmm20
+; AVX512BW-NEXT: vpshufb %xmm14, %xmm20, %xmm14
+; AVX512BW-NEXT: vpshufb %xmm19, %xmm11, %xmm19
+; AVX512BW-NEXT: vporq %xmm14, %xmm19, %xmm14
+; AVX512BW-NEXT: vpblendmw %ymm3, %ymm12, %ymm19 {%k1}
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm21 = <u,u,u,u,u,0,6,12,128,128,128,4,10,128,128,128>
+; AVX512BW-NEXT: vpshufb %xmm21, %xmm19, %xmm23
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm19, %xmm25
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm26 = <u,u,u,u,u,128,128,128,2,8,14,128,128,0,6,12>
+; AVX512BW-NEXT: vpshufb %xmm26, %xmm25, %xmm27
+; AVX512BW-NEXT: vporq %xmm23, %xmm27, %xmm23
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm23, %ymm0, %ymm23
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm14, %zmm23, %zmm14
+; AVX512BW-NEXT: movl $2097151, %edi # imm = 0x1FFFFF
+; AVX512BW-NEXT: kmovq %rdi, %k5
+; AVX512BW-NEXT: vmovdqu8 %zmm18, %zmm14 {%k5}
+; AVX512BW-NEXT: vpshufb %ymm9, %ymm6, %ymm9
+; AVX512BW-NEXT: vpshufb %ymm15, %ymm7, %ymm15
+; AVX512BW-NEXT: vpor %ymm9, %ymm15, %ymm9
+; AVX512BW-NEXT: vpblendmw %ymm8, %ymm28, %ymm18 {%k1}
+; AVX512BW-NEXT: vpshufb %xmm21, %xmm18, %xmm15
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm18, %xmm21
+; AVX512BW-NEXT: vpshufb %xmm26, %xmm21, %xmm23
+; AVX512BW-NEXT: vporq %xmm15, %xmm23, %xmm15
+; AVX512BW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm15 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm15, %zmm0, %zmm9
+; AVX512BW-NEXT: vmovdqu8 %zmm9, %zmm14 {%k2}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm9 = [3,9,15,128,128,128,128,128,128,128,128,5,11,128,128,128,19,25,31,128,128,128,128,128,128,128,128,21,27,128,128,128]
+; AVX512BW-NEXT: vpshufb %ymm9, %ymm4, %ymm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm23 = [128,128,128,5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29]
+; AVX512BW-NEXT: vpshufb %ymm23, %ymm5, %ymm26
+; AVX512BW-NEXT: vporq %ymm15, %ymm26, %ymm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm26 = <128,128,128,5,11,128,128,128,3,9,15,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm26, %xmm17, %xmm17
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm27 = <3,9,15,128,128,1,7,13,128,128,128,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm27, %xmm16, %xmm16
+; AVX512BW-NEXT: vporq %xmm17, %xmm16, %xmm16
+; AVX512BW-NEXT: vmovdqu8 %ymm15, %ymm16 {%k4}
+; AVX512BW-NEXT: vpshufb %xmm26, %xmm20, %xmm15
+; AVX512BW-NEXT: vpshufb %xmm27, %xmm11, %xmm11
+; AVX512BW-NEXT: vpor %xmm15, %xmm11, %xmm11
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <u,u,u,u,u,1,7,13,128,128,128,5,11,128,128,128>
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm19, %xmm15
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm19 = <u,u,u,u,u,128,128,128,3,9,15,128,128,1,7,13>
+; AVX512BW-NEXT: vpshufb %xmm19, %xmm25, %xmm20
+; AVX512BW-NEXT: vporq %xmm15, %xmm20, %xmm15
+; AVX512BW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm15, %zmm15
+; AVX512BW-NEXT: vmovdqu8 %zmm16, %zmm15 {%k5}
+; AVX512BW-NEXT: vpshufb %ymm9, %ymm6, %ymm9
+; AVX512BW-NEXT: vpshufb %ymm23, %ymm7, %ymm11
+; AVX512BW-NEXT: vpor %ymm9, %ymm11, %ymm9
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm18, %xmm11
+; AVX512BW-NEXT: vpshufb %xmm19, %xmm21, %xmm16
+; AVX512BW-NEXT: vporq %xmm11, %xmm16, %xmm11
+; AVX512BW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-NEXT: vmovdqu8 %ymm9, %ymm11 {%k4}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm11, %zmm0, %zmm9
+; AVX512BW-NEXT: vmovdqu8 %zmm9, %zmm15 {%k2}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = <128,128,0,6,12,128,128,128,4,10,u,u,u,u,u,u>
+; AVX512BW-NEXT: vmovdqu16 %ymm24, %ymm0 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm0, %xmm11
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm11, %xmm16
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <4,10,128,128,128,2,8,14,128,128,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm0, %xmm18
+; AVX512BW-NEXT: vporq %xmm16, %xmm18, %xmm16
+; AVX512BW-NEXT: vmovdqu16 %ymm12, %ymm3 {%k3}
+; AVX512BW-NEXT: vextracti128 $1, %ymm3, %xmm12
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <u,u,u,u,u,128,128,128,4,10,128,128,128,2,8,14>
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm12, %xmm19
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm20 = <u,u,u,u,u,2,8,14,128,128,0,6,12,128,128,128>
+; AVX512BW-NEXT: vpshufb %xmm20, %xmm3, %xmm21
+; AVX512BW-NEXT: vporq %xmm19, %xmm21, %xmm19
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm19, %ymm0, %ymm19
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm16, %zmm19, %zmm16
+; AVX512BW-NEXT: vmovdqu16 %ymm22, %ymm1 {%k1}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm1, %xmm19
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm19, %xmm9
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm1, %xmm17
+; AVX512BW-NEXT: vporq %xmm9, %xmm17, %xmm9
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm17 = [128,128,0,6,12,128,128,128,128,128,128,128,128,2,8,14,128,128,16,22,28,128,128,128,128,128,128,128,128,18,24,30]
+; AVX512BW-NEXT: vpshufb %ymm17, %ymm5, %ymm21
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} ymm22 = [4,10,128,128,128,128,128,128,128,128,0,6,12,128,128,128,20,26,128,128,128,128,128,128,128,128,16,22,28,128,128,128]
+; AVX512BW-NEXT: vpshufb %ymm22, %ymm4, %ymm23
+; AVX512BW-NEXT: vporq %ymm21, %ymm23, %ymm13
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4],xmm13[5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-NEXT: movabsq $4398044413952, %rdi # imm = 0x3FFFFE00000
+; AVX512BW-NEXT: kmovq %rdi, %k1
+; AVX512BW-NEXT: vmovdqu8 %zmm16, %zmm9 {%k1}
+; AVX512BW-NEXT: vpshufb %ymm17, %ymm7, %ymm13
+; AVX512BW-NEXT: vpshufb %ymm22, %ymm6, %ymm16
+; AVX512BW-NEXT: vporq %ymm13, %ymm16, %ymm13
+; AVX512BW-NEXT: vmovdqu16 %ymm28, %ymm8 {%k3}
+; AVX512BW-NEXT: vextracti32x4 $1, %ymm8, %xmm16
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm16, %xmm17
+; AVX512BW-NEXT: vpshufb %xmm20, %xmm8, %xmm18
+; AVX512BW-NEXT: vporq %xmm17, %xmm18, %xmm17
+; AVX512BW-NEXT: vinserti32x4 $1, %xmm17, %ymm0, %ymm17
+; AVX512BW-NEXT: movl $-2097152, %edi # imm = 0xFFE00000
+; AVX512BW-NEXT: kmovd %edi, %k2
+; AVX512BW-NEXT: vmovdqu8 %ymm17, %ymm13 {%k2}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm13, %zmm0, %zmm13
+; AVX512BW-NEXT: vmovdqu16 %zmm13, %zmm9 {%k2}
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm13 = <128,128,1,7,13,128,128,128,5,11,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm13, %xmm11, %xmm11
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <5,11,128,128,128,3,9,15,128,128,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm0, %xmm0
+; AVX512BW-NEXT: vpor %xmm0, %xmm11, %xmm0
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,128,128,128,5,11,128,128,128,3,9,15>
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX512BW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <u,u,u,u,u,3,9,15,128,128,1,7,13,128,128,128>
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm3, %xmm3
+; AVX512BW-NEXT: vpor %xmm3, %xmm12, %xmm3
+; AVX512BW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm0, %zmm3, %zmm0
+; AVX512BW-NEXT: vpshufb %xmm13, %xmm19, %xmm3
+; AVX512BW-NEXT: vpshufb %xmm17, %xmm1, %xmm1
+; AVX512BW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm3 = [128,128,1,7,13,128,128,128,128,128,128,128,128,3,9,15,128,128,17,23,29,128,128,128,128,128,128,128,128,19,25,31]
+; AVX512BW-NEXT: vpshufb %ymm3, %ymm5, %ymm5
+; AVX512BW-NEXT: vmovdqa {{.*#+}} ymm12 = [5,11,128,128,128,128,128,128,128,128,1,7,13,128,128,128,21,27,128,128,128,128,128,128,128,128,17,23,29,128,128,128]
+; AVX512BW-NEXT: vpshufb %ymm12, %ymm4, %ymm4
+; AVX512BW-NEXT: vpor %ymm5, %ymm4, %ymm4
+; AVX512BW-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4],xmm4[5,6,7]
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-NEXT: vmovdqu8 %zmm0, %zmm1 {%k1}
+; AVX512BW-NEXT: vpshufb %ymm3, %ymm7, %ymm0
+; AVX512BW-NEXT: vpshufb %ymm12, %ymm6, %ymm3
+; AVX512BW-NEXT: vpor %ymm0, %ymm3, %ymm0
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm16, %xmm3
+; AVX512BW-NEXT: vpshufb %xmm18, %xmm8, %xmm4
+; AVX512BW-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512BW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-NEXT: vmovdqu8 %ymm3, %ymm0 {%k2}
+; AVX512BW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-NEXT: vmovdqu16 %zmm0, %zmm1 {%k2}
+; AVX512BW-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512BW-NEXT: vmovdqa64 %zmm10, (%rdx)
+; AVX512BW-NEXT: vmovdqa64 %zmm14, (%rcx)
+; AVX512BW-NEXT: vmovdqa64 %zmm15, (%r8)
+; AVX512BW-NEXT: vmovdqa64 %zmm9, (%r9)
+; AVX512BW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <384 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 0, i32 6, i32 12, i32 18, i32 24, i32 30, i32 36, i32 42, i32 48, i32 54, i32 60, i32 66, i32 72, i32 78, i32 84, i32 90, i32 96, i32 102, i32 108, i32 114, i32 120, i32 126, i32 132, i32 138, i32 144, i32 150, i32 156, i32 162, i32 168, i32 174, i32 180, i32 186, i32 192, i32 198, i32 204, i32 210, i32 216, i32 222, i32 228, i32 234, i32 240, i32 246, i32 252, i32 258, i32 264, i32 270, i32 276, i32 282, i32 288, i32 294, i32 300, i32 306, i32 312, i32 318, i32 324, i32 330, i32 336, i32 342, i32 348, i32 354, i32 360, i32 366, i32 372, i32 378>
+ %strided.vec1 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 1, i32 7, i32 13, i32 19, i32 25, i32 31, i32 37, i32 43, i32 49, i32 55, i32 61, i32 67, i32 73, i32 79, i32 85, i32 91, i32 97, i32 103, i32 109, i32 115, i32 121, i32 127, i32 133, i32 139, i32 145, i32 151, i32 157, i32 163, i32 169, i32 175, i32 181, i32 187, i32 193, i32 199, i32 205, i32 211, i32 217, i32 223, i32 229, i32 235, i32 241, i32 247, i32 253, i32 259, i32 265, i32 271, i32 277, i32 283, i32 289, i32 295, i32 301, i32 307, i32 313, i32 319, i32 325, i32 331, i32 337, i32 343, i32 349, i32 355, i32 361, i32 367, i32 373, i32 379>
+ %strided.vec2 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 2, i32 8, i32 14, i32 20, i32 26, i32 32, i32 38, i32 44, i32 50, i32 56, i32 62, i32 68, i32 74, i32 80, i32 86, i32 92, i32 98, i32 104, i32 110, i32 116, i32 122, i32 128, i32 134, i32 140, i32 146, i32 152, i32 158, i32 164, i32 170, i32 176, i32 182, i32 188, i32 194, i32 200, i32 206, i32 212, i32 218, i32 224, i32 230, i32 236, i32 242, i32 248, i32 254, i32 260, i32 266, i32 272, i32 278, i32 284, i32 290, i32 296, i32 302, i32 308, i32 314, i32 320, i32 326, i32 332, i32 338, i32 344, i32 350, i32 356, i32 362, i32 368, i32 374, i32 380>
+ %strided.vec3 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 3, i32 9, i32 15, i32 21, i32 27, i32 33, i32 39, i32 45, i32 51, i32 57, i32 63, i32 69, i32 75, i32 81, i32 87, i32 93, i32 99, i32 105, i32 111, i32 117, i32 123, i32 129, i32 135, i32 141, i32 147, i32 153, i32 159, i32 165, i32 171, i32 177, i32 183, i32 189, i32 195, i32 201, i32 207, i32 213, i32 219, i32 225, i32 231, i32 237, i32 243, i32 249, i32 255, i32 261, i32 267, i32 273, i32 279, i32 285, i32 291, i32 297, i32 303, i32 309, i32 315, i32 321, i32 327, i32 333, i32 339, i32 345, i32 351, i32 357, i32 363, i32 369, i32 375, i32 381>
+ %strided.vec4 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 4, i32 10, i32 16, i32 22, i32 28, i32 34, i32 40, i32 46, i32 52, i32 58, i32 64, i32 70, i32 76, i32 82, i32 88, i32 94, i32 100, i32 106, i32 112, i32 118, i32 124, i32 130, i32 136, i32 142, i32 148, i32 154, i32 160, i32 166, i32 172, i32 178, i32 184, i32 190, i32 196, i32 202, i32 208, i32 214, i32 220, i32 226, i32 232, i32 238, i32 244, i32 250, i32 256, i32 262, i32 268, i32 274, i32 280, i32 286, i32 292, i32 298, i32 304, i32 310, i32 316, i32 322, i32 328, i32 334, i32 340, i32 346, i32 352, i32 358, i32 364, i32 370, i32 376, i32 382>
+ %strided.vec5 = shufflevector <384 x i8> %wide.vec, <384 x i8> poison, <64 x i32> <i32 5, i32 11, i32 17, i32 23, i32 29, i32 35, i32 41, i32 47, i32 53, i32 59, i32 65, i32 71, i32 77, i32 83, i32 89, i32 95, i32 101, i32 107, i32 113, i32 119, i32 125, i32 131, i32 137, i32 143, i32 149, i32 155, i32 161, i32 167, i32 173, i32 179, i32 185, i32 191, i32 197, i32 203, i32 209, i32 215, i32 221, i32 227, i32 233, i32 239, i32 245, i32 251, i32 257, i32 263, i32 269, i32 275, i32 281, i32 287, i32 293, i32 299, i32 305, i32 311, i32 317, i32 323, i32 329, i32 335, i32 341, i32 347, i32 353, i32 359, i32 365, i32 371, i32 377, i32 383>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i8> %strided.vec5, ptr %out.vec5, align 64
ret void
}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2-FAST: {{.*}}
+; AVX2-FAST-PERLANE: {{.*}}
+; AVX2-SLOW: {{.*}}
+; AVX512: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i8_stride7_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movdqa (%rdi), %xmm2
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm5[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[2,2,2,2]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[2,3,2,3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: psrlq $48, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1],xmm7[2],xmm2[2],xmm7[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movd %xmm3, %edi
+; SSE-NEXT: movw %di, (%rsi)
+; SSE-NEXT: movd %xmm4, %esi
+; SSE-NEXT: movw %si, (%rdx)
+; SSE-NEXT: movd %xmm6, %edx
+; SSE-NEXT: movw %dx, (%rcx)
+; SSE-NEXT: movd %xmm5, %ecx
+; SSE-NEXT: movw %cx, (%r8)
+; SSE-NEXT: movd %xmm7, %ecx
+; SSE-NEXT: movw %cx, (%r9)
+; SSE-NEXT: movd %xmm0, %ecx
+; SSE-NEXT: movw %cx, (%r10)
+; SSE-NEXT: movd %xmm1, %ecx
+; SSE-NEXT: movw %cx, (%rax)
+; SSE-NEXT: retq
+;
+; AVX-LABEL: load_i8_stride7_vf2:
+; AVX: # %bb.0:
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX-NEXT: vpextrw $0, %xmm2, (%rdx)
+; AVX-NEXT: vpextrw $0, %xmm3, (%rcx)
+; AVX-NEXT: vpextrw $0, %xmm4, (%r8)
+; AVX-NEXT: vpextrw $0, %xmm5, (%r9)
+; AVX-NEXT: vpextrw $0, %xmm6, (%r10)
+; AVX-NEXT: vpextrw $0, %xmm0, (%rax)
+; AVX-NEXT: retq
+ %wide.vec = load <14 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 0, i32 7>
+ %strided.vec1 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 1, i32 8>
+ %strided.vec2 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 2, i32 9>
+ %strided.vec3 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 3, i32 10>
+ %strided.vec4 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 4, i32 11>
+ %strided.vec5 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 5, i32 12>
+ %strided.vec6 = shufflevector <14 x i8> %wide.vec, <14 x i8> poison, <2 x i32> <i32 6, i32 13>
+
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i8_stride7_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm3
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pxor %xmm1, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3],xmm4[4],xmm1[4],xmm4[5],xmm1[5],xmm4[6],xmm1[6],xmm4[7],xmm1[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[1,0],xmm3[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm5 = xmm5[2,0],xmm3[2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: pand %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: pand %xmm8, %xmm9
+; SSE-NEXT: pandn %xmm3, %xmm8
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm11
+; SSE-NEXT: pand %xmm10, %xmm11
+; SSE-NEXT: pandn %xmm3, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm3[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm0[0,2,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm14
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm1[8],xmm3[9],xmm1[9],xmm3[10],xmm1[10],xmm3[11],xmm1[11],xmm3[12],xmm1[12],xmm3[13],xmm1[13],xmm3[14],xmm1[14],xmm3[15],xmm1[15]
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [0,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3],xmm5[4],xmm1[4],xmm5[5],xmm1[5],xmm5[6],xmm1[6],xmm5[7],xmm1[7]
+; SSE-NEXT: pand %xmm4, %xmm5
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: por %xmm7, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1],xmm6[2],xmm1[2],xmm6[3],xmm1[3],xmm6[4],xmm1[4],xmm6[5],xmm1[5],xmm6[6],xmm1[6],xmm6[7],xmm1[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm6[0,2,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[1,1,0,3,4,5,6,7]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm6, %xmm5
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: por %xmm5, %xmm6
+; SSE-NEXT: por %xmm9, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm1[8],xmm3[9],xmm1[9],xmm3[10],xmm1[10],xmm3[11],xmm1[11],xmm3[12],xmm1[12],xmm3[13],xmm1[13],xmm3[14],xmm1[14],xmm3[15],xmm1[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3],xmm8[4],xmm1[4],xmm8[5],xmm1[5],xmm8[6],xmm1[6],xmm8[7],xmm1[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm3[0],xmm8[1],xmm3[1],xmm8[2],xmm3[2],xmm8[3],xmm3[3]
+; SSE-NEXT: por %xmm11, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm1[8],xmm3[9],xmm1[9],xmm3[10],xmm1[10],xmm3[11],xmm1[11],xmm3[12],xmm1[12],xmm3[13],xmm1[13],xmm3[14],xmm1[14],xmm3[15],xmm1[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm1[0],xmm10[1],xmm1[1],xmm10[2],xmm1[2],xmm10[3],xmm1[3],xmm10[4],xmm1[4],xmm10[5],xmm1[5],xmm10[6],xmm1[6],xmm10[7],xmm1[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm10[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[1,0,3,2,4,5,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm8[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,0,2,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm1[8],xmm7[9],xmm1[9],xmm7[10],xmm1[10],xmm7[11],xmm1[11],xmm7[12],xmm1[12],xmm7[13],xmm1[13],xmm7[14],xmm1[14],xmm7[15],xmm1[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3],xmm12[4],xmm1[4],xmm12[5],xmm1[5],xmm12[6],xmm1[6],xmm12[7],xmm1[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3],xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm14 = xmm14[8],xmm1[8],xmm14[9],xmm1[9],xmm14[10],xmm1[10],xmm14[11],xmm1[11],xmm14[12],xmm1[12],xmm14[13],xmm1[13],xmm14[14],xmm1[14],xmm14[15],xmm1[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm14[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movd %xmm2, (%rsi)
+; SSE-NEXT: movd %xmm3, (%rdx)
+; SSE-NEXT: movd %xmm6, (%rcx)
+; SSE-NEXT: movd %xmm4, (%r8)
+; SSE-NEXT: movd %xmm5, (%r9)
+; SSE-NEXT: movd %xmm8, (%rdi)
+; SSE-NEXT: movd %xmm0, (%rax)
+; SSE-NEXT: retq
+;
+; AVX-LABEL: load_i8_stride7_vf4:
+; AVX: # %bb.0:
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX-NEXT: vmovdqa (%rdi), %xmm0
+; AVX-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm1[5,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[0,7,14],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm1[6,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[1,8,15],zero,xmm0[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX-NEXT: vmovdqa {{.*#+}} xmm4 = <2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX-NEXT: vpshufb %xmm4, %xmm0, %xmm5
+; AVX-NEXT: vpshufb {{.*#+}} xmm6 = xmm1[0,7,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX-NEXT: vmovdqa {{.*#+}} xmm6 = <3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX-NEXT: vpshufb %xmm6, %xmm0, %xmm7
+; AVX-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[1,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX-NEXT: vpshufb %xmm4, %xmm1, %xmm4
+; AVX-NEXT: vmovdqa {{.*#+}} xmm8 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX-NEXT: vpshufb %xmm8, %xmm0, %xmm9
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm9[0],xmm4[0],xmm9[1],xmm4[1],xmm9[2],xmm4[2],xmm9[3],xmm4[3]
+; AVX-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX-NEXT: vpshufb {{.*#+}} xmm9 = xmm0[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX-NEXT: vmovd %xmm2, (%rsi)
+; AVX-NEXT: vmovd %xmm3, (%rdx)
+; AVX-NEXT: vmovd %xmm5, (%rcx)
+; AVX-NEXT: vmovd %xmm7, (%r8)
+; AVX-NEXT: vmovd %xmm4, (%r9)
+; AVX-NEXT: vmovd %xmm6, (%r10)
+; AVX-NEXT: vmovd %xmm0, (%rax)
+; AVX-NEXT: retq
+ %wide.vec = load <28 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 0, i32 7, i32 14, i32 21>
+ %strided.vec1 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 1, i32 8, i32 15, i32 22>
+ %strided.vec2 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 2, i32 9, i32 16, i32 23>
+ %strided.vec3 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 3, i32 10, i32 17, i32 24>
+ %strided.vec4 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 4, i32 11, i32 18, i32 25>
+ %strided.vec5 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 5, i32 12, i32 19, i32 26>
+ %strided.vec6 = shufflevector <28 x i8> %wide.vec, <28 x i8> poison, <4 x i32> <i32 6, i32 13, i32 20, i32 27>
+
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i8_stride7_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: movdqa (%rdi), %xmm1
+; SSE-NEXT: movdqa 16(%rdi), %xmm2
+; SSE-NEXT: movdqa 32(%rdi), %xmm5
+; SSE-NEXT: movdqa 48(%rdi), %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,0,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pxor %xmm13, %xmm13
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm13[8],xmm6[9],xmm13[9],xmm6[10],xmm13[10],xmm6[11],xmm13[11],xmm6[12],xmm13[12],xmm6[13],xmm13[13],xmm6[14],xmm13[14],xmm6[15],xmm13[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,65535,0,65535,0,65535]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm13[0],xmm4[1],xmm13[1],xmm4[2],xmm13[2],xmm4[3],xmm13[3],xmm4[4],xmm13[4],xmm4[5],xmm13[5],xmm4[6],xmm13[6],xmm4[7],xmm13[7]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: por %xmm4, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm4[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [255,255,255,255,255,0,0,0,255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [0,65535,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pand %xmm8, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm8
+; SSE-NEXT: por %xmm6, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1],xmm8[2],xmm13[2],xmm8[3],xmm13[3],xmm8[4],xmm13[4],xmm8[5],xmm13[5],xmm8[6],xmm13[6],xmm8[7],xmm13[7]
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: movss {{.*#+}} xmm9 = xmm0[0],xmm9[1,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: pand %xmm6, %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,0,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm0, %xmm12
+; SSE-NEXT: movaps %xmm0, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[1,0],xmm5[0,0]
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[2,0],xmm5[2,3]
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm5, %xmm6
+; SSE-NEXT: movdqa %xmm5, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm13[8],xmm15[9],xmm13[9],xmm15[10],xmm13[10],xmm15[11],xmm13[11],xmm15[12],xmm13[12],xmm15[13],xmm13[13],xmm15[14],xmm13[14],xmm15[15],xmm13[15]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm8[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm5[0,1,2,3,4,4,5,6]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm11, %xmm5
+; SSE-NEXT: pandn %xmm8, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm8
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1],xmm8[2],xmm13[2],xmm8[3],xmm13[3],xmm8[4],xmm13[4],xmm8[5],xmm13[5],xmm8[6],xmm13[6],xmm8[7],xmm13[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pandn %xmm8, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm13[0],xmm9[1],xmm13[1],xmm9[2],xmm13[2],xmm9[3],xmm13[3],xmm9[4],xmm13[4],xmm9[5],xmm13[5],xmm9[6],xmm13[6],xmm9[7],xmm13[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm8
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: pandn %xmm15, %xmm2
+; SSE-NEXT: por %xmm8, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: por %xmm1, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1],xmm10[2],xmm13[2],xmm10[3],xmm13[3],xmm10[4],xmm13[4],xmm10[5],xmm13[5],xmm10[6],xmm13[6],xmm10[7],xmm13[7]
+; SSE-NEXT: pand %xmm0, %xmm10
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: por %xmm10, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: pand %xmm1, %xmm9
+; SSE-NEXT: pandn %xmm15, %xmm1
+; SSE-NEXT: por %xmm9, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3],xmm1[4],xmm13[4],xmm1[5],xmm13[5],xmm1[6],xmm13[6],xmm1[7],xmm13[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm13[8],xmm0[9],xmm13[9],xmm0[10],xmm13[10],xmm0[11],xmm13[11],xmm0[12],xmm13[12],xmm0[13],xmm13[13],xmm0[14],xmm13[14],xmm0[15],xmm13[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,0,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3],xmm12[4],xmm13[4],xmm12[5],xmm13[5],xmm12[6],xmm13[6],xmm12[7],xmm13[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm12[0,1,2,3,7,5,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm12 = xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm12[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm11
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm13[8],xmm2[9],xmm13[9],xmm2[10],xmm13[10],xmm2[11],xmm13[11],xmm2[12],xmm13[12],xmm2[13],xmm13[13],xmm2[14],xmm13[14],xmm2[15],xmm13[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3],xmm0[4],xmm13[4],xmm0[5],xmm13[5],xmm0[6],xmm13[6],xmm0[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,4,6,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm15, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm13[8],xmm1[9],xmm13[9],xmm1[10],xmm13[10],xmm1[11],xmm13[11],xmm1[12],xmm13[12],xmm1[13],xmm13[13],xmm1[14],xmm13[14],xmm1[15],xmm13[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm13[0],xmm2[1],xmm13[1],xmm2[2],xmm13[2],xmm2[3],xmm13[3],xmm2[4],xmm13[4],xmm2[5],xmm13[5],xmm2[6],xmm13[6],xmm2[7],xmm13[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [0,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3],xmm14[4],xmm13[4],xmm14[5],xmm13[5],xmm14[6],xmm13[6],xmm14[7],xmm13[7]
+; SSE-NEXT: pand %xmm1, %xmm14
+; SSE-NEXT: pandn %xmm15, %xmm1
+; SSE-NEXT: por %xmm14, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,4,7,6]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm10, %xmm7
+; SSE-NEXT: por %xmm4, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm13[0],xmm2[1],xmm13[1],xmm2[2],xmm13[2],xmm2[3],xmm13[3],xmm2[4],xmm13[4],xmm2[5],xmm13[5],xmm2[6],xmm13[6],xmm2[7],xmm13[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm13[8],xmm7[9],xmm13[9],xmm7[10],xmm13[10],xmm7[11],xmm13[11],xmm7[12],xmm13[12],xmm7[13],xmm13[13],xmm7[14],xmm13[14],xmm7[15],xmm13[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm7[4],xmm2[5],xmm7[5],xmm2[6],xmm7[6],xmm2[7],xmm7[7]
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm13[0],xmm6[1],xmm13[1],xmm6[2],xmm13[2],xmm6[3],xmm13[3],xmm6[4],xmm13[4],xmm6[5],xmm13[5],xmm6[6],xmm13[6],xmm6[7],xmm13[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm15, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,5]
+; SSE-NEXT: packuswb %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,3,2,3]
+; SSE-NEXT: movq %xmm5, (%rsi)
+; SSE-NEXT: movq %xmm8, (%rdx)
+; SSE-NEXT: movq %xmm9, (%rcx)
+; SSE-NEXT: movq %xmm11, (%r8)
+; SSE-NEXT: movq %xmm0, (%r9)
+; SSE-NEXT: movq %xmm1, (%rdi)
+; SSE-NEXT: movq %xmm2, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride7_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm1[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[0,7,14],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm5 = xmm2[3,4,5,6,7,8,9,10,11,12,13,14,15],xmm3[0,1,2]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,0,7,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovddup {{.*#+}} xmm7 = [1099511627775,1099511627775]
+; AVX1-ONLY-NEXT: # xmm7 = mem[0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm1[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[1,8,15],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm8 = xmm2[4,5,6,7,8,9,10,11,12,13,14,15],xmm3[0,1,2,3]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm1[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm9 = xmm2[5,6,7,8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,xmm1[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm10 = xmm2[6,7,8,9,10,11,12,13,14,15],xmm3[0,1,2,3,4,5]
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm9, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[u,u,u,u],zero,zero,zero,xmm3[5,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm2[u,u,u,u,0,7,14],zero,xmm2[u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm10[0,1],xmm7[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[u,u,u,u],zero,zero,zero,xmm3[6,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm2[u,u,u,u,1,8,15],zero,xmm2[u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm1[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,0,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,2,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm8, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm10, (%r10)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride7_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,u,u,u,u,255,255,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,xmm2[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0],ymm1[1,2],ymm0[3,4],ymm1[5],ymm0[6,7,8],ymm1[9,10],ymm0[11,12],ymm1[13],ymm0[14,15]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[1,8,15],zero,zero,xmm3[4,11],zero,xmm3[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,u,u,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm0, %ymm1, %ymm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,9],zero,zero,zero,xmm4[5,12],zero,xmm4[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0],ymm1[1],ymm0[2],ymm1[3],ymm0[4],ymm1[5],ymm0[6,7]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[3,10],zero,zero,zero,xmm5[6,13],zero,xmm5[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm6
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[4,11],zero,zero,xmm6[0,7,14],zero,xmm6[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} ymm7 = ymm1[0],ymm0[1,2],ymm1[3,4],ymm0[5,6],ymm1[7,8],ymm0[9,10],ymm1[11,12],ymm0[13,14],ymm1[15]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[5,12],zero,zero,xmm7[1,8,15],zero,xmm7[u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,11,0,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,2,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-ONLY-NEXT: vmovq %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm3, (%rdx)
+; AVX2-ONLY-NEXT: vmovq %xmm4, (%rcx)
+; AVX2-ONLY-NEXT: vmovq %xmm5, (%r8)
+; AVX2-ONLY-NEXT: vmovq %xmm6, (%r9)
+; AVX2-ONLY-NEXT: vmovq %xmm7, (%r10)
+; AVX2-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride7_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512F-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm2 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm0, %ymm2
+; AVX512F-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,xmm2[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0],ymm1[1,2],ymm0[3,4],ymm1[5],ymm0[6,7,8],ymm1[9,10],ymm0[11,12],ymm1[13],ymm0[14,15]
+; AVX512F-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[1,8,15],zero,zero,xmm3[4,11],zero,xmm3[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm4 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,65535,65535,65535]
+; AVX512F-NEXT: vpternlogq $202, %ymm1, %ymm0, %ymm4
+; AVX512F-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,9],zero,zero,zero,xmm4[5,12],zero,xmm4[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512F-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0],ymm1[1],ymm0[2],ymm1[3],ymm0[4],ymm1[5],ymm0[6,7]
+; AVX512F-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[3,10],zero,zero,zero,xmm5[6,13],zero,xmm5[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512F-NEXT: vmovdqa {{.*#+}} ymm6 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512F-NEXT: vpternlogq $202, %ymm0, %ymm1, %ymm6
+; AVX512F-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[4,11],zero,zero,xmm6[0,7,14],zero,xmm6[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX512F-NEXT: vpblendw {{.*#+}} ymm7 = ymm1[0],ymm0[1,2],ymm1[3,4],ymm0[5,6],ymm1[7,8],ymm0[9,10],ymm1[11,12],ymm0[13,14],ymm1[15]
+; AVX512F-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[5,12],zero,zero,xmm7[1,8,15],zero,xmm7[u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512F-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm1, %ymm0
+; AVX512F-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,11,0,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,2,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-NEXT: vmovq %xmm2, (%rsi)
+; AVX512F-NEXT: vmovq %xmm3, (%rdx)
+; AVX512F-NEXT: vmovq %xmm4, (%rcx)
+; AVX512F-NEXT: vmovq %xmm5, (%r8)
+; AVX512F-NEXT: vmovq %xmm6, (%r9)
+; AVX512F-NEXT: vmovq %xmm7, (%r10)
+; AVX512F-NEXT: vmovq %xmm0, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride7_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: vmovdqa (%rdi), %ymm1
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %ymm0
+; AVX512BW-NEXT: movw $290, %di # imm = 0x122
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm2 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,xmm2[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm3 = ymm1[0],ymm0[1,2],ymm1[3,4],ymm0[5],ymm1[6,7,8],ymm0[9,10],ymm1[11,12],ymm0[13],ymm1[14,15]
+; AVX512BW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[1,8,15],zero,zero,xmm3[4,11],zero,xmm3[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX512BW-NEXT: movw $580, %di # imm = 0x244
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vpblendmw %ymm0, %ymm1, %ymm4 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[2,9],zero,zero,zero,xmm4[5,12],zero,xmm4[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512BW-NEXT: vpblendd {{.*#+}} ymm5 = ymm1[0],ymm0[1],ymm1[2],ymm0[3],ymm1[4],ymm0[5],ymm1[6,7]
+; AVX512BW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[3,10],zero,zero,zero,xmm5[6,13],zero,xmm5[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512BW-NEXT: movw $4644, %di # imm = 0x1224
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vpblendmw %ymm1, %ymm0, %ymm6 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[4,11],zero,zero,xmm6[0,7,14],zero,xmm6[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX512BW-NEXT: vpblendw {{.*#+}} ymm7 = ymm0[0],ymm1[1,2],ymm0[3,4],ymm1[5,6],ymm0[7,8],ymm1[9,10],ymm0[11,12],ymm1[13,14],ymm0[15]
+; AVX512BW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[5,12],zero,zero,xmm7[1,8,15],zero,xmm7[u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512BW-NEXT: movw $9288, %di # imm = 0x2448
+; AVX512BW-NEXT: kmovd %edi, %k1
+; AVX512BW-NEXT: vmovdqu16 %ymm1, %ymm0 {%k1}
+; AVX512BW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[4,11,0,7,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[6,13,2,9,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512BW-NEXT: vmovq %xmm2, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm3, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm4, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm5, (%r8)
+; AVX512BW-NEXT: vmovq %xmm6, (%r9)
+; AVX512BW-NEXT: vmovq %xmm7, (%r10)
+; AVX512BW-NEXT: vmovq %xmm0, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <56 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49>
+ %strided.vec1 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50>
+ %strided.vec2 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51>
+ %strided.vec3 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52>
+ %strided.vec4 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53>
+ %strided.vec5 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54>
+ %strided.vec6 = shufflevector <56 x i8> %wide.vec, <56 x i8> poison, <8 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55>
+
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i8_stride7_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $184, %rsp
+; SSE-NEXT: movdqa 96(%rdi), %xmm14
+; SSE-NEXT: movdqa 80(%rdi), %xmm6
+; SSE-NEXT: movdqa 64(%rdi), %xmm7
+; SSE-NEXT: movdqa (%rdi), %xmm5
+; SSE-NEXT: movdqa 16(%rdi), %xmm4
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa 48(%rdi), %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm11
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3],xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,0,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm12
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm13
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [65535,65535,65535,65535,0,65535,0,65535]
+; SSE-NEXT: movdqa %xmm15, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pand %xmm15, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: pandn %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm4[8],xmm3[9],xmm4[9],xmm3[10],xmm4[10],xmm3[11],xmm4[11],xmm3[12],xmm4[12],xmm3[13],xmm4[13],xmm3[14],xmm4[14],xmm3[15],xmm4[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm4[8],xmm5[9],xmm4[9],xmm5[10],xmm4[10],xmm5[11],xmm4[11],xmm5[12],xmm4[12],xmm5[13],xmm4[13],xmm5[14],xmm4[14],xmm5[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm4[0],xmm14[1],xmm4[1],xmm14[2],xmm4[2],xmm14[3],xmm4[3],xmm14[4],xmm4[4],xmm14[5],xmm4[5],xmm14[6],xmm4[6],xmm14[7],xmm4[7]
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pand %xmm8, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm2[8],xmm3[9],xmm2[9],xmm3[10],xmm2[10],xmm3[11],xmm2[11],xmm3[12],xmm2[12],xmm3[13],xmm2[13],xmm3[14],xmm2[14],xmm3[15],xmm2[15]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm5, %xmm8
+; SSE-NEXT: por %xmm0, %xmm8
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3],xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: pand %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm15
+; SSE-NEXT: por %xmm1, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm5
+; SSE-NEXT: pand %xmm1, %xmm5
+; SSE-NEXT: pand %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm10[0,2,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: pand %xmm1, %xmm10
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: por %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm10
+; SSE-NEXT: pslld $16, %xmm10
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm1, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3],xmm9[4],xmm1[4],xmm9[5],xmm1[5],xmm9[6],xmm1[6],xmm9[7],xmm1[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm9[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm2[0,1,2,3,6,4,6,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,65535,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm13, %xmm9
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, (%rsp) # 16-byte Spill
+; SSE-NEXT: pandn %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm1[0],xmm11[1],xmm1[1],xmm11[2],xmm1[2],xmm11[3],xmm1[3],xmm11[4],xmm1[4],xmm11[5],xmm1[5],xmm11[6],xmm1[6],xmm11[7],xmm1[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm1, %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm14 = xmm14[0],xmm10[0],xmm14[1],xmm10[1],xmm14[2],xmm10[2],xmm14[3],xmm10[3]
+; SSE-NEXT: packuswb %xmm14, %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: pand %xmm12, %xmm10
+; SSE-NEXT: por %xmm10, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm8
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm8, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3],xmm1[4],xmm8[4],xmm1[5],xmm8[5],xmm1[6],xmm8[6],xmm1[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: packuswb %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pandn %xmm12, %xmm6
+; SSE-NEXT: por %xmm6, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm8[0],xmm5[1],xmm8[1],xmm5[2],xmm8[2],xmm5[3],xmm8[3],xmm5[4],xmm8[4],xmm5[5],xmm8[5],xmm5[6],xmm8[6],xmm5[7],xmm8[7]
+; SSE-NEXT: pand %xmm10, %xmm5
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[1,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm8[8],xmm1[9],xmm8[9],xmm1[10],xmm8[10],xmm1[11],xmm8[11],xmm1[12],xmm8[12],xmm1[13],xmm8[13],xmm1[14],xmm8[14],xmm1[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3],xmm7[4],xmm8[4],xmm7[5],xmm8[5],xmm7[6],xmm8[6],xmm7[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: pand %xmm2, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por %xmm7, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn %xmm15, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm0[4],xmm4[5],xmm0[5],xmm4[6],xmm0[6],xmm4[7],xmm0[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm4[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,0,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm8[8],xmm3[9],xmm8[9],xmm3[10],xmm8[10],xmm3[11],xmm8[11],xmm3[12],xmm8[12],xmm3[13],xmm8[13],xmm3[14],xmm8[14],xmm3[15],xmm8[15]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm8[0],xmm6[1],xmm8[1],xmm6[2],xmm8[2],xmm6[3],xmm8[3],xmm6[4],xmm8[4],xmm6[5],xmm8[5],xmm6[6],xmm8[6],xmm6[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm15[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,0,0,0]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm4, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm8[8],xmm0[9],xmm8[9],xmm0[10],xmm8[10],xmm0[11],xmm8[11],xmm0[12],xmm8[12],xmm0[13],xmm8[13],xmm0[14],xmm8[14],xmm0[15],xmm8[15]
+; SSE-NEXT: movdqa (%rsp), %xmm6 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm6
+; SSE-NEXT: por %xmm6, %xmm9
+; SSE-NEXT: packuswb %xmm0, %xmm9
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm9[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm4 = xmm2[0],xmm4[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm7, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm8[0],xmm0[1],xmm8[1],xmm0[2],xmm8[2],xmm0[3],xmm8[3],xmm0[4],xmm8[4],xmm0[5],xmm8[5],xmm0[6],xmm8[6],xmm0[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm8[8],xmm2[9],xmm8[9],xmm2[10],xmm8[10],xmm2[11],xmm8[11],xmm2[12],xmm8[12],xmm2[13],xmm8[13],xmm2[14],xmm8[14],xmm2[15],xmm8[15]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm5
+; SSE-NEXT: por %xmm0, %xmm5
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm5, %xmm0
+; SSE-NEXT: andps %xmm14, %xmm4
+; SSE-NEXT: por %xmm4, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [0,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: por %xmm2, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm5[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm2[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm4, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm10[0,2,2,3]
+; SSE-NEXT: pand %xmm11, %xmm10
+; SSE-NEXT: pandn %xmm12, %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[1,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1]
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm8[8],xmm4[9],xmm8[9],xmm4[10],xmm8[10],xmm4[11],xmm8[11],xmm4[12],xmm8[12],xmm4[13],xmm8[13],xmm4[14],xmm8[14],xmm4[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movss {{.*#+}} xmm5 = xmm2[0],xmm5[1,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: movdqa %xmm6, %xmm12
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm6
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm8[0],xmm2[1],xmm8[1],xmm2[2],xmm8[2],xmm2[3],xmm8[3],xmm2[4],xmm8[4],xmm2[5],xmm8[5],xmm2[6],xmm8[6],xmm2[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm8[8],xmm6[9],xmm8[9],xmm6[10],xmm8[10],xmm6[11],xmm8[11],xmm6[12],xmm8[12],xmm6[13],xmm8[13],xmm6[14],xmm8[14],xmm6[15],xmm8[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,0,65535,0,65535,65535,65535]
+; SSE-NEXT: pand %xmm4, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm7, %xmm2
+; SSE-NEXT: andps %xmm14, %xmm5
+; SSE-NEXT: por %xmm5, %xmm2
+; SSE-NEXT: por %xmm10, %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm11 = xmm11[8],xmm8[8],xmm11[9],xmm8[9],xmm11[10],xmm8[10],xmm11[11],xmm8[11],xmm11[12],xmm8[12],xmm11[13],xmm8[13],xmm11[14],xmm8[14],xmm11[15],xmm8[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm11[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm8[8],xmm5[9],xmm8[9],xmm5[10],xmm8[10],xmm5[11],xmm8[11],xmm5[12],xmm8[12],xmm5[13],xmm8[13],xmm5[14],xmm8[14],xmm5[15],xmm8[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm5, %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: por %xmm9, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[3,3,3,3]
+; SSE-NEXT: packuswb %xmm7, %xmm5
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movss {{.*#+}} xmm5 = xmm4[0],xmm5[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm12[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm7 = xmm7[0],xmm4[0],xmm7[1],xmm4[1]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3],xmm4[4],xmm8[4],xmm4[5],xmm8[5],xmm4[6],xmm8[6],xmm4[7],xmm8[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm8[8],xmm7[9],xmm8[9],xmm7[10],xmm8[10],xmm7[11],xmm8[11],xmm7[12],xmm8[12],xmm7[13],xmm8[13],xmm7[14],xmm8[14],xmm7[15],xmm8[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,0,65535,0,65535,65535]
+; SSE-NEXT: pand %xmm8, %xmm7
+; SSE-NEXT: pandn %xmm4, %xmm8
+; SSE-NEXT: por %xmm7, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm9[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pandn %xmm7, %xmm6
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: andps %xmm14, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm14
+; SSE-NEXT: por %xmm5, %xmm14
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movdqa %xmm1, (%rcx)
+; SSE-NEXT: movdqa %xmm3, (%r8)
+; SSE-NEXT: movdqa %xmm0, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm2, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm14, (%rax)
+; SSE-NEXT: addq $184, %rsp
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride7_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,zero,xmm6[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm3[u,u,u,u,u,3,10],zero,zero,zero,xmm3[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm4[u,u,u,u,u],zero,zero,xmm4[1,8,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm5, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm6[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm2[1,8,15],zero,zero,xmm2[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm4[u,u,u,u,u],zero,zero,xmm4[2,9,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[u,u,u,u,u,4,11],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <255,255,255,255,255,0,0,0,0,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm8, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm1[u,u,u,u,5,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[u,u,u,u,u,0,7,14,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1]
+; AVX1-ONLY-NEXT: vpxor %xmm12, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[3,10]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm9, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm8, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,xmm6[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm13, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm4[u,u,u,u,u],zero,zero,xmm4[3,10,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,u,u,5,12],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm10, %xmm13, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm1[u,u,u,u,u,u,u,u,u,u,u,u,6,13,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm13 = xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[4,11]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm10, %xmm13, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm6[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[u,u,u,u,u],zero,zero,xmm4[4,11,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm3[u,u,u,u,u,6,13],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm13, %xmm14, %xmm11
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm5[u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm1[u,u,u,u,u,u,u,u,u],zero,zero,xmm1[0,7,14,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[5,12]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm2, %xmm14
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm6[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm4[u,u,u,u],zero,zero,zero,xmm4[5,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm3[u,u,u,u,0,7,14],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm14[0,1],xmm0[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm5[u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm5[u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm1[u,u,u,u,u,u,u,u,u],zero,zero,xmm1[1,8,15,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm14[0,1,2,3,4,5,6],xmm12[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[6,13]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm0, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm6[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm2[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[u,u,u,u],zero,zero,zero,xmm4[6,13,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm3[u,u,u,u,1,8,15],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm14[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm1[u,u,u,u,u,u,u,u,u],zero,zero,xmm1[2,9,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm5[u,u,u,u,u,u,u,u,u,4,11],zero,zero,xmm5[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,u,9,10,11,12,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[0,7,14]
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm14, %xmm8
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm0, %xmm8, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,2,9],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u],zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm3[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,u,u,u,u],zero,zero,xmm1[3,10,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[u,u,u,u,u,u,u,u,u,5,12],zero,zero,xmm5[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[1,8,15]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpblendvb %xmm9, %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,4,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm1 = xmm1[10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,u,0,1,2,3,8,15]
+; AVX1-ONLY-NEXT: vpblendw $31, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3,4],xmm1[5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride7_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %ymm0
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-ONLY-NEXT: vpblendvb %ymm2, %ymm0, %ymm1, %ymm2
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,8,15,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm3
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm9
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm10
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0],xmm10[1],xmm9[2],xmm10[3]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,6,13],zero,zero,xmm2[2,9]
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,u,u,u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4],xmm4[5,6,7]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm4 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm4, %ymm0, %ymm1, %ymm4
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[1,8,15],zero,zero,xmm4[4,11],zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm5, %xmm4, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm5[0],xmm4[1],xmm5[2,3,4],xmm4[5],xmm5[6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u,0,7,14],zero,zero,xmm7[3,10]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[5,12],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm6, %xmm8, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm8, %ymm0, %ymm1, %ymm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm8[2,9],zero,zero,zero,xmm8[5,12],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[0,7,14],zero,zero,xmm8[3,10,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm11, %xmm8, %xmm8
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm5[0,1],xmm4[2],xmm5[3,4],xmm4[5],xmm5[6,7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,u,u,u,1,8,15],zero,zero,xmm11[4,11]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm2[6,13],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm8, %xmm11, %xmm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm0, %ymm1, %ymm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[3,10],zero,zero,zero,xmm11[6,13],zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[1,8,15],zero,zero,xmm11[4,11,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0],xmm9[1],xmm10[2],xmm9[3]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm10[5,12]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,xmm2[0,7,14],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm9, %xmm9
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm11, %xmm9, %xmm9
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,xmm12[2,9],zero,zero,zero,xmm12[5,12,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[4,11],zero,zero,xmm11[0,7,14],zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm10[6,13]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,xmm2[1,8,15],zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm10, %xmm10
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm11, %xmm10, %xmm10
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-ONLY-NEXT: vpblendvb %ymm11, %ymm1, %ymm0, %ymm11
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,xmm12[3,10],zero,zero,zero,xmm12[6,13,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[5,12],zero,zero,xmm11[1,8,15],zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm4[0],xmm5[1,2],xmm4[3],xmm5[4,5,6],xmm4[7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,u,u,u,u,u,4,11],zero,zero,xmm12[0,7,14]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,xmm2[2,9],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm11, %xmm12, %xmm11
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-ONLY-NEXT: vpblendvb %ymm12, %ymm1, %ymm0, %ymm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u,u,u,u]
+; AVX2-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0],xmm5[1,2,3],xmm4[4],xmm5[5,6],xmm4[7]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,5,12],zero,zero,xmm1[1,8,15]
+; AVX2-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,u,u],zero,zero,xmm2[3,10],zero,zero,zero
+; AVX2-ONLY-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpblendvb %xmm7, %xmm0, %xmm1, %xmm0
+; AVX2-ONLY-NEXT: vmovdqa %xmm3, (%rsi)
+; AVX2-ONLY-NEXT: vmovdqa %xmm6, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm8, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm9, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, (%r9)
+; AVX2-ONLY-NEXT: vmovdqa %xmm11, (%r10)
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-ONLY-NEXT: vzeroupper
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride7_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,7,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm2, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $4, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm1, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $5, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm1, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $6, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm0, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $7, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm0, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $8, %r11d, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm0, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $9, %r11d, %xmm4, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm4, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $10, %r11d, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm4, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $11, %r11d, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm6, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $12, %r11d, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm6, %r11d
+; AVX512F-SLOW-NEXT: vpinsrb $13, %r11d, %xmm5, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[1,8,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm9
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm10
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vmovd %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm11
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm12
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm3, %r11d
+; AVX512F-SLOW-NEXT: vmovd %r11d, %xmm3
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm1, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride7_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,7,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm2, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $4, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm1, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $5, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm1, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $6, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm0, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $7, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm0, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $8, %r11d, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm0, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $9, %r11d, %xmm4, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm4, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $10, %r11d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm4, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $11, %r11d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm6, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $12, %r11d, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm6, %r11d
+; AVX512F-FAST-NEXT: vpinsrb $13, %r11d, %xmm5, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[1,8,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[2,9],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[3,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[4,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[5,12],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[6,13],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vmovd %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride7_vf16:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,7,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm2, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm1, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm1, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm0, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm0, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %r11d, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm0, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %r11d, %xmm4, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm4, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %r11d, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm4, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %r11d, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm6, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %r11d, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm6, %r11d
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %r11d, %xmm5, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[1,8,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm9
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm11
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm12
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vmovd %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm3, %r11d
+; AVX512BW-SLOW-NEXT: vmovd %r11d, %xmm3
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride7_vf16:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm2, %r11d
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm3[0,7,14],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm2, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $4, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm1, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $5, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm1, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $6, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm0, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $7, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm0, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $8, %r11d, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm0, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $9, %r11d, %xmm4, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm4, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $10, %r11d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm4, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $11, %r11d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm6, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $12, %r11d, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm6, %r11d
+; AVX512BW-FAST-NEXT: vpinsrb $13, %r11d, %xmm5, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[1,8,15],zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[2,9],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[3,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vmovd %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[4,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vmovd %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[5,12],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[6,13],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512BW-FAST-NEXT: vmovd %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm1, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm11, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm12, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <112 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105>
+ %strided.vec1 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106>
+ %strided.vec2 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107>
+ %strided.vec3 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108>
+ %strided.vec4 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109>
+ %strided.vec5 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110>
+ %strided.vec6 = shufflevector <112 x i8> %wide.vec, <112 x i8> poison, <16 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111>
+
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i8_stride7_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $632, %rsp # imm = 0x278
+; SSE-NEXT: movdqa 96(%rdi), %xmm9
+; SSE-NEXT: movdqa 80(%rdi), %xmm6
+; SSE-NEXT: movdqa 64(%rdi), %xmm13
+; SSE-NEXT: movdqa (%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 16(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm14, %xmm14
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm14[8],xmm0[9],xmm14[9],xmm0[10],xmm14[10],xmm0[11],xmm14[11],xmm0[12],xmm14[12],xmm0[13],xmm14[13],xmm0[14],xmm14[14],xmm0[15],xmm14[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm14[0],xmm1[1],xmm14[1],xmm1[2],xmm14[2],xmm1[3],xmm14[3],xmm1[4],xmm14[4],xmm1[5],xmm14[5],xmm1[6],xmm14[6],xmm1[7],xmm14[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255]
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [65535,65535,0,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm14[8],xmm1[9],xmm14[9],xmm1[10],xmm14[10],xmm1[11],xmm14[11],xmm1[12],xmm14[12],xmm1[13],xmm14[13],xmm1[14],xmm14[14],xmm1[15],xmm14[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,0,65535,0,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm14[0],xmm3[1],xmm14[1],xmm3[2],xmm14[2],xmm3[3],xmm14[3],xmm3[4],xmm14[4],xmm3[5],xmm14[5],xmm3[6],xmm14[6],xmm3[7],xmm14[7]
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm13, %xmm2
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm10
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm14[0],xmm2[1],xmm14[1],xmm2[2],xmm14[2],xmm2[3],xmm14[3],xmm2[4],xmm14[4],xmm2[5],xmm14[5],xmm2[6],xmm14[6],xmm2[7],xmm14[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm14[8],xmm3[9],xmm14[9],xmm3[10],xmm14[10],xmm3[11],xmm14[11],xmm3[12],xmm14[12],xmm3[13],xmm14[13],xmm3[14],xmm14[14],xmm3[15],xmm14[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm14[8],xmm4[9],xmm14[9],xmm4[10],xmm14[10],xmm4[11],xmm14[11],xmm4[12],xmm14[12],xmm4[13],xmm14[13],xmm4[14],xmm14[14],xmm4[15],xmm14[15]
+; SSE-NEXT: movdqa %xmm4, (%rsp) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm14[0],xmm3[1],xmm14[1],xmm3[2],xmm14[2],xmm3[3],xmm14[3],xmm3[4],xmm14[4],xmm3[5],xmm14[5],xmm3[6],xmm14[6],xmm3[7],xmm14[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa 160(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm14[8],xmm1[9],xmm14[9],xmm1[10],xmm14[10],xmm1[11],xmm14[11],xmm1[12],xmm14[12],xmm1[13],xmm14[13],xmm1[14],xmm14[14],xmm1[15],xmm14[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm14[0],xmm2[1],xmm14[1],xmm2[2],xmm14[2],xmm2[3],xmm14[3],xmm2[4],xmm14[4],xmm2[5],xmm14[5],xmm2[6],xmm14[6],xmm2[7],xmm14[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa 128(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa 112(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm14[8],xmm1[9],xmm14[9],xmm1[10],xmm14[10],xmm1[11],xmm14[11],xmm1[12],xmm14[12],xmm1[13],xmm14[13],xmm1[14],xmm14[14],xmm1[15],xmm14[15]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm14[0],xmm3[1],xmm14[1],xmm3[2],xmm14[2],xmm3[3],xmm14[3],xmm3[4],xmm14[4],xmm3[5],xmm14[5],xmm3[6],xmm14[6],xmm3[7],xmm14[7]
+; SSE-NEXT: pand %xmm7, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa 176(%rdi), %xmm14
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 192(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pxor %xmm7, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3],xmm0[4],xmm7[4],xmm0[5],xmm7[5],xmm0[6],xmm7[6],xmm0[7],xmm7[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm7[8],xmm2[9],xmm7[9],xmm2[10],xmm7[10],xmm2[11],xmm7[11],xmm2[12],xmm7[12],xmm2[13],xmm7[13],xmm2[14],xmm7[14],xmm2[15],xmm7[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa 208(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm7[8],xmm3[9],xmm7[9],xmm3[10],xmm7[10],xmm3[11],xmm7[11],xmm3[12],xmm7[12],xmm3[13],xmm7[13],xmm3[14],xmm7[14],xmm3[15],xmm7[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm7[0],xmm2[1],xmm7[1],xmm2[2],xmm7[2],xmm2[3],xmm7[3],xmm2[4],xmm7[4],xmm2[5],xmm7[5],xmm2[6],xmm7[6],xmm2[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm7[8],xmm2[9],xmm7[9],xmm2[10],xmm7[10],xmm2[11],xmm7[11],xmm2[12],xmm7[12],xmm2[13],xmm7[13],xmm2[14],xmm7[14],xmm2[15],xmm7[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1],xmm1[2],xmm7[2],xmm1[3],xmm7[3],xmm1[4],xmm7[4],xmm1[5],xmm7[5],xmm1[6],xmm7[6],xmm1[7],xmm7[7]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1],xmm1[2],xmm7[2],xmm1[3],xmm7[3],xmm1[4],xmm7[4],xmm1[5],xmm7[5],xmm1[6],xmm7[6],xmm1[7],xmm7[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm7[8],xmm3[9],xmm7[9],xmm3[10],xmm7[10],xmm3[11],xmm7[11],xmm3[12],xmm7[12],xmm3[13],xmm7[13],xmm3[14],xmm7[14],xmm3[15],xmm7[15]
+; SSE-NEXT: pand %xmm8, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn %xmm10, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm13
+; SSE-NEXT: por %xmm2, %xmm13
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm7[8],xmm2[9],xmm7[9],xmm2[10],xmm7[10],xmm2[11],xmm7[11],xmm2[12],xmm7[12],xmm2[13],xmm7[13],xmm2[14],xmm7[14],xmm2[15],xmm7[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,65535,65535,0,65535,0,65535]
+; SSE-NEXT: movdqa %xmm10, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm7[0],xmm13[1],xmm7[1],xmm13[2],xmm7[2],xmm13[3],xmm7[3],xmm13[4],xmm7[4],xmm13[5],xmm7[5],xmm13[6],xmm7[6],xmm13[7],xmm7[7]
+; SSE-NEXT: pand %xmm10, %xmm13
+; SSE-NEXT: por %xmm4, %xmm13
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: pslld $16, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: pandn %xmm4, %xmm3
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pxor %xmm3, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm3[8],xmm1[9],xmm3[9],xmm1[10],xmm3[10],xmm1[11],xmm3[11],xmm1[12],xmm3[12],xmm1[13],xmm3[13],xmm1[14],xmm3[14],xmm1[15],xmm3[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: pand %xmm8, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm14
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm2[8],xmm0[9],xmm2[9],xmm0[10],xmm2[10],xmm0[11],xmm2[11],xmm0[12],xmm2[12],xmm0[13],xmm2[13],xmm0[14],xmm2[14],xmm0[15],xmm2[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm14 = xmm14[0],xmm2[0],xmm14[1],xmm2[1],xmm14[2],xmm2[2],xmm14[3],xmm2[3],xmm14[4],xmm2[4],xmm14[5],xmm2[5],xmm14[6],xmm2[6],xmm14[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm14
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm14, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pandn %xmm5, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm10
+; SSE-NEXT: pand %xmm15, %xmm10
+; SSE-NEXT: por %xmm0, %xmm10
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm15, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm13, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm5[0,2,2,3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm1, %xmm12
+; SSE-NEXT: por %xmm0, %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm14, %xmm5
+; SSE-NEXT: pslld $16, %xmm5
+; SSE-NEXT: psrldq {{.*#+}} xmm3 = xmm3[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm8
+; SSE-NEXT: psrldq {{.*#+}} xmm8 = xmm8[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm14[0],xmm8[1],xmm14[1],xmm8[2],xmm14[2],xmm8[3],xmm14[3]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm7 = xmm7[4],xmm0[4],xmm7[5],xmm0[5],xmm7[6],xmm0[6],xmm7[7],xmm0[7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: punpckhwd {{.*#+}} xmm7 = xmm7[4],xmm14[4],xmm7[5],xmm14[5],xmm7[6],xmm14[6],xmm7[7],xmm14[7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm7
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm14, %xmm14
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm14[0],xmm10[1],xmm14[1],xmm10[2],xmm14[2],xmm10[3],xmm14[3],xmm10[4],xmm14[4],xmm10[5],xmm14[5],xmm10[6],xmm14[6],xmm10[7],xmm14[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm10[0,1,2,3,6,4,6,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3],xmm15[4],xmm14[4],xmm15[5],xmm14[5],xmm15[6],xmm14[6],xmm15[7],xmm14[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm15[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm14 = xmm14[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm14 = xmm14[0,1,2,3,6,4,6,5]
+; SSE-NEXT: movdqa %xmm10, %xmm15
+; SSE-NEXT: pand %xmm10, %xmm14
+; SSE-NEXT: pandn %xmm0, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm10
+; SSE-NEXT: pand %xmm15, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm7, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm7[0],xmm15[1],xmm7[1],xmm15[2],xmm7[2],xmm15[3],xmm7[3],xmm15[4],xmm7[4],xmm15[5],xmm7[5],xmm15[6],xmm7[6],xmm15[7],xmm7[7]
+; SSE-NEXT: pand %xmm12, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1],xmm0[2],xmm7[2],xmm0[3],xmm7[3],xmm0[4],xmm7[4],xmm0[5],xmm7[5],xmm0[6],xmm7[6],xmm0[7],xmm7[7]
+; SSE-NEXT: pxor %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm13, %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm13 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; SSE-NEXT: packuswb %xmm13, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm10, %xmm15
+; SSE-NEXT: pandn %xmm2, %xmm15
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por %xmm2, %xmm15
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: pandn %xmm15, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm15
+; SSE-NEXT: por %xmm2, %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3],xmm2[4],xmm1[4],xmm2[5],xmm1[5],xmm2[6],xmm1[6],xmm2[7],xmm1[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm1[8],xmm15[9],xmm1[9],xmm15[10],xmm1[10],xmm15[11],xmm1[11],xmm15[12],xmm1[12],xmm15[13],xmm1[13],xmm15[14],xmm1[14],xmm15[15],xmm1[15]
+; SSE-NEXT: pand %xmm13, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: packuswb %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pxor %xmm15, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: pand %xmm13, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[1,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm12
+; SSE-NEXT: pandn %xmm1, %xmm12
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm15[0],xmm9[1],xmm15[1],xmm9[2],xmm15[2],xmm9[3],xmm15[3],xmm9[4],xmm15[4],xmm9[5],xmm15[5],xmm9[6],xmm15[6],xmm9[7],xmm15[7]
+; SSE-NEXT: pand %xmm2, %xmm9
+; SSE-NEXT: por %xmm12, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm9[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: packuswb %xmm1, %xmm12
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm12, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm9, %xmm12
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm3, %xmm7
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm13, %xmm9
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: packuswb %xmm8, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn %xmm13, %xmm0
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pand %xmm9, %xmm6
+; SSE-NEXT: movdqa %xmm9, %xmm8
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm2, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pandn %xmm10, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,0,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: pand %xmm7, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm3[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm2[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm15[0],xmm11[1],xmm15[1],xmm11[2],xmm15[2],xmm11[3],xmm15[3],xmm11[4],xmm15[4],xmm11[5],xmm15[5],xmm11[6],xmm15[6],xmm11[7],xmm15[7]
+; SSE-NEXT: pand %xmm8, %xmm11
+; SSE-NEXT: por %xmm2, %xmm11
+; SSE-NEXT: pshuflw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm8, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm11[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm8, %xmm11
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: pand %xmm1, %xmm3
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pandn %xmm5, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm1[4],xmm0[5],xmm1[5],xmm0[6],xmm1[6],xmm0[7],xmm1[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm7, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm15[8],xmm4[9],xmm15[9],xmm4[10],xmm15[10],xmm4[11],xmm15[11],xmm4[12],xmm15[12],xmm4[13],xmm15[13],xmm4[14],xmm15[14],xmm4[15],xmm15[15]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm4[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm1, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm15[0],xmm5[1],xmm15[1],xmm5[2],xmm15[2],xmm5[3],xmm15[3],xmm5[4],xmm15[4],xmm5[5],xmm15[5],xmm5[6],xmm15[6],xmm5[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: por %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm5[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pandn %xmm10, %xmm3
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: packuswb %xmm3, %xmm1
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm5 = xmm4[0],xmm5[1,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pand %xmm1, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm15[8],xmm4[9],xmm15[9],xmm4[10],xmm15[10],xmm4[11],xmm15[11],xmm4[12],xmm15[12],xmm4[13],xmm15[13],xmm4[14],xmm15[14],xmm4[15],xmm15[15]
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: pshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm11, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm11, %xmm3
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm6, %xmm3
+; SSE-NEXT: andps %xmm1, %xmm5
+; SSE-NEXT: por %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pand %xmm9, %xmm5
+; SSE-NEXT: por %xmm4, %xmm5
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm15[8],xmm4[9],xmm15[9],xmm4[10],xmm15[10],xmm4[11],xmm15[11],xmm4[12],xmm15[12],xmm4[13],xmm15[13],xmm4[14],xmm15[14],xmm4[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm15[0],xmm5[1],xmm15[1],xmm5[2],xmm15[2],xmm5[3],xmm15[3],xmm5[4],xmm15[4],xmm5[5],xmm15[5],xmm5[6],xmm15[6],xmm5[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: por %xmm2, %xmm14
+; SSE-NEXT: packuswb %xmm1, %xmm14
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm14[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm6 = xmm5[0],xmm6[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: pandn %xmm8, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm7
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm4[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm12[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pandn %xmm5, %xmm11
+; SSE-NEXT: por %xmm4, %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm0, %xmm4
+; SSE-NEXT: pandn %xmm11, %xmm4
+; SSE-NEXT: andps %xmm0, %xmm6
+; SSE-NEXT: por %xmm6, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm0, %xmm5
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm15[8],xmm6[9],xmm15[9],xmm6[10],xmm15[10],xmm6[11],xmm15[11],xmm6[12],xmm15[12],xmm6[13],xmm15[13],xmm6[14],xmm15[14],xmm6[15],xmm15[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [0,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm11, %xmm7
+; SSE-NEXT: pandn %xmm6, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm15[0],xmm5[1],xmm15[1],xmm5[2],xmm15[2],xmm5[3],xmm15[3],xmm5[4],xmm15[4],xmm5[5],xmm15[5],xmm5[6],xmm15[6],xmm5[7],xmm15[7]
+; SSE-NEXT: pand %xmm11, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm5[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm6 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm6, %xmm12
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1]
+; SSE-NEXT: movdqa %xmm6, %xmm5
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm15[8],xmm5[9],xmm15[9],xmm5[10],xmm15[10],xmm5[11],xmm15[11],xmm5[12],xmm15[12],xmm5[13],xmm15[13],xmm5[14],xmm15[14],xmm5[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movss {{.*#+}} xmm12 = xmm6[0],xmm12[1,2,3]
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: pandn %xmm10, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm6
+; SSE-NEXT: pand %xmm9, %xmm6
+; SSE-NEXT: por %xmm5, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm15[0],xmm7[1],xmm15[1],xmm7[2],xmm15[2],xmm7[3],xmm15[3],xmm7[4],xmm15[4],xmm7[5],xmm15[5],xmm7[6],xmm15[6],xmm7[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,0,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm13
+; SSE-NEXT: pandn %xmm7, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm15[8],xmm6[9],xmm15[9],xmm6[10],xmm15[10],xmm6[11],xmm15[11],xmm6[12],xmm15[12],xmm6[13],xmm15[13],xmm6[14],xmm15[14],xmm6[15],xmm15[15]
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: por %xmm13, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm7, %xmm13
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: movdqa %xmm7, %xmm14
+; SSE-NEXT: pandn %xmm13, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pand %xmm7, %xmm6
+; SSE-NEXT: por %xmm6, %xmm14
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm10, %xmm6
+; SSE-NEXT: pandn %xmm14, %xmm6
+; SSE-NEXT: andps %xmm10, %xmm12
+; SSE-NEXT: por %xmm12, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm12
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm15[8],xmm13[9],xmm15[9],xmm13[10],xmm15[10],xmm13[11],xmm15[11],xmm13[12],xmm15[12],xmm13[13],xmm15[13],xmm13[14],xmm15[14],xmm13[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3],xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; SSE-NEXT: pand %xmm11, %xmm12
+; SSE-NEXT: pandn %xmm13, %xmm11
+; SSE-NEXT: por %xmm12, %xmm11
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm13 = xmm13[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm13, %xmm11
+; SSE-NEXT: movdqa %xmm2, %xmm14
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm0[0,2,2,3]
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pandn %xmm13, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[1,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1]
+; SSE-NEXT: movdqa %xmm12, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm15[8],xmm13[9],xmm15[9],xmm13[10],xmm15[10],xmm13[11],xmm15[11],xmm13[12],xmm15[12],xmm13[13],xmm15[13],xmm13[14],xmm15[14],xmm13[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm13[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm13 = xmm13[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3],xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: movss {{.*#+}} xmm11 = xmm12[0],xmm11[1,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: pand %xmm9, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: por %xmm12, %xmm9
+; SSE-NEXT: movdqa %xmm9, %xmm12
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3],xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm15[8],xmm9[9],xmm15[9],xmm9[10],xmm15[10],xmm9[11],xmm15[11],xmm9[12],xmm15[12],xmm9[13],xmm15[13],xmm9[14],xmm15[14],xmm9[15],xmm15[15]
+; SSE-NEXT: pand %xmm5, %xmm9
+; SSE-NEXT: pandn %xmm12, %xmm5
+; SSE-NEXT: por %xmm9, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm9[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: pandn %xmm10, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm5[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm7, %xmm5
+; SSE-NEXT: por %xmm5, %xmm12
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: pandn %xmm12, %xmm5
+; SSE-NEXT: andps %xmm9, %xmm11
+; SSE-NEXT: por %xmm11, %xmm5
+; SSE-NEXT: movdqa %xmm14, %xmm10
+; SSE-NEXT: por %xmm8, %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3],xmm8[4],xmm15[4],xmm8[5],xmm15[5],xmm8[6],xmm15[6],xmm8[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm15[8],xmm10[9],xmm15[9],xmm10[10],xmm15[10],xmm10[11],xmm15[11],xmm10[12],xmm15[12],xmm10[13],xmm15[13],xmm10[14],xmm15[14],xmm10[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm8 = xmm8[4],xmm10[4],xmm8[5],xmm10[5],xmm8[6],xmm10[6],xmm8[7],xmm10[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm15[8],xmm10[9],xmm15[9],xmm10[10],xmm15[10],xmm10[11],xmm15[11],xmm10[12],xmm15[12],xmm10[13],xmm15[13],xmm10[14],xmm15[14],xmm10[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pandn %xmm10, %xmm12
+; SSE-NEXT: movdqa %xmm10, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: por %xmm12, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[3,3,3,3]
+; SSE-NEXT: packuswb %xmm11, %xmm10
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movss {{.*#+}} xmm10 = xmm8[0],xmm10[1,2,3]
+; SSE-NEXT: movdqa (%rsp), %xmm8 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm7, %xmm11
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm8[0],xmm12[1],xmm8[1]
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3],xmm8[4],xmm15[4],xmm8[5],xmm15[5],xmm8[6],xmm15[6],xmm8[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,65535,65535,0,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm14
+; SSE-NEXT: pandn %xmm8, %xmm14
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm15[8],xmm12[9],xmm15[9],xmm12[10],xmm15[10],xmm12[11],xmm15[11],xmm12[12],xmm15[12],xmm12[13],xmm15[13],xmm12[14],xmm15[14],xmm12[15],xmm15[15]
+; SSE-NEXT: pand %xmm13, %xmm12
+; SSE-NEXT: por %xmm14, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm12[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm12
+; SSE-NEXT: pand %xmm7, %xmm12
+; SSE-NEXT: por %xmm11, %xmm12
+; SSE-NEXT: movdqa %xmm9, %xmm8
+; SSE-NEXT: pandn %xmm12, %xmm8
+; SSE-NEXT: andps %xmm9, %xmm10
+; SSE-NEXT: por %xmm10, %xmm8
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm15[0],xmm10[1],xmm15[1],xmm10[2],xmm15[2],xmm10[3],xmm15[3],xmm10[4],xmm15[4],xmm10[5],xmm15[5],xmm10[6],xmm15[6],xmm10[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm10[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm10 = xmm10[4],xmm11[4],xmm10[5],xmm11[5],xmm10[6],xmm11[6],xmm10[7],xmm11[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: pxor %xmm14, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: por %xmm11, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm0[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm11[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm11 = xmm11[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm2[3,3,3,3]
+; SSE-NEXT: packuswb %xmm12, %xmm11
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: movss {{.*#+}} xmm11 = xmm10[0],xmm11[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm1[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm10[0],xmm12[1],xmm10[1]
+; SSE-NEXT: movdqa %xmm12, %xmm10
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm14[0],xmm10[1],xmm14[1],xmm10[2],xmm14[2],xmm10[3],xmm14[3],xmm10[4],xmm14[4],xmm10[5],xmm14[5],xmm10[6],xmm14[6],xmm10[7],xmm14[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm14[8],xmm12[9],xmm14[9],xmm12[10],xmm14[10],xmm12[11],xmm14[11],xmm12[12],xmm14[12],xmm12[13],xmm14[13],xmm12[14],xmm14[14],xmm12[15],xmm14[15]
+; SSE-NEXT: pand %xmm13, %xmm12
+; SSE-NEXT: pandn %xmm10, %xmm13
+; SSE-NEXT: por %xmm12, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm13[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: pand %xmm7, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: pandn %xmm12, %xmm7
+; SSE-NEXT: por %xmm7, %xmm10
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: andps %xmm9, %xmm11
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: por %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm0, %xmm7
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movaps %xmm0, (%r8)
+; SSE-NEXT: movdqa %xmm4, 16(%r9)
+; SSE-NEXT: movdqa %xmm3, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm5, 16(%rax)
+; SSE-NEXT: movdqa %xmm6, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm7, 16(%rax)
+; SSE-NEXT: movdqa %xmm8, (%rax)
+; SSE-NEXT: addq $632, %rsp # imm = 0x278
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride7_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $200, %rsp
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm4[u,u,u,u,u,u,u],zero,zero,zero,xmm4[6,13,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm5[u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm7[u,u,u],zero,zero,xmm7[3,10,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[u,u,u,5,12],zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,0,0,0,0,255,255,255,255,255,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm2[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm10
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[0,7,14],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,3,10],zero,zero,zero,xmm6[u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm9[u,u,u,u,u],zero,zero,xmm9[1,8,15,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm3, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm5[u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[0,7,14,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u,u],zero,zero,xmm7[4,11,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm8[u,u,u,6,13],zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,zero,xmm10[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm11[1,8,15],zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm9[u,u,u,u,u],zero,zero,xmm9[2,9,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,u,4,11],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <255,255,255,255,255,0,0,0,0,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm7[u,u],zero,zero,zero,xmm7[5,12,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[u,u,0,7,14],zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm5[u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[1,8,15,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,255,255,255,255,255,0,0,0,0,0,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm3, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm11[2,9],zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm10[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,u],zero,zero,xmm9[3,10,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[u,u,u,u,u,5,12],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm11[3,10],zero,zero,zero,xmm11[u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm10[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,u],zero,zero,xmm9[4,11,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[u,u,u,u,u,6,13],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm7[u,u],zero,zero,zero,xmm7[6,13,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm8[u,u,1,8,15],zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[2,9,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm5[u,u,u,u,u,u,u,4,11],zero,zero,xmm5[u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,255,255,255,255,255,0,0,0,0,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm8[u,u,2,9],zero,zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u],zero,zero,xmm7[0,7,14,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[3,10,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm5[u,u,u,u,u,u,u,5,12],zero,zero,xmm5[u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm8[u,u,3,10],zero,zero,zero,xmm8[u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm7[u,u],zero,zero,xmm7[1,8,15,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[4,11,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,6,13],zero,zero,xmm5[u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm1, %xmm2, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[5,12]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm2[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,255,255,255,255,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm3, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[6,13]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm2[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm12, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm1[0,7,14]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm13, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[u,u,4,11,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm7[0],xmm3[0],xmm7[1],xmm3[1]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u],zero,zero,zero,xmm4[5,12,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,0,7,14],zero,zero,xmm5[u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm4[0],xmm3[1,2],xmm4[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm1[1,8,15]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpblendvb %xmm0, %xmm3, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm1[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm15[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm8[u,u,u,u,4,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm0 = xmm0[10,11,12,13,14,15],xmm7[0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,u,u,u,u,u,0,1,2,3,8,15]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm5[0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm12, %ymm15, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm12, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm15 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm15, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm15, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm8[u,u,u,u,5,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[u,u,u,u,u,0,7,14,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm14[0],xmm4[0],xmm14[1],xmm4[1]
+; AVX1-ONLY-NEXT: vpxor %xmm14, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm4[0,1,2,3,4,5,6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[3,10]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm4, %ymm4
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm13 = [0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm13, %ymm3 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm13, %ymm4
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm15, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm15, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm1 = mem[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[u,u,u,u,u,u,u,u,u,u,u,u,6,13,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15]
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm2 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[4,11]
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm2, %ymm3
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps (%rsp), %ymm2, %ymm6 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm2, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm6, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm1 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm6, %ymm1, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm3, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm6 = xmm4[u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm4[u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm8[u,u,u,u,u,u,u,u,u],zero,zero,xmm8[0,7,14,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,5,6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm9 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[5,12]
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm5[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm10, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm10 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm6, %ymm2, %ymm6
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm10, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm1, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u],zero,zero,zero,xmm0[5,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[u,u,u,u,0,7,14],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0,1],xmm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm4[u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u],zero,zero,xmm8[1,8,15,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,6],xmm14[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm7[6,13]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm5, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vandnps %ymm12, %ymm2, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm12, %ymm6
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm6, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm12, %ymm1, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm6, %ymm12, %ymm6
+; AVX1-ONLY-NEXT: vmovups %ymm6, (%rsp) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u],zero,zero,zero,xmm0[6,13,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[u,u,u,u,1,8,15],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1],xmm13[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u],zero,zero,xmm8[2,9,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[u,u,u,u,u,u,u,u,u,4,11],zero,zero,xmm4[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,u,u,u,9,10,11,12,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[0,7,14]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm2, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm11, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm1, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm11, %ymm9, %ymm9
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm6, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm12[0],xmm10[0],xmm12[1],xmm10[1],xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[u,u,u,u,2,9],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u],zero,zero,xmm0[0,7,14,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm10[0,1],xmm12[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm0
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u,u,u,u,u,u,u],zero,zero,xmm8[3,10,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm4[u,u,u,u,u,u,u,u,u,5,12],zero,zero,xmm4[u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,xmm7[1,8,15]
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm2, %ymm10, %ymm5
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm5, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups (%rsp), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm9, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $200, %rsp
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i8_stride7_vf32:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $104, %rsp
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm14
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm15 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm3, %ymm4, %ymm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[5,12],zero,zero,xmm7[1,8,15,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm14, %ymm2, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm13
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1],ymm8[2],ymm7[3,4],ymm8[5],ymm7[6,7,8,9],ymm8[10],ymm7[11,12],ymm8[13],ymm7[14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm8, %ymm0, %ymm7, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm7
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u],zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,13,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,5,12],zero,zero,xmm7[1,8,15],zero,zero,xmm7[u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm3, %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[6,13],zero,zero,xmm9[2,9,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[1,8,15],zero,zero,xmm8[4,11],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm2, %ymm14, %ymm9
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1],ymm10[2],ymm9[3,4,5],ymm10[6],ymm9[7,8,9],ymm10[10],ymm9[11,12,13],ymm10[14],ymm9[15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm10, %ymm9, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1],xmm9[2],xmm12[2],xmm9[3],xmm12[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm0, %ymm7, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm5, %ymm6, %ymm0
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm11[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm12[0],xmm7[0],xmm12[1],xmm7[1],xmm12[2],xmm7[2],xmm12[3],xmm7[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm8, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm6, %ymm5, %ymm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,zero,xmm7[6,13],zero,zero,xmm7[2,9,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[5,12]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-SLOW-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm8, %ymm7, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm6, %ymm5, %ymm7
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,2,9],zero,zero,zero,xmm7[5,12],zero,zero,xmm7[u,u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,xmm7[0,7,14],zero,zero,xmm7[3,10,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[6,13]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX2-SLOW-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm7, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm6, %ymm5, %ymm8
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm8[u,u,3,10],zero,zero,zero,xmm8[6,13],zero,zero,xmm8[u,u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[1,8,15],zero,zero,xmm8[4,11,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm0, %xmm8, %xmm0
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[0,7,14]
+; AVX2-SLOW-NEXT: vpor %xmm8, %xmm13, %xmm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm0, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm6, %ymm5, %ymm13
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm5, %ymm6, %ymm5
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero,xmm5[u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm10[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[1,8,15]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm4, %ymm3, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm7
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm3, %ymm4, %ymm6
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm3, %ymm4, %ymm15
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm4, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm8, %ymm4, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm0, %ymm14, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm7, %ymm0, %ymm14, %ymm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm0, %ymm14, %ymm9
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm14, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendvb %ymm8, %ymm14, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[2,9],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[0,7,14],zero,zero,xmm6[3,10,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm14, %xmm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm14
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2],ymm14[3],ymm4[4,5],ymm14[6],ymm4[7,8,9,10],ymm14[11],ymm4[12,13],ymm14[14],ymm4[15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm6, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm15[3,10],zero,zero,zero,xmm15[6,13],zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm15
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[1,8,15],zero,zero,xmm15[4,11,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm15
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0],ymm1[1,2],ymm15[3],ymm1[4,5,6],ymm15[7,8],ymm1[9,10],ymm15[11],ymm1[12,13,14],ymm15[15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm6, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0],ymm9[1,2,3],ymm6[4],ymm9[5,6],ymm6[7,8],ymm9[9,10,11],ymm6[12],ymm9[13,14],ymm6[15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm1, %ymm6, %ymm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[3,10],zero,zero,zero,xmm6[6,13,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,12],zero,zero,xmm3[1,8,15],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6,7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm3, %ymm6, %ymm3
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[6,13],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[4,11],zero,zero,xmm5[0,7,14,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7,8],ymm6[9],ymm8[10,11,12],ymm6[13],ymm8[14,15]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm5, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm5
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm13[u,u,0,7,14],zero,zero,xmm13[3,10],zero,zero,zero,xmm13[u,u,u,u]
+; AVX2-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm11[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm10[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0],ymm5[1,2,3,4,5,6,7],ymm4[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm0[0],mem[1,2,3,4,5,6,7],ymm0[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm1[0],mem[1,2,3,4,5,6,7],ymm1[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm3[0],mem[1,2,3,4,5,6,7],ymm3[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm5 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm5 = ymm2[0],mem[1,2,3,4,5,6,7],ymm2[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm5, (%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-SLOW-NEXT: addq $104, %rsp
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i8_stride7_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: pushq %rax
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm13
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[5,12],zero,zero,xmm1[1,8,15,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm3, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vmovdqa %ymm8, %ymm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm8[2],ymm1[3,4],ymm8[5],ymm1[6,7,8,9],ymm8[10],ymm1[11,12],ymm8[13],ymm1[14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm6, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u],zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,13,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,5,12],zero,zero,xmm1[1,8,15],zero,zero,xmm1[u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm8, %xmm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,1,2,4,6>
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm12
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[6,13],zero,zero,xmm1[2,9,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm2, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm9[2],ymm1[3,4,5],ymm9[6],ymm1[7,8,9],ymm9[10],ymm1[11,12,13],ymm9[14],ymm1[15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm6, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm1[u,u,u,6,13],zero,zero,xmm1[2,9],zero,zero,zero,xmm1[u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u],zero,zero,xmm1[4,11],zero,zero,xmm1[0,7,14,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,1,3,4,6>
+; AVX2-FAST-NEXT: vpermd %ymm11, %ymm9, %ymm9
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm7, %ymm6, %ymm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u],zero,zero,zero,xmm1[6,13],zero,zero,xmm1[2,9,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm0, %xmm1
+; AVX2-FAST-NEXT: vmovdqa 208(%rdi), %xmm15
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm15[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm15[5,12]
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm0[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX2-FAST-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-FAST-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm9, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm7, %ymm6, %ymm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm8[u,u,2,9],zero,zero,zero,xmm8[5,12],zero,zero,xmm8[u,u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[0,7,14],zero,zero,xmm8[3,10,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm15[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm15[6,13]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX2-FAST-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm8, %ymm9, %ymm14
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm7, %ymm6, %ymm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm8[u,u,3,10],zero,zero,zero,xmm8[6,13],zero,zero,xmm8[u,u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[1,8,15],zero,zero,xmm8[4,11,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm10, %xmm8, %xmm8
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm0[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm15[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm15[0,7,14]
+; AVX2-FAST-NEXT: vpor %xmm10, %xmm13, %xmm10
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm8, %ymm10, %ymm12
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm7, %ymm6, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm6, %ymm7, %ymm6
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,12,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,4,11],zero,zero,xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm15[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm15[1,8,15]
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm7, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm6, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm5, %ymm4, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm4, %ymm5, %ymm6
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm4, %ymm5, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm5, %ymm4, %ymm15
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm5, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm2, %ymm3, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm11, %ymm2, %ymm3, %ymm11
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm2, %ymm3, %ymm9
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm3, %ymm2, %ymm13
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[2,9],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[0,7,14],zero,zero,xmm6[3,10,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7,8,9,10],ymm6[11],ymm5[12,13],ymm6[14],ymm5[15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm3, %ymm5, %ymm3
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm7[3,10],zero,zero,zero,xmm7[6,13],zero,zero,xmm7[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm7[1,8,15],zero,zero,xmm7[4,11,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm5, %xmm7, %xmm5
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0],ymm11[1,2],ymm7[3],ymm11[4,5,6],ymm7[7,8],ymm11[9,10],ymm7[11],ymm11[12,13,14],ymm7[15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm5, %ymm7, %ymm5
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm15, %xmm7
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,12,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm15[4,11],zero,zero,xmm15[0,7,14],zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm11
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm11[0],ymm9[1,2,3],ymm11[4],ymm9[5,6],ymm11[7,8],ymm9[9,10,11],ymm11[12],ymm9[13,14],ymm11[15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm7, %ymm9, %ymm7
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm9
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm9[3,10],zero,zero,zero,xmm9[6,13,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[5,12],zero,zero,xmm4[1,8,15],zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm4, %xmm9, %xmm4
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm13[0],ymm9[1],ymm13[2,3],ymm9[4],ymm13[5,6,7,8],ymm9[9],ymm13[10,11],ymm9[12],ymm13[13,14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm4, %ymm9, %ymm4
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm1[6,13],zero,zero,xmm1[2,9],zero,zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[4,11],zero,zero,xmm1[0,7,14,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm9[1],ymm2[2,3,4],ymm9[5],ymm2[6,7,8],ymm9[9],ymm2[10,11,12],ymm9[13],ymm2[14,15]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm2
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm8[u,u,0,7,14],zero,zero,xmm8[3,10],zero,zero,zero,xmm8[u,u,u,u]
+; AVX2-FAST-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,1,3,5,6>
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm6 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2,3,4,5,6,7],ymm3[8],ymm2[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm3 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm3 = ymm5[0],mem[1,2,3,4,5,6,7],ymm5[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm7[0],ymm14[1,2,3,4,5,6,7],ymm7[8],ymm14[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm7[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm4[0],ymm12[1,2,3,4,5,6,7],ymm4[8],ymm12[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm1[0],ymm10[1,2,3,4,5,6,7],ymm1[8],ymm10[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm5, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-NEXT: popq %rax
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i8_stride7_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $104, %rsp
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm15 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm3, %ymm4, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[5,12],zero,zero,xmm7[1,8,15,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm14, %ymm2, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, (%rsp) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm7[0,1],ymm8[2],ymm7[3,4],ymm8[5],ymm7[6,7,8,9],ymm8[10],ymm7[11,12],ymm8[13],ymm7[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm7 = ymm7[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm0, %ymm7, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u],zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,13,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,5,12],zero,zero,xmm7[1,8,15],zero,zero,xmm7[u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm3, %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm9[6,13],zero,zero,xmm9[2,9,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[1,8,15],zero,zero,xmm8[4,11],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm9, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm2, %ymm14, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1],ymm10[2],ymm9[3,4,5],ymm10[6],ymm9[7,8,9],ymm10[10],ymm9[11,12,13],ymm10[14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm10 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm9, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1],xmm9[2],xmm12[2],xmm9[3],xmm12[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm0, %ymm7, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm5, %ymm6, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm11[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm12[0],xmm7[0],xmm12[1],xmm7[1],xmm12[2],xmm7[2],xmm12[3],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm8, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm6, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,zero,xmm7[6,13],zero,zero,xmm7[2,9,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[5,12]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vbroadcasti128 {{.*#+}} ymm1 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: # ymm1 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm8, %ymm7, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm6, %ymm5, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,2,9],zero,zero,zero,xmm7[5,12],zero,zero,xmm7[u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,xmm7[0,7,14],zero,zero,xmm7[3,10,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[6,13]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm7, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm6, %ymm5, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm0 = xmm8[u,u,3,10],zero,zero,zero,xmm8[6,13],zero,zero,xmm8[u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[1,8,15],zero,zero,xmm8[4,11,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm0, %xmm8, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm8 = xmm10[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm13 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[0,7,14]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm8, %xmm13, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm0, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm6, %ymm5, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm5, %ymm6, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero,xmm5[u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm10[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm15 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[1,8,15]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm5, %ymm6, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm4, %ymm3, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm3, %ymm4, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm3, %ymm4, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm4, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm4, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqu (%rsp), %ymm0 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm0, %ymm14, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm7, %ymm0, %ymm14, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm0, %ymm14, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm14, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm8, %ymm14, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[2,9],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[0,7,14],zero,zero,xmm6[3,10,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm14, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2],ymm14[3],ymm4[4,5],ymm14[6],ymm4[7,8,9,10],ymm14[11],ymm4[12,13],ymm14[14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm6, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm15[3,10],zero,zero,zero,xmm15[6,13],zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm15, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[1,8,15],zero,zero,xmm15[4,11,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0],ymm1[1,2],ymm15[3],ymm1[4,5,6],ymm15[7,8],ymm1[9,10],ymm15[11],ymm1[12,13,14],ymm15[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm6, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm1 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0],ymm9[1,2,3],ymm6[4],ymm9[5,6],ymm6[7,8],ymm9[9,10,11],ymm6[12],ymm9[13,14],ymm6[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm1, %ymm6, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[3,10],zero,zero,zero,xmm6[6,13,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[5,12],zero,zero,xmm3[1,8,15],zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6,7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm3, %ymm6, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[6,13],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[4,11],zero,zero,xmm5[0,7,14,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm8[0],ymm6[1],ymm8[2,3,4],ymm6[5],ymm8[6,7,8],ymm6[9],ymm8[10,11,12],ymm6[13],ymm8[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm5, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm13[u,u,0,7,14],zero,zero,xmm13[3,10],zero,zero,zero,xmm13[u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm6 = xmm11[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpshufb {{.*#+}} xmm7 = xmm10[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0],ymm5[1,2,3,4,5,6,7],ymm4[8],ymm5[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm0[0],mem[1,2,3,4,5,6,7],ymm0[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm1[0],mem[1,2,3,4,5,6,7],ymm1[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm3[0],mem[1,2,3,4,5,6,7],ymm3[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm5 = ymm2[0],mem[1,2,3,4,5,6,7],ymm2[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm5, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $104, %rsp
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride7_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm1
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u],zero,zero,xmm4[3,10],zero,zero,zero,xmm4[6,13,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,5,12],zero,zero,xmm1[1,8,15],zero,zero,xmm1[u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm4, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm20
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm5[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm1[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm14 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %ymm6
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa %ymm14, %ymm9
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm9
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,zero,xmm10[5,12],zero,zero,xmm10[1,8,15,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[0,7,14],zero,zero,xmm9[3,10],zero,zero,zero,xmm9[u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm10, %xmm9, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %ymm9
+; AVX512F-SLOW-NEXT: vmovdqa %ymm11, %ymm15
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm1, %ymm9, %ymm15
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm15[0,1],ymm10[2],ymm15[3,4],ymm10[5],ymm15[6,7,8,9],ymm10[10],ymm15[11,12],ymm10[13],ymm15[14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm13, %ymm8
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-SLOW-NEXT: vpternlogq $226, %ymm12, %ymm16, %ymm8
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm8, %ymm18
+; AVX512F-SLOW-NEXT: vmovdqa %ymm11, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm12
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[u,u,u,6,13],zero,zero,xmm12[2,9],zero,zero,zero,xmm12[u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u],zero,zero,xmm12[4,11],zero,zero,xmm12[0,7,14,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm4[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1],xmm8[2],xmm13[2],xmm8[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm12[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm12
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,zero,xmm15[6,13],zero,zero,xmm15[2,9,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[1,8,15],zero,zero,xmm12[4,11],zero,zero,xmm12[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm15, %xmm12, %xmm15
+; AVX512F-SLOW-NEXT: vmovdqa %ymm14, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm9, %ymm1, %ymm12
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm12[0,1],ymm10[2],ymm12[3,4,5],ymm10[6],ymm12[7,8,9],ymm10[10],ymm12[11,12,13],ymm10[14],ymm12[15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm12 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm12[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm15, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $226, %ymm8, %ymm16, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm12, %ymm19
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm8[2,9],zero,zero,zero,xmm8[5,12],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[0,7,14],zero,zero,xmm8[3,10,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm15, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm15
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm9, %ymm1, %ymm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm15[0,1,2],ymm10[3],ymm15[4,5],ymm10[6],ymm15[7,8,9,10],ymm10[11],ymm15[12,13],ymm10[14],ymm15[15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm17 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-SLOW-NEXT: vpternlogq $248, %ymm17, %ymm8, %ymm15
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm14
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,zero,xmm8[5,12],zero,zero,xmm8[1,8,15,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,0,7,14],zero,zero,xmm14[3,10],zero,zero,zero,xmm14[u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm8, %xmm14, %xmm8
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm12, %xmm5, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm15[0],ymm8[1,2,3,4,5,6,7],ymm15[8],ymm8[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm15[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm8, %ymm20
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm8
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[2,9,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,1,8,15],zero,zero,xmm8[4,11],zero,zero,xmm8[u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm5[5,12]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm14, %xmm12
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-SLOW-NEXT: vpternlogq $184, %ymm8, %ymm16, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa %ymm11, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm7, %ymm6, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm8[3,10],zero,zero,zero,xmm8[6,13],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[1,8,15],zero,zero,xmm8[4,11,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm14, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm9, %ymm1, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm10[0],ymm14[1,2],ymm10[3],ymm14[4,5,6],ymm10[7,8],ymm14[9,10],ymm10[11],ymm14[12,13,14],ymm10[15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm14[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpternlogq $248, %ymm17, %ymm8, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm14[0],ymm12[1,2,3,4,5,6,7],ymm14[8],ymm12[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm8, %ymm21
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,2,9],zero,zero,zero,xmm8[5,12],zero,zero,xmm8[u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[0,7,14],zero,zero,xmm8[3,10,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm5[6,13]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm4[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm14, %xmm12
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $184, %ymm8, %ymm16, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm8
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm14[2,9],zero,zero,zero,xmm14[5,12,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[4,11],zero,zero,xmm8[0,7,14],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm14, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa %ymm11, %ymm14
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm9, %ymm1, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm14 = ymm10[0],ymm14[1,2,3],ymm10[4],ymm14[5,6],ymm10[7,8],ymm14[9,10,11],ymm10[12],ymm14[13,14],ymm10[15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm14[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpternlogq $248, %ymm17, %ymm8, %ymm14
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm14[0],ymm12[1,2,3,4,5,6,7],ymm14[8],ymm12[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa %ymm11, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,3,10],zero,zero,zero,xmm8[6,13],zero,zero,xmm8[u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[1,8,15],zero,zero,xmm8[4,11,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm4[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm5[0,7,14]
+; AVX512F-SLOW-NEXT: vpor %xmm12, %xmm15, %xmm12
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512F-SLOW-NEXT: vpternlogq $184, %ymm8, %ymm16, %ymm12
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm8
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[3,10],zero,zero,zero,xmm15[6,13,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[5,12],zero,zero,xmm8[1,8,15],zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm15, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa %ymm13, %ymm15
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm1, %ymm9, %ymm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm15 = ymm15[0],ymm10[1],ymm15[2,3],ymm10[4],ymm15[5,6,7,8],ymm10[9],ymm15[10,11],ymm10[12],ymm15[13,14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpternlogq $248, %ymm17, %ymm8, %ymm15
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm15[0],ymm12[1,2,3,4,5,6,7],ymm15[8],ymm12[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm15[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm13
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm13[u,u,4,11],zero,zero,xmm13[0,7,14],zero,zero,xmm13[u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm4[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm5[1,8,15]
+; AVX512F-SLOW-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpternlogq $184, %ymm2, %ymm16, %ymm3
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm6, %ymm7, %ymm11
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm11[6,13],zero,zero,xmm11[2,9],zero,zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[4,11],zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u]
+; AVX512F-SLOW-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512F-SLOW-NEXT: vpternlogq $202, %ymm1, %ymm9, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm10[1],ymm0[2,3,4],ymm10[5],ymm0[6,7,8],ymm10[9],ymm0[10,11,12],ymm10[13],ymm0[14,15]
+; AVX512F-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-SLOW-NEXT: vpternlogq $248, %ymm17, %ymm2, %ymm0
+; AVX512F-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm3[1,2,3,4,5,6,7],ymm0[8],ymm3[9,10,11,12,13,14,15]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm18, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm19, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm20, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm21, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm14, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm8, (%r10)
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride7_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u],zero,zero,xmm4[3,10],zero,zero,zero,xmm4[6,13,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,5,12],zero,zero,xmm1[1,8,15],zero,zero,xmm1[u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm4, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,1,2,4,6>
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm12
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %ymm4
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %ymm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqa %ymm13, %ymm7
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm5, %ymm4, %ymm7
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,zero,xmm8[5,12],zero,zero,xmm8[1,8,15,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[0,7,14],zero,zero,xmm7[3,10],zero,zero,zero,xmm7[u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm7, %xmm8, %xmm10
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %ymm7
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm11
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm1, %ymm7, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1],ymm8[2],ymm11[3,4],ymm8[5],ymm11[6,7,8,9],ymm8[10],ymm11[11,12],ymm8[13],ymm11[14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm11[6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm10, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-FAST-NEXT: vpternlogq $226, %ymm6, %ymm16, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm11, %ymm18
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[u,u,u,6,13],zero,zero,xmm6[2,9],zero,zero,zero,xmm6[u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u],zero,zero,xmm6[4,11],zero,zero,xmm6[0,7,14,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm10, %xmm6
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,1,3,4,6>
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm10, %ymm10
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm10[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512F-FAST-NEXT: vmovdqa %ymm11, %ymm10
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm5, %ymm4, %ymm10
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm10, %xmm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,zero,xmm14[6,13],zero,zero,xmm14[2,9,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[1,8,15],zero,zero,xmm10[4,11],zero,zero,xmm10[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm14, %xmm10, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa %ymm13, %ymm10
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm7, %ymm1, %ymm10
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm10[0,1],ymm8[2],ymm10[3,4,5],ymm8[6],ymm10[7,8,9],ymm8[10],ymm10[11,12,13],ymm8[14],ymm10[15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm10 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm10[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm14, %ymm10
+; AVX512F-FAST-NEXT: vpternlogq $226, %ymm6, %ymm16, %ymm10
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm5, %ymm4, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm6[2,9],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[0,7,14],zero,zero,xmm6[3,10,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm14, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa %ymm11, %ymm14
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm7, %ymm1, %ymm14
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm14 = ymm14[0,1,2],ymm8[3],ymm14[4,5],ymm8[6],ymm14[7,8,9,10],ymm8[11],ymm14[12,13],ymm8[14],ymm14[15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm14[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm17 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-FAST-NEXT: vpternlogq $248, %ymm17, %ymm6, %ymm14
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm13
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm13, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[1,8,15,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,0,7,14],zero,zero,xmm13[3,10],zero,zero,zero,xmm13[u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,1,3,5,6>
+; AVX512F-FAST-NEXT: vpermd %ymm12, %ymm13, %ymm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm14[0],ymm6[1,2,3,4,5,6,7],ymm14[8],ymm6[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm6, %ymm19
+; AVX512F-FAST-NEXT: vmovdqa %ymm11, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm6
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[2,9,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,1,8,15],zero,zero,xmm6[4,11],zero,zero,xmm6[u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm12, %xmm6
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa 208(%rdi), %xmm14
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm14[5,12]
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %xmm12
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512F-FAST-NEXT: vpor %xmm13, %xmm15, %xmm13
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-FAST-NEXT: vpternlogq $184, %ymm6, %ymm16, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm5, %ymm4, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm6[3,10],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,11,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm15
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm7, %ymm1, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm15 = ymm8[0],ymm15[1,2],ymm8[3],ymm15[4,5,6],ymm8[7,8],ymm15[9,10],ymm8[11],ymm15[12,13,14],ymm8[15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpternlogq $248, %ymm17, %ymm6, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm15[0],ymm13[1,2,3,4,5,6,7],ymm15[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm15[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm6, %ymm20
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm6[u,u,2,9],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[u,u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[0,7,14],zero,zero,xmm6[3,10,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm14[6,13]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512F-FAST-NEXT: vpor %xmm13, %xmm15, %xmm13
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vpternlogq $184, %ymm6, %ymm16, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa %ymm11, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm4, %ymm5, %ymm6
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm15
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[2,9],zero,zero,zero,xmm15[5,12,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[4,11],zero,zero,xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm15
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm7, %ymm1, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm15 = ymm8[0],ymm15[1,2,3],ymm8[4],ymm15[5,6],ymm8[7,8],ymm15[9,10,11],ymm8[12],ymm15[13,14],ymm8[15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpternlogq $248, %ymm17, %ymm6, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm15[0],ymm13[1,2,3,4,5,6,7],ymm15[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm15[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm6, %ymm21
+; AVX512F-FAST-NEXT: vmovdqa %ymm9, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm3, %ymm2, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm6[u,u,3,10],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[u,u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,11,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm14[0,7,14]
+; AVX512F-FAST-NEXT: vpor %xmm15, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vpternlogq $184, %ymm6, %ymm16, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm6
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm4, %ymm5, %ymm6
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm6, %xmm15
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[3,10],zero,zero,zero,xmm15[6,13,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[5,12],zero,zero,xmm6[1,8,15],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm6, %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa %ymm11, %ymm15
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm1, %ymm7, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm15 = ymm15[0],ymm8[1],ymm15[2,3],ymm8[4],ymm15[5,6,7,8],ymm8[9],ymm15[10,11],ymm8[12],ymm15[13,14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm15 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm15[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpternlogq $248, %ymm17, %ymm6, %ymm15
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm15[0],ymm13[1,2,3,4,5,6,7],ymm15[8],ymm13[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm15[0,1,2,3],ymm6[4,5,6,7]
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm2, %ymm3, %ymm11
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm11, %xmm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm11[u,u,4,11],zero,zero,xmm11[0,7,14],zero,zero,xmm11[u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm12[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm14[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm14[1,8,15]
+; AVX512F-FAST-NEXT: vpor %xmm3, %xmm11, %xmm3
+; AVX512F-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vpternlogq $184, %ymm2, %ymm16, %ymm3
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm4, %ymm5, %ymm9
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[6,13],zero,zero,xmm9[2,9],zero,zero,zero,xmm9[u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vextracti128 $1, %ymm9, %xmm4
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[4,11],zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512F-FAST-NEXT: vpternlogq $202, %ymm1, %ymm7, %ymm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm8[1],ymm0[2,3,4],ymm8[5],ymm0[6,7,8],ymm8[9],ymm0[10,11,12],ymm8[13],ymm0[14,15]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-FAST-NEXT: vpternlogq $248, %ymm17, %ymm2, %ymm0
+; AVX512F-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm0[0],ymm3[1,2,3,4,5,6,7],ymm0[8],ymm3[9,10,11,12,13,14,15]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %ymm10, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm20, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %ymm6, (%r10)
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride7_vf32:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %ymm2
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %ymm4
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512BW-SLOW-NEXT: movw $-28382, %r11w # imm = 0x9122
+; AVX512BW-SLOW-NEXT: kmovd %r11d, %k5
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm1, %ymm2, %ymm0 {%k5}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: movw $9288, %r11w # imm = 0x2448
+; AVX512BW-SLOW-NEXT: kmovd %r11d, %k1
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm4, %ymm3, %ymm5 {%k1}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm6[2],ymm5[3,4],ymm6[5],ymm5[6,7,8,9],ymm6[10],ymm5[11,12],ymm6[13],ymm5[14,15]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: movw $992, %r11w # imm = 0x3E0
+; AVX512BW-SLOW-NEXT: kmovd %r11d, %k2
+; AVX512BW-SLOW-NEXT: vmovdqu16 %ymm5, %ymm0 {%k2}
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm6
+; AVX512BW-SLOW-NEXT: vmovdqa 160(%rdi), %ymm5
+; AVX512BW-SLOW-NEXT: movw $8772, %r11w # imm = 0x2244
+; AVX512BW-SLOW-NEXT: kmovd %r11d, %k2
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm6, %ymm5, %ymm7 {%k2}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,u],zero,zero,xmm8[3,10],zero,zero,zero,xmm8[6,13,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,5,12],zero,zero,xmm7[1,8,15],zero,zero,xmm7[u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vmovdqa 192(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm7, %xmm11
+; AVX512BW-SLOW-NEXT: vmovdqa 208(%rdi), %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,6],ymm11[7]
+; AVX512BW-SLOW-NEXT: movl $-524288, %edi # imm = 0xFFF80000
+; AVX512BW-SLOW-NEXT: kmovd %edi, %k4
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm9, %ymm0 {%k4}
+; AVX512BW-SLOW-NEXT: movw $4644, %di # imm = 0x1224
+; AVX512BW-SLOW-NEXT: kmovd %edi, %k3
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm1, %ymm2, %ymm9 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm11[6,13],zero,zero,xmm11[2,9,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[1,8,15],zero,zero,xmm9[4,11],zero,zero,xmm9[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm11, %xmm9, %xmm11
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm3, %ymm4, %ymm9 {%k5}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm12
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm9 = ymm9[0,1],ymm12[2],ymm9[3,4,5],ymm12[6],ymm9[7,8,9],ymm12[10],ymm9[11,12,13],ymm12[14],ymm9[15]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: movl $511, %edi # imm = 0x1FF
+; AVX512BW-SLOW-NEXT: kmovd %edi, %k6
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm11, %ymm9 {%k6}
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm6, %ymm5, %ymm11 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[u,u,u,6,13],zero,zero,xmm11[2,9],zero,zero,zero,xmm11[u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u],zero,zero,xmm11[4,11],zero,zero,xmm11[0,7,14,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm7[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm12[7]
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm11, %ymm9 {%k4}
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm3, %ymm4, %ymm11 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm11[0,1,2],ymm12[3],ymm11[4,5],ymm12[6],ymm11[7,8,9,10],ymm12[11],ymm11[12,13],ymm12[14],ymm11[15]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm1, %ymm2, %ymm12 {%k2}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[2,9],zero,zero,zero,xmm12[5,12],zero,zero,xmm12[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,xmm12[0,7,14],zero,zero,xmm12[3,10,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: movl $261632, %edi # imm = 0x3FE00
+; AVX512BW-SLOW-NEXT: kmovd %edi, %k4
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm12 {%k4} = ymm11[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm5, %ymm6, %ymm11 {%k5}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,zero,xmm13[5,12],zero,zero,xmm13[1,8,15,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,0,7,14],zero,zero,xmm11[3,10],zero,zero,zero,xmm11[u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm13, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm7[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm13[0],xmm10[0],xmm13[1],xmm10[1],xmm13[2],xmm10[2],xmm13[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5,6],ymm10[7]
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm10 = ymm12[0],ymm10[1,2,3,4,5,6,7],ymm12[8],ymm10[9,10,11,12,13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm3, %ymm4, %ymm11 {%k2}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0],ymm11[1,2],ymm12[3],ymm11[4,5,6],ymm12[7,8],ymm11[9,10],ymm12[11],ymm11[12,13,14],ymm12[15]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm1, %ymm2, %ymm12 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[3,10],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,xmm12[1,8,15],zero,zero,xmm12[4,11,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm13, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm12 {%k4} = ymm11[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm5, %ymm6, %ymm11 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,zero,xmm13[6,13],zero,zero,xmm13[2,9,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,1,8,15],zero,zero,xmm11[4,11],zero,zero,xmm11[u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm13, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm8[5,12]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm7[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512BW-SLOW-NEXT: vpor %xmm13, %xmm14, %xmm13
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512BW-SLOW-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512BW-SLOW-NEXT: kmovd %edi, %k5
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm13, %ymm11 {%k5}
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm12[0],ymm11[1,2,3,4,5,6,7],ymm12[8],ymm11[9,10,11,12,13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm3, %ymm4, %ymm12 {%k1}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm13
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm13[0],ymm12[1,2,3],ymm13[4],ymm12[5,6],ymm13[7,8],ymm12[9,10,11],ymm13[12],ymm12[13,14],ymm13[15]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm2, %ymm1, %ymm13 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm14
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm14[2,9],zero,zero,zero,xmm14[5,12,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[4,11],zero,zero,xmm13[0,7,14],zero,zero,xmm13[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm13 {%k4} = ymm12[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm5, %ymm6, %ymm12 {%k2}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm12[u,u,2,9],zero,zero,zero,xmm12[5,12],zero,zero,xmm12[u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u],zero,zero,xmm12[0,7,14],zero,zero,xmm12[3,10,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm14, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm8[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm8[6,13]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512BW-SLOW-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm14, %ymm12 {%k5}
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm12 = ymm13[0],ymm12[1,2,3,4,5,6,7],ymm13[8],ymm12[9,10,11,12,13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3],ymm12[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm4, %ymm3, %ymm13 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm14
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm13[0],ymm14[1],ymm13[2,3],ymm14[4],ymm13[5,6,7,8],ymm14[9],ymm13[10,11],ymm14[12],ymm13[13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm2, %ymm1, %ymm14 {%k2}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[3,10],zero,zero,zero,xmm15[6,13,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[5,12],zero,zero,xmm14[1,8,15],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm14 {%k4} = ymm13[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpblendmw %ymm5, %ymm6, %ymm13 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm13[u,u,3,10],zero,zero,zero,xmm13[6,13],zero,zero,xmm13[u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,xmm13[1,8,15],zero,zero,xmm13[4,11,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm15, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm16 = xmm8[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm8[0,7,14]
+; AVX512BW-SLOW-NEXT: vporq %xmm15, %xmm16, %xmm15
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm15, %ymm13 {%k5}
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm13 = ymm14[0],ymm13[1,2,3,4,5,6,7],ymm14[8],ymm13[9,10,11,12,13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3],ymm13[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqu16 %ymm4, %ymm3 {%k2}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm4[1],ymm3[2,3,4],ymm4[5],ymm3[6,7,8],ymm4[9],ymm3[10,11,12],ymm4[13],ymm3[14,15]
+; AVX512BW-SLOW-NEXT: vmovdqu16 %ymm2, %ymm1 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[6,13],zero,zero,xmm1[2,9],zero,zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[4,11],zero,zero,xmm1[0,7,14,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} ymm1 {%k4} = ymm3[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vmovdqu16 %ymm6, %ymm5 {%k3}
+; AVX512BW-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero,xmm5[u,u,u,u,u]
+; AVX512BW-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512BW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm8[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm8[1,8,15]
+; AVX512BW-SLOW-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vmovdqu8 %ymm3, %ymm2 {%k5}
+; AVX512BW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0],ymm2[1,2,3,4,5,6,7],ymm1[8],ymm2[9,10,11,12,13,14,15]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm0, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm9, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm11, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm12, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm13, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm1, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride7_vf32:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [16,9,2,19,20,13,6,23,24,17,26,27,28,21,30,31]
+; AVX512BW-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [16,9,2,19,12,5,22,23,24,17,26,27,20,29,30,31]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm4
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [8,1,2,19,12,5,22,15,0,9,26,11,4,29,14,7]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [8,1,18,11,4,5,22,15,0,25,10,3,12,29,14,7]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,18,11,4,21,14,7,8,25,10,3,28,13,6,15]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,17,10,3,4,21,14,7,24,9,2,11,28,13,6,31]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [16,17,10,3,20,13,6,23,24,25,18,27,28,21,30,31]
+; AVX512BW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm6
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %ymm3
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: movw $-28382, %r11w # imm = 0x9122
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k5
+; AVX512BW-FAST-NEXT: vpblendmw %ymm2, %ymm3, %ymm1 {%k5}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm1, %xmm7
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,zero,xmm7[5,12],zero,zero,xmm7[1,8,15,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,7,14],zero,zero,xmm1[3,10],zero,zero,zero,xmm1[u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm7, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: movw $992, %r11w # imm = 0x3E0
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k1
+; AVX512BW-FAST-NEXT: vmovdqu16 %ymm6, %ymm1 {%k1}
+; AVX512BW-FAST-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512BW-FAST-NEXT: vmovdqa 160(%rdi), %ymm6
+; AVX512BW-FAST-NEXT: movw $8772, %r11w # imm = 0x2244
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k1
+; AVX512BW-FAST-NEXT: vpblendmw %ymm7, %ymm6, %ymm11 {%k1}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u],zero,zero,xmm12[3,10],zero,zero,zero,xmm12[6,13,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,5,12],zero,zero,xmm11[1,8,15],zero,zero,xmm11[u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,1,2,4,6>
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %ymm13
+; AVX512BW-FAST-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm12[7]
+; AVX512BW-FAST-NEXT: movl $-524288, %r11d # imm = 0xFFF80000
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k4
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm11, %ymm1 {%k4}
+; AVX512BW-FAST-NEXT: movw $4644, %r11w # imm = 0x1224
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k2
+; AVX512BW-FAST-NEXT: vpblendmw %ymm2, %ymm3, %ymm11 {%k2}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = zero,zero,zero,xmm12[6,13],zero,zero,xmm12[2,9,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[1,8,15],zero,zero,xmm11[4,11],zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: movl $511, %r11d # imm = 0x1FF
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k3
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm11, %ymm8 {%k3}
+; AVX512BW-FAST-NEXT: movw $9288, %r11w # imm = 0x2448
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k3
+; AVX512BW-FAST-NEXT: vpblendmw %ymm7, %ymm6, %ymm11 {%k3}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[u,u,u,6,13],zero,zero,xmm11[2,9],zero,zero,zero,xmm11[u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u],zero,zero,xmm11[4,11],zero,zero,xmm11[0,7,14,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,1,3,4,6>
+; AVX512BW-FAST-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4,5,6],ymm12[7]
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm11, %ymm8 {%k4}
+; AVX512BW-FAST-NEXT: vpblendmw %ymm2, %ymm3, %ymm11 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm11[2,9],zero,zero,zero,xmm11[5,12],zero,zero,xmm11[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm11, %xmm11
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[0,7,14],zero,zero,xmm11[3,10,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: movl $261632, %r11d # imm = 0x3FE00
+; AVX512BW-FAST-NEXT: kmovd %r11d, %k4
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm11 {%k4} = ymm10[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendmw %ymm6, %ymm7, %ymm10 {%k5}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u],zero,zero,zero,xmm12[5,12],zero,zero,xmm12[1,8,15,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm10[u,u,0,7,14],zero,zero,xmm10[3,10],zero,zero,zero,xmm10[u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,1,3,5,6>
+; AVX512BW-FAST-NEXT: vpermd %ymm13, %ymm12, %ymm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm12[7]
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} ymm10 = ymm11[0],ymm10[1,2,3,4,5,6,7],ymm11[8],ymm10[9,10,11,12,13,14,15]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpblendmw %ymm6, %ymm7, %ymm11 {%k2}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm11, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[2,9,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,1,8,15],zero,zero,xmm11[4,11],zero,zero,xmm11[u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm12, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm13
+; AVX512BW-FAST-NEXT: vmovdqa 208(%rdi), %xmm11
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[5,12]
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %xmm12
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512BW-FAST-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-FAST-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512BW-FAST-NEXT: kmovd %edi, %k5
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm14, %ymm13 {%k5}
+; AVX512BW-FAST-NEXT: vpblendmw %ymm2, %ymm3, %ymm14 {%k3}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[3,10],zero,zero,zero,xmm14[6,13],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm14[1,8,15],zero,zero,xmm14[4,11,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm14 {%k4} = ymm9[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} ymm9 = ymm14[0],ymm13[1,2,3,4,5,6,7],ymm14[8],ymm13[9,10,11,12,13,14,15]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm14[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpblendmw %ymm6, %ymm7, %ymm13 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm13[u,u,2,9],zero,zero,zero,xmm13[5,12],zero,zero,xmm13[u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,xmm13[0,7,14],zero,zero,xmm13[3,10,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm11[6,13]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512BW-FAST-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm14, %ymm13 {%k5}
+; AVX512BW-FAST-NEXT: vpblendmw %ymm3, %ymm2, %ymm14 {%k2}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[2,9],zero,zero,zero,xmm15[5,12,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[4,11],zero,zero,xmm14[0,7,14],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm14 {%k4} = ymm5[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm14[0],ymm13[1,2,3,4,5,6,7],ymm14[8],ymm13[9,10,11,12,13,14,15]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-FAST-NEXT: vpblendmw %ymm6, %ymm7, %ymm13 {%k3}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm13[u,u,3,10],zero,zero,zero,xmm13[6,13],zero,zero,xmm13[u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm13, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,xmm13[1,8,15],zero,zero,xmm13[4,11,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm14, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm12[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[0,7,14]
+; AVX512BW-FAST-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm14, %ymm13 {%k5}
+; AVX512BW-FAST-NEXT: vpblendmw %ymm3, %ymm2, %ymm14 {%k1}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm15
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,xmm15[3,10],zero,zero,zero,xmm15[6,13,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[5,12],zero,zero,xmm14[1,8,15],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm14 {%k4} = ymm4[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm14[0],ymm13[1,2,3,4,5,6,7],ymm14[8],ymm13[9,10,11,12,13,14,15]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm14[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqu16 %ymm7, %ymm6 {%k2}
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm6, %xmm7
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u],zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,12,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,4,11],zero,zero,xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm7, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm12[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm11[1,8,15]
+; AVX512BW-FAST-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX512BW-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512BW-FAST-NEXT: vmovdqu8 %ymm7, %ymm6 {%k5}
+; AVX512BW-FAST-NEXT: vmovdqu16 %ymm3, %ymm2 {%k3}
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm2 {%k4} = ymm0[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm6[1,2,3,4,5,6,7],ymm2[8],ymm6[9,10,11,12,13,14,15]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa %ymm1, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm8, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm10, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm9, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm5, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm4, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <224 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217>
+ %strided.vec1 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218>
+ %strided.vec2 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219>
+ %strided.vec3 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220>
+ %strided.vec4 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221>
+ %strided.vec5 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222>
+ %strided.vec6 = shufflevector <224 x i8> %wide.vec, <224 x i8> poison, <32 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223>
+
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+
+define void @load_i8_stride7_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6) nounwind {
+; SSE-LABEL: load_i8_stride7_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $1512, %rsp # imm = 0x5E8
+; SSE-NEXT: movdqa 208(%rdi), %xmm10
+; SSE-NEXT: movdqa 192(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 176(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 112(%rdi), %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 160(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 144(%rdi), %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm14
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pxor %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm1[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [255,255,255,255,255,0,0,0,0,0,255,255,255,255,255,255]
+; SSE-NEXT: movdqa {{.*#+}} xmm15 = [65535,65535,0,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,65535,65535,65535,0,65535,0,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm7, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,0,0,0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 256(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 272(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm8, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa 240(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 224(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa 288(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa 304(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa 320(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 384(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm8, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa 352(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 336(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa 400(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa 416(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa 432(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 32(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa 48(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm8, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,5,6]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa 16(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa (%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,2,1,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,3,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm11
+; SSE-NEXT: por %xmm11, %xmm1
+; SSE-NEXT: movdqa 64(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa 80(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,6,4,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,7,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa 96(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm12, %xmm14
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm15, %xmm10
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm15, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pslld $16, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm3, %xmm11
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm1
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pslld $16, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: movdqa %xmm5, %xmm12
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pandn %xmm5, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pslld $16, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm15, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrld $16, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm8, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pandn %xmm15, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm13
+; SSE-NEXT: por %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa (%rsp), %xmm8 # 16-byte Reload
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm9, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm13
+; SSE-NEXT: pand %xmm10, %xmm13
+; SSE-NEXT: movdqa %xmm10, %xmm7
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm10
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm7
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,0,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm6, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm6[0,2,2,3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,2,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm8
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm11, %xmm14
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,2,2,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm7, %xmm11
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm10, %xmm7
+; SSE-NEXT: por %xmm11, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: pandn %xmm7, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pandn %xmm5, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pandn %xmm13, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm11
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm14
+; SSE-NEXT: pslld $16, %xmm14
+; SSE-NEXT: psrldq {{.*#+}} xmm6 = xmm6[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm10[0],xmm6[1],xmm10[1],xmm6[2],xmm10[2],xmm6[3],xmm10[3]
+; SSE-NEXT: psrldq {{.*#+}} xmm9 = xmm9[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm15[0],xmm9[1],xmm15[1],xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: psrldq {{.*#+}} xmm1 = xmm1[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm9
+; SSE-NEXT: psrldq {{.*#+}} xmm9 = xmm9[2,3,4,5,6,7,8,9,10,11,12,13,14,15],zero,zero
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm3[0],xmm9[1],xmm3[1],xmm9[2],xmm3[2],xmm9[3],xmm3[3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhwd {{.*#+}} xmm12 = xmm12[4],xmm10[4],xmm12[5],xmm10[5],xmm12[6],xmm10[6],xmm12[7],xmm10[7]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm12
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpckhwd {{.*#+}} xmm11 = xmm11[4],xmm0[4],xmm11[5],xmm0[5],xmm11[6],xmm0[6],xmm11[7],xmm0[7]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm11
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm1, %xmm9
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm3, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm10 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm10[0,1,2,3,6,4,6,5]
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,65535,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm15 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm15[0,1,2,3,6,4,6,5]
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm15 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm15[0,1,2,3,6,4,6,5]
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm15 = xmm0[0,1,2,3,7,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm15[0,1,2,3,6,4,6,5]
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pandn %xmm12, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm10, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm10, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm10, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm15
+; SSE-NEXT: pandn %xmm2, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3],xmm0[4],xmm3[4],xmm0[5],xmm3[5],xmm0[6],xmm3[6],xmm0[7],xmm3[7]
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm13, %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pandn %xmm9, %xmm13
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm14[0],xmm9[1],xmm14[1],xmm9[2],xmm14[2],xmm9[3],xmm14[3]
+; SSE-NEXT: packuswb %xmm9, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm15
+; SSE-NEXT: pandn %xmm3, %xmm15
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = mem[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm3 = xmm3[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,4,6,7]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm5, %xmm3
+; SSE-NEXT: por %xmm3, %xmm15
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm0, %xmm9
+; SSE-NEXT: pandn %xmm15, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm0, %xmm1
+; SSE-NEXT: por %xmm3, %xmm9
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm12, %xmm3
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm15
+; SSE-NEXT: por %xmm3, %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3],xmm3[4],xmm2[4],xmm3[5],xmm2[5],xmm3[6],xmm2[6],xmm3[7],xmm2[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,0,65535,65535,65535,65535,0,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pandn %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm2[8],xmm15[9],xmm2[9],xmm15[10],xmm2[10],xmm15[11],xmm2[11],xmm15[12],xmm2[12],xmm15[13],xmm2[13],xmm15[14],xmm2[14],xmm15[15],xmm2[15]
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm0, %xmm15
+; SSE-NEXT: packuswb %xmm6, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm7
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pxor %xmm15, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [65535,65535,65535,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm0, %xmm13
+; SSE-NEXT: pandn %xmm2, %xmm13
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm13, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm1[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm13 = xmm13[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm2, %xmm13
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [255,255,255,255,255,0,0,0,0,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm13, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: movdqa %xmm6, %xmm14
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm13
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm2, %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3],xmm8[4],xmm15[4],xmm8[5],xmm15[5],xmm8[6],xmm15[6],xmm8[7],xmm15[7]
+; SSE-NEXT: pand %xmm9, %xmm8
+; SSE-NEXT: por %xmm3, %xmm8
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: pand %xmm6, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm8
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: por %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3],xmm4[4],xmm15[4],xmm4[5],xmm15[5],xmm4[6],xmm15[6],xmm4[7],xmm15[7]
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm3, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm4[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm6
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm6[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: pandn %xmm3, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm7[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm5, %xmm2
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: pand %xmm14, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,3,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm8, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: por %xmm2, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pand %xmm9, %xmm6
+; SSE-NEXT: por %xmm3, %xmm6
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm11[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: por %xmm3, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,3,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,0,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,0,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm2[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshuflw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm2[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshuflw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm2[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pandn %xmm14, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm0, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshuflw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,0,0,0]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pandn %xmm0, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: pandn %xmm2, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pandn %xmm11, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm0[4],xmm1[5],xmm0[5],xmm1[6],xmm0[6],xmm1[7],xmm0[7]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,4,7,6]
+; SSE-NEXT: psrlq $48, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm2[3,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,7,7,7,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm15[0],xmm3[1],xmm15[1],xmm3[2],xmm15[2],xmm3[3],xmm15[3],xmm3[4],xmm15[4],xmm3[5],xmm15[5],xmm3[6],xmm15[6],xmm3[7],xmm15[7]
+; SSE-NEXT: pand %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm13
+; SSE-NEXT: por %xmm3, %xmm13
+; SSE-NEXT: pshuflw $230, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[2,1,2,3,4,5,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,0,0]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[0,2,1,0,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm13
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn %xmm8, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: pandn %xmm11, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pand %xmm5, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm6, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm14, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[3,1,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm15[8],xmm0[9],xmm15[9],xmm0[10],xmm15[10],xmm0[11],xmm15[11],xmm0[12],xmm15[12],xmm0[13],xmm15[13],xmm0[14],xmm15[14],xmm0[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[0,1,3,3]
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm1[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm15[8],xmm7[9],xmm15[9],xmm7[10],xmm15[10],xmm7[11],xmm15[11],xmm7[12],xmm15[12],xmm7[13],xmm15[13],xmm7[14],xmm15[14],xmm7[15],xmm15[15]
+; SSE-NEXT: pand %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: por %xmm7, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,3,2,1,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: pshufd $100, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pandn %xmm2, %xmm13
+; SSE-NEXT: por %xmm1, %xmm13
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: pandn %xmm13, %xmm2
+; SSE-NEXT: andps %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm13
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [65535,65535,65535,0,65535,65535,0,65535]
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [0,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm0, %xmm6
+; SSE-NEXT: pandn %xmm2, %xmm6
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm2 = xmm2[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm4, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,3,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm12[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1],xmm6[2],xmm15[2],xmm6[3],xmm15[3],xmm6[4],xmm15[4],xmm6[5],xmm15[5],xmm6[6],xmm15[6],xmm6[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movss {{.*#+}} xmm1 = xmm6[0],xmm1[1,2,3]
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm11, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm7
+; SSE-NEXT: pand %xmm5, %xmm7
+; SSE-NEXT: movdqa %xmm5, %xmm6
+; SSE-NEXT: por %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,65535,0,65535,0,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm15[8],xmm7[9],xmm15[9],xmm7[10],xmm15[10],xmm7[11],xmm15[11],xmm7[12],xmm15[12],xmm7[13],xmm15[13],xmm7[14],xmm15[14],xmm7[15],xmm15[15]
+; SSE-NEXT: pand %xmm3, %xmm7
+; SSE-NEXT: por %xmm8, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm2, %xmm8
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0]
+; SSE-NEXT: movdqa %xmm11, %xmm12
+; SSE-NEXT: pandn %xmm8, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm7, %xmm12
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm12, %xmm2
+; SSE-NEXT: andps %xmm13, %xmm1
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm1, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm15[8],xmm7[9],xmm15[9],xmm7[10],xmm15[10],xmm7[11],xmm15[11],xmm7[12],xmm15[12],xmm7[13],xmm15[13],xmm7[14],xmm15[14],xmm7[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm0, %xmm8
+; SSE-NEXT: pandn %xmm7, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm1[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm7 = xmm7[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm7, %xmm8
+; SSE-NEXT: movdqa %xmm4, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm5[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm7[0],xmm12[1],xmm7[1]
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm15[8],xmm7[9],xmm15[9],xmm7[10],xmm15[10],xmm7[11],xmm15[11],xmm7[12],xmm15[12],xmm7[13],xmm15[13],xmm7[14],xmm15[14],xmm7[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3],xmm12[4],xmm15[4],xmm12[5],xmm15[5],xmm12[6],xmm15[6],xmm12[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm7[0],xmm12[1],xmm7[1],xmm12[2],xmm7[2],xmm12[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: movss {{.*#+}} xmm8 = xmm12[0],xmm8[1,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm7
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: pand %xmm6, %xmm12
+; SSE-NEXT: por %xmm7, %xmm12
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm15[0],xmm7[1],xmm15[1],xmm7[2],xmm15[2],xmm7[3],xmm15[3],xmm7[4],xmm15[4],xmm7[5],xmm15[5],xmm7[6],xmm15[6],xmm7[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm3, %xmm14
+; SSE-NEXT: pandn %xmm7, %xmm14
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm15[8],xmm12[9],xmm15[9],xmm12[10],xmm15[10],xmm12[11],xmm15[11],xmm12[12],xmm15[12],xmm12[13],xmm15[13],xmm12[14],xmm15[14],xmm12[15],xmm15[15]
+; SSE-NEXT: pand %xmm3, %xmm12
+; SSE-NEXT: por %xmm14, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm11, %xmm14
+; SSE-NEXT: pandn %xmm7, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm12[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm7, %xmm14
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm14, %xmm2
+; SSE-NEXT: andps %xmm13, %xmm8
+; SSE-NEXT: por %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: pand %xmm4, %xmm8
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm8, %xmm12
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm15[8],xmm12[9],xmm15[9],xmm12[10],xmm15[10],xmm12[11],xmm15[11],xmm12[12],xmm15[12],xmm12[13],xmm15[13],xmm12[14],xmm15[14],xmm12[15],xmm15[15]
+; SSE-NEXT: movdqa %xmm0, %xmm14
+; SSE-NEXT: pandn %xmm12, %xmm14
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3],xmm8[4],xmm15[4],xmm8[5],xmm15[5],xmm8[6],xmm15[6],xmm8[7],xmm15[7]
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm8
+; SSE-NEXT: por %xmm14, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm12 = xmm12[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm12, %xmm8
+; SSE-NEXT: movdqa %xmm4, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm1[1,3,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm1[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm15 = xmm15[0],xmm12[0],xmm15[1],xmm12[1]
+; SSE-NEXT: movdqa %xmm15, %xmm12
+; SSE-NEXT: punpckhbw {{.*#+}} xmm12 = xmm12[8],xmm2[8],xmm12[9],xmm2[9],xmm12[10],xmm2[10],xmm12[11],xmm2[11],xmm12[12],xmm2[12],xmm12[13],xmm2[13],xmm12[14],xmm2[14],xmm12[15],xmm2[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm12[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm2[0],xmm15[1],xmm2[1],xmm15[2],xmm2[2],xmm15[3],xmm2[3],xmm15[4],xmm2[4],xmm15[5],xmm2[5],xmm15[6],xmm2[6],xmm15[7],xmm2[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm12[0],xmm15[1],xmm12[1],xmm15[2],xmm12[2],xmm15[3],xmm12[3]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movss {{.*#+}} xmm8 = xmm15[0],xmm8[1,2,3]
+; SSE-NEXT: movdqa %xmm6, %xmm12
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pand %xmm6, %xmm15
+; SSE-NEXT: por %xmm12, %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm12
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm2[0],xmm12[1],xmm2[1],xmm12[2],xmm2[2],xmm12[3],xmm2[3],xmm12[4],xmm2[4],xmm12[5],xmm2[5],xmm12[6],xmm2[6],xmm12[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm3, %xmm6
+; SSE-NEXT: pandn %xmm12, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm2[8],xmm15[9],xmm2[9],xmm15[10],xmm2[10],xmm15[11],xmm2[11],xmm15[12],xmm2[12],xmm15[13],xmm2[13],xmm15[14],xmm2[14],xmm15[15],xmm2[15]
+; SSE-NEXT: pand %xmm3, %xmm15
+; SSE-NEXT: por %xmm6, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm15[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm6 = xmm6[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pand %xmm11, %xmm6
+; SSE-NEXT: por %xmm6, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm12
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: andps %xmm7, %xmm8
+; SSE-NEXT: por %xmm8, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: pxor %xmm15, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm15[8],xmm6[9],xmm15[9],xmm6[10],xmm15[10],xmm6[11],xmm15[11],xmm6[12],xmm15[12],xmm6[13],xmm15[13],xmm6[14],xmm15[14],xmm6[15],xmm15[15]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: pandn %xmm6, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,5,4,7,6]
+; SSE-NEXT: psrldq {{.*#+}} xmm6 = xmm6[10,11,12,13,14,15],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; SSE-NEXT: packuswb %xmm6, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; SSE-NEXT: pand %xmm4, %xmm13
+; SSE-NEXT: pand %xmm4, %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[0,2,2,3]
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[1,3,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1]
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: punpckhbw {{.*#+}} xmm6 = xmm6[8],xmm15[8],xmm6[9],xmm15[9],xmm6[10],xmm15[10],xmm6[11],xmm15[11],xmm6[12],xmm15[12],xmm6[13],xmm15[13],xmm6[14],xmm15[14],xmm6[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm6[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[0,2,2,3,4,5,6,7]
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[1,3,2,3,4,5,6,7]
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movss {{.*#+}} xmm0 = xmm2[0],xmm0[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,65535,0,65535,65535,0,65535,65535]
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm10[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,4,7,6]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,1,0,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,0,3,2,4,5,6,7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,5,5,5]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: por %xmm2, %xmm8
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: pandn %xmm8, %xmm6
+; SSE-NEXT: andps %xmm7, %xmm0
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm0 = xmm0[4],xmm2[4],xmm0[5],xmm2[5],xmm0[6],xmm2[6],xmm0[7],xmm2[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm15[8],xmm1[9],xmm15[9],xmm1[10],xmm15[10],xmm1[11],xmm15[11],xmm1[12],xmm15[12],xmm1[13],xmm15[13],xmm1[14],xmm15[14],xmm1[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[3,3,3,3]
+; SSE-NEXT: packuswb %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm0[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm0[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3],xmm0[4],xmm15[4],xmm0[5],xmm15[5],xmm0[6],xmm15[6],xmm0[7],xmm15[7]
+; SSE-NEXT: movdqa {{.*#+}} xmm8 = [65535,65535,65535,0,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm8, %xmm13
+; SSE-NEXT: pandn %xmm0, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm15[8],xmm10[9],xmm15[9],xmm10[10],xmm15[10],xmm10[11],xmm15[11],xmm10[12],xmm15[12],xmm10[13],xmm15[13],xmm10[14],xmm15[14],xmm10[15],xmm15[15]
+; SSE-NEXT: pand %xmm8, %xmm10
+; SSE-NEXT: por %xmm13, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm10
+; SSE-NEXT: pand %xmm11, %xmm10
+; SSE-NEXT: por %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pandn %xmm10, %xmm0
+; SSE-NEXT: andps %xmm7, %xmm2
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm9, %xmm2
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm1 = xmm1[4],xmm2[4],xmm1[5],xmm2[5],xmm1[6],xmm2[6],xmm1[7],xmm2[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm15[8],xmm2[9],xmm15[9],xmm2[10],xmm15[10],xmm2[11],xmm15[11],xmm2[12],xmm15[12],xmm2[13],xmm15[13],xmm2[14],xmm15[14],xmm2[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm2, %xmm9
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: por %xmm9, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[3,3,3,3]
+; SSE-NEXT: packuswb %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movss {{.*#+}} xmm2 = xmm1[0],xmm2[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Folded Reload
+; SSE-NEXT: # xmm10 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm1[0],xmm10[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm15[0],xmm1[1],xmm15[1],xmm1[2],xmm15[2],xmm1[3],xmm15[3],xmm1[4],xmm15[4],xmm1[5],xmm15[5],xmm1[6],xmm15[6],xmm1[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm8, %xmm13
+; SSE-NEXT: pandn %xmm1, %xmm13
+; SSE-NEXT: punpckhbw {{.*#+}} xmm10 = xmm10[8],xmm15[8],xmm10[9],xmm15[9],xmm10[10],xmm15[10],xmm10[11],xmm15[11],xmm10[12],xmm15[12],xmm10[13],xmm15[13],xmm10[14],xmm15[14],xmm10[15],xmm15[15]
+; SSE-NEXT: pand %xmm8, %xmm10
+; SSE-NEXT: por %xmm13, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm10
+; SSE-NEXT: pand %xmm11, %xmm10
+; SSE-NEXT: por %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: andps %xmm7, %xmm2
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm14, %xmm3
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm10
+; SSE-NEXT: movdqa %xmm3, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm10, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm9[3,3,3,3]
+; SSE-NEXT: packuswb %xmm10, %xmm3
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movss {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm11, %xmm10
+; SSE-NEXT: pandn %xmm2, %xmm10
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: movdqa %xmm8, %xmm14
+; SSE-NEXT: pandn %xmm2, %xmm14
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm15[8],xmm13[9],xmm15[9],xmm13[10],xmm15[10],xmm13[11],xmm15[11],xmm13[12],xmm15[12],xmm13[13],xmm15[13],xmm13[14],xmm15[14],xmm13[15],xmm15[15]
+; SSE-NEXT: pand %xmm8, %xmm13
+; SSE-NEXT: por %xmm14, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm13[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: por %xmm10, %xmm2
+; SSE-NEXT: movdqa %xmm7, %xmm10
+; SSE-NEXT: pandn %xmm2, %xmm10
+; SSE-NEXT: andps %xmm7, %xmm3
+; SSE-NEXT: por %xmm3, %xmm10
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm15[0],xmm2[1],xmm15[1],xmm2[2],xmm15[2],xmm2[3],xmm15[3],xmm2[4],xmm15[4],xmm2[5],xmm15[5],xmm2[6],xmm15[6],xmm2[7],xmm15[7]
+; SSE-NEXT: pshufhw {{.*#+}} xmm2 = xmm2[0,1,2,3,6,4,6,7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm15[8],xmm4[9],xmm15[9],xmm4[10],xmm15[10],xmm4[11],xmm15[11],xmm4[12],xmm15[12],xmm4[13],xmm15[13],xmm4[14],xmm15[14],xmm4[15],xmm15[15]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[0,1,2,1]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,5,7,6,7]
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm15[8],xmm3[9],xmm15[9],xmm3[10],xmm15[10],xmm3[11],xmm15[11],xmm3[12],xmm15[12],xmm3[13],xmm15[13],xmm3[14],xmm15[14],xmm3[15],xmm15[15]
+; SSE-NEXT: pxor %xmm14, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: pandn %xmm3, %xmm9
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: por %xmm9, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,2,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,7,6,5]
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm4[3,3,3,3]
+; SSE-NEXT: packuswb %xmm13, %xmm3
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movss {{.*#+}} xmm3 = xmm2[0],xmm3[1,2,3]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; SSE-NEXT: por {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[1,3,2,3]
+; SSE-NEXT: pshufd $232, {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = mem[0,2,2,3]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm2[0],xmm13[1],xmm2[1]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm14[0],xmm2[1],xmm14[1],xmm2[2],xmm14[2],xmm2[3],xmm14[3],xmm2[4],xmm14[4],xmm2[5],xmm14[5],xmm2[6],xmm14[6],xmm2[7],xmm14[7]
+; SSE-NEXT: punpckhbw {{.*#+}} xmm13 = xmm13[8],xmm14[8],xmm13[9],xmm14[9],xmm13[10],xmm14[10],xmm13[11],xmm14[11],xmm13[12],xmm14[12],xmm13[13],xmm14[13],xmm13[14],xmm14[14],xmm13[15],xmm14[15]
+; SSE-NEXT: pand %xmm8, %xmm13
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: por %xmm13, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm8[2,1,1,1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,0,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm9[0,1,0,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm8 = xmm8[0,1,2,3,4,5,4,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pandn %xmm8, %xmm11
+; SSE-NEXT: por %xmm11, %xmm2
+; SSE-NEXT: andps %xmm7, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm7
+; SSE-NEXT: por %xmm3, %xmm7
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm6, (%rax)
+; SSE-NEXT: movdqa %xmm12, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movaps %xmm2, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movdqa %xmm7, (%rax)
+; SSE-NEXT: movdqa %xmm10, 48(%rax)
+; SSE-NEXT: movdqa %xmm1, 32(%rax)
+; SSE-NEXT: movdqa %xmm0, 16(%rax)
+; SSE-NEXT: addq $1512, %rsp # imm = 0x5E8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride7_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $728, %rsp # imm = 0x2D8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,128,128,128,6,13,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <128,128,128,5,12,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <0,7,14,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,3,10,128,128,128,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,128,128,1,8,15,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <255,255,255,255,255,0,0,0,0,0,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm7, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,1,8,15,128,128,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm6, %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,128,128,3,10,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,5,12,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,0,0,0,0,255,255,255,255,255,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm2, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,2,9,128,128,128,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,128,128,0,7,14,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,128,128,4,11,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,6,13,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm14, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm3, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,128,128,128,5,12,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,0,7,14,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,3,10,128,128,128,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,128,128,1,8,15,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,255,255,255,255,255,0,0,0,0,0,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm3, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm10, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <128,128,128,6,13,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <1,8,15,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,128,128,2,9,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,4,11,128,128,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm15, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm10, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <255,255,255,255,255,0,0,0,0,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm3, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm11, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <2,9,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <128,128,0,7,14,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,128,128,3,10,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,5,12,128,128,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm15, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <255,255,255,255,255,0,0,0,0,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm2, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm12, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm14
+; AVX1-ONLY-NEXT: vpor %xmm5, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm11, %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <3,10,128,128,128,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <128,128,1,8,15,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm6
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm6, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,128,128,4,11,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,6,13,128,128,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm15, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm10, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm7
+; AVX1-ONLY-NEXT: vpblendvb %xmm5, %xmm8, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm14, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX1-ONLY-NEXT: vpblendvb %xmm7, %xmm1, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,128,128,128,6,13,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,1,8,15,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,128,128,2,9,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,4,11,128,128,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm9, %xmm8
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,255,255,255,255,255,0,0,0,0,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm1, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm14, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,2,9,128,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,128,128,0,7,14,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,128,128,3,10,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,5,12,128,128,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm3, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,3,10,128,128,128,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,128,128,1,8,15,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm10, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,128,128,4,11,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,6,13,128,128,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm2, %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm8, %xmm1, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,5,12>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm11, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,u,0,7,14,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm8, %xmm10, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,255,255,255,255,255,255,255,255,255,0,0,0,0,0>
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8, %xmm1 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,6,13>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,u,1,8,15,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, (%rsp), %xmm6, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,u,u,u,u,u,2,9,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,7,14>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm11, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm7, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm4, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,4,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm5 = xmm4[0],xmm1[0],xmm4[1],xmm1[1]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,128,128,128,5,12,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,0,7,14,128,128,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm6[0],xmm5[1,2],xmm6[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,u,u,u,u,u,3,10,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm12, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,8,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm11, %xmm10
+; AVX1-ONLY-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm6, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0],xmm0[1,2],xmm1[3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpblendvb %xmm2, %xmm0, %xmm1, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm1[u,u,u,u,4,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm4 = xmm9[0],xmm4[0],xmm9[1],xmm4[1]
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm4 = xmm4[10,11,12,13,14,15],xmm1[0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm10 = xmm4[u,u,u,u,u,u,u,u,u,u,0,1,2,3,8,15]
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm2[0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm15, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm2 = [65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535,65535,65535]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm15 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm10, %ymm2, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm10, %ymm15, %ymm10
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm15
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm4 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm15, %ymm4, %ymm15
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm10, %ymm10
+; AVX1-ONLY-NEXT: vorps %ymm15, %ymm10, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm8, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm14[0],xmm10[0],xmm14[1],xmm10[1],xmm14[2],xmm10[2],xmm14[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm10, %xmm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm3 = mem[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm15 = xmm0[u,u,u,u,4,11,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm6 = xmm6[0],xmm15[0],xmm6[1],xmm15[1]
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpalignr {{.*#+}} xmm6 = xmm6[10,11,12,13,14,15],xmm8[0,1,2,3,4,5,6,7,8,9]
+; AVX1-ONLY-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm6[u,u,u,u,u,u,u,u,u,u,0,1,2,3,8,15]
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm6[0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm14
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm2, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm13, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm4, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm11[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm13[0],xmm2[0],xmm13[1],xmm2[1],xmm13[2],xmm2[2],xmm13[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2, %xmm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm13 = mem[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,u,u,5,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[u,u,u,u,u,0,7,14,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm3 = xmm3[0],xmm2[0],xmm3[1],xmm2[1]
+; AVX1-ONLY-NEXT: vxorps %xmm0, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm0[7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm1[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm1[3,10]
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm0, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm15[1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm3 = [0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm0 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vandnps %ymm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm10[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm5[u,u,u,u,5,12,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm9[u,u,u,u,u,0,7,14,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpckldq {{.*#+}} xmm1 = xmm13[0],xmm1[0],xmm13[1],xmm1[1]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6],mem[7]
+; AVX1-ONLY-NEXT: vpxor %xmm9, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm8[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm8[3,10]
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm14[1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vandnps {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandps %ymm3, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm13, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vandnps %ymm0, %ymm4, %ymm0
+; AVX1-ONLY-NEXT: vandps %ymm4, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm0 = xmm11[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm1 = xmm12[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0, %xmm0 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm0 = mem[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,u,u,u,6,13,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15>
+; AVX1-ONLY-NEXT: vmovdqa %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm1 = xmm11[2],xmm1[2],xmm11[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,6],xmm9[7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,128,128,128,128,128,4,11>
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm1, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm15, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm1, %ymm12
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm1 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm12, %ymm1, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm12, %ymm13, %ymm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vmovaps {{.*#+}} ymm0 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0]
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vorps %ymm13, %ymm12, %ymm12
+; AVX1-ONLY-NEXT: vmovups %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm10[u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm10[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw $63, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12, %xmm12 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: # xmm12 = mem[0,1,2,3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpunpckhdq {{.*#+}} xmm3 = xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpxor %xmm13, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm13[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,2,9,128,128,128,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm9
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,128,128,0,7,14,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm8, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm13[7]
+; AVX1-ONLY-NEXT: vpxor %xmm8, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,128,128,128,128,128,5,12>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm13
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm13, %ymm3
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm13 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm13, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm13 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm13, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1,2,3,4,5,6],xmm8[7]
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm4 # 32-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm4 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1],xmm11[2],xmm3[2],xmm11[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm7[u,u,u,u],zero,zero,zero,xmm7[5,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[u,u,u,u,0,7,14],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm4[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm9[u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm9[u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,128,128,1,8,15,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm13
+; AVX1-ONLY-NEXT: vpor %xmm12, %xmm13, %xmm12
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm12[0,1,2,3,4,5,6],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm9[6,13]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm9, %xmm12
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm12, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm1, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm11, %ymm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm11, %ymm3
+; AVX1-ONLY-NEXT: vmovups %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm9, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1],xmm11[2],xmm3[2],xmm11[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u],zero,zero,zero,xmm10[5,12,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm15[u,u,u,u,0,7,14],zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm3 = xmm3[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm2[u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm2[u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm11, %xmm4
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm4[0,1,2,3,4,5,6],mem[7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,u,u],zero,zero,zero,zero,zero,xmm4[6,13]
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandnps %ymm2, %ymm1, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm3, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, (%rsp), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm8[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u],zero,zero,zero,xmm7[6,13,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm6[u,u,u,u,1,8,15],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm8
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm7[u,u,u,u,u,u,u,u,u],zero,zero,xmm7[2,9,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,4,11,128,128,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm13
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,u,u,9,10,11,12],zero,zero,zero
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,u,u,u,128,128,128,128,0,7,14>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm13
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm11, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm1, %ymm11
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm11 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm11, %ymm0, %ymm11
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm2, %ymm11, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm2 = xmm14[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm11[0],xmm2[0],xmm11[1],xmm2[1],xmm11[2],xmm2[2],xmm11[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm10[u,u,u,u],zero,zero,zero,xmm10[6,13,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm13 = xmm15[u,u,u,u,1,8,15],zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1],xmm11[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm11 = xmm12[u,u,u,u,u,u,u,u,u],zero,zero,xmm12[2,9,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm10, %xmm12
+; AVX1-ONLY-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,u,9,10,11,12,128,128,128>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm11, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm6, %xmm4
+; AVX1-ONLY-NEXT: vpor %xmm4, %xmm11, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm3, %ymm4, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm3
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vmovups %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm11[0],xmm3[0],xmm11[1],xmm3[1],xmm11[2],xmm3[2],xmm11[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm12 = xmm8[u,u,u,u,2,9],zero,zero,zero,xmm8[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,128,128,0,7,14,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpor %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,u,u,u,128,128,3,10,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm8
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,5,12,128,128,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,128,128,128,128,1,8,15>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm5, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm7, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm1, %ymm5
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vorps %ymm5, %ymm2, %ymm2
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm5 = xmm14[4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm7[0],xmm5[0],xmm7[1],xmm5[1],xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm7 = xmm15[u,u,u,u,2,9],zero,zero,zero,xmm15[u,u,u,u,u,u,u]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm9, %xmm9
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm9, %xmm7
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm5[0,1],xmm7[2,3,4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm10, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm3, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,u,9,10,11,12],zero,zero,zero
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm6, %xmm7
+; AVX1-ONLY-NEXT: vpor %xmm7, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm3, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm1, %ymm5, %ymm4
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm1, %ymm1
+; AVX1-ONLY-NEXT: vorps %ymm1, %ymm4, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm3 # 16-byte Folded Reload
+; AVX1-ONLY-NEXT: vandnps %ymm3, %ymm0, %ymm3
+; AVX1-ONLY-NEXT: vandps %ymm0, %ymm1, %ymm0
+; AVX1-ONLY-NEXT: vorps %ymm3, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX1-ONLY-NEXT: addq $728, %rsp # imm = 0x2D8
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i8_stride7_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $760, %rsp # imm = 0x2F8
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %ymm8
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %ymm10
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm1, %ymm10, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, %ymm14
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm12
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,5,12,128,128,1,8,15,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm2, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <0,7,14,128,128,3,10,128,128,128,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm4, %ymm5, %ymm3
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, %ymm15
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm9
+; AVX2-SLOW-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, %ymm11
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm3[0,1],ymm4[2],ymm3[3,4],ymm4[5],ymm3[6,7,8,9],ymm4[10],ymm3[11,12],ymm4[13],ymm3[14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm4, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm4, %ymm0, %ymm5, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm8, %ymm6, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, %ymm13
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %ymm6
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm6, %ymm7, %ymm2
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm5[2],ymm2[3,4],ymm5[5],ymm2[6,7,8,9],ymm5[10],ymm2[11,12],ymm5[13],ymm2[14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm4, %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm9, %ymm11, %ymm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1],ymm2[2],ymm1[3,4,5],ymm2[6],ymm1[7,8,9],ymm2[10],ymm1[11,12,13],ymm2[14],ymm1[15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm1, %ymm12, %ymm10, %ymm4
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,6,13,128,128,2,9,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <1,8,15,128,128,4,11,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm2, %ymm4, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm7, %ymm8, %ymm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7,8,9],ymm4[10],ymm2[11,12,13],ymm4[14],ymm2[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm13, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm9, %ymm2, %ymm1, %ymm11
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %ymm1
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %ymm13
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm13, %ymm4
+; AVX2-SLOW-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,128,128,3,10,128,128,128,6,13,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,5,12,128,128,1,8,15,128,128,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa 432(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, %xmm8
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm14 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-SLOW-NEXT: vpblendvb %ymm10, %ymm4, %ymm5, %ymm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm15, %xmm9
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm0, %xmm9, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm9
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm10, %xmm12
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1],xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm7, %ymm13, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,6,13,128,128,2,9,128,128,128,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm0, %xmm9
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,128,128,4,11,128,128,0,7,14,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm0, %xmm9, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm1, %xmm13
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm3, %xmm8
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1],xmm8[2],xmm13[2],xmm8[3],xmm13[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm4, %ymm5, %ymm0
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm0, %xmm3
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm2, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, %xmm13
+; AVX2-SLOW-NEXT: vpshufb %xmm15, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-SLOW-NEXT: vpblendvb %ymm14, %ymm11, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm11, %ymm7, %ymm0
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,128,128,128,6,13,128,128,2,9,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,1,8,15,128,128,4,11,128,128,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,5,12>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm15, %xmm8
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,u,u,u,0,7,14,128,128>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm14, %xmm12
+; AVX2-SLOW-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm12
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vbroadcasti128 {{.*#+}} ymm0 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-SLOW-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm12, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm5, %ymm4, %ymm8
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm13, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm3, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm11, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,2,9,128,128,128,5,12,128,128,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm1, %xmm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,0,7,14,128,128,3,10,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,6,13>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm15, %xmm9
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,u,u,1,8,15,128,128>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm14, %xmm13
+; AVX2-SLOW-NEXT: vpor %xmm9, %xmm13, %xmm9
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm9, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm5, %ymm4, %ymm1
+; AVX2-SLOW-NEXT: vpshufb %xmm7, %xmm1, %xmm3
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendvb %ymm3, %ymm11, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, %ymm15
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,10,128,128,128,6,13,128,128,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,1,8,15,128,128,4,11,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,2,9,128,128,128>
+; AVX2-SLOW-NEXT: vmovdqa %xmm14, %xmm9
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm12
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,7,14>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vpor %xmm12, %xmm14, %xmm12
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm12, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm15, %ymm5, %ymm4, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, %ymm15
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm14, %xmm6
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-SLOW-NEXT: vmovdqa %ymm11, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm11, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm11, %ymm7, %ymm3, %ymm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,128,128,2,9,128,128,128,5,12,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,4,11,128,128,0,7,14,128,128,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,u,3,10,128,128,128>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm7
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,8,15>
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm10, %xmm13
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm13, %xmm7
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm7, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm15, %ymm4, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa %ymm11, %ymm12
+; AVX2-SLOW-NEXT: vpblendvb %ymm11, %ymm4, %ymm15, %ymm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm14, %xmm3
+; AVX2-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm5, %ymm1, %ymm10, %ymm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm1, %ymm10, %ymm15
+; AVX2-SLOW-NEXT: vpblendvb %ymm11, %ymm10, %ymm1, %ymm11
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm4, %ymm10, %ymm1, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm10, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendvb %ymm2, %ymm1, %ymm10, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm5, %ymm10, %ymm1, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm10, %ymm1, %ymm7
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm1, %ymm10, %ymm14
+; AVX2-SLOW-NEXT: vpblendvb %ymm4, %ymm1, %ymm10, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm2, %ymm1, %ymm9
+; AVX2-SLOW-NEXT: vpblendvb %ymm5, %ymm2, %ymm1, %ymm5
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm2, %ymm1, %ymm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm1, %ymm2, %ymm10
+; AVX2-SLOW-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpblendvb %ymm4, %ymm1, %ymm2, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm2, %ymm4, %ymm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-SLOW-NEXT: vpblendvb %ymm6, %ymm2, %ymm4, %ymm6
+; AVX2-SLOW-NEXT: vpblendvb %ymm13, %ymm2, %ymm4, %ymm10
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm4, %ymm2, %ymm12
+; AVX2-SLOW-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-SLOW-NEXT: vpblendvb %ymm12, %ymm4, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <2,9,128,128,128,5,12,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <128,128,0,7,14,128,128,3,10,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm4
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm0
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3],ymm9[4,5],ymm0[6],ymm9[7,8,9,10],ymm0[11],ymm9[12,13],ymm0[14],ymm9[15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm9, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm4, %ymm2, %ymm2
+; AVX2-SLOW-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3],ymm1[4,5],ymm3[6],ymm1[7,8,9,10],ymm3[11],ymm1[12,13],ymm3[14],ymm1[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <3,10,128,128,128,6,13,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm15, %xmm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm15, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,1,8,15,128,128,4,11,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1,2],ymm3[3],ymm5[4,5,6],ymm3[7,8],ymm5[9,10],ymm3[11],ymm5[12,13,14],ymm3[15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm2, %ymm3, %ymm2
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm6[1,2],ymm3[3],ymm6[4,5,6],ymm3[7,8],ymm6[9,10],ymm3[11],ymm6[12,13,14],ymm3[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm15
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm11, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,2,9,128,128,128,5,12,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <4,11,128,128,0,7,14,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm3
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm3
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm8[1,2,3],ymm3[4],ymm8[5,6],ymm3[7,8],ymm8[9,10,11],ymm3[12],ymm8[13,14],ymm3[15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm3
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm4
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm10[1,2,3],ymm4[4],ymm10[5,6],ymm4[7,8],ymm10[9,10,11],ymm4[12],ymm10[13,14],ymm4[15]
+; AVX2-SLOW-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm1, %ymm4, %ymm1
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <128,128,3,10,128,128,128,6,13,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <5,12,128,128,1,8,15,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vpor %xmm4, %xmm7, %xmm4
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm7
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1],ymm8[2,3],ymm7[4],ymm8[5,6,7,8],ymm7[9],ymm8[10,11],ymm7[12],ymm8[13,14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm7, %ymm7
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm4, %ymm7, %ymm4
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm7
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm9, %xmm6
+; AVX2-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm6
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6,7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13,14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm8, %ymm6, %ymm6
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm5, %ymm6, %ymm5
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <6,13,128,128,2,9,128,128,128,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <128,128,4,11,128,128,0,7,14,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm8[1],ymm10[2,3,4],ymm8[5],ymm10[6,7,8],ymm8[9],ymm10[10,11,12],ymm8[13],ymm10[14,15]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %ymm10, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm7, %ymm8, %ymm7
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1],ymm9[2,3,4],ymm8[5],ymm9[6,7,8],ymm8[9],ymm9[10,11,12],ymm8[13],ymm9[14,15]
+; AVX2-SLOW-NEXT: vpshufb %ymm10, %ymm8, %ymm8
+; AVX2-SLOW-NEXT: vpblendvb %ymm0, %ymm6, %ymm8, %ymm0
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,128,5,12,128,128,1,8,15,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,0,7,14,128,128,3,10,128,128,128,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm10, %xmm10
+; AVX2-SLOW-NEXT: vpor %xmm6, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm10, %xmm10
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm12[0],xmm10[0],xmm12[1],xmm10[1],xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm10[0],ymm6[1,2,3,4,5,6,7],ymm10[8],ymm6[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm10, %xmm8
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm12, %xmm9
+; AVX2-SLOW-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm13, %xmm9, %xmm9
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm11, %xmm10, %xmm10
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4,5,6,7],ymm9[8],ymm8[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = ymm2[0],mem[1,2,3,4,5,6,7],ymm2[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm9 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm9 = ymm15[0],mem[1,2,3,4,5,6,7],ymm15[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm3[0],mem[1,2,3,4,5,6,7],ymm3[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm1[0],mem[1,2,3,4,5,6,7],ymm1[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm4[0],mem[1,2,3,4,5,6,7],ymm4[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm5[0],mem[1,2,3,4,5,6,7],ymm5[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm7[0],mem[1,2,3,4,5,6,7],ymm7[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-SLOW-NEXT: # ymm10 = ymm0[0],mem[1,2,3,4,5,6,7],ymm0[8],mem[9,10,11,12,13,14,15]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm6, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm2, 32(%r8)
+; AVX2-SLOW-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-SLOW-NEXT: vmovdqa %ymm3, 32(%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm5, (%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, 32(%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm7, 32(%rax)
+; AVX2-SLOW-NEXT: addq $760, %rsp # imm = 0x2F8
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i8_stride7_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $728, %rsp # imm = 0x2D8
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-NEXT: vpblendvb %ymm3, %ymm1, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovdqa %ymm3, %ymm14
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm9
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm10
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,5,12,128,128,1,8,15,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <0,7,14,128,128,3,10,128,128,128,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm4, %ymm5, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm5, %ymm11
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm13
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm3[0,1],ymm4[2],ymm3[3,4],ymm4[5],ymm3[6,7,8,9],ymm4[10],ymm3[11,12],ymm4[13],ymm3[14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm0, %ymm4, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm14, %ymm6, %ymm8, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %ymm6
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX2-FAST-NEXT: vmovdqa %ymm7, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm6, %ymm7, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm4[2],ymm2[3,4],ymm4[5],ymm2[6,7,8,9],ymm4[10],ymm2[11,12],ymm4[13],ymm2[14,15]
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm12, %ymm1, %ymm2, %ymm12
+; AVX2-FAST-NEXT: vpblendvb %ymm14, %ymm11, %ymm13, %ymm2
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7,8,9],ymm3[10],ymm2[11,12,13],ymm3[14],ymm2[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm10, %ymm9, %ymm3
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <128,128,128,6,13,128,128,2,9,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <1,8,15,128,128,4,11,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm2, %ymm3, %ymm13
+; AVX2-FAST-NEXT: vpblendvb %ymm14, %ymm0, %ymm6, %ymm2
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4,5],ymm3[6],ymm2[7,8,9],ymm3[10],ymm2[11,12,13],ymm3[14],ymm2[15]
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm5, %ymm8, %ymm3
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm2, %ymm3, %ymm7
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm4
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm2
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm14
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,128,128,3,10,128,128,128,6,13,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,5,12,128,128,1,8,15,128,128,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = [1,2,0,2,1,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm10, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm0, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,7,10,13>
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm1, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm14, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm14, %xmm8
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm8, %xmm0
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm9
+; AVX2-FAST-NEXT: vpermd %ymm9, %ymm10, %ymm8
+; AVX2-FAST-NEXT: vmovdqa %ymm9, %ymm14
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm12, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm2, %ymm3, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,6,13,128,128,2,9,128,128,128,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm9
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,128,128,4,11,128,128,0,7,14,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm9, %xmm0
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = [1,3,0,2,1,3,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm9, %ymm11
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,4,11,14>
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm11, %ymm11
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm11[7]
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm13, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm6
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpor %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpermd %ymm14, %ymm9, %ymm6
+; AVX2-FAST-NEXT: vpshufb %ymm12, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm7, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vmovdqa %ymm2, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm3, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,128,128,128,6,13,128,128,2,9,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,1,8,15,128,128,4,11,128,128,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,5,12>
+; AVX2-FAST-NEXT: vmovdqa 432(%rdi), %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX2-FAST-NEXT: vmovdqa %xmm1, %xmm14
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,u,0,7,14,128,128>
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %xmm15
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm15, %xmm12
+; AVX2-FAST-NEXT: vpor %xmm10, %xmm12, %xmm10
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm12
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vbroadcasti128 {{.*#+}} ymm5 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-FAST-NEXT: # ymm5 = mem[0,1,0,1]
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm12, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm0, %ymm4, %ymm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm12, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm10, %xmm8
+; AVX2-FAST-NEXT: vpor %xmm6, %xmm8, %xmm10
+; AVX2-FAST-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm11
+; AVX2-FAST-NEXT: vpor %xmm9, %xmm11, %xmm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm10, %ymm9, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm1, %ymm3, %ymm2, %ymm9
+; AVX2-FAST-NEXT: vmovdqa %ymm1, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,2,9,128,128,128,5,12,128,128,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm9, %xmm11
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,128,128,0,7,14,128,128,3,10,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpor %xmm11, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,6,13>
+; AVX2-FAST-NEXT: vmovdqa %xmm14, %xmm13
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm14, %xmm14
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,u,1,8,15,128,128>
+; AVX2-FAST-NEXT: vmovdqa %xmm15, %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm15, %xmm15
+; AVX2-FAST-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm9, %ymm14, %ymm9
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendvb %ymm8, %ymm0, %ymm6, %ymm9
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm9, %xmm10
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpor %xmm10, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm10, %xmm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm9, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm3, %ymm2, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,10,128,128,128,6,13,128,128,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm11
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,128,128,1,8,15,128,128,4,11,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm11, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,u,u,u,u,u,2,9,128,128,128>
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm4, %xmm14
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,7,14>
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm10
+; AVX2-FAST-NEXT: vpor %xmm14, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm1, %ymm10, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm4, %ymm6, %ymm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm8, %xmm10
+; AVX2-FAST-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm1, %ymm9, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm3, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm7, %ymm3, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,128,128,2,9,128,128,128,5,12,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,4,11,128,128,0,7,14,128,128,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,u,3,10,128,128,128>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,8,15>
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm13, %xmm11
+; AVX2-FAST-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm1, %ymm7, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm9, %ymm4, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm1, %ymm4, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm3
+; AVX2-FAST-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm5, %ymm1, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm0, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm0, %ymm1, %ymm12
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm1, %ymm0, %ymm8
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm1, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm2, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendvb %ymm2, %ymm1, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm0, %ymm1, %ymm9
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm0, %ymm1, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm1, %ymm0, %ymm11
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm1, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm1, %ymm0, %ymm10
+; AVX2-FAST-NEXT: vpblendvb %ymm6, %ymm1, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm1, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm0, %ymm1, %ymm14
+; AVX2-FAST-NEXT: vmovdqu %ymm14, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendvb %ymm7, %ymm0, %ymm1, %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm1, %ymm14, %ymm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-NEXT: vpblendvb %ymm4, %ymm1, %ymm14, %ymm4
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm1, %ymm14, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm15, %ymm14, %ymm1, %ymm13
+; AVX2-FAST-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-NEXT: vpblendvb %ymm13, %ymm14, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <2,9,128,128,128,5,12,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm3, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <128,128,0,7,14,128,128,3,10,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm10, %xmm3
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm10[0,1,2],ymm3[3],ymm10[4,5],ymm3[6],ymm10[7,8,9,10],ymm3[11],ymm10[12,13],ymm3[14],ymm10[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm0, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2],ymm9[3],ymm0[4,5],ymm9[6],ymm0[7,8,9,10],ymm9[11],ymm0[12,13],ymm9[14],ymm0[15]
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm0, %ymm15
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <3,10,128,128,128,6,13,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm12, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <128,128,1,8,15,128,128,4,11,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpor %xmm1, %xmm9, %xmm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm2, %xmm9
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm9[0],ymm2[1,2],ymm9[3],ymm2[4,5,6],ymm9[7,8],ymm2[9,10],ymm9[11],ymm2[12,13,14],ymm9[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm1, %ymm2, %ymm9
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm5, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm4, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm4[1,2],ymm1[3],ymm4[4,5,6],ymm1[7,8],ymm4[9,10],ymm1[11],ymm4[12,13,14],ymm1[15]
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm0, %ymm1, %ymm12
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <128,128,2,9,128,128,128,5,12,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <4,11,128,128,0,7,14,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm1
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm1, %xmm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm1
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0],ymm6[1,2,3],ymm1[4],ymm6[5,6],ymm1[7,8],ymm6[9,10,11],ymm1[12],ymm6[13,14],ymm1[15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm0, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm11, %xmm2
+; AVX2-FAST-NEXT: vpor %xmm0, %xmm2, %xmm0
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm2
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm7[1,2,3],ymm2[4],ymm7[5,6],ymm2[7,8],ymm7[9,10,11],ymm2[12],ymm7[13,14],ymm2[15]
+; AVX2-FAST-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm0, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,3,10,128,128,128,6,13,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <5,12,128,128,1,8,15,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm6
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6,7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13,14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm2, %ymm6, %ymm2
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm8, %xmm5
+; AVX2-FAST-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm6, %xmm5
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1],ymm6[2,3],ymm5[4],ymm6[5,6,7,8],ymm5[9],ymm6[10,11],ymm5[12],ymm6[13,14,15]
+; AVX2-FAST-NEXT: vpshufb %ymm7, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm4, %ymm5, %ymm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <6,13,128,128,2,9,128,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm7, %xmm6
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <128,128,4,11,128,128,0,7,14,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm11[0],ymm7[1],ymm11[2,3,4],ymm7[5],ymm11[6,7,8],ymm7[9],ymm11[10,11,12],ymm7[13],ymm11[14,15]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm6, %ymm7, %ymm6
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm7, %xmm5
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm7, %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vpor %xmm5, %xmm7, %xmm5
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm8, %xmm7
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1],ymm8[2,3,4],ymm7[5],ymm8[6,7,8],ymm7[9],ymm8[10,11,12],ymm7[13],ymm8[14,15]
+; AVX2-FAST-NEXT: vpshufb %ymm11, %ymm7, %ymm7
+; AVX2-FAST-NEXT: vpblendvb %ymm10, %ymm5, %ymm7, %ymm5
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm11, %xmm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,128,5,12,128,128,1,8,15,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,0,7,14,128,128,3,10,128,128,128,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm11, %xmm11
+; AVX2-FAST-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [1,3,1,2,1,3,5,6]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,5,8,15>
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm13, %ymm13
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm3[0],ymm7[1,2,3,4,5,6,7],ymm3[8],ymm7[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vextracti128 $1, %ymm13, %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm13, %xmm8
+; AVX2-FAST-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb %ymm14, %ymm8, %ymm8
+; AVX2-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm15[0],ymm7[1,2,3,4,5,6,7],ymm15[8],ymm7[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm15[0,1,2,3],ymm7[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm9, %ymm8 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm8 = ymm9[0],mem[1,2,3,4,5,6,7],ymm9[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm12, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm9 = ymm12[0],mem[1,2,3,4,5,6,7],ymm12[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm1[0],mem[1,2,3,4,5,6,7],ymm1[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm0[0],mem[1,2,3,4,5,6,7],ymm0[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm2[0],mem[1,2,3,4,5,6,7],ymm2[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm4[0],mem[1,2,3,4,5,6,7],ymm4[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm6, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm6[0],mem[1,2,3,4,5,6,7],ymm6[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: # ymm10 = ymm5[0],mem[1,2,3,4,5,6,7],ymm5[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm10, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm10, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX2-FAST-NEXT: vmovdqa %ymm7, (%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm3, 32(%rcx)
+; AVX2-FAST-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm8, 32(%r8)
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%r9)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm4, (%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm2, 32(%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm5, (%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm6, 32(%rax)
+; AVX2-FAST-NEXT: addq $728, %rsp # imm = 0x2D8
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i8_stride7_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $760, %rsp # imm = 0x2F8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm1, %ymm10, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,5,12,128,128,1,8,15,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <0,7,14,128,128,3,10,128,128,128,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm4, %ymm5, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm3[0,1],ymm4[2],ymm3[3,4],ymm4[5],ymm3[6,7,8,9],ymm4[10],ymm3[11,12],ymm4[13],ymm3[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,0,7,14,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm4, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = [255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm4, %ymm0, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm8, %ymm6, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm2, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm6, %ymm7, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm5[2],ymm2[3,4],ymm5[5],ymm2[6,7,8,9],ymm5[10],ymm2[11,12],ymm5[13],ymm2[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm3, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm4, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm9, %ymm11, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm1[0,1],ymm2[2],ymm1[3,4,5],ymm2[6],ymm1[7,8,9],ymm2[10],ymm1[11,12,13],ymm2[14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm1 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm1, %ymm12, %ymm10, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <128,128,128,6,13,128,128,2,9,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = <1,8,15,128,128,4,11,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,1,8,15,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm2, %ymm4, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm7, %ymm8, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7,8,9],ymm4[10],ymm2[11,12,13],ymm4[14],ymm2[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm13, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm9, %ymm2, %ymm1, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %ymm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm0 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm13, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm13, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,128,128,3,10,128,128,128,6,13,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,5,12,128,128,1,8,15,128,128,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 432(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm3, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm14 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm10, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm15, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm0, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm10, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1],xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm7, %ymm13, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,6,13,128,128,2,9,128,128,128,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,128,128,4,11,128,128,0,7,14,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm0, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm1, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm3, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm13[0],xmm8[1],xmm13[1],xmm8[2],xmm13[2],xmm8[3],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm8[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm4, %ymm5, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm15, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm14, %ymm11, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm11, %ymm7, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,128,128,128,6,13,128,128,2,9,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,1,8,15,128,128,4,11,128,128,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,5,12>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm15, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,u,u,u,u,u,0,7,14,128,128>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm14, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm8, %xmm12, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vbroadcasti128 {{.*#+}} ymm0 = [0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: # ymm0 = mem[0,1,0,1]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm12, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm5, %ymm4, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm3, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm11, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,2,9,128,128,128,5,12,128,128,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm1, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,0,7,14,128,128,3,10,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,128,128,128,6,13>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm15, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,u,u,u,u,u,1,8,15,128,128>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm14, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm9, %xmm13, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm9, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm5, %ymm4, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm7, %xmm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm3, %ymm11, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,10,128,128,128,6,13,128,128,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,1,8,15,128,128,4,11,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,u,u,u,u,u,2,9,128,128,128>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm14, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm14, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,u,u,u,u,u,128,128,0,7,14>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm12, %xmm14, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm12, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm15, %ymm5, %ymm4, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm2, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm14, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm11, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm11 = <255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm7, %ymm3, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,128,128,2,9,128,128,128,5,12,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,4,11,128,128,0,7,14,128,128,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,u,u,u,u,u,3,10,128,128,128>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,u,u,u,u,u,128,128,1,8,15>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm10, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm13, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm7, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm15, %ymm4, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm11, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm4, %ymm15, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm14, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm2, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm1, %ymm10, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm1, %ymm10, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm11, %ymm10, %ymm1, %ymm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm4 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm4, %ymm10, %ymm1, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm10, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm2, %ymm1, %ymm10, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm10, %ymm1, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm10, %ymm1, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm1, %ymm10, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm4, %ymm1, %ymm10, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm2, %ymm1, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm5, %ymm2, %ymm1, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm2, %ymm1, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm1, %ymm2, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm10, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm4, %ymm1, %ymm2, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm2, %ymm4, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255,0,0,u,u,255,255,u,u,0,0,u,u,255,255>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm6, %ymm2, %ymm4, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm13, %ymm2, %ymm4, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm4, %ymm2, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm12, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm12 = <255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u,0,0,u,u,255,255,u,u,0,0,255,255,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm12, %ymm4, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <2,9,128,128,128,5,12,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <128,128,0,7,14,128,128,3,10,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm2, %xmm0, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0,1,2],ymm0[3],ymm9[4,5],ymm0[6],ymm9[7,8,9,10],ymm0[11],ymm9[12,13],ymm0[14],ymm9[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0]
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm4, %ymm2, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1,2],ymm3[3],ymm1[4,5],ymm3[6],ymm1[7,8,9,10],ymm3[11],ymm1[12,13],ymm3[14],ymm1[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm9, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm2, %ymm1, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <3,10,128,128,128,6,13,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm15, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm15, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,1,8,15,128,128,4,11,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1,2],ymm3[3],ymm5[4,5,6],ymm3[7,8],ymm5[9,10],ymm3[11],ymm5[12,13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm2, %ymm3, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm6[1,2],ymm3[3],ymm6[4,5,6],ymm3[7,8],ymm6[9,10],ymm3[11],ymm6[12,13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm5, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm15
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm11, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm4 = <128,128,2,9,128,128,128,5,12,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <4,11,128,128,0,7,14,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm11, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm3, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm8[1,2,3],ymm3[4],ymm8[5,6],ymm3[7,8],ymm8[9,10,11],ymm3[12],ymm8[13,14],ymm3[15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm3, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm14, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm10[1,2,3],ymm4[4],ymm10[5,6],ymm4[7,8],ymm10[9,10,11],ymm4[12],ymm10[13,14],ymm4[15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm6, %ymm4, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm1, %ymm4, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <128,128,3,10,128,128,128,6,13,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <5,12,128,128,1,8,15,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm4, %xmm7, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm7 = ymm8[0],ymm7[1],ymm8[2,3],ymm7[4],ymm8[5,6,7,8],ymm7[9],ymm8[10,11],ymm7[12],ymm8[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm7, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm4, %ymm7, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm7, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm9, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm7, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1],ymm7[2,3],ymm6[4],ymm7[5,6,7,8],ymm6[9],ymm7[10,11],ymm6[12],ymm7[13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm8, %ymm6, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm5, %ymm6, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <6,13,128,128,2,9,128,128,128,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <128,128,4,11,128,128,0,7,14,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm10[0],ymm8[1],ymm10[2,3,4],ymm8[5],ymm10[6,7,8],ymm8[9],ymm10[10,11,12],ymm8[13],ymm10[14,15]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm7, %ymm8, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm9, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1],ymm9[2,3,4],ymm8[5],ymm9[6,7,8],ymm8[9],ymm9[10,11,12],ymm8[13],ymm9[14,15]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %ymm10, %ymm8, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vpblendvb %ymm0, %ymm6, %ymm8, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,128,128,128,5,12,128,128,1,8,15,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,0,7,14,128,128,3,10,128,128,128,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm6, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm12[0],xmm10[0],xmm12[1],xmm10[1],xmm12[2],xmm10[2],xmm12[3],xmm10[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm6 = ymm10[0],ymm6[1,2,3,4,5,6,7],ymm10[8],ymm6[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vextracti128 $1, %ymm12, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm10, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm12, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm13, %xmm9, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm11, %xmm10, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpblendw {{.*#+}} ymm8 = ymm9[0],ymm8[1,2,3,4,5,6,7],ymm9[8],ymm8[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3],ymm8[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = ymm2[0],mem[1,2,3,4,5,6,7],ymm2[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm15, %ymm9 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm9 = ymm15[0],mem[1,2,3,4,5,6,7],ymm15[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm9 = ymm15[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm3, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm3[0],mem[1,2,3,4,5,6,7],ymm3[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm1, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm1[0],mem[1,2,3,4,5,6,7],ymm1[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm4, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm4[0],mem[1,2,3,4,5,6,7],ymm4[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm5, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm5[0],mem[1,2,3,4,5,6,7],ymm5[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm7, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm7[0],mem[1,2,3,4,5,6,7],ymm7[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendw $254, {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm10 # 32-byte Folded Reload
+; AVX2-FAST-PERLANE-NEXT: # ymm10 = ymm0[0],mem[1,2,3,4,5,6,7],ymm0[8],mem[9,10,11,12,13,14,15]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm10, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm10, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm10, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm10, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm8, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm6, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm9, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm2, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm3, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm5, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm7, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $760, %rsp # imm = 0x2F8
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-ONLY-SLOW-LABEL: load_i8_stride7_vf64:
+; AVX512F-ONLY-SLOW: # %bb.0:
+; AVX512F-ONLY-SLOW-NEXT: pushq %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm23 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 (%rdi), %ymm24
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 32(%rdi), %ymm29
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 64(%rdi), %ymm18
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm29, %ymm24, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[5,12],zero,zero,xmm1[1,8,15,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm1, %xmm0, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm4 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %ymm11
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm11, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm3[2],ymm1[3,4],ymm3[5],ymm1[6,7,8,9],ymm3[10],ymm1[11,12],ymm3[13],ymm1[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm3, %ymm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[6,13,4,11,2,9,16,23,30,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm12 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 128(%rdi), %ymm31
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 160(%rdi), %ymm16
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm16, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u],zero,zero,xmm3[3,10],zero,zero,zero,xmm3[6,13,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero,xmm2[u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm0, %xmm28
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 208(%rdi), %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm7[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm10[0],xmm3[1],xmm10[1],xmm3[2],xmm10[2],xmm3[3],xmm10[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 240(%rdi), %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm5[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm5, %xmm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %xmm10
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = xmm10[0,7,14],zero,zero,xmm10[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm14, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm22 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm22, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 288(%rdi), %ymm19
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[u,u,u,u,u,3,10],zero,zero,zero,xmm1[6,13],zero,zero,xmm1[u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u],zero,zero,xmm1[1,8,15],zero,zero,xmm1[4,11,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 352(%rdi), %ymm17
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1],ymm5[2],ymm3[3,4,5],ymm5[6],ymm3[7,8,9],ymm5[10],ymm3[11,12,13],ymm5[14],ymm3[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm26 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm26, %ymm1, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 416(%rdi), %ymm20
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 384(%rdi), %ymm21
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[2,9]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm5[4,11],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm3, %ymm9, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm30 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu64 %zmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm29, %ymm24, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[6,13],zero,zero,xmm3[2,9,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm18, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1],ymm13[2],ymm3[3,4,5],ymm13[6],ymm3[7,8,9],ymm13[10],ymm3[11,12,13],ymm13[14],ymm3[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm13, %ymm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm16, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm7[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm8[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm25, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm13[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm10[1,8,15],zero,zero,xmm10[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm3, %zmm22, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[5,12,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,4,11],zero,zero,xmm3[0,7,14],zero,zero,xmm3[u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7,8,9,10],ymm6[11],ymm5[12,13],ymm6[14],ymm5[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm26, %ymm3, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm3[5,12],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u],zero,zero,xmm3[0,7,14],zero,zero,xmm3[3,10]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm9, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm22
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm22
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm29, %ymm24, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm18, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm0[3],ymm3[4,5],ymm0[6],ymm3[7,8,9,10],ymm0[11],ymm3[12,13],ymm0[14],ymm3[15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm5, %ymm2, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm5, %ymm27
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm16, %ymm31, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,zero,xmm6[5,12],zero,zero,xmm6[1,8,15,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm28, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm8[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm10[2,9],zero,zero,zero,xmm10[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm13[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %xmm25, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm28 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm3, %zmm28, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,5,12],zero,zero,xmm3[1,8,15],zero,zero,xmm3[u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2],ymm6[3],ymm5[4,5,6],ymm6[7,8],ymm5[9,10],ymm6[11],ymm5[12,13,14],ymm6[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm26, %ymm3, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm3[6,13],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u],zero,zero,xmm3[1,8,15],zero,zero,xmm3[4,11]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm9, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm25
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm29, %ymm24, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm18, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm0[0],ymm3[1,2],ymm0[3],ymm3[4,5,6],ymm0[7,8],ymm3[9,10],ymm0[11],ymm3[12,13,14],ymm0[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm2, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm16, %ymm31, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u],zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm7[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[5,12]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm8[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm8, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm27 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm2, %ymm27, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm10[3,10],zero,zero,zero,xmm10[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,xmm13[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm5, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %zmm3, %zmm28, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[u,u,u,u,u,6,13],zero,zero,xmm3[2,9],zero,zero,zero,xmm3[u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u],zero,zero,xmm3[4,11],zero,zero,xmm3[0,7,14,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2,3],ymm6[4],ymm5[5,6],ymm6[7,8],ymm5[9,10,11],ymm6[12],ymm5[13,14],ymm6[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm26, %ymm3, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,4,11],zero,zero,xmm3[0,7,14],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm9, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm28
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm28
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm24, %ymm29, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[2,9],zero,zero,zero,xmm3[5,12,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u],zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,8,15,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3],ymm5[4],ymm3[5,6,7,8],ymm5[9],ymm3[10,11],ymm5[12],ymm3[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm26, %ymm2, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm26
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm3, %ymm9, %ymm26
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u],zero,zero,zero,xmm3[6,13],zero,zero,xmm3[2,9,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm3[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm5[1],ymm3[2,3,4],ymm5[5],ymm3[6,7,8],ymm5[9],ymm3[10,11,12],ymm5[13],ymm3[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[u,u,u,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,u,u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm30
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm3, %ymm9, %ymm30
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm16, %ymm31, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm2, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm23
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm12, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm24, %ymm29, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm24, %ymm29, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm9[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm9[6,13]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %xmm7, %xmm13
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm18, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm19, %ymm12, %ymm14
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa %ymm1, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm11, %ymm8
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm11, %ymm12
+; AVX512F-ONLY-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm11[0],ymm2[1,2,3],ymm11[4],ymm2[5,6],ymm11[7,8],ymm2[9,10,11],ymm11[12],ymm2[13,14],ymm11[15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm18 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm18, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm27, %ymm7
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[5,12],zero,zero,xmm6[1,8,15],zero,zero,xmm6[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm8[0],ymm11[1],ymm8[2,3],ymm11[4],ymm8[5,6,7,8],ymm11[9],ymm8[10,11],ymm11[12],ymm8[13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm18, %ymm5, %ymm6
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm4[6,13],zero,zero,xmm4[2,9],zero,zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm12[0],ymm11[1],ymm12[2,3,4],ymm11[5],ymm12[6,7,8],ymm11[9],ymm12[10,11,12],ymm11[13],ymm12[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, %ymm18, %ymm0, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm10, %xmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm4[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1],xmm0[2],xmm11[2],xmm0[3],xmm11[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm7, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm7, %zmm0
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm16, %ymm31, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[u,u,3,10],zero,zero,zero,xmm3[6,13],zero,zero,xmm3[u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u],zero,zero,xmm3[1,8,15],zero,zero,xmm3[4,11,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $226, %ymm17, %ymm1, %ymm15
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm16, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm13[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm9[0,7,14]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm11, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm2, %ymm27, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,4,11],zero,zero,xmm1[0,7,14],zero,zero,xmm1[u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm13[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm9[1,8,15]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm2, %xmm9, %xmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %ymm1, %ymm27, %ymm2
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm4[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = xmm10[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm3, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm6, %zmm7, %zmm1
+; AVX512F-ONLY-SLOW-NEXT: vpshufb %xmm8, %xmm4, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm10[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm2, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $184, %zmm5, %zmm7, %zmm2
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm26, %zmm0, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512F-ONLY-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm3, %zmm0 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm30, %zmm0, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm3, %zmm1 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm14[u,u,u,u,2,9],zero,zero,zero,xmm14[5,12],zero,zero,xmm14[u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm5
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm5, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm15[2,3,0,1]
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm15[0,1],ymm5[2],ymm15[3,4],ymm5[5],ymm15[6,7,8,9],ymm5[10],ymm15[11,12],ymm5[13],ymm15[14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[1,8,15,22,29,20,27,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm3, %ymm5
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %ymm23, %ymm4
+; AVX512F-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm23, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u],zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,8,15]
+; AVX512F-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,0,7,14],zero,zero,xmm4[3,10],zero,zero,zero
+; AVX512F-ONLY-SLOW-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512F-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5,6,7],ymm5[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa32 %zmm3, %zmm2 {%k1}
+; AVX512F-ONLY-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-ONLY-SLOW-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm22, (%rdx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm25, (%rcx)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm28, (%r8)
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-SLOW-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512F-ONLY-SLOW-NEXT: popq %rax
+; AVX512F-ONLY-SLOW-NEXT: vzeroupper
+; AVX512F-ONLY-SLOW-NEXT: retq
+;
+; AVX512F-ONLY-FAST-LABEL: load_i8_stride7_vf64:
+; AVX512F-ONLY-FAST: # %bb.0:
+; AVX512F-ONLY-FAST-NEXT: pushq %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 (%rdi), %ymm20
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 32(%rdi), %ymm16
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 64(%rdi), %ymm25
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm16, %ymm20, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,zero,xmm1[5,12],zero,zero,xmm1[1,8,15,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm1, %xmm0, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 96(%rdi), %ymm11
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm25, %ymm11, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm3[2],ymm2[3,4],ymm3[5],ymm2[6,7,8,9],ymm3[10],ymm2[11,12],ymm3[13],ymm2[14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[6,13,4,11,2,9,16,23,30,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm1, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 128(%rdi), %ymm26
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 160(%rdi), %ymm31
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm26, %ymm31, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[6,13,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,5,12],zero,zero,xmm1[1,8,15],zero,zero,xmm1[u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,2,4,6>
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 240(%rdi), %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm6[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm6, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm6, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm10, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm8 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm4, %zmm8, %zmm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 288(%rdi), %ymm17
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm17, %ymm10, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm4[u,u,u,u,u,3,10],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u],zero,zero,xmm4[1,8,15],zero,zero,xmm4[4,11,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm13, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 352(%rdi), %ymm22
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm22, %ymm13, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm2 = ymm14[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm14[0,1],ymm2[2],ymm14[3,4,5],ymm2[6],ymm14[7,8,9],ymm2[10],ymm14[11,12,13],ymm2[14],ymm14[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm24 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm24, %ymm4, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 416(%rdi), %ymm18
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 384(%rdi), %ymm19
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[2,9]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm4[4,11],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm27 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm2, %ymm27, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm29 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm5, %zmm29, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqu64 %zmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm16, %ymm20, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,9,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm11, %ymm25, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1],ymm3[2],ymm4[3,4,5],ymm3[6],ymm4[7,8,9],ymm3[10],ymm4[11,12,13],ymm3[14],ymm4[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm26, %ymm31, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,3,4,6>
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm7[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm9[1,8,15],zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm4, %zmm8, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm10, %ymm17, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[5,12,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,4,11],zero,zero,xmm4[0,7,14],zero,zero,xmm4[u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm22, %ymm13, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7,8,9,10],ymm6[11],ymm5[12,13],ymm6[14],ymm5[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm24, %ymm4, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm4[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm4[5,12],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[0,7,14],zero,zero,xmm4[3,10]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm5, %ymm27, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm21
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm2, %zmm29, %zmm21
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm16, %ymm20, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm11, %ymm25, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0,1,2],ymm3[3],ymm4[4,5],ymm3[6],ymm4[7,8,9,10],ymm3[11],ymm4[12,13],ymm3[14],ymm4[15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm5, %ymm2, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm5, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm31, %ymm26, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,3,5,6>
+; AVX512F-ONLY-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[2,9],zero,zero,zero,xmm9[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm9, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm7, %xmm9
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm7[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm2, %xmm5, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm28 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm4, %zmm28, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm10, %ymm17, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u],zero,zero,xmm4[3,10],zero,zero,zero,xmm4[6,13,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero,xmm2[u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm13, %ymm22, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm4[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm5[0],ymm4[1,2],ymm5[3],ymm4[4,5,6],ymm5[7,8],ymm4[9,10],ymm5[11],ymm4[12,13,14],ymm5[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm24, %ymm2, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm2[6,13],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm4, %ymm27, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm23
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm1, %zmm29, %zmm23
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm16, %ymm20, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[3,10],zero,zero,zero,xmm1[6,13],zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[1,8,15],zero,zero,xmm1[4,11,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm11, %ymm25, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1,2],ymm3[3],ymm2[4,5,6],ymm3[7,8],ymm2[9,10],ymm3[11],ymm2[12,13,14],ymm3[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm6, %ymm1, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm31, %ymm26, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm1, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,9,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,1,8,15],zero,zero,xmm1[4,11],zero,zero,xmm1[u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm1, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm5[5,12]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa 192(%rdi), %xmm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm4, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm8[3,10],zero,zero,zero,xmm8[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm9[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm7, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm6, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %zmm2, %zmm28, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm10, %ymm17, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm2[u,u,u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm13, %ymm22, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm7 = ymm6[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1,2,3],ymm7[4],ymm6[5,6],ymm7[7,8],ymm6[9,10,11],ymm7[12],ymm6[13,14],ymm7[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm24, %ymm2, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u],zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,12]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,4,11],zero,zero,xmm2[0,7,14],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm7, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm6, %ymm27, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm4, %zmm29, %zmm28
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm20, %ymm16, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[2,9],zero,zero,zero,xmm4[5,12,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vporq %xmm4, %xmm2, %xmm29
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm17, %ymm10, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u],zero,zero,zero,xmm4[5,12],zero,zero,xmm4[1,8,15,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm13, %ymm22, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm4[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm6[1],ymm4[2,3],ymm6[4],ymm4[5,6,7,8],ymm6[9],ymm4[10,11],ymm6[12],ymm4[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm24, %ymm2, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,xmm6[3,10],zero,zero,zero,xmm6[6,13]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm4, %ymm27, %ymm24
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm17, %ymm10, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,9,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm15, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm22, %ymm13, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm4[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm6[1],ymm4[2,3,4],ymm6[5],ymm4[6,7,8],ymm6[9],ymm4[10,11,12],ymm6[13],ymm4[14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm4[0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm2[u,u,u,u,u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm30
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm4, %ymm27, %ymm30
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm31, %ymm26, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm2, %xmm6
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm15
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm12, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm20, %ymm16, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm20, %ymm16, %ymm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm5[6,13]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm1[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm8, %xmm9, %xmm8
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm11, %ymm25, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm17, %ymm12, %ymm10
+; AVX512F-ONLY-FAST-NEXT: vmovdqa %ymm14, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm25, %ymm11, %ymm9
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm25, %ymm11, %ymm12
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm7, %xmm11
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[3,10],zero,zero,zero,xmm11[6,13,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[5,12],zero,zero,xmm7[1,8,15],zero,zero,xmm7[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm7, %xmm11, %xmm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm11[0],ymm2[1,2,3],ymm11[4],ymm2[5,6],ymm11[7,8],ymm2[9,10,11],ymm11[12],ymm2[13,14],ymm11[15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm3, %ymm29, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm6, %ymm16, %ymm8
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm9[0],ymm11[1],ymm9[2,3],ymm11[4],ymm9[5,6,7,8],ymm11[9],ymm9[10,11],ymm11[12],ymm9[13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm3, %ymm7, %ymm6
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm7, %xmm0, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm7 = ymm12[0],ymm11[1],ymm12[2,3,4],ymm11[5],ymm12[6,7,8],ymm11[9],ymm12[10,11,12],ymm11[13],ymm12[14,15]
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm7 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm7[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, %ymm3, %ymm0, %ymm7
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm11[0],xmm0[1],xmm11[1],xmm0[2],xmm11[2],xmm0[3],xmm11[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm8, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} zmm8 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm2, %zmm8, %zmm0
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm31, %ymm26, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,3,10],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,xmm4[1,8,15],zero,zero,xmm4[4,11,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $226, %ymm22, %ymm14, %ymm13
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $202, %ymm26, %ymm31, %ymm14
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm1[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm5[0,7,14]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm11, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm2, %ymm16, %ymm4
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm14[u,u,4,11],zero,zero,xmm14[0,7,14],zero,zero,xmm14[u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm2, %xmm11, %xmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm5[1,8,15]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm1, %xmm5, %xmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %ymm2, %ymm16, %ymm1
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm3[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm12[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm4, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm6, %zmm8, %zmm2
+; AVX512F-ONLY-FAST-NEXT: vpshufb %xmm9, %xmm3, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm12[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm1, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $184, %zmm7, %zmm8, %zmm1
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm24, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512F-ONLY-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm0 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm30, %zmm0, %zmm4
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm2 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm10[u,u,u,u,2,9],zero,zero,zero,xmm10[5,12],zero,zero,xmm10[u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm10, %xmm5
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm5, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm13[2,3,0,1]
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm13[0,1],ymm5[2],ymm13[3,4],ymm5[5],ymm13[6,7,8,9],ymm5[10],ymm13[11,12],ymm5[13],ymm13[14,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[1,8,15,22,29,20,27,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm4, %ymm5
+; AVX512F-ONLY-FAST-NEXT: vextracti128 $1, %ymm15, %xmm4
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u],zero,zero,zero,xmm4[5,12],zero,zero,xmm4[1,8,15]
+; AVX512F-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm15[u,u,u,u,u,u,0,7,14],zero,zero,xmm15[3,10],zero,zero,zero
+; AVX512F-ONLY-FAST-NEXT: vpor %xmm4, %xmm3, %xmm3
+; AVX512F-ONLY-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-ONLY-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm5[0,1,2],ymm3[3,4,5,6,7],ymm5[8,9,10],ymm3[11,12,13,14,15]
+; AVX512F-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512F-ONLY-FAST-NEXT: vmovdqa32 %zmm3, %zmm1 {%k1}
+; AVX512F-ONLY-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm3 # 64-byte Reload
+; AVX512F-ONLY-FAST-NEXT: vmovaps %zmm3, (%rsi)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm21, (%rdx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm23, (%rcx)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm28, (%r8)
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512F-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-ONLY-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512F-ONLY-FAST-NEXT: popq %rax
+; AVX512F-ONLY-FAST-NEXT: vzeroupper
+; AVX512F-ONLY-FAST-NEXT: retq
+;
+; AVX512DQ-SLOW-LABEL: load_i8_stride7_vf64:
+; AVX512DQ-SLOW: # %bb.0:
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm16 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 (%rdi), %ymm23
+; AVX512DQ-SLOW-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa64 64(%rdi), %ymm22
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm8, %ymm23, %ymm1
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,7,14],zero,zero,xmm1[3,10],zero,zero,zero,xmm1[u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512DQ-SLOW-NEXT: vmovdqa 96(%rdi), %ymm11
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm22, %ymm11, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm1 = ymm1[0,1],ymm0[2],ymm1[3,4],ymm0[5],ymm1[6,7,8,9],ymm0[10],ymm1[11,12],ymm0[13],ymm1[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm0, %ymm25
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm1 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm1[6,13,4,11,2,9,16,23,30,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm1
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm9 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 128(%rdi), %ymm31
+; AVX512DQ-SLOW-NEXT: vmovdqa64 160(%rdi), %ymm18
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm18, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm7
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u],zero,zero,xmm7[3,10],zero,zero,zero,xmm7[6,13,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero,xmm2[u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm7, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm4, %xmm0, %xmm10
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm4, %xmm28
+; AVX512DQ-SLOW-NEXT: vmovdqa 208(%rdi), %xmm7
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm7[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm10[7]
+; AVX512DQ-SLOW-NEXT: vmovdqa 240(%rdi), %xmm10
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,zero,xmm10[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vmovdqa 224(%rdi), %xmm12
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm12[0,7,14],zero,zero,xmm12[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm14, %xmm15, %xmm14
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm14, %zmm2, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm26 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm1, %zmm26, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 288(%rdi), %ymm19
+; AVX512DQ-SLOW-NEXT: vmovdqa 256(%rdi), %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm15 = xmm1[u,u,u,u,u,3,10],zero,zero,zero,xmm1[6,13],zero,zero,xmm1[u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u],zero,zero,xmm1[1,8,15],zero,zero,xmm1[4,11,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm1, %xmm15, %xmm1
+; AVX512DQ-SLOW-NEXT: vmovdqa64 352(%rdi), %ymm17
+; AVX512DQ-SLOW-NEXT: vmovdqa 320(%rdi), %ymm15
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm13
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm13
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm13[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm13[0,1],ymm5[2],ymm13[3,4,5],ymm5[6],ymm13[7,8,9],ymm5[10],ymm13[11,12,13],ymm5[14],ymm13[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm27 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm1, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm1 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vmovdqa64 416(%rdi), %ymm20
+; AVX512DQ-SLOW-NEXT: vmovdqa64 384(%rdi), %ymm21
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm13
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm13
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[2,9]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm13[4,11],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm24 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm24, %ymm6
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm4
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm29 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm29, %zmm4
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %zmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm8, %ymm23, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm22, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm25, %ymm4
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1],ymm4[2],ymm5[3,4,5],ymm4[6],ymm5[7,8,9],ymm4[10],ymm5[11,12,13],ymm4[14],ymm5[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm18, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm2[u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm7[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm10[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm12[1,8,15],zero,zero,xmm12[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm2, %zmm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm5, %zmm26, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm5
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u],zero,zero,xmm6[2,9],zero,zero,zero,xmm6[5,12,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero,xmm5[u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm6
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm6[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm6[0,1,2],ymm13[3],ymm6[4,5],ymm13[6],ymm6[7,8,9,10],ymm13[11],ymm6[12,13],ymm13[14],ymm6[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm5, %ymm6
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm5[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm5[5,12],zero,zero
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm13, %xmm5
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm6, %ymm24, %ymm5
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm26
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm29, %zmm26
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm8, %ymm23, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm22, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2],ymm4[3],ymm5[4,5],ymm4[6],ymm5[7,8,9,10],ymm4[11],ymm5[12,13],ymm4[14],ymm5[15]
+; AVX512DQ-SLOW-NEXT: vmovdqu64 %ymm25, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm5, %ymm2, %ymm6
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm5, %ymm30
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm31, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u],zero,zero,zero,xmm13[5,12],zero,zero,xmm13[1,8,15,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm13, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %xmm28, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm13[0],xmm5[1],xmm13[1],xmm5[2],xmm13[2],xmm5[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm12[2,9],zero,zero,zero,xmm12[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,xmm10[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm13, %xmm5
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm28 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm6, %zmm28, %zmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm6
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u],zero,zero,xmm13[3,10],zero,zero,zero,xmm13[6,13,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,5,12],zero,zero,xmm6[1,8,15],zero,zero,xmm6[u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm13
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm13
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm13[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm13[1,2],ymm2[3],ymm13[4,5,6],ymm2[7,8],ymm13[9,10],ymm2[11],ymm13[12,13,14],ymm2[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm6, %ymm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm6[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm6[6,13],zero,zero
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,11]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm2, %ymm24, %ymm6
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm25
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm5, %zmm29, %zmm25
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm8, %ymm23, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm22, %ymm5
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm4[0],ymm5[1,2],ymm4[3],ymm5[4,5,6],ymm4[7,8],ymm5[9,10],ymm4[11],ymm5[12,13,14],ymm4[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm30, %ymm2, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm31, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[2,9,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm7[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[5,12]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $216, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm12[3,10],zero,zero,zero,xmm12[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = zero,zero,xmm10[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm13, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm6, %zmm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %zmm5, %zmm28, %zmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm14, %ymm19, %ymm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,6,13],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[4,11],zero,zero,xmm5[0,7,14,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm6
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm6[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm6 = ymm13[0],ymm6[1,2,3],ymm13[4],ymm6[5,6],ymm13[7,8],ymm6[9,10,11],ymm13[12],ymm6[13,14],ymm13[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm5, %ymm6
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm5
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm13
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm13[u,u,u,u,u,u,u],zero,zero,xmm13[2,9],zero,zero,zero,xmm13[5,12]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm13, %xmm5
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm6, %ymm24, %ymm5
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm28
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm29, %zmm28
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm15, %ymm17, %ymm5
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm6[1],ymm5[2,3],ymm6[4],ymm5[5,6,7,8],ymm6[9],ymm5[10,11],ymm6[12],ymm5[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm27, %ymm2, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,xmm6[3,10],zero,zero,zero,xmm6[6,13]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm27
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm24, %ymm27
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm23, %ymm8, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[2,9],zero,zero,zero,xmm5[5,12,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vporq %xmm5, %xmm2, %xmm29
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm19, %ymm14, %ymm2
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm17, %ymm15, %ymm5
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7,8],ymm6[9],ymm5[10,11,12],ymm6[13],ymm5[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm21, %ymm20, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm2[u,u,u,u,u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm30
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm5, %ymm24, %ymm30
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm31, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vporq %xmm5, %xmm2, %xmm24
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm20, %ymm21, %ymm16
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm9, %ymm5
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm23, %ymm8, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm3, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm23, %ymm8, %ymm3
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm7[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm7[6,13]
+; AVX512DQ-SLOW-NEXT: vmovdqa %xmm0, %xmm4
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm8, %xmm13, %xmm8
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm11, %ymm22, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm19, %ymm9, %ymm14
+; AVX512DQ-SLOW-NEXT: vmovdqa %ymm1, %ymm13
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm22, %ymm11, %ymm13
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm22, %ymm11, %ymm9
+; AVX512DQ-SLOW-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm2[1,2,3],ymm0[4],ymm2[5,6],ymm0[7,8],ymm2[9,10,11],ymm0[12],ymm2[13,14],ymm0[15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm19 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm19, %ymm29, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti32x4 $1, %xmm24, %ymm0, %ymm11
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} ymm20 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm11, %ymm20, %ymm8
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm5, %xmm11
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[3,10],zero,zero,zero,xmm11[6,13,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[5,12],zero,zero,xmm5[1,8,15],zero,zero,xmm5[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm11, %xmm5
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm11 = ymm13[0],ymm0[1],ymm13[2,3],ymm0[4],ymm13[5,6,7,8],ymm0[9],ymm13[10,11],ymm0[12],ymm13[13,14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm11 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm11[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm19, %ymm5, %ymm11
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm3[6,13],zero,zero,xmm3[2,9],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[4,11],zero,zero,xmm3[0,7,14,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm9[0],ymm0[1],ymm9[2,3,4],ymm0[5],ymm9[6,7,8],ymm0[9],ymm9[10,11,12],ymm0[13],ymm9[14,15]
+; AVX512DQ-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm0[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, %ymm19, %ymm3, %ymm0
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm10[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm8, %zmm3
+; AVX512DQ-SLOW-NEXT: vmovdqa64 {{.*#+}} zmm8 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm2, %zmm8, %zmm3
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm18, %ymm31, %ymm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,3,10],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,11,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $226, %ymm17, %ymm1, %ymm15
+; AVX512DQ-SLOW-NEXT: vpternlogq $202, %ymm31, %ymm18, %ymm1
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm4[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm7[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm7[0,7,14]
+; AVX512DQ-SLOW-NEXT: vpor %xmm6, %xmm13, %xmm6
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm2, %ymm20, %ymm6
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,4,11],zero,zero,xmm1[0,7,14],zero,zero,xmm1[u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm4[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm7[1,8,15]
+; AVX512DQ-SLOW-NEXT: vpor %xmm2, %xmm7, %xmm2
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %ymm1, %ymm20, %ymm2
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = xmm10[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm12[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm7[0],xmm1[0],xmm7[1],xmm1[1],xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm6, %zmm1
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm11, %zmm8, %zmm1
+; AVX512DQ-SLOW-NEXT: vpshufb %xmm5, %xmm10, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm12[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512DQ-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512DQ-SLOW-NEXT: vpternlogq $184, %zmm0, %zmm8, %zmm2
+; AVX512DQ-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-SLOW-NEXT: kmovw %eax, %k1
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm27, %zmm0, %zmm3 {%k1}
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm30, %zmm0, %zmm1 {%k1}
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm14[u,u,u,u,2,9],zero,zero,zero,xmm14[5,12],zero,zero,xmm14[u,u,u]
+; AVX512DQ-SLOW-NEXT: vextracti128 $1, %ymm14, %xmm5
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512DQ-SLOW-NEXT: vpor %xmm0, %xmm5, %xmm0
+; AVX512DQ-SLOW-NEXT: vpermq {{.*#+}} ymm5 = ymm15[2,3,0,1]
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm5 = ymm15[0,1],ymm5[2],ymm15[3,4],ymm5[5],ymm15[6,7,8,9],ymm5[10],ymm15[11,12],ymm5[13],ymm15[14,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[1,8,15,22,29,20,27,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm0, %ymm5
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %ymm16, %ymm4
+; AVX512DQ-SLOW-NEXT: vextracti32x4 $1, %ymm16, %xmm0
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u],zero,zero,zero,xmm0[5,12],zero,zero,xmm0[1,8,15]
+; AVX512DQ-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,0,7,14],zero,zero,xmm4[3,10],zero,zero,zero
+; AVX512DQ-SLOW-NEXT: vpor %xmm0, %xmm4, %xmm0
+; AVX512DQ-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1,2],ymm0[3,4,5,6,7],ymm5[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-SLOW-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm2 {%k1}
+; AVX512DQ-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-SLOW-NEXT: vmovaps %zmm0, (%rsi)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm26, (%rdx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm25, (%rcx)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm28, (%r8)
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm3, (%r9)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512DQ-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-SLOW-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512DQ-SLOW-NEXT: vzeroupper
+; AVX512DQ-SLOW-NEXT: retq
+;
+; AVX512DQ-FAST-LABEL: load_i8_stride7_vf64:
+; AVX512DQ-FAST: # %bb.0:
+; AVX512DQ-FAST-NEXT: pushq %rax
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = [65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0]
+; AVX512DQ-FAST-NEXT: vmovdqa64 (%rdi), %ymm16
+; AVX512DQ-FAST-NEXT: vmovdqa 32(%rdi), %ymm8
+; AVX512DQ-FAST-NEXT: vmovdqa64 64(%rdi), %ymm24
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm1
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm8, %ymm16, %ymm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[0,7,14],zero,zero,xmm1[3,10],zero,zero,zero,xmm1[u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535]
+; AVX512DQ-FAST-NEXT: vmovdqa 96(%rdi), %ymm10
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm24, %ymm10, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm0[2],ymm2[3,4],ymm0[5],ymm2[6,7,8,9],ymm0[10],ymm2[11,12],ymm0[13],ymm2[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm0, %ymm7
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[6,13,4,11,2,9,16,23,30,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm1, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = [65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535]
+; AVX512DQ-FAST-NEXT: vmovdqa64 128(%rdi), %ymm25
+; AVX512DQ-FAST-NEXT: vmovdqa64 160(%rdi), %ymm31
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm1
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm25, %ymm31, %ymm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u],zero,zero,xmm3[3,10],zero,zero,zero,xmm3[6,13,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,5,12],zero,zero,xmm1[1,8,15],zero,zero,xmm1[u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,1,2,4,6>
+; AVX512DQ-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512DQ-FAST-NEXT: vpermd %ymm1, %ymm6, %ymm6
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm6[7]
+; AVX512DQ-FAST-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,zero,xmm0[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm0, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[0,7,14],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm0, %xmm23
+; AVX512DQ-FAST-NEXT: vpor %xmm11, %xmm13, %xmm11
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm11, %zmm3, %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm21 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm2, %zmm21, %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqa64 288(%rdi), %ymm17
+; AVX512DQ-FAST-NEXT: vmovdqa 256(%rdi), %ymm11
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm17, %ymm11, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm2[u,u,u,u,u,3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm13, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 352(%rdi), %ymm29
+; AVX512DQ-FAST-NEXT: vmovdqa 320(%rdi), %ymm13
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm14
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm29, %ymm13, %ymm14
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm3 = ymm14[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm14[0,1],ymm3[2],ymm14[3,4,5],ymm3[6],ymm14[7,8,9],ymm3[10],ymm14[11,12,13],ymm3[14],ymm14[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm27 = [65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm27, %ymm2, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [65535,65535,0,65535,65535,0,65535,65535,65535,0,65535,65535,0,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vmovdqa64 416(%rdi), %ymm18
+; AVX512DQ-FAST-NEXT: vmovdqa64 384(%rdi), %ymm19
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u],zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm22 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm3, %ymm22, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm30 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm20, %zmm30, %zmm0
+; AVX512DQ-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm8, %ymm16, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,zero,xmm3[6,13],zero,zero,xmm3[2,9,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm10, %ymm24, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1],ymm7[2],ymm3[3,4,5],ymm7[6],ymm3[7,8,9],ymm7[10],ymm3[11,12,13],ymm7[14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm25, %ymm31, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,3,4,6>
+; AVX512DQ-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm5[7]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm6, %xmm9
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm6[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm23, %xmm0
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[1,8,15],zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm6, %xmm5
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm2, %zmm2
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm3, %zmm21, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm11, %ymm17, %ymm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[5,12,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,4,11],zero,zero,xmm3[0,7,14],zero,zero,xmm3[u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm29, %ymm13, %ymm5
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0,1,2],ymm6[3],ymm5[4,5],ymm6[6],ymm5[7,8,9,10],ymm6[11],ymm5[12,13],ymm6[14],ymm5[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm27, %ymm3, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm3[5,12],zero,zero
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u],zero,zero,xmm3[0,7,14],zero,zero,xmm3[3,10]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm5, %ymm22, %ymm3
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm20
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm20
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm8, %ymm16, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm10, %ymm24, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0,1,2],ymm7[3],ymm3[4,5],ymm7[6],ymm3[7,8,9,10],ymm7[11],ymm3[12,13],ymm7[14],ymm3[15]
+; AVX512DQ-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm3 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[1,8,15,6,13,4,11,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = [255,255,255,255,255,255,255,255,255,0,0,0,0,0,0,0,0,0,255,255,255,255,255,255,255,255,255,255,255,255,255,255]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm21, %ymm2, %ymm3
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm31, %ymm25, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,3,5,6>
+; AVX512DQ-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa64 %xmm23, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm9[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vmovdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm5, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm1, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm28 = [0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm3, %zmm28, %zmm1
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm11, %ymm17, %ymm3
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,5,12],zero,zero,xmm3[1,8,15],zero,zero,xmm3[u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm13, %ymm29, %ymm5
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm6[0],ymm5[1,2],ymm6[3],ymm5[4,5,6],ymm6[7,8],ymm5[9,10],ymm6[11],ymm5[12,13,14],ymm6[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm27, %ymm3, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm3[6,13],zero,zero
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u],zero,zero,xmm3[1,8,15],zero,zero,xmm3[4,11]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm3, %xmm3
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm5, %ymm22, %ymm3
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm23
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm1, %zmm30, %zmm23
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm1
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm8, %ymm16, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[3,10],zero,zero,zero,xmm1[6,13],zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[1,8,15],zero,zero,xmm1[4,11,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm3
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm10, %ymm24, %ymm3
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm3 = ymm7[0],ymm3[1,2],ymm7[3],ymm3[4,5,6],ymm7[7,8],ymm3[9,10],ymm7[11],ymm3[12,13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm3[2,9,0,7,14,5,12,19,26],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm21, %ymm1, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm1
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm31, %ymm25, %ymm1
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm1, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u],zero,zero,zero,xmm3[6,13],zero,zero,xmm3[2,9,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,1,8,15],zero,zero,xmm1[4,11],zero,zero,xmm1[u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm1, %xmm6
+; AVX512DQ-FAST-NEXT: vmovdqa 208(%rdi), %xmm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[5,12]
+; AVX512DQ-FAST-NEXT: vmovdqa 192(%rdi), %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm3[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm7, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} ymm26 = [255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,0,0,0,0]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm6, %ymm26, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm7 = zero,zero,xmm9[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm7, %xmm6
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm2, %zmm2
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %zmm5, %zmm28, %zmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm11, %ymm17, %ymm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,u,6,13],zero,zero,xmm5[2,9],zero,zero,zero,xmm5[u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u],zero,zero,xmm5[4,11],zero,zero,xmm5[0,7,14,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm6
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm13, %ymm29, %ymm6
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm7 = ymm6[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm6 = ymm7[0],ymm6[1,2,3],ymm7[4],ymm6[5,6],ymm7[7,8],ymm6[9,10,11],ymm7[12],ymm6[13,14],ymm7[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm6 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm6[5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm27, %ymm5, %ymm6
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm5
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm7
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,u,u,u,u,u],zero,zero,xmm7[2,9],zero,zero,zero,xmm7[5,12]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u,u,u,u,4,11],zero,zero,xmm5[0,7,14],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm7, %xmm5, %xmm5
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm6, %ymm22, %ymm5
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm28
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm2, %zmm30, %zmm28
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm17, %ymm11, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm13, %ymm29, %ymm5
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm6[1],ymm5[2,3],ymm6[4],ymm5[5,6,7,8],ymm6[9],ymm5[10,11],ymm6[12],ymm5[13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm27, %ymm2, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u,u,u,u,u,u],zero,zero,xmm6[3,10],zero,zero,zero,xmm6[6,13]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,5,12],zero,zero,xmm2[1,8,15],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm27
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm5, %ymm22, %ymm27
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm16, %ymm8, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,xmm5[2,9],zero,zero,zero,xmm5[5,12,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm9
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm17, %ymm11, %ymm2
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,zero,xmm5[6,13],zero,zero,xmm5[2,9,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,1,8,15],zero,zero,xmm2[4,11],zero,zero,xmm2[u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm15, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm29, %ymm13, %ymm5
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm6 = ymm5[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm5[0],ymm6[1],ymm5[2,3,4],ymm6[5],ymm5[6,7,8],ymm6[9],ymm5[10,11,12],ymm6[13],ymm5[14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u],zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpternlogq $244, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm2, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm19, %ymm18, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm2[u,u,u,u,u,u,u,6,13],zero,zero,xmm2[2,9],zero,zero,zero
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[4,11],zero,zero,xmm2[0,7,14]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm2, %xmm2
+; AVX512DQ-FAST-NEXT: vinserti32x4 $1, %xmm2, %ymm0, %ymm30
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm5, %ymm22, %ymm30
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm31, %ymm25, %ymm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm2[u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vporq %xmm5, %xmm2, %xmm22
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm18, %ymm19, %ymm15
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm12, %ymm5
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm16, %ymm8, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm4, %ymm6
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm16, %ymm8, %ymm4
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm7 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm1[6,13]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm3[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm10, %ymm24, %ymm2
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm17, %ymm12, %ymm11
+; AVX512DQ-FAST-NEXT: vmovdqa %ymm14, %ymm8
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm24, %ymm10, %ymm8
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm24, %ymm10, %ymm12
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm5, %xmm10
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm10 = zero,zero,xmm10[3,10],zero,zero,zero,xmm10[6,13,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[5,12],zero,zero,xmm5[1,8,15],zero,zero,xmm5[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm10, %xmm5
+; AVX512DQ-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm2 = ymm0[0],ymm2[1,2,3],ymm0[4],ymm2[5,6],ymm0[7,8],ymm2[9,10,11],ymm0[12],ymm2[13,14],ymm0[15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm2 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm2[3,10,1,8,15,6,13,20,27],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm21, %ymm9, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti32x4 $1, %xmm22, %ymm0, %ymm10
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm10, %ymm26, %ymm7
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm0[1],ymm8[2,3],ymm0[4],ymm8[5,6,7,8],ymm0[9],ymm8[10,11],ymm0[12],ymm8[13,14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm8 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm8[4,11,2,9,0,7,14,21,28],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm21, %ymm5, %ymm8
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm4[6,13],zero,zero,xmm4[2,9],zero,zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm4 = zero,zero,xmm4[4,11],zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm12[0],ymm0[1],ymm12[2,3,4],ymm0[5],ymm12[6,7,8],ymm0[9],ymm12[10,11,12],ymm0[13],ymm12[14,15]
+; AVX512DQ-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[5,12,3,10,1,8,15,22,29],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, %ymm21, %ymm4, %ymm5
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb %xmm10, %xmm9, %xmm4
+; AVX512DQ-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm12[0],xmm4[1],xmm12[1],xmm4[2],xmm12[2],xmm4[3],xmm12[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm4, %zmm7, %zmm4
+; AVX512DQ-FAST-NEXT: vmovdqa64 {{.*#+}} zmm7 = [65535,65535,65535,65535,65535,65535,65535,65535,65535,0,0,0,0,0,0,0,0,0,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535,65535]
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm2, %zmm7, %zmm4
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm31, %ymm25, %ymm6
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[u,u,3,10],zero,zero,zero,xmm6[6,13],zero,zero,xmm6[u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm6, %xmm6
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm6[u,u],zero,zero,xmm6[1,8,15],zero,zero,xmm6[4,11,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm6, %xmm2
+; AVX512DQ-FAST-NEXT: vpternlogq $226, %ymm29, %ymm14, %ymm13
+; AVX512DQ-FAST-NEXT: vpternlogq $202, %ymm25, %ymm31, %ymm14
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm3[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm1[0,7,14]
+; AVX512DQ-FAST-NEXT: vpor %xmm6, %xmm12, %xmm6
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm2, %ymm26, %ymm6
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm14, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm14[u,u,4,11],zero,zero,xmm14[0,7,14],zero,zero,xmm14[u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm2, %xmm12, %xmm2
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm1[1,8,15]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %ymm2, %ymm26, %ymm1
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm9[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm2, %zmm6, %zmm2
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm8, %zmm7, %zmm2
+; AVX512DQ-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm9[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQ-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512DQ-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm1, %zmm1
+; AVX512DQ-FAST-NEXT: vpternlogq $184, %zmm5, %zmm7, %zmm1
+; AVX512DQ-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQ-FAST-NEXT: kmovw %eax, %k1
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm27, %zmm0, %zmm4 {%k1}
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm30, %zmm0, %zmm2 {%k1}
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm11[u,u,u,u,2,9],zero,zero,zero,xmm11[5,12],zero,zero,xmm11[u,u,u]
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm11, %xmm5
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm5, %xmm3
+; AVX512DQ-FAST-NEXT: vpermq {{.*#+}} ymm5 = ymm13[2,3,0,1]
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm5 = ymm13[0,1],ymm5[2],ymm13[3,4],ymm5[5],ymm13[6,7,8,9],ymm5[10],ymm13[11,12],ymm5[13],ymm13[14,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} ymm5 = zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,zero,ymm5[1,8,15,22,29,20,27,18,25],zero,zero,zero,zero,zero,zero,zero,zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpternlogq $248, {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %ymm3, %ymm5
+; AVX512DQ-FAST-NEXT: vextracti128 $1, %ymm15, %xmm3
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u],zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,8,15]
+; AVX512DQ-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm15[u,u,u,u,u,u,0,7,14],zero,zero,xmm15[3,10],zero,zero,zero
+; AVX512DQ-FAST-NEXT: vpor %xmm3, %xmm0, %xmm0
+; AVX512DQ-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQ-FAST-NEXT: vpblendw {{.*#+}} ymm0 = ymm5[0,1,2],ymm0[3,4,5,6,7],ymm5[8,9,10],ymm0[11,12,13,14,15]
+; AVX512DQ-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm5[0,1,2,3],ymm0[4,5,6,7]
+; AVX512DQ-FAST-NEXT: vinserti32x8 $1, %ymm0, %zmm0, %zmm1 {%k1}
+; AVX512DQ-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm0 # 64-byte Reload
+; AVX512DQ-FAST-NEXT: vmovaps %zmm0, (%rsi)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm20, (%rdx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm23, (%rcx)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm28, (%r8)
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm4, (%r9)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm2, (%rax)
+; AVX512DQ-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQ-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512DQ-FAST-NEXT: popq %rax
+; AVX512DQ-FAST-NEXT: vzeroupper
+; AVX512DQ-FAST-NEXT: retq
+;
+; AVX512BW-ONLY-SLOW-LABEL: load_i8_stride7_vf64:
+; AVX512BW-ONLY-SLOW: # %bb.0:
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 (%rdi), %ymm24
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 64(%rdi), %ymm23
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512BW-ONLY-SLOW-NEXT: movw $-28382, %ax # imm = 0x9122
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm1, %ymm24, %ymm0 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: kmovq %k1, %k2
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm5, %xmm0, %xmm22
+; AVX512BW-ONLY-SLOW-NEXT: movw $9288, %ax # imm = 0x2448
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k5
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm23, %ymm3, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm5[2],ymm0[3,4],ymm5[5],ymm0[6,7,8,9],ymm5[10],ymm0[11,12],ymm5[13],ymm0[14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm0, %ymm22 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512BW-ONLY-SLOW-NEXT: movw $8772, %ax # imm = 0x2244
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k7
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm8, %ymm7, %ymm0 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 192(%rdi), %xmm11
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb %xmm18, %xmm11, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 208(%rdi), %xmm13
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm13[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 240(%rdi), %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm5[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 224(%rdi), %xmm6
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: movabsq $137438429184, %rax # imm = 0x1FFFF80000
+; AVX512BW-ONLY-SLOW-NEXT: kmovq %rax, %k3
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm22 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 256(%rdi), %ymm9
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm0[u,u,u,u,u,3,10],zero,zero,zero,xmm0[6,13],zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[1,8,15],zero,zero,xmm0[4,11,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm12, %xmm0, %xmm20
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 352(%rdi), %ymm14
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 320(%rdi), %ymm15
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm0 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm12 = ymm0[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm12[2],ymm0[3,4,5],ymm12[6],ymm0[7,8,9],ymm12[10],ymm0[11,12,13],ymm12[14],ymm0[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: movw $3968, %ax # imm = 0xF80
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm0, %ymm20 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 416(%rdi), %ymm16
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa 384(%rdi), %ymm12
+; AVX512BW-ONLY-SLOW-NEXT: movw $4644, %ax # imm = 0x1224
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k4
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm16, %ymm12, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u,u,u,u],zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm0, %ymm0, %ymm21
+; AVX512BW-ONLY-SLOW-NEXT: movl $-8388608, %eax # imm = 0xFF800000
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm1, %ymm24, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm17 = zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm3, %ymm23, %ymm2 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: kmovw %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7,8,9],ymm4[10],ymm2[11,12,13],ymm4[14],ymm2[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm17 = ymm2[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: movl $511, %edi # imm = 0x1FF
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %edi, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm0, %ymm17 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm8, %ymm7, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm13[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm11[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm5[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[1,8,15],zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm17 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm3, %ymm23, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3],ymm0[4,5],ymm2[6],ymm0[7,8,9,10],ymm2[11],ymm0[12,13],ymm2[14],ymm0[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm1, %ymm24, %ymm2 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: movl $261632, %edi # imm = 0x3FE00
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %edi, %k6
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k6} = ymm0[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm0 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,zero,xmm4[5,12],zero,zero,xmm4[1,8,15,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb %xmm18, %xmm13, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm18 = xmm11[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm18[0],xmm4[0],xmm18[1],xmm4[1],xmm18[2],xmm4[2],xmm18[3],xmm4[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-ONLY-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[2,9],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm18 = zero,zero,xmm5[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm4, %xmm18, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm18
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %zmm2, %zmm18 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm3, %ymm23, %ymm0 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2],ymm2[3],ymm0[4,5,6],ymm2[7,8],ymm0[9,10],ymm2[11],ymm0[12,13,14],ymm2[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm1, %ymm24, %ymm2 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k6} = ymm0[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,9,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm13[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm13[5,12]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm19 = xmm11[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm4, %xmm19, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-ONLY-SLOW-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %edi, %k2
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 4-byte Spill
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm4, %ymm0 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[3,10],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm19 = zero,zero,xmm5[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm4, %xmm19, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm19
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %zmm2, %zmm19 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k2
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm21, %ymm20 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm20, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: movabsq $-137438953472, %rax # imm = 0xFFFFFFE000000000
+; AVX512BW-ONLY-SLOW-NEXT: kmovq %rax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm22 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,4,11],zero,zero,xmm0[0,7,14],zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm2 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2],ymm4[3],ymm2[4,5],ymm4[6],ymm2[7,8,9,10],ymm4[11],ymm2[12,13],ymm4[14],ymm2[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k3 # 2-byte Reload
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm16, %ymm12, %ymm2 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm17 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[6,13,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm2 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2],ymm4[3],ymm2[4,5,6],ymm4[7,8],ymm2[9,10],ymm4[11],ymm2[12,13,14],ymm4[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm16, %ymm12, %ymm2 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm2[6,13],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm18 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm2 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3],ymm4[4],ymm2[5,6],ymm4[7,8],ymm2[9,10,11],ymm4[12],ymm2[13,14],ymm4[15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm12, %ymm16, %ymm2 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[2,9],zero,zero,zero,xmm4[5,12]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,4,11],zero,zero,xmm2[0,7,14],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %zmm0, %zmm19 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm2, %xmm0, %xmm20
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm0[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1],ymm0[2,3],ymm2[4],ymm0[5,6,7,8],ymm2[9],ymm0[10,11],ymm2[12],ymm0[13,14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm0, %ymm20 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[2,9,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm2 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: kmovq %k1, %k3
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm4[1],ymm2[2,3,4],ymm4[5],ymm2[6,7,8],ymm4[9],ymm2[10,11,12],ymm4[13],ymm2[14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm21 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: movl $8176, %eax # imm = 0x1FF0
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm0, %ymm21 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm12, %ymm16, %ymm0 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[6,13]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm0, %ymm20 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm12, %ymm16, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm0, %ymm21 {%k2}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm3, %ymm23, %ymm0 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm24, %ymm1, %ymm2 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm24, %ymm1, %ymm4 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm25 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm24, %ymm1 {%k5}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm24 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm24[u,u,2,9],zero,zero,zero,xmm24[5,12],zero,zero,xmm24[u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm24, %xmm24
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm24 = xmm24[u,u],zero,zero,xmm24[0,7,14],zero,zero,xmm24[3,10,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm26, %xmm24, %xmm24
+; AVX512BW-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm24, %ymm0, %ymm24
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm13[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm13[6,13]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm27 = xmm11[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm26, %xmm27, %xmm26
+; AVX512BW-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm26
+; AVX512BW-ONLY-SLOW-NEXT: kmovd {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 4-byte Reload
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm26, %ymm24 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm25[u,u,3,10],zero,zero,zero,xmm25[6,13],zero,zero,xmm25[u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti32x4 $1, %ymm25, %xmm25
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm25 = xmm25[u,u],zero,zero,xmm25[1,8,15],zero,zero,xmm25[4,11,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm26, %xmm25, %xmm25
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm11[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm27 = xmm13[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm13[0,7,14]
+; AVX512BW-ONLY-SLOW-NEXT: vporq %xmm26, %xmm27, %xmm26
+; AVX512BW-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm25, %ymm0, %ymm25
+; AVX512BW-ONLY-SLOW-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm26
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm26, %ymm25 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm8, %ymm7 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[2,9],zero,zero,zero,xmm8[5,12,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,4,11],zero,zero,xmm7[0,7,14],zero,zero,xmm7[u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm11[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm13[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm13[1,8,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu8 %ymm8, %ymm7 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2,3],ymm8[4],ymm0[5,6],ymm8[7,8],ymm0[9,10,11],ymm8[12],ymm0[13,14],ymm8[15]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[2,9],zero,zero,zero,xmm8[5,12,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[4,11],zero,zero,xmm2[0,7,14],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm2, %xmm8, %xmm2
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k6} = ymm0[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm5[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm11[0],xmm8[1],xmm11[1],xmm8[2],xmm11[2],xmm8[3],xmm11[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm8, %zmm24, %zmm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %zmm8, %zmm2 {%k6}
+; AVX512BW-ONLY-SLOW-NEXT: vpblendmw %ymm23, %ymm3, %ymm8 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm8, %xmm11
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm8 = ymm8[0],ymm11[1],ymm8[2,3],ymm11[4],ymm8[5,6,7,8],ymm11[9],ymm8[10,11],ymm11[12],ymm8[13,14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm11
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[3,10],zero,zero,zero,xmm11[6,13,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[5,12],zero,zero,xmm4[1,8,15],zero,zero,xmm4[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm4, %xmm11, %xmm4
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm4 {%k6} = ymm8[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm5[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm6[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm8, %zmm25, %zmm8
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %zmm8, %zmm4 {%k6}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm23, %ymm3 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm8
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm3 = ymm3[0],ymm8[1],ymm3[2,3,4],ymm8[5],ymm3[6,7,8],ymm8[9],ymm3[10,11,12],ymm8[13],ymm3[14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm1[6,13],zero,zero,xmm1[2,9],zero,zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[4,11],zero,zero,xmm1[0,7,14,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm1, %xmm8, %xmm1
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm1 {%k6} = ymm3[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm6[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm7, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %zmm0, %zmm1 {%k6}
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm14, %ymm15 {%k4}
+; AVX512BW-ONLY-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm15[2,3,0,1]
+; AVX512BW-ONLY-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0,1],ymm0[2],ymm15[3,4],ymm0[5],ymm15[6,7,8,9],ymm0[10],ymm15[11,12],ymm0[13],ymm15[14,15]
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm10, %ymm9 {%k7}
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm9[u,u,u,u,2,9],zero,zero,zero,xmm9[5,12],zero,zero,xmm9[u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm5
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm3, %xmm5, %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: movl $4186112, %eax # imm = 0x3FE000
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} ymm3 {%k1} = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15,22,29,20,27,18,25,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm20, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqu16 %ymm16, %ymm12 {%k3}
+; AVX512BW-ONLY-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm2 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm21, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm4 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vextracti128 $1, %ymm12, %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u,u,u],zero,zero,zero,xmm3[5,12],zero,zero,xmm3[1,8,15]
+; AVX512BW-ONLY-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm12[u,u,u,u,u,u,0,7,14],zero,zero,xmm12[3,10],zero,zero,zero
+; AVX512BW-ONLY-SLOW-NEXT: vpor %xmm3, %xmm5, %xmm3
+; AVX512BW-ONLY-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa {{.*#+}} ymm5 = [16,17,18,19,20,21,22,23,24,25,26,43,44,45,46,47]
+; AVX512BW-ONLY-SLOW-NEXT: vpermi2w %zmm3, %zmm0, %zmm5
+; AVX512BW-ONLY-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm0
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa32 %zmm0, %zmm1 {%k1}
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm22, (%rsi)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm2, (%r9)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm4, (%rdi)
+; AVX512BW-ONLY-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-ONLY-SLOW-NEXT: vzeroupper
+; AVX512BW-ONLY-SLOW-NEXT: retq
+;
+; AVX512BW-ONLY-FAST-LABEL: load_i8_stride7_vf64:
+; AVX512BW-ONLY-FAST: # %bb.0:
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 320(%rdi), %zmm26
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [24,17,2,19,28,21,6,31,16,9,26,27,20,13,30,23]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm24
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [8,1,18,11,4,5,22,15,0,25,10,3,12,29,14,7]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm18
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [24,17,2,27,20,5,22,31,16,9,26,19,12,29,30,23]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm16
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,18,11,4,21,14,7,8,25,10,3,28,13,6,15]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm25
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,2,11,4,5,14,7,8,9,26,19,12,29,22,15]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm17
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,17,10,3,4,21,14,7,24,9,2,11,28,13,6,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm13
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,10,3,4,5,14,7,8,25,18,11,12,29,22,15]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm10
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [16,17,10,3,20,13,6,23,24,25,18,27,28,21,30,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa (%rdi), %ymm9
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512BW-ONLY-FAST-NEXT: movw $-28382, %ax # imm = 0x9122
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm2 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: kmovq %k1, %k2
+; AVX512BW-ONLY-FAST-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm4, %ymm2 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 160(%rdi), %ymm8
+; AVX512BW-ONLY-FAST-NEXT: movw $8772, %ax # imm = 0x2244
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm11, %ymm8, %ymm4 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: kmovq %k1, %k3
+; AVX512BW-ONLY-FAST-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,5,12],zero,zero,xmm4[1,8,15],zero,zero,xmm4[u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,2,4,6>
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 192(%rdi), %ymm19
+; AVX512BW-ONLY-FAST-NEXT: vpermd %ymm19, %ymm5, %ymm5
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 240(%rdi), %xmm4
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm4[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 224(%rdi), %xmm7
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm7[0,7,14],zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm6, %xmm12, %xmm6
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm5, %zmm5
+; AVX512BW-ONLY-FAST-NEXT: movabsq $137438429184, %rax # imm = 0x1FFFF80000
+; AVX512BW-ONLY-FAST-NEXT: kmovq %rax, %k5
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm5, %zmm2 {%k5}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 288(%rdi), %ymm6
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 256(%rdi), %ymm5
+; AVX512BW-ONLY-FAST-NEXT: movw $9288, %ax # imm = 0x2448
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k7
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm12 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm12[u,u,u,u,u,3,10],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,u],zero,zero,xmm12[1,8,15],zero,zero,xmm12[4,11,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm20, %xmm12, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: movw $3968, %ax # imm = 0xF80
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm10, %ymm21 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 416(%rdi), %ymm12
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX512BW-ONLY-FAST-NEXT: movw $4644, %ax # imm = 0x1224
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k6
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm20 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm22
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm22[u,u,u,u,u,u,u],zero,zero,zero,xmm22[6,13],zero,zero,xmm22[2,9]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm20[4,11],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm22, %xmm20, %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm22
+; AVX512BW-ONLY-FAST-NEXT: movl $-8388608, %eax # imm = 0xFF800000
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm20 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm23
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm23 = zero,zero,zero,xmm23[6,13],zero,zero,xmm23[2,9,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[1,8,15],zero,zero,xmm20[4,11],zero,zero,xmm20[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm23, %xmm20, %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: movl $511, %r10d # imm = 0x1FF
+; AVX512BW-ONLY-FAST-NEXT: kmovd %r10d, %k1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm20, %ymm13 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm11, %ymm8, %ymm20 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm23 = xmm20[u,u,u,6,13],zero,zero,xmm20[2,9],zero,zero,zero,xmm20[u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u,u],zero,zero,xmm20[4,11],zero,zero,xmm20[0,7,14,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm23, %xmm20, %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = <u,u,u,u,1,3,4,6>
+; AVX512BW-ONLY-FAST-NEXT: vpermd %ymm19, %ymm20, %ymm20
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm20[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,6],ymm15[7]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,zero,xmm4[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm7[1,8,15],zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm15, %xmm20, %xmm15
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm14, %zmm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm14, %zmm13 {%k5}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm14 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[2,9],zero,zero,zero,xmm14[5,12],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm14[0,7,14],zero,zero,xmm14[3,10,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: movl $261632, %r10d # imm = 0x3FE00
+; AVX512BW-ONLY-FAST-NEXT: kmovd %r10d, %k5
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm14 {%k5} = ymm25[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm15 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm15, %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u],zero,zero,zero,xmm20[5,12],zero,zero,xmm20[1,8,15,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,0,7,14],zero,zero,xmm15[3,10],zero,zero,zero,xmm15[u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm20, %xmm15, %xmm15
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = <u,u,u,u,1,3,5,6>
+; AVX512BW-ONLY-FAST-NEXT: vpermd %ymm19, %ymm20, %ymm19
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm19[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512BW-ONLY-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5,6],ymm0[7]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[2,9],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm19 = zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm15, %xmm19, %xmm15
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm0, %zmm15
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %zmm14, %zmm15 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm0 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm0[3,10],zero,zero,zero,xmm0[6,13],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[1,8,15],zero,zero,xmm0[4,11,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 {%k5} = ymm18[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm14 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm18
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm18[u,u],zero,zero,zero,xmm18[6,13],zero,zero,xmm18[2,9,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,1,8,15],zero,zero,xmm14[4,11],zero,zero,xmm14[u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm18, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 208(%rdi), %xmm19
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm19[5,12]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 192(%rdi), %xmm20
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm23 = xmm20[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm18, %xmm23, %xmm18
+; AVX512BW-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm18, %ymm0, %ymm18
+; AVX512BW-ONLY-FAST-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512BW-ONLY-FAST-NEXT: kmovd %edi, %k2
+; AVX512BW-ONLY-FAST-NEXT: kmovd %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 4-byte Spill
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm18, %ymm14 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm7[3,10],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm23 = zero,zero,xmm4[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm18, %xmm23, %xmm18
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm18, %zmm14, %zmm18
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %zmm0, %zmm18 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm22, %ymm21 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm21, %zmm0, %zmm0
+; AVX512BW-ONLY-FAST-NEXT: movabsq $-137438953472, %rax # imm = 0xFFFFFFE000000000
+; AVX512BW-ONLY-FAST-NEXT: kmovq %rax, %k2
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm0, %zmm2 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u],zero,zero,xmm14[2,9],zero,zero,zero,xmm14[5,12,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,4,11],zero,zero,xmm0[0,7,14],zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm17[u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k3 # 2-byte Reload
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm14 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm14[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm14[5,12],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u],zero,zero,xmm14[0,7,14],zero,zero,xmm14[3,10]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm17, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm0, %zmm13 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u],zero,zero,xmm14[3,10],zero,zero,zero,xmm14[6,13,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm16[u,u,u,u,u,u,u,u,u,u,u,u,u,u,4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm14 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm16 = xmm14[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm14[6,13],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u],zero,zero,xmm14[1,8,15],zero,zero,xmm14[4,11]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm16, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm0, %zmm15 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm0[u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm24[u,u,u,u,u,u,u,u,u,u,u,u,u,u,5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm14 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm16
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm16 = xmm16[u,u,u,u,u,u,u],zero,zero,xmm16[2,9],zero,zero,zero,xmm16[5,12]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,4,11],zero,zero,xmm14[0,7,14],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm16, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %zmm0, %zmm18 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,9,2,3,4,13,6,7,24,17,10,11,28,21,14,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm0, %zmm16
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [16,25,18,3,28,21,6,23,24,17,10,27,20,13,30,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm0, %zmm0
+; AVX512BW-ONLY-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k2 # 2-byte Reload
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm14 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm17
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u],zero,zero,zero,xmm17[5,12],zero,zero,xmm17[1,8,15,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,0,7,14],zero,zero,xmm14[3,10],zero,zero,zero,xmm14[u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm17, %xmm14, %xmm14
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm0, %ymm14 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm0 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u],zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm16 = ymm16[u,u,u,u,u,u,u,u,u,u,u,u,u,0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: movl $8176, %eax # imm = 0x1FF0
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm0, %ymm16 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm0 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u,u,u,u],zero,zero,xmm17[3,10],zero,zero,zero,xmm17[6,13]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm0, %ymm14 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm0 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm0[u,u,u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm0, %ymm16 {%k4}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm9, %ymm3, %ymm0 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm9, %ymm3, %ymm17 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm21 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm9, %ymm3 {%k7}
+; AVX512BW-ONLY-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm9 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm11, %ymm8 {%k6}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[u,u,2,9],zero,zero,zero,xmm9[5,12],zero,zero,xmm9[u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u],zero,zero,xmm9[0,7,14],zero,zero,xmm9[3,10,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm11, %xmm9, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm19[6,13]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm20[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm11, %xmm22, %xmm11
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-ONLY-FAST-NEXT: kmovd {{[-0-9]+}}(%r{{[sb]}}p), %k3 # 4-byte Reload
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm11, %ymm9 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm21[u,u,3,10],zero,zero,zero,xmm21[6,13],zero,zero,xmm21[u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm21, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm21 = xmm21[u,u],zero,zero,xmm21[1,8,15],zero,zero,xmm21[4,11,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm11, %xmm21, %xmm11
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm21 = xmm20[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm19[0,7,14]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm21, %xmm22, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm21, %ymm0, %ymm21
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm21, %ymm11 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm8, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm21 = xmm21[u,u],zero,zero,xmm21[2,9],zero,zero,zero,xmm21[5,12,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,4,11],zero,zero,xmm8[0,7,14],zero,zero,xmm8[u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm21, %xmm8, %xmm8
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm19 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm19[1,8,15]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm20, %xmm19, %xmm19
+; AVX512BW-ONLY-FAST-NEXT: vinserti32x4 $1, %xmm19, %ymm0, %ymm19
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu8 %ymm19, %ymm8 {%k3}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = [16,9,2,19,20,13,6,23,24,17,26,27,28,21,30,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm19, %zmm19
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = [16,9,2,19,12,5,22,23,24,17,26,27,20,29,30,31]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm20, %zmm20
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = [8,1,2,19,12,5,22,15,0,9,26,11,4,29,14,7]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm1, %zmm21, %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm0, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm21 = zero,zero,xmm21[2,9],zero,zero,zero,xmm21[5,12,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[4,11],zero,zero,xmm0[0,7,14],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm21, %xmm0, %xmm0
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm0 {%k5} = ymm1[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm21
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm4[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm21 = xmm21[0],xmm22[0],xmm21[1],xmm22[1],xmm21[2],xmm22[2],xmm21[3],xmm22[3]
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm21, %zmm9, %zmm9
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %zmm9, %zmm0 {%k5}
+; AVX512BW-ONLY-FAST-NEXT: vextracti32x4 $1, %ymm17, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm9[3,10],zero,zero,zero,xmm9[6,13,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[5,12],zero,zero,xmm17[1,8,15],zero,zero,xmm17[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vporq %xmm9, %xmm17, %xmm9
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm9 {%k5} = ymm20[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm4[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm7[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm17 = xmm20[0],xmm17[0],xmm20[1],xmm17[1],xmm20[2],xmm17[2],xmm20[3],xmm17[3]
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm17, %zmm11, %zmm11
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %zmm11, %zmm9 {%k5}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[6,13],zero,zero,xmm3[2,9],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[4,11],zero,zero,xmm3[0,7,14,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm3, %xmm11, %xmm3
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm3 {%k5} = ymm19[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm7[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm8, %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %zmm1, %zmm3 {%k5}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm12, %ymm10 {%k2}
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,10,3,4,13,6,7,8,25,18,11,28,21,14,15]
+; AVX512BW-ONLY-FAST-NEXT: vpermw %zmm26, %zmm1, %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm14, %zmm0, %zmm4
+; AVX512BW-ONLY-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512BW-ONLY-FAST-NEXT: vmovdqu16 %ymm6, %ymm5 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm6 = xmm5[u,u,u,u,2,9],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u,u],zero,zero,xmm5[0,7,14],zero,zero,xmm5[3,10,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm6, %xmm5, %xmm5
+; AVX512BW-ONLY-FAST-NEXT: movl $4186112, %edi # imm = 0x3FE000
+; AVX512BW-ONLY-FAST-NEXT: kmovd %edi, %k1
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} ymm5 {%k1} = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15,22,29,20,27,18,25,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-ONLY-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa32 %zmm4, %zmm0 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm16, %zmm0, %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa32 %zmm1, %zmm9 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: vextracti128 $1, %ymm10, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u],zero,zero,zero,xmm1[5,12],zero,zero,xmm1[1,8,15]
+; AVX512BW-ONLY-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm10[u,u,u,u,u,u,0,7,14],zero,zero,xmm10[3,10],zero,zero,zero
+; AVX512BW-ONLY-FAST-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX512BW-ONLY-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm4
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [16,17,18,19,20,21,22,23,24,25,26,43,44,45,46,47]
+; AVX512BW-ONLY-FAST-NEXT: vpermi2w %zmm1, %zmm4, %zmm5
+; AVX512BW-ONLY-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm1
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa32 %zmm1, %zmm3 {%k1}
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-ONLY-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm15, (%rcx)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm18, (%r8)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm0, (%r9)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm9, (%rdi)
+; AVX512BW-ONLY-FAST-NEXT: vmovdqa64 %zmm3, (%rax)
+; AVX512BW-ONLY-FAST-NEXT: vzeroupper
+; AVX512BW-ONLY-FAST-NEXT: retq
+;
+; AVX512DQBW-SLOW-LABEL: load_i8_stride7_vf64:
+; AVX512DQBW-SLOW: # %bb.0:
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 (%rdi), %ymm26
+; AVX512DQBW-SLOW-NEXT: vmovdqa 32(%rdi), %ymm1
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 64(%rdi), %ymm25
+; AVX512DQBW-SLOW-NEXT: vmovdqa 96(%rdi), %ymm3
+; AVX512DQBW-SLOW-NEXT: movw $-28382, %ax # imm = 0x9122
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm1, %ymm26, %ymm0 {%k1}
+; AVX512DQBW-SLOW-NEXT: kmovq %k1, %k2
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm5, %xmm0, %xmm24
+; AVX512DQBW-SLOW-NEXT: movw $9288, %ax # imm = 0x2448
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k3
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm25, %ymm3, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm5[2],ymm0[3,4],ymm5[5],ymm0[6,7,8,9],ymm5[10],ymm0[11,12],ymm5[13],ymm0[14,15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm0, %ymm24 {%k1}
+; AVX512DQBW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512DQBW-SLOW-NEXT: vmovdqa 160(%rdi), %ymm7
+; AVX512DQBW-SLOW-NEXT: movw $8772, %ax # imm = 0x2244
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k6
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm8, %ymm7, %ymm0 {%k6}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm5
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm5, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vmovdqa 192(%rdi), %xmm11
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <u,u,u,u,u,u,4,11,u,u,u,u,u,u,u,u>
+; AVX512DQBW-SLOW-NEXT: vpshufb %xmm18, %xmm11, %xmm5
+; AVX512DQBW-SLOW-NEXT: vmovdqa 208(%rdi), %xmm12
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm6 = xmm12[u,u,u,u,u,u,2,9,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm5[7]
+; AVX512DQBW-SLOW-NEXT: vmovdqa 240(%rdi), %xmm5
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,zero,xmm5[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqa 224(%rdi), %xmm6
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm10 = xmm6[0,7,14],zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm9, %xmm10, %xmm9
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: movabsq $137438429184, %rax # imm = 0x1FFFF80000
+; AVX512DQBW-SLOW-NEXT: kmovq %rax, %k5
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm24 {%k5}
+; AVX512DQBW-SLOW-NEXT: vmovdqa 288(%rdi), %ymm10
+; AVX512DQBW-SLOW-NEXT: vmovdqa 256(%rdi), %ymm9
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm13 = xmm0[u,u,u,u,u,3,10],zero,zero,zero,xmm0[6,13],zero,zero,xmm0[u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[1,8,15],zero,zero,xmm0[4,11,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm13, %xmm0, %xmm20
+; AVX512DQBW-SLOW-NEXT: vmovdqa 352(%rdi), %ymm14
+; AVX512DQBW-SLOW-NEXT: vmovdqa 320(%rdi), %ymm15
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm0 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm13 = ymm0[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1],ymm13[2],ymm0[3,4,5],ymm13[6],ymm0[7,8,9],ymm13[10],ymm0[11,12,13],ymm13[14],ymm0[15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: movw $3968, %ax # imm = 0xF80
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k7
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm0, %ymm20 {%k7}
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 416(%rdi), %ymm16
+; AVX512DQBW-SLOW-NEXT: vmovdqa 384(%rdi), %ymm13
+; AVX512DQBW-SLOW-NEXT: movw $4644, %ax # imm = 0x1224
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k4
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm16, %ymm13, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u,u,u,u],zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero
+; AVX512DQBW-SLOW-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti32x4 $1, %xmm0, %ymm0, %ymm21
+; AVX512DQBW-SLOW-NEXT: movl $-8388608, %eax # imm = 0xFF800000
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm1, %ymm26, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm17 = zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm3, %ymm25, %ymm2 {%k2}
+; AVX512DQBW-SLOW-NEXT: kmovw %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1],ymm4[2],ymm2[3,4,5],ymm4[6],ymm2[7,8,9],ymm4[10],ymm2[11,12,13],ymm4[14],ymm2[15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm17 = ymm2[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: movl $511, %edi # imm = 0x1FF
+; AVX512DQBW-SLOW-NEXT: kmovd %edi, %k1
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm0, %ymm17 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm8, %ymm7, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm12[u,u,u,u,u,u,3,10,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm11[u,u,u,u,u,u,5,12,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm2[7]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,zero,xmm5[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[1,8,15],zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm4, %xmm2
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm17 {%k5}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm3, %ymm25, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0,1,2],ymm2[3],ymm0[4,5],ymm2[6],ymm0[7,8,9,10],ymm2[11],ymm0[12,13],ymm2[14],ymm0[15]
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm1, %ymm26, %ymm2 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[2,9],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: movl $261632, %edi # imm = 0x3FE00
+; AVX512DQBW-SLOW-NEXT: kmovd %edi, %k5
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k5} = ymm0[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm0 {%k2}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,zero,xmm4[5,12],zero,zero,xmm4[1,8,15,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vpshufb %xmm18, %xmm12, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm18 = xmm11[u,u,u,u,u,u,6,13,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm18[0],xmm4[0],xmm18[1],xmm4[1],xmm18[2],xmm4[2],xmm18[3],xmm4[3]
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQBW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5,6],ymm4[7]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[2,9],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm18 = zero,zero,xmm5[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm4, %xmm18, %xmm4
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm18
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %zmm2, %zmm18 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm3, %ymm25, %ymm0 {%k6}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm2[0],ymm0[1,2],ymm2[3],ymm0[4,5,6],ymm2[7,8],ymm0[9,10],ymm2[11],ymm0[12,13,14],ymm2[15]
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm1, %ymm26, %ymm2 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k5} = ymm0[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,zero,xmm4[6,13],zero,zero,xmm4[2,9,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm12[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[5,12]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm19 = xmm11[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512DQBW-SLOW-NEXT: vporq %xmm4, %xmm19, %xmm4
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQBW-SLOW-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512DQBW-SLOW-NEXT: kmovd %edi, %k2
+; AVX512DQBW-SLOW-NEXT: kmovd %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 4-byte Spill
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm4, %ymm0 {%k2}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm6[3,10],zero,zero,zero,xmm6[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm19 = zero,zero,xmm5[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm4, %xmm19, %xmm4
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm19
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %zmm2, %zmm19 {%k1}
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k2
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm21, %ymm20 {%k2}
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm20, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: movabsq $-137438953472, %rax # imm = 0xFFFFFFE000000000
+; AVX512DQBW-SLOW-NEXT: kmovq %rax, %k1
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm24 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[2,9],zero,zero,zero,xmm2[5,12,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,4,11],zero,zero,xmm0[0,7,14],zero,zero,xmm0[u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm2 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0,1,2],ymm4[3],ymm2[4,5],ymm4[6],ymm2[7,8,9,10],ymm4[11],ymm2[12,13],ymm4[14],ymm2[15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k7}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm16, %ymm13, %ymm2 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm2[5,12],zero,zero
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[0,7,14],zero,zero,xmm2[3,10]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm17 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k6}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[6,13,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm2 {%k4}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2],ymm4[3],ymm2[4,5,6],ymm4[7,8],ymm2[9,10],ymm4[11],ymm2[12,13,14],ymm4[15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k7}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm16, %ymm13, %ymm2 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm2[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm2[6,13],zero,zero
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm18 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm9, %ymm10, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm2 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm4[0],ymm2[1,2,3],ymm4[4],ymm2[5,6],ymm4[7,8],ymm2[9,10,11],ymm4[12],ymm2[13,14],ymm4[15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm2, %ymm0 {%k7}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm13, %ymm16, %ymm2 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u,u,u,u],zero,zero,xmm4[2,9],zero,zero,zero,xmm4[5,12]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u,4,11],zero,zero,xmm2[0,7,14],zero,zero
+; AVX512DQBW-SLOW-NEXT: vpor %xmm4, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm2, %ymm0 {%k2}
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %zmm0, %zmm19 {%k1}
+; AVX512DQBW-SLOW-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k1}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,0,7,14],zero,zero,xmm0[3,10],zero,zero,zero,xmm0[u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm2, %xmm0, %xmm20
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm15, %ymm14, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm2 = ymm0[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm0[0],ymm2[1],ymm0[2,3],ymm2[4],ymm0[5,6,7,8],ymm2[9],ymm0[10,11],ymm2[12],ymm0[13,14,15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm0, %ymm20 {%k7}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm10, %ymm9, %ymm0 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[2,9,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,1,8,15],zero,zero,xmm0[4,11],zero,zero,xmm0[u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm14, %ymm15, %ymm2 {%k1}
+; AVX512DQBW-SLOW-NEXT: kmovq %k1, %k7
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm4 = ymm2[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm2[0],ymm4[1],ymm2[2,3,4],ymm4[5],ymm2[6,7,8],ymm4[9],ymm2[10,11,12],ymm4[13],ymm2[14,15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm21 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: movl $8176, %eax # imm = 0x1FF0
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm0, %ymm21 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm13, %ymm16, %ymm0 {%k6}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u,u],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[6,13]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm0, %ymm20 {%k2}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm13, %ymm16, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[u,u,u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm0, %xmm0
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm0, %ymm21 {%k2}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm3, %ymm25, %ymm0 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm26, %ymm1, %ymm23 {%k4}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm26, %ymm1, %ymm22 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm2 {%k3}
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm26, %ymm1 {%k3}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm7, %ymm8, %ymm4 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm4[u,u,2,9],zero,zero,zero,xmm4[5,12],zero,zero,xmm4[u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u],zero,zero,xmm4[0,7,14],zero,zero,xmm4[3,10,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm26, %xmm4, %xmm4
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm12[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm12[6,13]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm27 = xmm11[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512DQBW-SLOW-NEXT: vporq %xmm26, %xmm27, %xmm26
+; AVX512DQBW-SLOW-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm26
+; AVX512DQBW-SLOW-NEXT: kmovd {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 4-byte Reload
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm26, %ymm4 {%k1}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm2[u,u,3,10],zero,zero,zero,xmm2[6,13],zero,zero,xmm2[u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u],zero,zero,xmm2[1,8,15],zero,zero,xmm2[4,11,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm26, %xmm2, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm26 = xmm11[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm27 = xmm12[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm12[0,7,14]
+; AVX512DQBW-SLOW-NEXT: vporq %xmm26, %xmm27, %xmm26
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vinserti32x4 $1, %xmm26, %ymm0, %ymm26
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm26, %ymm2 {%k1}
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm8, %ymm7 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm7, %xmm8
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u],zero,zero,xmm8[2,9],zero,zero,zero,xmm8[5,12,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm7 = xmm7[u,u,4,11],zero,zero,xmm7[0,7,14],zero,zero,xmm7[u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm7, %xmm8, %xmm7
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = xmm11[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm12[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm12[1,8,15]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQBW-SLOW-NEXT: vmovdqu8 %ymm8, %ymm7 {%k1}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm0, %xmm8
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm8[0],ymm0[1,2,3],ymm8[4],ymm0[5,6],ymm8[7,8],ymm0[9,10,11],ymm8[12],ymm0[13,14],ymm8[15]
+; AVX512DQBW-SLOW-NEXT: vextracti32x4 $1, %ymm23, %xmm8
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm8 = zero,zero,xmm8[2,9],zero,zero,zero,xmm8[5,12,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = xmm23[4,11],zero,zero,xmm23[0,7,14],zero,zero,xmm23[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm8, %xmm11, %xmm8
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm8 {%k5} = ymm0[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQBW-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm11
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm5[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm11, %zmm4, %zmm4
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %zmm4, %zmm8 {%k5}
+; AVX512DQBW-SLOW-NEXT: vpblendmw %ymm25, %ymm3, %ymm4 {%k4}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm4, %xmm11
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm4 = ymm4[0],ymm11[1],ymm4[2,3],ymm11[4],ymm4[5,6,7,8],ymm11[9],ymm4[10,11],ymm11[12],ymm4[13,14,15]
+; AVX512DQBW-SLOW-NEXT: vextracti32x4 $1, %ymm22, %xmm11
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm11 = zero,zero,xmm11[3,10],zero,zero,zero,xmm11[6,13,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm22[5,12],zero,zero,xmm22[1,8,15],zero,zero,xmm22[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm11, %xmm12, %xmm11
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm11 {%k5} = ymm4[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm4 = xmm5[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm12 = xmm6[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm12[0],xmm4[0],xmm12[1],xmm4[1],xmm12[2],xmm4[2],xmm12[3],xmm4[3]
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm2, %zmm2
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %zmm2, %zmm11 {%k5}
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm25, %ymm3 {%k6}
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm3, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm2 = ymm3[0],ymm2[1],ymm3[2,3,4],ymm2[5],ymm3[6,7,8],ymm2[9],ymm3[10,11,12],ymm2[13],ymm3[14,15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm1[6,13],zero,zero,xmm1[2,9],zero,zero,zero,xmm1[u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm1, %xmm1
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm1 = zero,zero,xmm1[4,11],zero,zero,xmm1[0,7,14,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm3, %xmm1, %xmm1
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm1 {%k5} = ymm2[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm6[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm7, %zmm0
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %zmm0, %zmm1 {%k5}
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm14, %ymm15 {%k4}
+; AVX512DQBW-SLOW-NEXT: vpermq {{.*#+}} ymm0 = ymm15[2,3,0,1]
+; AVX512DQBW-SLOW-NEXT: vpblendw {{.*#+}} ymm0 = ymm15[0,1],ymm0[2],ymm15[3,4],ymm0[5],ymm15[6,7,8,9],ymm0[10],ymm15[11,12],ymm0[13],ymm15[14,15]
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm10, %ymm9 {%k6}
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm9[u,u,u,u,2,9],zero,zero,zero,xmm9[5,12],zero,zero,xmm9[u,u,u]
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm9, %xmm3
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[u,u,u,u],zero,zero,xmm3[0,7,14],zero,zero,xmm3[3,10,u,u,u]
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512DQBW-SLOW-NEXT: movl $4186112, %eax # imm = 0x3FE000
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} ymm2 {%k1} = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15,22,29,20,27,18,25,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-SLOW-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQBW-SLOW-NEXT: vmovdqu16 %ymm16, %ymm13 {%k7}
+; AVX512DQBW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512DQBW-SLOW-NEXT: vinserti32x8 $1, %ymm20, %zmm0, %zmm8 {%k1}
+; AVX512DQBW-SLOW-NEXT: vinserti32x8 $1, %ymm21, %zmm0, %zmm11 {%k1}
+; AVX512DQBW-SLOW-NEXT: vinserti64x4 $1, %ymm2, %zmm0, %zmm0
+; AVX512DQBW-SLOW-NEXT: vextracti128 $1, %ymm13, %xmm2
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[u,u,u,u,u,u],zero,zero,zero,xmm2[5,12],zero,zero,xmm2[1,8,15]
+; AVX512DQBW-SLOW-NEXT: vpshufb {{.*#+}} xmm3 = xmm13[u,u,u,u,u,u,0,7,14],zero,zero,xmm13[3,10],zero,zero,zero
+; AVX512DQBW-SLOW-NEXT: vpor %xmm2, %xmm3, %xmm2
+; AVX512DQBW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512DQBW-SLOW-NEXT: vmovdqa {{.*#+}} ymm3 = [16,17,18,19,20,21,22,23,24,25,26,43,44,45,46,47]
+; AVX512DQBW-SLOW-NEXT: vpermi2w %zmm2, %zmm0, %zmm3
+; AVX512DQBW-SLOW-NEXT: vinserti32x8 $1, %ymm3, %zmm0, %zmm1 {%k1}
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm24, (%rsi)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm17, (%rdx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm18, (%rcx)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm19, (%r8)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm8, (%r9)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm11, (%rdi)
+; AVX512DQBW-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512DQBW-SLOW-NEXT: vzeroupper
+; AVX512DQBW-SLOW-NEXT: retq
+;
+; AVX512DQBW-FAST-LABEL: load_i8_stride7_vf64:
+; AVX512DQBW-FAST: # %bb.0:
+; AVX512DQBW-FAST-NEXT: vmovdqa64 320(%rdi), %zmm26
+; AVX512DQBW-FAST-NEXT: vmovdqa64 64(%rdi), %zmm1
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [24,17,2,19,28,21,6,31,16,9,26,27,20,13,30,23]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm24
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [8,1,18,11,4,5,22,15,0,25,10,3,12,29,14,7]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm18
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [24,17,2,27,20,5,22,31,16,9,26,19,12,29,30,23]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm16
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,18,11,4,21,14,7,8,25,10,3,28,13,6,15]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm25
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,2,11,4,5,14,7,8,9,26,19,12,29,22,15]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm17
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,17,10,3,4,21,14,7,24,9,2,11,28,13,6,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm13
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [0,1,10,3,4,5,14,7,8,25,18,11,12,29,22,15]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm2, %zmm10
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [16,17,10,3,20,13,6,23,24,25,18,27,28,21,30,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm2, %zmm4
+; AVX512DQBW-FAST-NEXT: vmovdqa (%rdi), %ymm9
+; AVX512DQBW-FAST-NEXT: vmovdqa 32(%rdi), %ymm3
+; AVX512DQBW-FAST-NEXT: movw $-28382, %ax # imm = 0x9122
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k1
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm2 {%k1}
+; AVX512DQBW-FAST-NEXT: kmovq %k1, %k2
+; AVX512DQBW-FAST-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm2, %xmm5
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm5 = zero,zero,zero,xmm5[5,12],zero,zero,xmm5[1,8,15,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm2 = xmm2[0,7,14],zero,zero,xmm2[3,10],zero,zero,zero,xmm2[u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm5, %xmm2, %xmm2
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,6,13,4,11,2,9,16,23,30,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: movw $992, %ax # imm = 0x3E0
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k1
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm4, %ymm2 {%k1}
+; AVX512DQBW-FAST-NEXT: vmovdqa 128(%rdi), %ymm11
+; AVX512DQBW-FAST-NEXT: vmovdqa 160(%rdi), %ymm8
+; AVX512DQBW-FAST-NEXT: movw $8772, %ax # imm = 0x2244
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k1
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm11, %ymm8, %ymm4 {%k1}
+; AVX512DQBW-FAST-NEXT: kmovq %k1, %k3
+; AVX512DQBW-FAST-NEXT: kmovw %k1, {{[-0-9]+}}(%r{{[sb]}}p) # 2-byte Spill
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm4, %xmm5
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm5 = xmm5[u,u,u],zero,zero,xmm5[3,10],zero,zero,zero,xmm5[6,13,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,5,12],zero,zero,xmm4[1,8,15],zero,zero,xmm4[u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm5, %xmm4, %xmm4
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,1,2,4,6>
+; AVX512DQBW-FAST-NEXT: vmovdqa64 192(%rdi), %ymm19
+; AVX512DQBW-FAST-NEXT: vpermd %ymm19, %ymm5, %ymm5
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,23,26,29]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm4[0,1,2,3,4,5,6],ymm5[7]
+; AVX512DQBW-FAST-NEXT: vmovdqa 240(%rdi), %xmm4
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm6 = zero,zero,zero,xmm4[5,12,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqa 224(%rdi), %xmm7
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm7[0,7,14],zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm6, %xmm12, %xmm6
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm5, %zmm5
+; AVX512DQBW-FAST-NEXT: movabsq $137438429184, %rax # imm = 0x1FFFF80000
+; AVX512DQBW-FAST-NEXT: kmovq %rax, %k5
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm5, %zmm2 {%k5}
+; AVX512DQBW-FAST-NEXT: vmovdqa 288(%rdi), %ymm6
+; AVX512DQBW-FAST-NEXT: vmovdqa 256(%rdi), %ymm5
+; AVX512DQBW-FAST-NEXT: movw $9288, %ax # imm = 0x2448
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k6
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm12 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm12[u,u,u,u,u,3,10],zero,zero,zero,xmm12[6,13],zero,zero,xmm12[u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm12, %xmm12
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm12[u,u,u,u,u],zero,zero,xmm12[1,8,15],zero,zero,xmm12[4,11,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm20, %xmm12, %xmm21
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,9,16,23,30,21,28,19,26,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: movw $3968, %ax # imm = 0xF80
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k7
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm10, %ymm21 {%k7}
+; AVX512DQBW-FAST-NEXT: vmovdqa 416(%rdi), %ymm12
+; AVX512DQBW-FAST-NEXT: vmovdqa 384(%rdi), %ymm10
+; AVX512DQBW-FAST-NEXT: movw $4644, %ax # imm = 0x1224
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k4
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm20 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm22
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm22[u,u,u,u,u,u,u],zero,zero,zero,xmm22[6,13],zero,zero,xmm22[2,9]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u,u,u,u,u,u,1,8,15],zero,zero,xmm20[4,11],zero,zero
+; AVX512DQBW-FAST-NEXT: vporq %xmm22, %xmm20, %xmm20
+; AVX512DQBW-FAST-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm22
+; AVX512DQBW-FAST-NEXT: movl $-8388608, %eax # imm = 0xFF800000
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm20 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm23
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm23 = zero,zero,zero,xmm23[6,13],zero,zero,xmm23[2,9,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[1,8,15],zero,zero,xmm20[4,11],zero,zero,xmm20[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm23, %xmm20, %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm13[u,u,u,u,u,u,u,u,u,0,7,14,5,12,3,10,17,24,31,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: movl $511, %r10d # imm = 0x1FF
+; AVX512DQBW-FAST-NEXT: kmovd %r10d, %k1
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm20, %ymm13 {%k1}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm11, %ymm8, %ymm20 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm23 = xmm20[u,u,u,6,13],zero,zero,xmm20[2,9],zero,zero,zero,xmm20[u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm20, %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u,u],zero,zero,xmm20[4,11],zero,zero,xmm20[0,7,14,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm23, %xmm20, %xmm20
+; AVX512DQBW-FAST-NEXT: vinserti32x4 $1, %xmm20, %ymm0, %ymm14
+; AVX512DQBW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = <u,u,u,u,1,3,4,6>
+; AVX512DQBW-FAST-NEXT: vpermd %ymm19, %ymm20, %ymm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm20[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,20,27,30]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3,4,5,6],ymm15[7]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = zero,zero,zero,xmm4[6,13,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm7[1,8,15],zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm15, %xmm20, %xmm15
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm14, %zmm14
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm14, %zmm13 {%k5}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm14 {%k3}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm14[2,9],zero,zero,zero,xmm14[5,12],zero,zero,xmm14[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = zero,zero,xmm14[0,7,14],zero,zero,xmm14[3,10,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm15, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: movl $261632, %r10d # imm = 0x3FE00
+; AVX512DQBW-FAST-NEXT: kmovd %r10d, %k5
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm14 {%k5} = ymm25[u,u,u,u,u,u,u,u,u,1,8,15,6,13,4,11,18,25,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm15 {%k2}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm15, %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = xmm20[u,u],zero,zero,zero,xmm20[5,12],zero,zero,xmm20[1,8,15,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm15[u,u,0,7,14],zero,zero,xmm15[3,10],zero,zero,zero,xmm15[u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm20, %xmm15, %xmm15
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512DQBW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = <u,u,u,u,1,3,5,6>
+; AVX512DQBW-FAST-NEXT: vpermd %ymm19, %ymm20, %ymm19
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm19[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,21,24,31]
+; AVX512DQBW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm15[0,1,2,3,4,5,6],ymm0[7]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm15 = xmm7[2,9],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm19 = zero,zero,xmm4[0,7,14,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm15, %xmm19, %xmm15
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm15, %zmm0, %zmm15
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %zmm14, %zmm15 {%k1}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm3, %ymm9, %ymm0 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm0[3,10],zero,zero,zero,xmm0[6,13],zero,zero,xmm0[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = zero,zero,xmm0[1,8,15],zero,zero,xmm0[4,11,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm0 {%k5} = ymm18[u,u,u,u,u,u,u,u,u,2,9,0,7,14,5,12,19,26,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm14 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm18
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm18[u,u],zero,zero,zero,xmm18[6,13],zero,zero,xmm18[2,9,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,1,8,15],zero,zero,xmm14[4,11],zero,zero,xmm14[u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm18, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQBW-FAST-NEXT: vmovdqa64 208(%rdi), %xmm19
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm19[5,12]
+; AVX512DQBW-FAST-NEXT: vmovdqa64 192(%rdi), %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm23 = xmm20[u,u,u,u,u,u,u,u,u,u,u,0,7,14],zero,zero
+; AVX512DQBW-FAST-NEXT: vporq %xmm18, %xmm23, %xmm18
+; AVX512DQBW-FAST-NEXT: vinserti32x4 $1, %xmm18, %ymm0, %ymm18
+; AVX512DQBW-FAST-NEXT: movl $-134217728, %edi # imm = 0xF8000000
+; AVX512DQBW-FAST-NEXT: kmovd %edi, %k2
+; AVX512DQBW-FAST-NEXT: kmovd %k2, {{[-0-9]+}}(%r{{[sb]}}p) # 4-byte Spill
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm18, %ymm14 {%k2}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm18 = xmm7[3,10],zero,zero,zero,xmm7[u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm23 = zero,zero,xmm4[1,8,15,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm18, %xmm23, %xmm18
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm18, %zmm14, %zmm18
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %zmm0, %zmm18 {%k1}
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k3
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm22, %ymm21 {%k3}
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm21, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: movabsq $-137438953472, %rax # imm = 0xFFFFFFE000000000
+; AVX512DQBW-FAST-NEXT: kmovq %rax, %k2
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm0, %zmm2 {%k2}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u],zero,zero,xmm14[2,9],zero,zero,zero,xmm14[5,12,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,4,11],zero,zero,xmm0[0,7,14],zero,zero,xmm0[u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm17[u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,10,17,24,31,22,29,20,27,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k7}
+; AVX512DQBW-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm14 {%k1}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm14[u,u,u,u,u,u,u,2,9],zero,zero,zero,xmm14[5,12],zero,zero
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u],zero,zero,xmm14[0,7,14],zero,zero,xmm14[3,10]
+; AVX512DQBW-FAST-NEXT: vporq %xmm17, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k3}
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm0, %zmm13 {%k2}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k1}
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u],zero,zero,xmm14[3,10],zero,zero,zero,xmm14[6,13,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero,xmm0[u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm16[u,u,u,u,u,u,u,u,u,u,u,u,u,u,4,11,18,25,16,23,30,21,28,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k7}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm12, %ymm10, %ymm14 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm16 = xmm14[u,u,u,u,u,u,u,3,10],zero,zero,zero,xmm14[6,13],zero,zero
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u],zero,zero,xmm14[1,8,15],zero,zero,xmm14[4,11]
+; AVX512DQBW-FAST-NEXT: vporq %xmm16, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k3}
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm0, %zmm15 {%k2}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm5, %ymm6, %ymm0 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm0[u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero,xmm0[u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm14, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm24[u,u,u,u,u,u,u,u,u,u,u,u,u,u,5,12,19,26,17,24,31,22,29,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm14, %ymm0 {%k7}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm14 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm16
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm16 = xmm16[u,u,u,u,u,u,u],zero,zero,xmm16[2,9],zero,zero,zero,xmm16[5,12]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,u,u,u,4,11],zero,zero,xmm14[0,7,14],zero,zero
+; AVX512DQBW-FAST-NEXT: vporq %xmm16, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm14, %ymm0 {%k3}
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %zmm0, %zmm18 {%k2}
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,9,2,3,4,13,6,7,24,17,10,11,28,21,14,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm14 = [16,25,18,3,28,21,6,23,24,17,10,27,20,13,30,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm14, %zmm16
+; AVX512DQBW-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k2 # 2-byte Reload
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm14 {%k2}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm14, %xmm17
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u],zero,zero,zero,xmm17[5,12],zero,zero,xmm17[1,8,15,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm14[u,u,u,u,0,7,14],zero,zero,xmm14[3,10],zero,zero,zero,xmm14[u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm17, %xmm14, %xmm14
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm16 = ymm16[u,u,u,u,u,u,u,u,u,u,u,u,u,u,6,13,20,27,18,25,16,23,30,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm16, %ymm14 {%k7}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm6, %ymm5, %ymm16 {%k4}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm16, %xmm17
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u],zero,zero,zero,xmm17[6,13],zero,zero,xmm17[2,9,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm16 = xmm16[u,u,u,u,1,8,15],zero,zero,xmm16[4,11],zero,zero,xmm16[u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm17, %xmm16, %xmm17
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm16 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,0,7,14,21,28,19,26,17,24,31,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: movl $8176, %eax # imm = 0x1FF0
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k1
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm17, %ymm16 {%k1}
+; AVX512DQBW-FAST-NEXT: kmovw {{[-0-9]+}}(%r{{[sb]}}p), %k1 # 2-byte Reload
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm0 {%k1}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm0, %xmm17
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[u,u,u,u,u,u,u],zero,zero,xmm17[3,10],zero,zero,zero,xmm17[6,13]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u,5,12],zero,zero,xmm0[1,8,15],zero,zero
+; AVX512DQBW-FAST-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm0, %ymm14 {%k3}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm10, %ymm12, %ymm0 {%k6}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm0[u,u,u,u,u,u,u,6,13],zero,zero,xmm0[2,9],zero,zero,zero
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u,u,u,u,u,u],zero,zero,xmm0[4,11],zero,zero,xmm0[0,7,14]
+; AVX512DQBW-FAST-NEXT: vporq %xmm17, %xmm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm0, %ymm16 {%k3}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm9, %ymm3, %ymm21 {%k4}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm9, %ymm3, %ymm17 {%k1}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm0 {%k6}
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm9, %ymm3 {%k6}
+; AVX512DQBW-FAST-NEXT: vpblendmw %ymm8, %ymm11, %ymm9 {%k1}
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm11, %ymm8 {%k4}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm9[u,u,2,9],zero,zero,zero,xmm9[5,12],zero,zero,xmm9[u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm9, %xmm9
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm9[u,u],zero,zero,xmm9[0,7,14],zero,zero,xmm9[3,10,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm11, %xmm9, %xmm9
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,zero,xmm19[6,13]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm20[u,u,u,u,u,u,u,u,u,u,u,1,8,15],zero,zero
+; AVX512DQBW-FAST-NEXT: vporq %xmm11, %xmm22, %xmm11
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQBW-FAST-NEXT: kmovd {{[-0-9]+}}(%r{{[sb]}}p), %k3 # 4-byte Reload
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm11, %ymm9 {%k3}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm0[u,u,3,10],zero,zero,zero,xmm0[6,13],zero,zero,xmm0[u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm0, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[u,u],zero,zero,xmm0[1,8,15],zero,zero,xmm0[4,11,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm11, %xmm0
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm20[u,u,u,u,u,u,u,u,u,u,u,2,9],zero,zero,zero
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm19[0,7,14]
+; AVX512DQBW-FAST-NEXT: vporq %xmm11, %xmm22, %xmm11
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm11, %ymm0 {%k3}
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm8, %xmm11
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm11[u,u],zero,zero,xmm11[2,9],zero,zero,zero,xmm11[5,12,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm8 = xmm8[u,u,4,11],zero,zero,xmm8[0,7,14],zero,zero,xmm8[u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm11, %xmm8, %xmm8
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm20[u,u,u,u,u,u,u,u,u,u,u,3,10],zero,zero,zero
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm19 = xmm19[u,u,u,u,u,u,u,u,u,u,u],zero,zero,xmm19[1,8,15]
+; AVX512DQBW-FAST-NEXT: vporq %xmm11, %xmm19, %xmm11
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512DQBW-FAST-NEXT: vmovdqu8 %ymm11, %ymm8 {%k3}
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [16,9,2,19,20,13,6,23,24,17,26,27,28,21,30,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm11, %zmm11
+; AVX512DQBW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = [16,9,2,19,12,5,22,23,24,17,26,27,20,29,30,31]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm19, %zmm19
+; AVX512DQBW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = [8,1,2,19,12,5,22,15,0,9,26,11,4,29,14,7]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm1, %zmm20, %zmm1
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm21, %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm20 = zero,zero,xmm20[2,9],zero,zero,zero,xmm20[5,12,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm21 = xmm21[4,11],zero,zero,xmm21[0,7,14],zero,zero,xmm21[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm20, %xmm21, %xmm20
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm20 {%k5} = ymm1[u,u,u,u,u,u,u,u,u,3,10,1,8,15,6,13,20,27,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <4,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512DQBW-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm21
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm22 = xmm4[2,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm21 = xmm21[0],xmm22[0],xmm21[1],xmm22[1],xmm21[2],xmm22[2],xmm21[3],xmm22[3]
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm21, %zmm9, %zmm9
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %zmm9, %zmm20 {%k5}
+; AVX512DQBW-FAST-NEXT: vextracti32x4 $1, %ymm17, %xmm9
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm9 = zero,zero,xmm9[3,10],zero,zero,zero,xmm9[6,13,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm17[5,12],zero,zero,xmm17[1,8,15],zero,zero,xmm17[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vporq %xmm9, %xmm17, %xmm9
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm9 {%k5} = ymm19[u,u,u,u,u,u,u,u,u,4,11,2,9,0,7,14,21,28,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm17 = xmm4[3,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm19 = xmm7[5,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm17 = xmm19[0],xmm17[0],xmm19[1],xmm17[1],xmm19[2],xmm17[2],xmm19[3],xmm17[3]
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm17, %zmm0, %zmm0
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %zmm0, %zmm9 {%k5}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm0 = xmm3[6,13],zero,zero,xmm3[2,9],zero,zero,zero,xmm3[u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm3, %xmm3
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = zero,zero,xmm3[4,11],zero,zero,xmm3[0,7,14,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm0, %xmm3, %xmm0
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm0 {%k5} = ymm11[u,u,u,u,u,u,u,u,u,5,12,3,10,1,8,15,22,29,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm7[6,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm8, %zmm1
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %zmm1, %zmm0 {%k5}
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm12, %ymm10 {%k2}
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,1,10,3,4,13,6,7,8,25,18,11,28,21,14,15]
+; AVX512DQBW-FAST-NEXT: vpermw %zmm26, %zmm1, %zmm1
+; AVX512DQBW-FAST-NEXT: movw $-512, %ax # imm = 0xFE00
+; AVX512DQBW-FAST-NEXT: vmovdqu16 %ymm6, %ymm5 {%k1}
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm5[u,u,u,u,2,9],zero,zero,zero,xmm5[5,12],zero,zero,xmm5[u,u,u]
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm5, %xmm4
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm4[u,u,u,u],zero,zero,xmm4[0,7,14],zero,zero,xmm4[3,10,u,u,u]
+; AVX512DQBW-FAST-NEXT: vpor %xmm3, %xmm4, %xmm3
+; AVX512DQBW-FAST-NEXT: movl $4186112, %edi # imm = 0x3FE000
+; AVX512DQBW-FAST-NEXT: kmovd %edi, %k1
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} ymm3 {%k1} = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,1,8,15,22,29,20,27,18,25,u,u,u,u,u,u,u,u,u,u]
+; AVX512DQBW-FAST-NEXT: kmovd %eax, %k1
+; AVX512DQBW-FAST-NEXT: vinserti32x8 $1, %ymm14, %zmm0, %zmm20 {%k1}
+; AVX512DQBW-FAST-NEXT: vinserti32x8 $1, %ymm16, %zmm0, %zmm9 {%k1}
+; AVX512DQBW-FAST-NEXT: vextracti128 $1, %ymm10, %xmm1
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm1 = xmm1[u,u,u,u,u,u],zero,zero,zero,xmm1[5,12],zero,zero,xmm1[1,8,15]
+; AVX512DQBW-FAST-NEXT: vpshufb {{.*#+}} xmm4 = xmm10[u,u,u,u,u,u,0,7,14],zero,zero,xmm10[3,10],zero,zero,zero
+; AVX512DQBW-FAST-NEXT: vpor %xmm1, %xmm4, %xmm1
+; AVX512DQBW-FAST-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512DQBW-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm3
+; AVX512DQBW-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = [16,17,18,19,20,21,22,23,24,25,26,43,44,45,46,47]
+; AVX512DQBW-FAST-NEXT: vpermi2w %zmm1, %zmm3, %zmm4
+; AVX512DQBW-FAST-NEXT: vinserti32x8 $1, %ymm4, %zmm0, %zmm0 {%k1}
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512DQBW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rdi
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm2, (%rsi)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm13, (%rdx)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm15, (%rcx)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm18, (%r8)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm20, (%r9)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm9, (%rdi)
+; AVX512DQBW-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512DQBW-FAST-NEXT: vzeroupper
+; AVX512DQBW-FAST-NEXT: retq
+ %wide.vec = load <448 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 0, i32 7, i32 14, i32 21, i32 28, i32 35, i32 42, i32 49, i32 56, i32 63, i32 70, i32 77, i32 84, i32 91, i32 98, i32 105, i32 112, i32 119, i32 126, i32 133, i32 140, i32 147, i32 154, i32 161, i32 168, i32 175, i32 182, i32 189, i32 196, i32 203, i32 210, i32 217, i32 224, i32 231, i32 238, i32 245, i32 252, i32 259, i32 266, i32 273, i32 280, i32 287, i32 294, i32 301, i32 308, i32 315, i32 322, i32 329, i32 336, i32 343, i32 350, i32 357, i32 364, i32 371, i32 378, i32 385, i32 392, i32 399, i32 406, i32 413, i32 420, i32 427, i32 434, i32 441>
+ %strided.vec1 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 1, i32 8, i32 15, i32 22, i32 29, i32 36, i32 43, i32 50, i32 57, i32 64, i32 71, i32 78, i32 85, i32 92, i32 99, i32 106, i32 113, i32 120, i32 127, i32 134, i32 141, i32 148, i32 155, i32 162, i32 169, i32 176, i32 183, i32 190, i32 197, i32 204, i32 211, i32 218, i32 225, i32 232, i32 239, i32 246, i32 253, i32 260, i32 267, i32 274, i32 281, i32 288, i32 295, i32 302, i32 309, i32 316, i32 323, i32 330, i32 337, i32 344, i32 351, i32 358, i32 365, i32 372, i32 379, i32 386, i32 393, i32 400, i32 407, i32 414, i32 421, i32 428, i32 435, i32 442>
+ %strided.vec2 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 2, i32 9, i32 16, i32 23, i32 30, i32 37, i32 44, i32 51, i32 58, i32 65, i32 72, i32 79, i32 86, i32 93, i32 100, i32 107, i32 114, i32 121, i32 128, i32 135, i32 142, i32 149, i32 156, i32 163, i32 170, i32 177, i32 184, i32 191, i32 198, i32 205, i32 212, i32 219, i32 226, i32 233, i32 240, i32 247, i32 254, i32 261, i32 268, i32 275, i32 282, i32 289, i32 296, i32 303, i32 310, i32 317, i32 324, i32 331, i32 338, i32 345, i32 352, i32 359, i32 366, i32 373, i32 380, i32 387, i32 394, i32 401, i32 408, i32 415, i32 422, i32 429, i32 436, i32 443>
+ %strided.vec3 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 3, i32 10, i32 17, i32 24, i32 31, i32 38, i32 45, i32 52, i32 59, i32 66, i32 73, i32 80, i32 87, i32 94, i32 101, i32 108, i32 115, i32 122, i32 129, i32 136, i32 143, i32 150, i32 157, i32 164, i32 171, i32 178, i32 185, i32 192, i32 199, i32 206, i32 213, i32 220, i32 227, i32 234, i32 241, i32 248, i32 255, i32 262, i32 269, i32 276, i32 283, i32 290, i32 297, i32 304, i32 311, i32 318, i32 325, i32 332, i32 339, i32 346, i32 353, i32 360, i32 367, i32 374, i32 381, i32 388, i32 395, i32 402, i32 409, i32 416, i32 423, i32 430, i32 437, i32 444>
+ %strided.vec4 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 4, i32 11, i32 18, i32 25, i32 32, i32 39, i32 46, i32 53, i32 60, i32 67, i32 74, i32 81, i32 88, i32 95, i32 102, i32 109, i32 116, i32 123, i32 130, i32 137, i32 144, i32 151, i32 158, i32 165, i32 172, i32 179, i32 186, i32 193, i32 200, i32 207, i32 214, i32 221, i32 228, i32 235, i32 242, i32 249, i32 256, i32 263, i32 270, i32 277, i32 284, i32 291, i32 298, i32 305, i32 312, i32 319, i32 326, i32 333, i32 340, i32 347, i32 354, i32 361, i32 368, i32 375, i32 382, i32 389, i32 396, i32 403, i32 410, i32 417, i32 424, i32 431, i32 438, i32 445>
+ %strided.vec5 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 5, i32 12, i32 19, i32 26, i32 33, i32 40, i32 47, i32 54, i32 61, i32 68, i32 75, i32 82, i32 89, i32 96, i32 103, i32 110, i32 117, i32 124, i32 131, i32 138, i32 145, i32 152, i32 159, i32 166, i32 173, i32 180, i32 187, i32 194, i32 201, i32 208, i32 215, i32 222, i32 229, i32 236, i32 243, i32 250, i32 257, i32 264, i32 271, i32 278, i32 285, i32 292, i32 299, i32 306, i32 313, i32 320, i32 327, i32 334, i32 341, i32 348, i32 355, i32 362, i32 369, i32 376, i32 383, i32 390, i32 397, i32 404, i32 411, i32 418, i32 425, i32 432, i32 439, i32 446>
+ %strided.vec6 = shufflevector <448 x i8> %wide.vec, <448 x i8> poison, <64 x i32> <i32 6, i32 13, i32 20, i32 27, i32 34, i32 41, i32 48, i32 55, i32 62, i32 69, i32 76, i32 83, i32 90, i32 97, i32 104, i32 111, i32 118, i32 125, i32 132, i32 139, i32 146, i32 153, i32 160, i32 167, i32 174, i32 181, i32 188, i32 195, i32 202, i32 209, i32 216, i32 223, i32 230, i32 237, i32 244, i32 251, i32 258, i32 265, i32 272, i32 279, i32 286, i32 293, i32 300, i32 307, i32 314, i32 321, i32 328, i32 335, i32 342, i32 349, i32 356, i32 363, i32 370, i32 377, i32 384, i32 391, i32 398, i32 405, i32 412, i32 419, i32 426, i32 433, i32 440, i32 447>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <64 x i8> %strided.vec6, ptr %out.vec6, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX1: {{.*}}
+; AVX2: {{.*}}
+; AVX512: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}
--- /dev/null
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+sse2 | FileCheck %s --check-prefixes=SSE,FALLBACK0
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx | FileCheck %s --check-prefixes=AVX,AVX1,AVX1-ONLY,FALLBACK1
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2 | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-SLOW,FALLBACK2
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST,FALLBACK3
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx2,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX1,AVX2,AVX2-ONLY,AVX2-FAST-PERLANE,FALLBACK4
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512F-ONLY-SLOW,FALLBACK5
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512F-ONLY-FAST,FALLBACK6
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-SLOW,AVX512DQ-SLOW,FALLBACK7
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512F,AVX512F-FAST,AVX512DQ-FAST,FALLBACK8
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512BW-ONLY-SLOW,FALLBACK9
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512BW-ONLY-FAST,FALLBACK10
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-SLOW,AVX512DQBW-SLOW,FALLBACK11
+; RUN: llc < %s -mtriple=x86_64-- -mattr=+avx512vl,+avx512dq,+avx512bw,+fast-variable-crosslane-shuffle,+fast-variable-perlane-shuffle | FileCheck %s --check-prefixes=AVX,AVX2,AVX512,AVX512BW,AVX512BW-FAST,AVX512DQBW-FAST,FALLBACK12
+
+; These patterns are produced by LoopVectorizer for interleaved loads.
+
+define void @load_i8_stride8_vf2(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf2:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm1
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: pand %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pxor %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm1, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm2[8],xmm3[9],xmm2[9],xmm3[10],xmm2[10],xmm3[11],xmm2[11],xmm3[12],xmm2[12],xmm3[13],xmm2[13],xmm3[14],xmm2[14],xmm3[15],xmm2[15]
+; SSE-NEXT: movdqa %xmm1, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3],xmm4[4],xmm2[4],xmm4[5],xmm2[5],xmm4[6],xmm2[6],xmm4[7],xmm2[7]
+; SSE-NEXT: movdqa %xmm4, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[3,3,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm1[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm4[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,3,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movd %xmm0, %edi
+; SSE-NEXT: movw %di, (%rsi)
+; SSE-NEXT: movd %xmm5, %esi
+; SSE-NEXT: movw %si, (%rdx)
+; SSE-NEXT: movd %xmm6, %edx
+; SSE-NEXT: movw %dx, (%rcx)
+; SSE-NEXT: movd %xmm2, %ecx
+; SSE-NEXT: movw %cx, (%r8)
+; SSE-NEXT: movd %xmm7, %ecx
+; SSE-NEXT: movw %cx, (%r9)
+; SSE-NEXT: movd %xmm3, %ecx
+; SSE-NEXT: movw %cx, (%r11)
+; SSE-NEXT: movd %xmm1, %ecx
+; SSE-NEXT: movw %cx, (%r10)
+; SSE-NEXT: movd %xmm4, %ecx
+; SSE-NEXT: movw %cx, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-LABEL: load_i8_stride8_vf2:
+; AVX1: # %bb.0:
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpshufb {{.*#+}} xmm0 = xmm0[7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX1-NEXT: vpextrw $0, %xmm1, (%rsi)
+; AVX1-NEXT: vpextrw $0, %xmm2, (%rdx)
+; AVX1-NEXT: vpextrw $0, %xmm3, (%rcx)
+; AVX1-NEXT: vpextrw $0, %xmm4, (%r8)
+; AVX1-NEXT: vpextrw $0, %xmm5, (%r9)
+; AVX1-NEXT: vpextrw $0, %xmm6, (%r11)
+; AVX1-NEXT: vpextrw $0, %xmm7, (%r10)
+; AVX1-NEXT: vpextrw $0, %xmm0, (%rax)
+; AVX1-NEXT: retq
+;
+; AVX512-LABEL: load_i8_stride8_vf2:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512-NEXT: vmovdqa (%rdi), %xmm0
+; AVX512-NEXT: vpshufb {{.*#+}} xmm1 = xmm0[1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm2 = xmm0[2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm3 = xmm0[3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm4 = xmm0[4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm5 = xmm0[5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm6 = xmm0[6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpshufb {{.*#+}} xmm7 = xmm0[7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512-NEXT: vpmovqb %xmm0, (%rsi)
+; AVX512-NEXT: vpextrw $0, %xmm1, (%rdx)
+; AVX512-NEXT: vpextrw $0, %xmm2, (%rcx)
+; AVX512-NEXT: vpextrw $0, %xmm3, (%r8)
+; AVX512-NEXT: vpextrw $0, %xmm4, (%r9)
+; AVX512-NEXT: vpextrw $0, %xmm5, (%r11)
+; AVX512-NEXT: vpextrw $0, %xmm6, (%r10)
+; AVX512-NEXT: vpextrw $0, %xmm7, (%rax)
+; AVX512-NEXT: retq
+ %wide.vec = load <16 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 0, i32 8>
+ %strided.vec1 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 1, i32 9>
+ %strided.vec2 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 2, i32 10>
+ %strided.vec3 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 3, i32 11>
+ %strided.vec4 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 4, i32 12>
+ %strided.vec5 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 5, i32 13>
+ %strided.vec6 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 6, i32 14>
+ %strided.vec7 = shufflevector <16 x i8> %wide.vec, <16 x i8> poison, <2 x i32> <i32 7, i32 15>
+
+ store <2 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <2 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <2 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <2 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <2 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <2 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <2 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <2 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i8_stride8_vf4(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf4:
+; SSE: # %bb.0:
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; SSE-NEXT: movdqa (%rdi), %xmm5
+; SSE-NEXT: movdqa 16(%rdi), %xmm8
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm0
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pxor %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm8, %xmm7
+; SSE-NEXT: punpckhbw {{.*#+}} xmm7 = xmm7[8],xmm3[8],xmm7[9],xmm3[9],xmm7[10],xmm3[10],xmm7[11],xmm3[11],xmm7[12],xmm3[12],xmm7[13],xmm3[13],xmm7[14],xmm3[14],xmm7[15],xmm3[15]
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3],xmm2[4],xmm3[4],xmm2[5],xmm3[5],xmm2[6],xmm3[6],xmm2[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm2, %xmm10
+; SSE-NEXT: punpcklwd {{.*#+}} xmm10 = xmm10[0],xmm7[0],xmm10[1],xmm7[1],xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm1, %xmm6
+; SSE-NEXT: pandn %xmm10, %xmm6
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: punpckhbw {{.*#+}} xmm9 = xmm9[8],xmm3[8],xmm9[9],xmm3[9],xmm9[10],xmm3[10],xmm9[11],xmm3[11],xmm9[12],xmm3[12],xmm9[13],xmm3[13],xmm9[14],xmm3[14],xmm9[15],xmm3[15]
+; SSE-NEXT: movdqa %xmm5, %xmm4
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3],xmm4[4],xmm3[4],xmm4[5],xmm3[5],xmm4[6],xmm3[6],xmm4[7],xmm3[7]
+; SSE-NEXT: movdqa %xmm4, %xmm11
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm9[0],xmm11[1],xmm9[1],xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm11[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm1, %xmm3
+; SSE-NEXT: por %xmm6, %xmm3
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm6, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm8[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm12[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: movdqa %xmm1, %xmm13
+; SSE-NEXT: pandn %xmm12, %xmm13
+; SSE-NEXT: pand %xmm6, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm5[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm6 = xmm6[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pand %xmm1, %xmm6
+; SSE-NEXT: por %xmm13, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[1,1,2,3]
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: pandn %xmm10, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm11[3,3,3,3]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: pand %xmm1, %xmm10
+; SSE-NEXT: por %xmm12, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm8[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm11 = xmm8[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: pandn %xmm11, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm5[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm5 = xmm11[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm1, %xmm5
+; SSE-NEXT: por %xmm12, %xmm5
+; SSE-NEXT: punpckhwd {{.*#+}} xmm2 = xmm2[4],xmm7[4],xmm2[5],xmm7[5],xmm2[6],xmm7[6],xmm2[7],xmm7[7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm1, %xmm12
+; SSE-NEXT: pandn %xmm2, %xmm12
+; SSE-NEXT: punpckhwd {{.*#+}} xmm4 = xmm4[4],xmm9[4],xmm4[5],xmm9[5],xmm4[6],xmm9[6],xmm4[7],xmm9[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm4[1,1,1,1]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm1, %xmm7
+; SSE-NEXT: por %xmm12, %xmm7
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm1, %xmm9
+; SSE-NEXT: pandn %xmm8, %xmm9
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm1, %xmm8
+; SSE-NEXT: por %xmm9, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[1,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[3,3,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm1, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movd %xmm0, (%rsi)
+; SSE-NEXT: movd %xmm3, (%rdx)
+; SSE-NEXT: movd %xmm6, (%rcx)
+; SSE-NEXT: movd %xmm10, (%r8)
+; SSE-NEXT: movd %xmm5, (%r9)
+; SSE-NEXT: movd %xmm7, (%r11)
+; SSE-NEXT: movd %xmm8, (%r10)
+; SSE-NEXT: movd %xmm1, (%rax)
+; SSE-NEXT: retq
+;
+; AVX1-LABEL: load_i8_stride8_vf4:
+; AVX1: # %bb.0:
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm0 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX1-NEXT: vpshufb %xmm0, %xmm2, %xmm3
+; AVX1-NEXT: vpshufb %xmm0, %xmm1, %xmm0
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm3, %xmm2, %xmm4
+; AVX1-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm4 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm4, %xmm2, %xmm5
+; AVX1-NEXT: vpshufb %xmm4, %xmm1, %xmm4
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm5, %xmm2, %xmm6
+; AVX1-NEXT: vpshufb %xmm5, %xmm1, %xmm5
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm6 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm6, %xmm2, %xmm7
+; AVX1-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm7 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm7, %xmm2, %xmm8
+; AVX1-NEXT: vpshufb %xmm7, %xmm1, %xmm7
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm8 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm8, %xmm2, %xmm9
+; AVX1-NEXT: vpshufb %xmm8, %xmm1, %xmm8
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-NEXT: vmovdqa {{.*#+}} xmm9 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX1-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX1-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX1-NEXT: vmovd %xmm0, (%rsi)
+; AVX1-NEXT: vmovd %xmm3, (%rdx)
+; AVX1-NEXT: vmovd %xmm4, (%rcx)
+; AVX1-NEXT: vmovd %xmm5, (%r8)
+; AVX1-NEXT: vmovd %xmm6, (%r9)
+; AVX1-NEXT: vmovd %xmm7, (%r11)
+; AVX1-NEXT: vmovd %xmm8, (%r10)
+; AVX1-NEXT: vmovd %xmm1, (%rax)
+; AVX1-NEXT: retq
+;
+; AVX512-LABEL: load_i8_stride8_vf4:
+; AVX512: # %bb.0:
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512-NEXT: vmovdqa (%rdi), %ymm0
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm1 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX512-NEXT: vpshufb %xmm1, %xmm3, %xmm4
+; AVX512-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm4 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm4, %xmm3, %xmm5
+; AVX512-NEXT: vpshufb %xmm4, %xmm2, %xmm4
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm5, %xmm3, %xmm6
+; AVX512-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm6 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX512-NEXT: vpshufb %xmm6, %xmm2, %xmm6
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm7 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm7, %xmm3, %xmm8
+; AVX512-NEXT: vpshufb %xmm7, %xmm2, %xmm7
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm8 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm8, %xmm3, %xmm9
+; AVX512-NEXT: vpshufb %xmm8, %xmm2, %xmm8
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512-NEXT: vmovdqa {{.*#+}} xmm9 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512-NEXT: vpshufb %xmm9, %xmm3, %xmm3
+; AVX512-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512-NEXT: vpmovqb %ymm0, (%rsi)
+; AVX512-NEXT: vmovd %xmm1, (%rdx)
+; AVX512-NEXT: vmovd %xmm4, (%rcx)
+; AVX512-NEXT: vmovd %xmm5, (%r8)
+; AVX512-NEXT: vmovd %xmm6, (%r9)
+; AVX512-NEXT: vmovd %xmm7, (%r11)
+; AVX512-NEXT: vmovd %xmm8, (%r10)
+; AVX512-NEXT: vmovd %xmm2, (%rax)
+; AVX512-NEXT: vzeroupper
+; AVX512-NEXT: retq
+ %wide.vec = load <32 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 0, i32 8, i32 16, i32 24>
+ %strided.vec1 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 1, i32 9, i32 17, i32 25>
+ %strided.vec2 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 2, i32 10, i32 18, i32 26>
+ %strided.vec3 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 3, i32 11, i32 19, i32 27>
+ %strided.vec4 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 4, i32 12, i32 20, i32 28>
+ %strided.vec5 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 5, i32 13, i32 21, i32 29>
+ %strided.vec6 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 6, i32 14, i32 22, i32 30>
+ %strided.vec7 = shufflevector <32 x i8> %wide.vec, <32 x i8> poison, <4 x i32> <i32 7, i32 15, i32 23, i32 31>
+
+ store <4 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <4 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <4 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <4 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <4 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <4 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <4 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <4 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i8_stride8_vf8(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf8:
+; SSE: # %bb.0:
+; SSE-NEXT: pushq %rax
+; SSE-NEXT: movdqa (%rdi), %xmm12
+; SSE-NEXT: movdqa 16(%rdi), %xmm14
+; SSE-NEXT: movdqa 32(%rdi), %xmm9
+; SSE-NEXT: movdqa 48(%rdi), %xmm10
+; SSE-NEXT: movdqa {{.*#+}} xmm0 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pand %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pand %xmm0, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm0
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm7[8],xmm0[9],xmm7[9],xmm0[10],xmm7[10],xmm0[11],xmm7[11],xmm0[12],xmm7[12],xmm0[13],xmm7[13],xmm0[14],xmm7[14],xmm0[15],xmm7[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm7[0],xmm15[1],xmm7[1],xmm15[2],xmm7[2],xmm15[3],xmm7[3],xmm15[4],xmm7[4],xmm15[5],xmm7[5],xmm15[6],xmm7[6],xmm15[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm15, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm3, %xmm2
+; SSE-NEXT: pandn %xmm5, %xmm2
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm7[8],xmm0[9],xmm7[9],xmm0[10],xmm7[10],xmm0[11],xmm7[11],xmm0[12],xmm7[12],xmm0[13],xmm7[13],xmm0[14],xmm7[14],xmm0[15],xmm7[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm7[0],xmm11[1],xmm7[1],xmm11[2],xmm7[2],xmm11[3],xmm7[3],xmm11[4],xmm7[4],xmm11[5],xmm7[5],xmm11[6],xmm7[6],xmm11[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1],xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: por %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm7[8],xmm1[9],xmm7[9],xmm1[10],xmm7[10],xmm1[11],xmm7[11],xmm1[12],xmm7[12],xmm1[13],xmm7[13],xmm1[14],xmm7[14],xmm1[15],xmm7[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm13
+; SSE-NEXT: punpcklbw {{.*#+}} xmm13 = xmm13[0],xmm7[0],xmm13[1],xmm7[1],xmm13[2],xmm7[2],xmm13[3],xmm7[3],xmm13[4],xmm7[4],xmm13[5],xmm7[5],xmm13[6],xmm7[6],xmm13[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm13, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm4[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm2, %xmm6
+; SSE-NEXT: pandn %xmm8, %xmm6
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm7[8],xmm1[9],xmm7[9],xmm1[10],xmm7[10],xmm1[11],xmm7[11],xmm1[12],xmm7[12],xmm1[13],xmm7[13],xmm1[14],xmm7[14],xmm1[15],xmm7[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm8
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3],xmm8[4],xmm7[4],xmm8[5],xmm7[5],xmm8[6],xmm7[6],xmm8[7],xmm7[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm7
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm1[0],xmm7[1],xmm1[1],xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm7[0,1,1,3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm2, %xmm8
+; SSE-NEXT: por %xmm6, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm8[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm6, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm14[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm12[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm8 = xmm8[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm3, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: pand %xmm6, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm1, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: por %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[1,1,2,3]
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm4, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm7[2,2,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm2, %xmm4
+; SSE-NEXT: por %xmm0, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm14[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm12[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm12 = xmm7[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm12, %xmm12
+; SSE-NEXT: pand %xmm3, %xmm12
+; SSE-NEXT: por %xmm5, %xmm12
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm10[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm10[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm9[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm11[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm12 = xmm12[0],xmm0[0],xmm12[1],xmm0[1]
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = xmm15[4],mem[4],xmm15[5],mem[5],xmm15[6],mem[6],xmm15[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Folded Reload
+; SSE-NEXT: # xmm6 = xmm6[4],mem[4],xmm6[5],mem[5],xmm6[6],mem[6],xmm6[7],mem[7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movdqa %xmm3, %xmm0
+; SSE-NEXT: pandn %xmm15, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm6[1,1,1,1]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm3, %xmm9
+; SSE-NEXT: por %xmm0, %xmm9
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: # xmm13 = xmm13[4],mem[4],xmm13[5],mem[5],xmm13[6],mem[6],xmm13[7],mem[7]
+; SSE-NEXT: packuswb %xmm13, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,0,2,3]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: # xmm14 = xmm14[4],mem[4],xmm14[5],mem[5],xmm14[6],mem[6],xmm14[7],mem[7]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,1,1,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm9 = xmm9[0],xmm0[0],xmm9[1],xmm0[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm4[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm7[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm3, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm10[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: pshufhw {{.*#+}} xmm0 = xmm11[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1]
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm15[1,1,2,3]
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm6[3,3,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm3, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm3
+; SSE-NEXT: por %xmm5, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: pandn %xmm13, %xmm2
+; SSE-NEXT: por %xmm0, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm0[0],xmm3[1],xmm0[1]
+; SSE-NEXT: pshufd $236, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,3,2,3]
+; SSE-NEXT: movq %xmm0, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movlps %xmm0, (%rdx)
+; SSE-NEXT: movq %xmm8, (%rcx)
+; SSE-NEXT: movq %xmm1, (%r8)
+; SSE-NEXT: movq %xmm12, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq %xmm9, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq %xmm4, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movq %xmm3, (%rax)
+; SSE-NEXT: popq %rax
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride8_vf8:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm7, %xmm2, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm8
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm3, %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm2, %xmm8
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX1-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX1-ONLY-NEXT: vmovq %xmm6, (%rcx)
+; AVX1-ONLY-NEXT: vmovq %xmm7, (%r8)
+; AVX1-ONLY-NEXT: vmovq %xmm8, (%r9)
+; AVX1-ONLY-NEXT: vmovq %xmm9, (%r11)
+; AVX1-ONLY-NEXT: vmovq %xmm10, (%r10)
+; AVX1-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride8_vf8:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm4
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm0, %xmm5
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm6
+; AVX2-ONLY-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm1, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm6
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX2-ONLY-NEXT: vpshufb %xmm6, %xmm2, %xmm6
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm1, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm0, %xmm7
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm3, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm7, %xmm2, %xmm7
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm1, %xmm9
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm0, %xmm8
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm3, %xmm9
+; AVX2-ONLY-NEXT: vpshufb %xmm8, %xmm2, %xmm8
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm9
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm0, %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm1
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovq %xmm4, (%rsi)
+; AVX2-ONLY-NEXT: vmovq %xmm5, (%rdx)
+; AVX2-ONLY-NEXT: vmovq %xmm6, (%rcx)
+; AVX2-ONLY-NEXT: vmovq %xmm7, (%r8)
+; AVX2-ONLY-NEXT: vmovq %xmm8, (%r9)
+; AVX2-ONLY-NEXT: vmovq %xmm9, (%r11)
+; AVX2-ONLY-NEXT: vmovq %xmm10, (%r10)
+; AVX2-ONLY-NEXT: vmovq %xmm0, (%rax)
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-LABEL: load_i8_stride8_vf8:
+; AVX512F: # %bb.0:
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-NEXT: vmovdqa 32(%rdi), %xmm3
+; AVX512F-NEXT: vmovdqa 48(%rdi), %xmm4
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm5, %xmm4, %xmm6
+; AVX512F-NEXT: vpshufb %xmm5, %xmm3, %xmm5
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm6 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm6, %xmm2, %xmm7
+; AVX512F-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm6, %xmm4, %xmm7
+; AVX512F-NEXT: vpshufb %xmm6, %xmm3, %xmm6
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm7 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm7, %xmm2, %xmm8
+; AVX512F-NEXT: vpshufb %xmm7, %xmm1, %xmm7
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm7, %xmm4, %xmm8
+; AVX512F-NEXT: vpshufb %xmm7, %xmm3, %xmm7
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm2, %xmm9
+; AVX512F-NEXT: vpshufb %xmm8, %xmm1, %xmm8
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0],xmm7[1],xmm8[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm8, %xmm4, %xmm9
+; AVX512F-NEXT: vpshufb %xmm8, %xmm3, %xmm8
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm2, %xmm10
+; AVX512F-NEXT: vpshufb %xmm9, %xmm1, %xmm9
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm9, %xmm4, %xmm10
+; AVX512F-NEXT: vpshufb %xmm9, %xmm3, %xmm9
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm10, %xmm2, %xmm11
+; AVX512F-NEXT: vpshufb %xmm10, %xmm1, %xmm10
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm10, %xmm4, %xmm11
+; AVX512F-NEXT: vpshufb %xmm10, %xmm3, %xmm10
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm11 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm11, %xmm2, %xmm12
+; AVX512F-NEXT: vpshufb %xmm11, %xmm1, %xmm11
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX512F-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512F-NEXT: vmovdqa {{.*#+}} xmm4 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX512F-NEXT: vpshufb %xmm4, %xmm1, %xmm1
+; AVX512F-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm3[1],xmm1[2,3]
+; AVX512F-NEXT: vpmovqb %zmm0, (%rsi)
+; AVX512F-NEXT: vmovq %xmm5, (%rdx)
+; AVX512F-NEXT: vmovq %xmm6, (%rcx)
+; AVX512F-NEXT: vmovq %xmm7, (%r8)
+; AVX512F-NEXT: vmovq %xmm8, (%r9)
+; AVX512F-NEXT: vmovq %xmm9, (%r11)
+; AVX512F-NEXT: vmovq %xmm10, (%r10)
+; AVX512F-NEXT: vmovq %xmm1, (%rax)
+; AVX512F-NEXT: vzeroupper
+; AVX512F-NEXT: retq
+;
+; AVX512BW-LABEL: load_i8_stride8_vf8:
+; AVX512BW: # %bb.0:
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512BW-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX512BW-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX512BW-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm1, %xmm7, %xmm2
+; AVX512BW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm5, %xmm3
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX512BW-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm5, %xmm8
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm7, %xmm8
+; AVX512BW-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm8, %xmm5, %xmm9
+; AVX512BW-NEXT: vpshufb %xmm8, %xmm4, %xmm8
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm3 = xmm8[0],xmm3[1],xmm8[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm8, %xmm7, %xmm9
+; AVX512BW-NEXT: vpshufb %xmm8, %xmm6, %xmm8
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm5, %xmm10
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm4, %xmm9
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0],xmm8[1],xmm9[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm7, %xmm10
+; AVX512BW-NEXT: vpshufb %xmm9, %xmm6, %xmm9
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm10 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm10, %xmm5, %xmm11
+; AVX512BW-NEXT: vpshufb %xmm10, %xmm4, %xmm10
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm10, %xmm7, %xmm11
+; AVX512BW-NEXT: vpshufb %xmm10, %xmm6, %xmm10
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm5, %xmm12
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm4, %xmm11
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm7, %xmm7
+; AVX512BW-NEXT: vpshufb %xmm11, %xmm6, %xmm6
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512BW-NEXT: vmovdqa {{.*#+}} xmm7 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-NEXT: vpshufb %xmm7, %xmm5, %xmm5
+; AVX512BW-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX512BW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512BW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm6[1],xmm4[2,3]
+; AVX512BW-NEXT: vpmovqb %zmm0, (%rsi)
+; AVX512BW-NEXT: vmovq %xmm1, (%rdx)
+; AVX512BW-NEXT: vmovq %xmm2, (%rcx)
+; AVX512BW-NEXT: vmovq %xmm3, (%r8)
+; AVX512BW-NEXT: vmovq %xmm8, (%r9)
+; AVX512BW-NEXT: vmovq %xmm9, (%r11)
+; AVX512BW-NEXT: vmovq %xmm10, (%r10)
+; AVX512BW-NEXT: vmovq %xmm4, (%rax)
+; AVX512BW-NEXT: vzeroupper
+; AVX512BW-NEXT: retq
+ %wide.vec = load <64 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56>
+ %strided.vec1 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57>
+ %strided.vec2 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58>
+ %strided.vec3 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59>
+ %strided.vec4 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60>
+ %strided.vec5 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61>
+ %strided.vec6 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62>
+ %strided.vec7 = shufflevector <64 x i8> %wide.vec, <64 x i8> poison, <8 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63>
+
+ store <8 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <8 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <8 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <8 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <8 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <8 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <8 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <8 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i8_stride8_vf16(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf16:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $328, %rsp # imm = 0x148
+; SSE-NEXT: movdqa (%rdi), %xmm14
+; SSE-NEXT: movdqa 16(%rdi), %xmm13
+; SSE-NEXT: movdqa 32(%rdi), %xmm5
+; SSE-NEXT: movdqa 48(%rdi), %xmm8
+; SSE-NEXT: movdqa 64(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm15
+; SSE-NEXT: movdqa 96(%rdi), %xmm12
+; SSE-NEXT: movdqa 112(%rdi), %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm3 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm8, %xmm0
+; SSE-NEXT: pand %xmm3, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pand %xmm3, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: packuswb %xmm1, %xmm3
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm4[8],xmm0[9],xmm4[9],xmm0[10],xmm4[10],xmm0[11],xmm4[11],xmm0[12],xmm4[12],xmm0[13],xmm4[13],xmm0[14],xmm4[14],xmm0[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm11
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm4[0],xmm11[1],xmm4[1],xmm11[2],xmm4[2],xmm11[3],xmm4[3],xmm11[4],xmm4[4],xmm11[5],xmm4[5],xmm11[6],xmm4[6],xmm11[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm0[0],xmm11[1],xmm0[1],xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm11, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3],xmm0[4],xmm4[4],xmm0[5],xmm4[5],xmm0[6],xmm4[6],xmm0[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm10, %xmm3
+; SSE-NEXT: por %xmm1, %xmm3
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm4[0],xmm8[1],xmm4[1],xmm8[2],xmm4[2],xmm8[3],xmm4[3],xmm8[4],xmm4[4],xmm8[5],xmm4[5],xmm8[6],xmm4[6],xmm8[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm7 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm7, %xmm6
+; SSE-NEXT: pandn %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3],xmm5[4],xmm4[4],xmm5[5],xmm4[5],xmm5[6],xmm4[6],xmm5[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm6, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3],xmm1[4],xmm4[4],xmm1[5],xmm4[5],xmm1[6],xmm4[6],xmm1[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,1,2,2]
+; SSE-NEXT: movdqa {{.*#+}} xmm6 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm6, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm4[8],xmm1[9],xmm4[9],xmm1[10],xmm4[10],xmm1[11],xmm4[11],xmm1[12],xmm4[12],xmm1[13],xmm4[13],xmm1[14],xmm4[14],xmm1[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm4[0],xmm12[1],xmm4[1],xmm12[2],xmm4[2],xmm12[3],xmm4[3],xmm12[4],xmm4[4],xmm12[5],xmm4[5],xmm12[6],xmm4[6],xmm12[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm4[8],xmm2[9],xmm4[9],xmm2[10],xmm4[10],xmm2[11],xmm4[11],xmm2[12],xmm4[12],xmm2[13],xmm4[13],xmm2[14],xmm4[14],xmm2[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm4[0],xmm15[1],xmm4[1],xmm15[2],xmm4[2],xmm15[3],xmm4[3],xmm15[4],xmm4[4],xmm15[5],xmm4[5],xmm15[6],xmm4[6],xmm15[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm15, %xmm9
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm4[8],xmm15[9],xmm4[9],xmm15[10],xmm4[10],xmm15[11],xmm4[11],xmm15[12],xmm4[12],xmm15[13],xmm4[13],xmm15[14],xmm4[14],xmm15[15],xmm4[15]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3],xmm2[4],xmm4[4],xmm2[5],xmm4[5],xmm2[6],xmm4[6],xmm2[7],xmm4[7]
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; SSE-NEXT: packuswb %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm5 = [65535,65535,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: pandn %xmm0, %xmm9
+; SSE-NEXT: movdqa %xmm2, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm15[0],xmm4[1],xmm15[1],xmm4[2],xmm15[2],xmm4[3],xmm15[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm4[1,1,1,1]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm5, %xmm15
+; SSE-NEXT: por %xmm9, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm3[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm1 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: pand %xmm1, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm9
+; SSE-NEXT: pandn %xmm0, %xmm9
+; SSE-NEXT: pand %xmm1, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm9, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: movdqa %xmm7, %xmm15
+; SSE-NEXT: pandn %xmm9, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm7, %xmm9
+; SSE-NEXT: por %xmm15, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: pandn %xmm9, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm2[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm9 = xmm9[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm6, %xmm9
+; SSE-NEXT: por %xmm15, %xmm9
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm2[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pandn %xmm15, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; SSE-NEXT: pand %xmm1, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm15[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm11[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm7, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm6, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm12[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm6, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: pandn %xmm1, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm13[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm8
+; SSE-NEXT: pandn %xmm1, %xmm8
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[0,1,1,3]
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm8[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm14
+; SSE-NEXT: pand %xmm6, %xmm14
+; SSE-NEXT: por %xmm9, %xmm14
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm12[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm9
+; SSE-NEXT: pandn %xmm1, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm13 = xmm15[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm13[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: por %xmm9, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm14[2],xmm11[3],xmm14[3]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm9
+; SSE-NEXT: pandn %xmm0, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm1[1,1,1,1]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm10, %xmm2
+; SSE-NEXT: por %xmm9, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,0,2,3]
+; SSE-NEXT: movdqa %xmm7, %xmm14
+; SSE-NEXT: pandn %xmm9, %xmm14
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,1,1,3]
+; SSE-NEXT: packuswb %xmm9, %xmm9
+; SSE-NEXT: pand %xmm7, %xmm9
+; SSE-NEXT: por %xmm14, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm9[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm2 = xmm2[0],xmm9[0],xmm2[1],xmm9[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: packuswb %xmm0, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm14[0,1,2,2]
+; SSE-NEXT: movdqa %xmm6, %xmm15
+; SSE-NEXT: pandn %xmm9, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm9 = xmm0[0,1,1,3]
+; SSE-NEXT: packuswb %xmm9, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = xmm4[4],mem[4],xmm4[5],mem[5],xmm4[6],mem[6],xmm4[7],mem[7]
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm4, %xmm9
+; SSE-NEXT: movdqa %xmm5, %xmm15
+; SSE-NEXT: pandn %xmm9, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm15, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm2[0],xmm15[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm3[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm7, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm6, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm8[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm6, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm12[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm5, %xmm8
+; SSE-NEXT: pandn %xmm4, %xmm8
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm13[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm5, %xmm4
+; SSE-NEXT: por %xmm8, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm10
+; SSE-NEXT: por %xmm1, %xmm10
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm7, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm6, %xmm0
+; SSE-NEXT: pandn %xmm14, %xmm6
+; SSE-NEXT: por %xmm0, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[0,1,3,3]
+; SSE-NEXT: pshufd $255, (%rsp), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm5, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm5[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm10[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movapd %xmm11, (%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm15, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm4, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, (%rax)
+; SSE-NEXT: addq $328, %rsp # imm = 0x148
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride8_vf16:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm3[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm6, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm9[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm8, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm10[0,1,2,3,4,5],xmm9[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm7, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm6, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm10[0,1,2,3],xmm9[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm4, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3,4,5],xmm10[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm6, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm9
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm10 = xmm11[0,1,2,3],xmm10[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm8, %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm4, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3,4,5],xmm11[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm6, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm3, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm1, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm11 = xmm12[0,1,2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm8, %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm2, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm4, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm5, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3,4,5],xmm12[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm6, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1],xmm13[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm12 = xmm13[0,1,2,3],xmm12[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm13, %xmm2, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm1, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm14[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm0[0,1,2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1],xmm0[2],xmm14[2],xmm0[3],xmm14[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm14[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm3, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm15, %xmm9, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm14[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX1-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %xmm2, (%rdx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, (%r8)
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, (%rax)
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-ONLY-LABEL: load_i8_stride8_vf16:
+; AVX2-ONLY: # %bb.0:
+; AVX2-ONLY-NEXT: vmovdqa 112(%rdi), %xmm8
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-ONLY-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX2-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa (%rdi), %xmm1
+; AVX2-ONLY-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX2-ONLY-NEXT: vmovdqa 32(%rdi), %xmm6
+; AVX2-ONLY-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm7, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm6, %xmm9
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm2, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm8, %xmm10
+; AVX2-ONLY-NEXT: vpshufb %xmm9, %xmm3, %xmm9
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm5, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1,2],xmm9[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm7, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm6, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm2, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm1, %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm9[2,3]
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm8, %xmm11
+; AVX2-ONLY-NEXT: vpshufb %xmm10, %xmm3, %xmm10
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm4, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm5, %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1,2],xmm10[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm7, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm6, %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm2, %xmm13
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm12
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, %xmm9
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0],xmm11[1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0,1],xmm10[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm8, %xmm12
+; AVX2-ONLY-NEXT: vpshufb %xmm11, %xmm3, %xmm11
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm4, %xmm13
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm12
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1,2],xmm11[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm7, %xmm13
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm6, %xmm12
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm2, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm1, %xmm13
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm11 = xmm12[0,1],xmm11[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm8, %xmm13
+; AVX2-ONLY-NEXT: vpshufb %xmm12, %xmm3, %xmm12
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm4, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm5, %xmm13
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0,1,2],xmm12[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm7, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm6, %xmm13
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm15
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm1, %xmm14
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0,1],xmm12[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm8, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm13, %xmm3, %xmm13
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm15
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm14
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0,1,2],xmm13[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm15
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm14
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm2, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm1, %xmm15
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm14[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm13 = xmm0[0,1],xmm13[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm14
+; AVX2-ONLY-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm14[0],xmm0[1],xmm14[1],xmm0[2],xmm14[2],xmm0[3],xmm14[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm4, %xmm15
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm5, %xmm14
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm14[0,1,2],xmm0[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm7, %xmm15
+; AVX2-ONLY-NEXT: vpshufb %xmm14, %xmm6, %xmm14
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm15 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm2, %xmm0
+; AVX2-ONLY-NEXT: vpshufb %xmm15, %xmm9, %xmm15
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm14[1],xmm0[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm8
+; AVX2-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm4
+; AVX2-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-ONLY-NEXT: vmovdqa {{.*#+}} xmm4 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX2-ONLY-NEXT: vpshufb %xmm4, %xmm9, %xmm4
+; AVX2-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm3[1],xmm2[2,3]
+; AVX2-ONLY-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rsi)
+; AVX2-ONLY-NEXT: vmovaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-ONLY-NEXT: vmovaps %xmm2, (%rdx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX2-ONLY-NEXT: vmovdqa %xmm11, (%r8)
+; AVX2-ONLY-NEXT: vmovdqa %xmm12, (%r9)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %xmm13, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %xmm0, (%rax)
+; AVX2-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-ONLY-NEXT: vmovdqa %xmm1, (%rax)
+; AVX2-ONLY-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride8_vf16:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: pushq %rbx
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512F-SLOW-NEXT: vpmovqb %xmm3, %xmm4
+; AVX512F-SLOW-NEXT: vpinsrb $2, %ebx, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm2, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $3, %ebx, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovd %xmm1, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $4, %ebx, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm1, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $5, %ebx, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovd %xmm0, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $6, %ebx, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm0, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $7, %ebx, %xmm4, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovd %xmm4, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $8, %ebx, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm4, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $9, %ebx, %xmm5, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovd %xmm5, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $10, %ebx, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm5, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $11, %ebx, %xmm6, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $12, %ebx, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm6, %ebx
+; AVX512F-SLOW-NEXT: vpinsrb $13, %ebx, %xmm7, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vmovd %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $8, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm9
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $1, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $9, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm10
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $2, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $10, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm11
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $3, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $11, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm12
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $4, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $12, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm13
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $5, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $13, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm14
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $6, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $14, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm3, %edi
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm3, %ebx
+; AVX512F-SLOW-NEXT: vmovd %ebx, %xmm3
+; AVX512F-SLOW-NEXT: vpinsrb $1, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $7, %edi, %xmm1, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $8, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $7, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpextrb $15, %xmm7, %edi
+; AVX512F-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512F-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-SLOW-NEXT: popq %rbx
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride8_vf16:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: pushq %rbx
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovd %xmm2, %ebx
+; AVX512F-FAST-NEXT: vpmovqb %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vpinsrb $2, %ebx, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm2, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $3, %ebx, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vmovd %xmm1, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $4, %ebx, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm1, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $5, %ebx, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vmovd %xmm0, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $6, %ebx, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm0, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $7, %ebx, %xmm4, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovd %xmm4, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $8, %ebx, %xmm5, %xmm5
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm4, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $9, %ebx, %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vmovd %xmm5, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $10, %ebx, %xmm6, %xmm6
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm5, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $11, %ebx, %xmm6, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vmovd %xmm6, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $12, %ebx, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm6, %ebx
+; AVX512F-FAST-NEXT: vpinsrb $13, %ebx, %xmm7, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512F-FAST-NEXT: vmovd %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $8, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[1,9],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $1, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $9, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[2,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $2, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $10, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[3,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $3, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $11, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[4,12],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $4, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $12, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm3[5,13],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $5, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $13, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm13, %xmm13
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[6,14],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $6, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $14, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm14, %xmm14
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[7,15],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512F-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512F-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512F-FAST-NEXT: vpinsrb $7, %edi, %xmm1, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $8, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512F-FAST-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512F-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512F-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $7, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpextrb $15, %xmm7, %edi
+; AVX512F-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512F-FAST-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512F-FAST-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512F-FAST-NEXT: popq %rbx
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride8_vf16:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: pushq %rbx
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovd %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vpmovqb %xmm3, %xmm4
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm2, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm1, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm1, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm0, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %ebx, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm0, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %ebx, %xmm4, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vmovd %xmm4, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %ebx, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm4, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %ebx, %xmm5, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vmovd %xmm5, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %ebx, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm5, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %ebx, %xmm6, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vmovd %xmm6, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %ebx, %xmm7, %xmm7
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm6, %ebx
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %ebx, %xmm7, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vmovd %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $8, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm9
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $1, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $9, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm10
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $2, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $10, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm11
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $3, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $11, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm12
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $4, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $12, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm13
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $5, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $13, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm13, %xmm13
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm14
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $6, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $14, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm14, %xmm14
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm3, %edi
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm3, %ebx
+; AVX512BW-SLOW-NEXT: vmovd %ebx, %xmm3
+; AVX512BW-SLOW-NEXT: vpinsrb $1, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $7, %edi, %xmm1, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $8, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $7, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpextrb $15, %xmm7, %edi
+; AVX512BW-SLOW-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-SLOW-NEXT: popq %rbx
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride8_vf16:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: pushq %rbx
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovd %xmm2, %ebx
+; AVX512BW-FAST-NEXT: vpmovqb %xmm3, %xmm4
+; AVX512BW-FAST-NEXT: vpinsrb $2, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm2, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $3, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm1, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $4, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm1, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $5, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm0, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $6, %ebx, %xmm4, %xmm4
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm0, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $7, %ebx, %xmm4, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vmovd %xmm4, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $8, %ebx, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm4, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $9, %ebx, %xmm5, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vmovd %xmm5, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $10, %ebx, %xmm6, %xmm6
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm5, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $11, %ebx, %xmm6, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vmovd %xmm6, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $12, %ebx, %xmm7, %xmm7
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm6, %ebx
+; AVX512BW-FAST-NEXT: vpinsrb $13, %ebx, %xmm7, %xmm8
+; AVX512BW-FAST-NEXT: vmovdqa 112(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vmovd %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $8, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm8, %xmm8
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm9 = xmm3[1,9],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $1, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $9, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm9, %xmm9
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm10 = xmm3[2,10],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $2, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $10, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm10, %xmm10
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm11 = xmm3[3,11],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $3, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $11, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm11, %xmm11
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm12 = xmm3[4,12],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $4, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $12, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm13 = xmm3[5,13],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $5, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $13, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm13, %xmm13
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm14 = xmm3[6,14],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $6, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $14, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm14, %xmm14
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} xmm3 = xmm3[7,15],zero,zero,xmm3[u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpinsrb $2, %edi, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm2, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $3, %edi, %xmm3, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $4, %edi, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm1, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $5, %edi, %xmm2, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $6, %edi, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm0, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $7, %edi, %xmm1, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $8, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm4, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $9, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $10, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm5, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $11, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $12, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm6, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $13, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $7, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $14, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpextrb $15, %xmm7, %edi
+; AVX512BW-FAST-NEXT: vpinsrb $15, %edi, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa %xmm8, (%rsi)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm9, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm11, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm12, (%r9)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm13, (%r11)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm14, (%r10)
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, (%rax)
+; AVX512BW-FAST-NEXT: popq %rbx
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <128 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120>
+ %strided.vec1 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121>
+ %strided.vec2 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122>
+ %strided.vec3 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123>
+ %strided.vec4 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124>
+ %strided.vec5 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125>
+ %strided.vec6 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126>
+ %strided.vec7 = shufflevector <128 x i8> %wide.vec, <128 x i8> poison, <16 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127>
+
+ store <16 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <16 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <16 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <16 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <16 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <16 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <16 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <16 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i8_stride8_vf32(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf32:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $904, %rsp # imm = 0x388
+; SSE-NEXT: movdqa 64(%rdi), %xmm5
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm12
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm6
+; SSE-NEXT: movdqa 144(%rdi), %xmm13
+; SSE-NEXT: movdqa 160(%rdi), %xmm11
+; SSE-NEXT: movdqa 176(%rdi), %xmm14
+; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm7
+; SSE-NEXT: movdqa 224(%rdi), %xmm8
+; SSE-NEXT: movdqa 240(%rdi), %xmm9
+; SSE-NEXT: movdqa {{.*#+}} xmm4 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: movdqa %xmm9, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm7, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm14, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm3
+; SSE-NEXT: pand %xmm4, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: movdqa 112(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: pand %xmm4, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm15
+; SSE-NEXT: movdqa %xmm15, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm4, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 16(%rdi), %xmm10
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pand %xmm4, %xmm0
+; SSE-NEXT: movdqa (%rdi), %xmm12
+; SSE-NEXT: pand %xmm12, %xmm4
+; SSE-NEXT: packuswb %xmm0, %xmm4
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: packuswb %xmm0, %xmm4
+; SSE-NEXT: shufps {{.*#+}} xmm4 = xmm4[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pxor %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm6 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3],xmm6[4],xmm5[4],xmm6[5],xmm5[5],xmm6[6],xmm5[6],xmm6[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm6 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm3
+; SSE-NEXT: movdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3],xmm3[4],xmm5[4],xmm3[5],xmm5[5],xmm3[6],xmm5[6],xmm3[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa {{.*#+}} xmm11 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm4
+; SSE-NEXT: movdqa %xmm7, (%rsp) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3],xmm4[4],xmm5[4],xmm4[5],xmm5[5],xmm4[6],xmm5[6],xmm4[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm4, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm2, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm7, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm5[0],xmm7[1],xmm5[1],xmm7[2],xmm5[2],xmm7[3],xmm5[3],xmm7[4],xmm5[4],xmm7[5],xmm5[5],xmm7[6],xmm5[6],xmm7[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm2[0],xmm7[1],xmm2[1],xmm7[2],xmm2[2],xmm7[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm7[1,1,1,1]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm9, %xmm8
+; SSE-NEXT: por %xmm4, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm8[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: movapd %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm5[8],xmm0[9],xmm5[9],xmm0[10],xmm5[10],xmm0[11],xmm5[11],xmm0[12],xmm5[12],xmm0[13],xmm5[13],xmm0[14],xmm5[14],xmm0[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm10 = xmm10[0],xmm5[0],xmm10[1],xmm5[1],xmm10[2],xmm5[2],xmm10[3],xmm5[3],xmm10[4],xmm5[4],xmm10[5],xmm5[5],xmm10[6],xmm5[6],xmm10[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm8
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3],xmm12[4],xmm5[4],xmm12[5],xmm5[5],xmm12[6],xmm5[6],xmm12[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm2[0],xmm12[1],xmm2[1],xmm12[2],xmm2[2],xmm12[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm12[1,1,1,1]
+; SSE-NEXT: packuswb %xmm6, %xmm6
+; SSE-NEXT: pand %xmm13, %xmm6
+; SSE-NEXT: por %xmm1, %xmm6
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3],xmm15[4],xmm5[4],xmm15[5],xmm5[5],xmm15[6],xmm5[6],xmm15[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm4
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,0,2,3]
+; SSE-NEXT: movdqa %xmm14, %xmm12
+; SSE-NEXT: pandn %xmm1, %xmm12
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm12, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm6 = xmm6[0],xmm1[0],xmm6[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3],xmm1[4],xmm5[4],xmm1[5],xmm5[5],xmm1[6],xmm5[6],xmm1[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm0[0,1,2,2]
+; SSE-NEXT: movdqa %xmm11, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm5[8],xmm1[9],xmm5[9],xmm1[10],xmm5[10],xmm1[11],xmm5[11],xmm1[12],xmm5[12],xmm1[13],xmm5[13],xmm1[14],xmm5[14],xmm1[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm12 = xmm12[0],xmm5[0],xmm12[1],xmm5[1],xmm12[2],xmm5[2],xmm12[3],xmm5[3],xmm12[4],xmm5[4],xmm12[5],xmm5[5],xmm12[6],xmm5[6],xmm12[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm12 = xmm12[0],xmm1[0],xmm12[1],xmm1[1],xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm12[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm3
+; SSE-NEXT: pand %xmm11, %xmm3
+; SSE-NEXT: por %xmm7, %xmm3
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm5[8],xmm2[9],xmm5[9],xmm2[10],xmm5[10],xmm2[11],xmm5[11],xmm2[12],xmm5[12],xmm2[13],xmm5[13],xmm2[14],xmm5[14],xmm2[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3],xmm2[4],xmm5[4],xmm2[5],xmm5[5],xmm2[6],xmm5[6],xmm2[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm15
+; SSE-NEXT: punpckhbw {{.*#+}} xmm15 = xmm15[8],xmm5[8],xmm15[9],xmm5[9],xmm15[10],xmm5[10],xmm15[11],xmm5[11],xmm15[12],xmm5[12],xmm15[13],xmm5[13],xmm15[14],xmm5[14],xmm15[15],xmm5[15]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3],xmm0[4],xmm5[4],xmm0[5],xmm5[5],xmm0[6],xmm5[6],xmm0[7],xmm5[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm2, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1],xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm5, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: movdqa %xmm0, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm15[0],xmm5[1],xmm15[1],xmm5[2],xmm15[2],xmm5[3],xmm15[3]
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm5[1,1,1,1]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm7, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm3[2],xmm7[3],xmm3[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm6[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[0,2,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm10[0,2,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm6
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm15, %xmm7
+; SSE-NEXT: movdqa (%rsp), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movdqa %xmm9, %xmm10
+; SSE-NEXT: pandn %xmm15, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm10, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm10 = xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm10 = xmm1[0],xmm10[1]
+; SSE-NEXT: movapd %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: pandn %xmm0, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm7, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm14, %xmm10
+; SSE-NEXT: pandn %xmm7, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm10, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm7[0],xmm0[1],xmm7[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm11, %xmm10
+; SSE-NEXT: pandn %xmm7, %xmm10
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm7 = xmm7[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm10, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm10 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm10 = xmm10[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm10, %xmm10
+; SSE-NEXT: movdqa %xmm9, %xmm15
+; SSE-NEXT: pandn %xmm10, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm14, %xmm7
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm7[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm11, %xmm7
+; SSE-NEXT: por %xmm1, %xmm7
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm10
+; SSE-NEXT: pandn %xmm1, %xmm10
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm10, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[1,1,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm14, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm12[2,2,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm11, %xmm4
+; SSE-NEXT: por %xmm1, %xmm4
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm3[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm6[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd $231, (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm2[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm1[2],xmm6[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm0[0],xmm6[1]
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: pandn %xmm4, %xmm5
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: # xmm12 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm4 = xmm12[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: por %xmm5, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm4[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm3, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm9, %xmm5
+; SSE-NEXT: por %xmm4, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm8 = xmm5[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm8 = xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm8 = xmm0[0],xmm8[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm14, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm10
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm10[0,1,2,2]
+; SSE-NEXT: movdqa %xmm11, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm3, %xmm5
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm5, %xmm4
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm4, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm4 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm4 = xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm4 = xmm0[0],xmm4[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm15
+; SSE-NEXT: pandn %xmm1, %xmm15
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm15
+; SSE-NEXT: pandn %xmm1, %xmm15
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: pshuflw $116, (%rsp), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm15, %xmm2
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Folded Reload
+; SSE-NEXT: # xmm15 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm2, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm14, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm11, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm12[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm12 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm12 = xmm12[2],xmm1[2],xmm12[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm12 = xmm0[0],xmm12[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm14, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: pandn %xmm10, %xmm1
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm11, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm13
+; SSE-NEXT: por %xmm1, %xmm13
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm14
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm14[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm13 = xmm13[0],xmm0[0],xmm13[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm11, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm11
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm9
+; SSE-NEXT: por %xmm1, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm11[2],xmm0[3],xmm11[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm13[0],xmm0[1]
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movaps %xmm1, 16(%r8)
+; SSE-NEXT: movapd %xmm7, (%r9)
+; SSE-NEXT: movapd %xmm6, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm4, (%rax)
+; SSE-NEXT: movapd %xmm8, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm12, (%rax)
+; SSE-NEXT: movapd %xmm15, 16(%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, 16(%rax)
+; SSE-NEXT: movapd %xmm5, (%rax)
+; SSE-NEXT: addq $904, %rsp # imm = 0x388
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride8_vf32:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm4, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm1, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm5, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm3[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm3, %xmm9
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm2, %xmm11
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm11[0],xmm9[0],xmm11[1],xmm9[1],xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm1, %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm9 = xmm11[0,1],xmm9[2,3],xmm11[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm8 = xmm9[0,1,2,3],xmm8[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm11
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm10, %xmm0, %xmm10
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm12, %xmm0, %xmm12
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm12[0,1,2,3,4,5],xmm13[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm14, %xmm0, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm15
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm4, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm8, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, %xmm8
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm15, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm14, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm15, %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm3[0,1,2,3,4,5],xmm1[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm5 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm7, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm4[0,1,2,3],xmm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm14, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm5, %xmm11, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: addq $360, %rsp # imm = 0x168
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i8_stride8_vf32:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $360, %rsp # imm = 0x168
+; AVX2-SLOW-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm1, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, %xmm7
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm1, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm5, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm2[0,1,2],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm14, %xmm3, %xmm9
+; AVX2-SLOW-NEXT: vpshufb %xmm14, %xmm2, %xmm11
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm11[0],xmm9[0],xmm11[1],xmm9[1],xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm11
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm13
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm11[0],xmm9[1],xmm11[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-SLOW-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm0, %xmm11
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm10, %xmm0, %xmm10
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm12, %xmm0, %xmm12
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-SLOW-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm14, %xmm0, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-SLOW-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, %xmm9
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm4, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm7, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm4[1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm12, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm8, %xmm10, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm11, %xmm15
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm15, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm15, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm15, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa %xmm14, %xmm10
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: addq $360, %rsp # imm = 0x168
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i8_stride8_vf32:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $232, %rsp
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm2, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm3, %xmm7
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm5
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm13
+; AVX2-FAST-NEXT: vmovdqa 48(%rdi), %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm10, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1],xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm5, %xmm11
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm11[0],xmm9[1],xmm11[1],xmm9[2],xmm11[2],xmm9[3],xmm11[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0],xmm1[1],xmm9[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,2,2,3,0,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm1, %ymm15
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm14
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm1, %ymm9
+; AVX2-FAST-NEXT: vpermd %ymm0, %ymm1, %ymm6
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm0
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm13, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4],ymm3[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm0
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm13, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm5, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4],ymm3[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa %xmm11, %xmm5
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm8, %xmm11
+; AVX2-FAST-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm4, %xmm8
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm10, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm13, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa %xmm8, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm8, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX2-FAST-NEXT: vmovdqa %xmm7, %xmm14
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm4, %xmm15
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm10, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm13, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = [1,3,2,3,1,3,5,7]
+; AVX2-FAST-NEXT: vpermd (%rsp), %ymm2, %ymm7 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm12 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm11 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm2, %ymm13 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4],ymm2[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa %xmm5, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm14, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm15, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm8, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm1, %xmm2
+; AVX2-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm9, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm3[1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm9, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-FAST-NEXT: vmovups (%rsp), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm1, (%rax)
+; AVX2-FAST-NEXT: addq $232, %rsp
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i8_stride8_vf32:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $360, %rsp # imm = 0x168
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm4, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm1, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm5, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm8 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, (%rsp) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 48(%rdi), %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm3, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm2, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm11[0],xmm9[0],xmm11[1],xmm9[1],xmm11[2],xmm9[2],xmm11[3],xmm9[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm1, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm9 = xmm11[0],xmm9[1],xmm11[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm0, %xmm11
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm10, %xmm0, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm10[0],xmm11[0],xmm10[1],xmm11[1],xmm10[2],xmm11[2],xmm10[3],xmm11[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm12, %xmm0, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm15[0],xmm12[1],xmm15[1],xmm12[2],xmm15[2],xmm12[3],xmm15[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm12[0,1,2,3,4,5,6],ymm13[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm14, %xmm0, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, %xmm9
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm4, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm11, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm4[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm12, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm8, %xmm10, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm11, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm14, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm15, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm14, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm15, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm15, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm7, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm15, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm11, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm14, %xmm10
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm5 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm8, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm5, %xmm14, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $360, %rsp # imm = 0x168
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride8_vf32:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: pushq %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512F-SLOW-NEXT: vpmovqb %zmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 240(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm8
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm2, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm15
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm14, %xmm9
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm9[0],xmm7[0],xmm9[1],xmm7[1],xmm9[2],xmm7[2],xmm9[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512F-SLOW-NEXT: vpmovqb %ymm7, %xmm7
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2,3,4],ymm1[5],ymm7[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm2, %xmm25
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm4[0],xmm7[0],xmm4[1],xmm7[1],xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm2, %xmm12
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm2, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa %xmm2, %xmm9
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm10[0,1,2],xmm11[3]
+; AVX512F-SLOW-NEXT: vpmovqb %zmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm10[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa 176(%rdi), %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa %xmm13, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm13, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm23
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm11[0],xmm1[0],xmm11[1],xmm1[1],xmm11[2],xmm1[2],xmm11[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm15, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm15, %xmm22
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm14, %xmm12
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm11[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm3, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm3, %xmm18
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm0, %xmm12
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm21
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm26
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, %xmm8
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm1[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm5, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm16
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm6, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm20
+; AVX512F-SLOW-NEXT: vpshufb %xmm13, %xmm9, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm9, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm6, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm27
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm1, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa %xmm1, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm19
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm1, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm1, %xmm29
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm3[0],xmm0[0],xmm3[1],xmm0[1],xmm3[2],xmm0[2],xmm3[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm28
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm10
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm10[0],xmm4[0],xmm10[1],xmm4[1],xmm10[2],xmm4[2],xmm10[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm6, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm11, %xmm9
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm18
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm7
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm7[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm7 = ymm0[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm25
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm4, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm15, %xmm24
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm10, %xmm9, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm17
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm7[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm2, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm16
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm21
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm20
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm14, %xmm22
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm31
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm29
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm11, %xmm9
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm14, %xmm10
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm0, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm0, %xmm23
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm15, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm28
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm13, %xmm30
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm11, %xmm9
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm21
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm14, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm24
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm19
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm12, %xmm22
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm15, %xmm18
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm9, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm20
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm25
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm26
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm27
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm14, %xmm9
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm8, %xmm10
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm24
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm13, %xmm30
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm14, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm8, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm28
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3,4],ymm4[5],ymm9[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm22
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm23
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm11, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm6, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm7[0],xmm4[0],xmm7[1],xmm4[1],xmm7[2],xmm4[2],xmm7[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm7 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm14, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm9, %xmm9
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm8[0,1,2,3,4],ymm4[5],ymm8[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm11, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm7, %xmm6, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %ymm1, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %ymm1, (%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %ymm1, (%r8)
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm20, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm21, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %ymm16, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-SLOW-NEXT: popq %rax
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride8_vf32:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm2
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = [0,2,2,3,0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa64 224(%rdi), %ymm21
+; AVX512F-FAST-NEXT: vpermd %ymm21, %ymm3, %ymm0
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX512F-FAST-NEXT: vmovdqa64 192(%rdi), %ymm20
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-FAST-NEXT: vmovdqa64 160(%rdi), %ymm25
+; AVX512F-FAST-NEXT: vpermd %ymm25, %ymm3, %ymm13
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm5 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa64 128(%rdi), %ymm23
+; AVX512F-FAST-NEXT: vpermd %ymm23, %ymm3, %ymm15
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm5[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm6, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm4[0],xmm5[0],xmm4[1],xmm5[1],xmm4[2],xmm5[2],xmm4[3],xmm5[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm10
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm9
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3]
+; AVX512F-FAST-NEXT: vpmovqb %zmm2, %xmm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm8[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm28
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm12, %xmm24
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm8[0],xmm3[1],xmm8[1],xmm3[2],xmm8[2],xmm3[3],xmm8[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm9
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm10
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, %xmm5
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa %xmm8, %xmm9
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0],xmm3[1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm27
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm8
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm7, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0],xmm3[1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm12[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm26
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm16
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm7, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa %xmm7, %xmm8
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm6, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm10, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm12[0],xmm3[1],xmm12[1],xmm3[2],xmm12[2],xmm3[3],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm9, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm12[0],xmm3[1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm31
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm13, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm30
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm15, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm29
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3,4],ymm1[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm11, %xmm17
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm8, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm8, %xmm22
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm7, %xmm19
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm10, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm16
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm6, %xmm18
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm9, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm9, %xmm10
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm4, %xmm8
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [1,3,2,3,1,3,5,7]
+; AVX512F-FAST-NEXT: vpermd %ymm21, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm21
+; AVX512F-FAST-NEXT: vpermd %ymm20, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm20
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vpermd %ymm25, %ymm0, %ymm11
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpermd %ymm23, %ymm0, %ymm9
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm14[0,1,2,3,4],ymm15[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3],ymm13[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm15
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm7, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm13
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0,1,2],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm3, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm2, %xmm13
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm14[0],xmm13[1],xmm14[1],xmm13[2],xmm14[2],xmm13[3],xmm14[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm8, %xmm14
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm13[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm12[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm20, %ymm5
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm12[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm15, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa %xmm15, %xmm13
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1],xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm7, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm15 = xmm12[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm10, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm8, %xmm14
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm12[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm15[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm15
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5,6],ymm14[7]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm12[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1],xmm0[2],xmm1[2],xmm0[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1],xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm3, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm10, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm8, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0],xmm1[1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm5, %ymm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm11, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm9, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, (%rsi)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, (%rdx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, (%rcx)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, (%r8)
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm12, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride8_vf32:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r10
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %r11
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa64 240(%rdi), %xmm25
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm25, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 224(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm5, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vmovdqa 208(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm6, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 192(%rdi), %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm10[0],xmm7[0],xmm10[1],xmm7[1],xmm10[2],xmm7[2],xmm10[3],xmm7[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm7[0,1,2,3,4,5,6],ymm3[7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm7
+; AVX512BW-SLOW-NEXT: vpmovqb %ymm7, %xmm7
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm7[0,1,2,3,4],ymm1[5],ymm7[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 112(%rdi), %xmm24
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm24, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm3, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm4[0],xmm7[0],xmm4[1],xmm7[1],xmm4[2],xmm7[2],xmm4[3],xmm7[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm4, %xmm12
+; AVX512BW-SLOW-NEXT: vmovdqa 64(%rdi), %xmm7
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm7, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1],xmm9[2],xmm12[2],xmm9[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1,2],xmm11[3]
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm0, %xmm0
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm26
+; AVX512BW-SLOW-NEXT: vmovdqa64 128(%rdi), %xmm20
+; AVX512BW-SLOW-NEXT: vmovdqa64 144(%rdi), %xmm21
+; AVX512BW-SLOW-NEXT: vmovdqa64 160(%rdi), %xmm22
+; AVX512BW-SLOW-NEXT: vmovdqa64 176(%rdi), %xmm23
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm14
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm14 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm14, %xmm6, %xmm15
+; AVX512BW-SLOW-NEXT: vpshufb %xmm14, %xmm8, %xmm16
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm15 = xmm16[0],xmm15[0],xmm16[1],xmm15[1],xmm16[2],xmm15[2],xmm16[3],xmm15[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm15[0,1,2,3,4,5,6],ymm13[7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm23, %xmm15
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm22, %xmm16
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm15 = xmm16[0],xmm15[0],xmm16[1],xmm15[1],xmm16[2],xmm15[2],xmm16[3],xmm15[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm15
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm18 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm18, %xmm21, %xmm16
+; AVX512BW-SLOW-NEXT: vpshufb %xmm18, %xmm20, %xmm19
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm16 = xmm19[0],xmm16[0],xmm19[1],xmm16[1],xmm19[2],xmm16[2],xmm19[3],xmm16[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm16, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm15[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm13[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm14, %xmm4, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb %xmm14, %xmm7, %xmm14
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm13[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm13
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm14
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm15
+; AVX512BW-SLOW-NEXT: vmovdqa64 48(%rdi), %xmm16
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm16, %xmm19
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm15, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm19[0],xmm17[1],xmm19[1],xmm17[2],xmm19[2],xmm17[3],xmm19[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm18, %xmm14, %xmm17
+; AVX512BW-SLOW-NEXT: vpshufb %xmm18, %xmm13, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm18[0],xmm17[0],xmm18[1],xmm17[1],xmm18[2],xmm17[2],xmm18[3],xmm17[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm10 = xmm11[0],xmm10[1],xmm11[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm27
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm6, %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm8, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm17[0],xmm11[0],xmm17[1],xmm11[1],xmm17[2],xmm11[2],xmm17[3],xmm11[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm23, %xmm17
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm22, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm17 = xmm18[0],xmm17[0],xmm18[1],xmm17[1],xmm18[2],xmm17[2],xmm18[3],xmm17[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm17, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm17 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm21, %xmm18
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm20, %xmm19
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm18 = xmm19[0],xmm18[0],xmm19[1],xmm18[1],xmm19[2],xmm18[2],xmm19[3],xmm18[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm18, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm12[5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm4, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm7, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm16, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm15, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm14, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm17, %xmm13, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm19
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm6, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm8, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm23, %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm22, %xmm12
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm12 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm12, %xmm21, %xmm17
+; AVX512BW-SLOW-NEXT: vpshufb %xmm12, %xmm20, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm17 = xmm18[0],xmm17[0],xmm18[1],xmm17[1],xmm18[2],xmm17[2],xmm18[3],xmm17[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm17, %ymm0, %ymm2
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm11[5],ymm2[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm4, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm7, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm16, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm10, %xmm15, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm12, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm12, %xmm13, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0],xmm2[1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm18
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm22, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm21, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm20, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm17[0],xmm12[0],xmm17[1],xmm12[1],xmm17[2],xmm12[2],xmm17[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5],ymm12[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm16, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm15, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm13, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0],xmm2[1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm28
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm22, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm21, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm20, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm17[0],xmm12[0],xmm17[1],xmm12[1],xmm17[2],xmm12[2],xmm17[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5],ymm12[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm16, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm15, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm13, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0],xmm2[1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm0, %ymm29
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm22, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm11 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm21, %xmm12
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm20, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm17[0],xmm12[0],xmm17[1],xmm12[1],xmm17[2],xmm12[2],xmm17[3],xmm12[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm12, %ymm0, %ymm12
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4],ymm10[5],ymm12[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm10[0],xmm2[1],xmm10[1],xmm2[2],xmm10[2],xmm2[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm16, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm15, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm9[0],xmm2[0],xmm9[1],xmm2[1],xmm9[2],xmm2[2],xmm9[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm11, %xmm13, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm9[0],xmm2[1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm25, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm8[0],xmm6[0],xmm8[1],xmm6[1],xmm8[2],xmm6[2],xmm8[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm6[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm23, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm22, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm21, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm20, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm2 = ymm8[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm24, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm1
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm4, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm16, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm15, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm14, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm13, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm26, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm27, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm19, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm18, (%r8)
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm28, (%r9)
+; AVX512BW-SLOW-NEXT: vmovdqa64 %ymm29, (%r11)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm0, (%r10)
+; AVX512BW-SLOW-NEXT: vmovdqa %ymm1, (%rax)
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride8_vf32:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = [0,2,2,3,0,2,4,6]
+; AVX512BW-FAST-NEXT: vmovdqa 224(%rdi), %ymm11
+; AVX512BW-FAST-NEXT: vpermd %ymm11, %ymm1, %ymm25
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm0 = ymm25[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %ymm14
+; AVX512BW-FAST-NEXT: vpermd %ymm14, %ymm1, %ymm28
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm2 = ymm28[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX512BW-FAST-NEXT: vmovdqa 160(%rdi), %ymm15
+; AVX512BW-FAST-NEXT: vpermd %ymm15, %ymm1, %ymm0
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm16 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 128(%rdi), %ymm18
+; AVX512BW-FAST-NEXT: vpermd %ymm18, %ymm1, %ymm31
+; AVX512BW-FAST-NEXT: vpshufb %ymm16, %ymm31, %ymm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm3[5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 112(%rdi), %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm1, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa 96(%rdi), %xmm2
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm2, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm8, %xmm3, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm8
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3]
+; AVX512BW-FAST-NEXT: vpmovqb %zmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm5[0,1],xmm7[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3],ymm6[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm7
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm6
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm7[0],xmm6[1],xmm7[1],xmm6[2],xmm7[2],xmm6[3],xmm7[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm6[0,1,2],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa (%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm8
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm8, %xmm19
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm7, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm19[0],xmm10[1],xmm19[1],xmm10[2],xmm19[2],xmm10[3],xmm19[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm19 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm6, %xmm20
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm5, %xmm19
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm19[0],xmm20[0],xmm19[1],xmm20[1],xmm19[2],xmm20[2],xmm19[3],xmm20[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm25[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm20 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm20, %ymm28, %ymm12
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5,6],ymm10[7]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm21, %ymm0, %ymm12
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm22 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm22, %ymm31, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm4, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1,2],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm8, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm7, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm12[0],xmm10[1],xmm12[1],xmm10[2],xmm12[2],xmm10[3],xmm12[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm6, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0,1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm23 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14>
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm25, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm24 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm24, %ymm28, %ymm12
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5,6],ymm10[7]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm26 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm26, %ymm0, %ymm12
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm27 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm27, %ymm31, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4],ymm12[5],ymm13[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm9, %ymm19
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm12[0],xmm9[1],xmm12[1],xmm9[2],xmm12[2],xmm9[3],xmm12[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1,2],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm7, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm29
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm13
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm29[0],xmm13[1],xmm29[1],xmm13[2],xmm29[2],xmm13[3],xmm29[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm29 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX512BW-FAST-NEXT: vpshufb %ymm29, %ymm25, %ymm12
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm25 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm25, %ymm28, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm13[0,1,2,3,4,5,6],ymm12[7]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm28 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm28, %ymm0, %ymm0
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm30 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm30, %ymm31, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm12[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm9[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm0, %ymm17
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1],xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm12[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm8, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm12, %xmm7, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm13[0],xmm12[1],xmm13[1],xmm12[2],xmm13[2],xmm12[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm31
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm13
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm31[0],xmm13[1],xmm31[1],xmm13[2],xmm31[2],xmm13[3],xmm31[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm13[0],xmm12[1],xmm13[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm12[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = [1,3,2,3,1,3,5,7]
+; AVX512BW-FAST-NEXT: vpermd %ymm11, %ymm13, %ymm31
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm31[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX512BW-FAST-NEXT: vpermd %ymm14, %ymm13, %ymm14
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4,5,6],ymm11[7]
+; AVX512BW-FAST-NEXT: vpermd %ymm15, %ymm13, %ymm12
+; AVX512BW-FAST-NEXT: vpermd %ymm18, %ymm13, %ymm15
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm13 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpshufb %ymm16, %ymm15, %ymm10
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4],ymm13[5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5],ymm11[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm10[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm0, %ymm18
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm4, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1],xmm10[2],xmm13[2],xmm10[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm8, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm7, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm13[0],xmm10[1],xmm13[1],xmm10[2],xmm13[2],xmm10[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm16
+; AVX512BW-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm13
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm16[0],xmm13[1],xmm16[1],xmm13[2],xmm16[2],xmm13[3],xmm16[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm13[0],xmm10[1],xmm13[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm31[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX512BW-FAST-NEXT: vpshufb %ymm20, %ymm14, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm13[0,1,2,3,4,5,6],ymm10[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm21, %ymm12, %ymm13
+; AVX512BW-FAST-NEXT: vpshufb %ymm22, %ymm15, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm13[5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm2, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm3, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm8, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm7, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm10[0],xmm9[1],xmm10[1],xmm9[2],xmm10[2],xmm9[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm6, %xmm16
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm5, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm10[0],xmm16[0],xmm10[1],xmm16[1],xmm10[2],xmm16[2],xmm10[3],xmm16[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm31, %ymm9
+; AVX512BW-FAST-NEXT: vpshufb %ymm24, %ymm14, %ymm10
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5,6],ymm9[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm26, %ymm12, %ymm10
+; AVX512BW-FAST-NEXT: vpshufb %ymm27, %ymm15, %ymm11
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm9[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm6, %xmm4
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vpshufb %ymm29, %ymm31, %ymm2
+; AVX512BW-FAST-NEXT: vpshufb %ymm25, %ymm14, %ymm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm28, %ymm12, %ymm3
+; AVX512BW-FAST-NEXT: vpshufb %ymm30, %ymm15, %ymm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %ymm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %ymm2, (%rdx)
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm19, (%rcx)
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm17, (%r8)
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm18, (%r9)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa %ymm13, (%rax)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa %ymm1, (%rax)
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <256 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120, i32 128, i32 136, i32 144, i32 152, i32 160, i32 168, i32 176, i32 184, i32 192, i32 200, i32 208, i32 216, i32 224, i32 232, i32 240, i32 248>
+ %strided.vec1 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121, i32 129, i32 137, i32 145, i32 153, i32 161, i32 169, i32 177, i32 185, i32 193, i32 201, i32 209, i32 217, i32 225, i32 233, i32 241, i32 249>
+ %strided.vec2 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122, i32 130, i32 138, i32 146, i32 154, i32 162, i32 170, i32 178, i32 186, i32 194, i32 202, i32 210, i32 218, i32 226, i32 234, i32 242, i32 250>
+ %strided.vec3 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123, i32 131, i32 139, i32 147, i32 155, i32 163, i32 171, i32 179, i32 187, i32 195, i32 203, i32 211, i32 219, i32 227, i32 235, i32 243, i32 251>
+ %strided.vec4 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124, i32 132, i32 140, i32 148, i32 156, i32 164, i32 172, i32 180, i32 188, i32 196, i32 204, i32 212, i32 220, i32 228, i32 236, i32 244, i32 252>
+ %strided.vec5 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125, i32 133, i32 141, i32 149, i32 157, i32 165, i32 173, i32 181, i32 189, i32 197, i32 205, i32 213, i32 221, i32 229, i32 237, i32 245, i32 253>
+ %strided.vec6 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126, i32 134, i32 142, i32 150, i32 158, i32 166, i32 174, i32 182, i32 190, i32 198, i32 206, i32 214, i32 222, i32 230, i32 238, i32 246, i32 254>
+ %strided.vec7 = shufflevector <256 x i8> %wide.vec, <256 x i8> poison, <32 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127, i32 135, i32 143, i32 151, i32 159, i32 167, i32 175, i32 183, i32 191, i32 199, i32 207, i32 215, i32 223, i32 231, i32 239, i32 247, i32 255>
+
+ store <32 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <32 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <32 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <32 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <32 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <32 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <32 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <32 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+
+define void @load_i8_stride8_vf64(ptr %in.vec, ptr %out.vec0, ptr %out.vec1, ptr %out.vec2, ptr %out.vec3, ptr %out.vec4, ptr %out.vec5, ptr %out.vec6, ptr %out.vec7) nounwind {
+; SSE-LABEL: load_i8_stride8_vf64:
+; SSE: # %bb.0:
+; SSE-NEXT: subq $2040, %rsp # imm = 0x7F8
+; SSE-NEXT: movdqa 64(%rdi), %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 80(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 96(%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 128(%rdi), %xmm5
+; SSE-NEXT: movdqa 144(%rdi), %xmm10
+; SSE-NEXT: movdqa 160(%rdi), %xmm4
+; SSE-NEXT: movdqa 176(%rdi), %xmm13
+; SSE-NEXT: movdqa 192(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 208(%rdi), %xmm15
+; SSE-NEXT: movdqa 224(%rdi), %xmm9
+; SSE-NEXT: movdqa 240(%rdi), %xmm12
+; SSE-NEXT: movdqa {{.*#+}} xmm14 = [255,0,0,0,255,0,0,0]
+; SSE-NEXT: movdqa %xmm12, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm15, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm2
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa %xmm13, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm5, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: movdqa 112(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa %xmm6, %xmm2
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa 48(%rdi), %xmm11
+; SSE-NEXT: movdqa %xmm11, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 32(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 16(%rdi), %xmm7
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa (%rdi), %xmm8
+; SSE-NEXT: movdqa %xmm8, %xmm3
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 496(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 480(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 464(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, (%rsp) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 448(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa 432(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 416(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 400(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 384(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: packuswb %xmm0, %xmm3
+; SSE-NEXT: shufps {{.*#+}} xmm3 = xmm3[0,3],xmm2[0,3]
+; SSE-NEXT: movaps %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa 368(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 352(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 336(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 320(%rdi), %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: packuswb %xmm0, %xmm2
+; SSE-NEXT: movdqa 304(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 288(%rdi), %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm1
+; SSE-NEXT: packuswb %xmm0, %xmm1
+; SSE-NEXT: movdqa 272(%rdi), %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm14, %xmm0
+; SSE-NEXT: movdqa 256(%rdi), %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pand %xmm3, %xmm14
+; SSE-NEXT: packuswb %xmm0, %xmm14
+; SSE-NEXT: packuswb %xmm1, %xmm0
+; SSE-NEXT: packuswb %xmm14, %xmm14
+; SSE-NEXT: packuswb %xmm0, %xmm14
+; SSE-NEXT: shufps {{.*#+}} xmm14 = xmm14[0,3],xmm2[0,3]
+; SSE-NEXT: pxor %xmm6, %xmm6
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: movdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm10 = [65535,0,65535,65535,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm5, %xmm0
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm10, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: movdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,0,2,3]
+; SSE-NEXT: movdqa {{.*#+}} xmm13 = [65535,65535,65535,0,65535,65535,65535,65535]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm4, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3],xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm5 = xmm5[0],xmm1[0],xmm5[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: movdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa {{.*#+}} xmm12 = [65535,65535,65535,65535,65535,65535,65535,0]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm9 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3],xmm9[4],xmm6[4],xmm9[5],xmm6[5],xmm9[6],xmm6[6],xmm9[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm9 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm9, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm9[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm15, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm15 = xmm15[0],xmm6[0],xmm15[1],xmm6[1],xmm15[2],xmm6[2],xmm15[3],xmm6[3],xmm15[4],xmm6[4],xmm15[5],xmm6[5],xmm15[6],xmm6[6],xmm15[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm15 = xmm15[0],xmm3[0],xmm15[1],xmm3[1],xmm15[2],xmm3[2],xmm15[3],xmm3[3]
+; SSE-NEXT: packuswb %xmm15, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm9 = [65535,65535,65535,65535,65535,0,65535,65535]
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm6[8],xmm4[9],xmm6[9],xmm4[10],xmm6[10],xmm4[11],xmm6[11],xmm4[12],xmm6[12],xmm4[13],xmm6[13],xmm4[14],xmm6[14],xmm4[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm5[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm7, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm7 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3],xmm7[4],xmm6[4],xmm7[5],xmm6[5],xmm7[6],xmm6[6],xmm7[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm7 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm7, %xmm1
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm8, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1],xmm8[2],xmm6[2],xmm8[3],xmm6[3],xmm8[4],xmm6[4],xmm8[5],xmm6[5],xmm8[6],xmm6[6],xmm8[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm2[0],xmm8[1],xmm2[1],xmm8[2],xmm2[2],xmm8[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm8[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm11, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm6[0],xmm11[1],xmm6[1],xmm11[2],xmm6[2],xmm11[3],xmm6[3],xmm11[4],xmm6[4],xmm11[5],xmm6[5],xmm11[6],xmm6[6],xmm11[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm1[0],xmm11[1],xmm1[1],xmm11[2],xmm1[2],xmm11[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm11, %xmm11
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm11[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm4
+; SSE-NEXT: punpckhbw {{.*#+}} xmm4 = xmm4[8],xmm6[8],xmm4[9],xmm6[9],xmm4[10],xmm6[10],xmm4[11],xmm6[11],xmm4[12],xmm6[12],xmm4[13],xmm6[13],xmm4[14],xmm6[14],xmm4[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3],xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm8, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm8 = xmm8[0],xmm6[0],xmm8[1],xmm6[1],xmm8[2],xmm6[2],xmm8[3],xmm6[3],xmm8[4],xmm6[4],xmm8[5],xmm6[5],xmm8[6],xmm6[6],xmm8[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm8 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa (%rsp), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm3
+; SSE-NEXT: punpckhbw {{.*#+}} xmm3 = xmm3[8],xmm6[8],xmm3[9],xmm6[9],xmm3[10],xmm6[10],xmm3[11],xmm6[11],xmm3[12],xmm6[12],xmm3[13],xmm6[13],xmm3[14],xmm6[14],xmm3[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm5
+; SSE-NEXT: punpckhbw {{.*#+}} xmm5 = xmm5[8],xmm6[8],xmm5[9],xmm6[9],xmm5[10],xmm6[10],xmm5[11],xmm6[11],xmm5[12],xmm6[12],xmm5[13],xmm6[13],xmm5[14],xmm6[14],xmm5[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm4, %xmm0
+; SSE-NEXT: punpckhbw {{.*#+}} xmm0 = xmm0[8],xmm6[8],xmm0[9],xmm6[9],xmm0[10],xmm6[10],xmm0[11],xmm6[11],xmm0[12],xmm6[12],xmm0[13],xmm6[13],xmm0[14],xmm6[14],xmm0[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3],xmm4[4],xmm6[4],xmm4[5],xmm6[5],xmm4[6],xmm6[6],xmm4[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm4 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm4, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm0, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3],xmm0[4],xmm6[4],xmm0[5],xmm6[5],xmm0[6],xmm6[6],xmm0[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm3, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm3 = xmm3[0],xmm6[0],xmm3[1],xmm6[1],xmm3[2],xmm6[2],xmm3[3],xmm6[3],xmm3[4],xmm6[4],xmm3[5],xmm6[5],xmm3[6],xmm6[6],xmm3[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm3 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm3[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm1, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3],xmm1[4],xmm6[4],xmm1[5],xmm6[5],xmm1[6],xmm6[6],xmm1[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm5
+; SSE-NEXT: pandn %xmm1, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm2, %xmm1
+; SSE-NEXT: punpckhbw {{.*#+}} xmm1 = xmm1[8],xmm6[8],xmm1[9],xmm6[9],xmm1[10],xmm6[10],xmm1[11],xmm6[11],xmm1[12],xmm6[12],xmm1[13],xmm6[13],xmm1[14],xmm6[14],xmm1[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3],xmm2[4],xmm6[4],xmm2[5],xmm6[5],xmm2[6],xmm6[6],xmm2[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm5, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, %xmm7
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1],xmm5[2],xmm6[2],xmm5[3],xmm6[3],xmm5[4],xmm6[4],xmm5[5],xmm6[5],xmm5[6],xmm6[6],xmm5[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; SSE-NEXT: movdqa %xmm11, %xmm2
+; SSE-NEXT: punpckhbw {{.*#+}} xmm2 = xmm2[8],xmm6[8],xmm2[9],xmm6[9],xmm2[10],xmm6[10],xmm2[11],xmm6[11],xmm2[12],xmm6[12],xmm2[13],xmm6[13],xmm2[14],xmm6[14],xmm2[15],xmm6[15]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklbw {{.*#+}} xmm11 = xmm11[0],xmm6[0],xmm11[1],xmm6[1],xmm11[2],xmm6[2],xmm11[3],xmm6[3],xmm11[4],xmm6[4],xmm11[5],xmm6[5],xmm11[6],xmm6[6],xmm11[7],xmm6[7]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: punpcklwd {{.*#+}} xmm5 = xmm5[0],xmm7[0],xmm5[1],xmm7[1],xmm5[2],xmm7[2],xmm5[3],xmm7[3]
+; SSE-NEXT: packuswb %xmm5, %xmm6
+; SSE-NEXT: movdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm5
+; SSE-NEXT: pandn %xmm6, %xmm5
+; SSE-NEXT: punpcklwd {{.*#+}} xmm11 = xmm11[0],xmm2[0],xmm11[1],xmm2[1],xmm11[2],xmm2[2],xmm11[3],xmm2[3]
+; SSE-NEXT: movdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm11[1,1,1,1]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm5, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: movapd %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{.*#+}} xmm2 = [255,255,255,255,255,255,255,255]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm10, %xmm1
+; SSE-NEXT: por %xmm5, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm15
+; SSE-NEXT: pandn %xmm5, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm15, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm12, %xmm15
+; SSE-NEXT: pandn %xmm5, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm0[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm15, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm15, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm15 = xmm15[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm15, %xmm15
+; SSE-NEXT: pand %xmm9, %xmm15
+; SSE-NEXT: por %xmm7, %xmm15
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm15[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm1[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm9, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm9, %xmm7
+; SSE-NEXT: por %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: movdqa (%rsp), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm9, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm6
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm6[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: pand %xmm9, %xmm7
+; SSE-NEXT: por %xmm15, %xmm7
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm7[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: movapd %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm5
+; SSE-NEXT: pandn %xmm0, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm5, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm13, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,4,5,7,5]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: movdqa %xmm12, %xmm7
+; SSE-NEXT: pandn %xmm5, %xmm7
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm1[0,1,2,0]
+; SSE-NEXT: pshufhw {{.*#+}} xmm5 = xmm5[0,1,2,3,7,5,6,7]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm7, %xmm5
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm7 = xmm7[0,1,1,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm7, %xmm7
+; SSE-NEXT: movdqa %xmm9, %xmm15
+; SSE-NEXT: pandn %xmm7, %xmm15
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: pand %xmm2, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,2,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm1 = xmm1[1,3,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm15, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm8, %xmm1
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm13, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm5[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm5, %xmm5
+; SSE-NEXT: pand %xmm12, %xmm5
+; SSE-NEXT: por %xmm1, %xmm5
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm7
+; SSE-NEXT: pandn %xmm1, %xmm7
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm7, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm4[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn %xmm3, %xmm1
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm2[2],xmm1[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: movapd %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Folded Reload
+; SSE-NEXT: # xmm7 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Folded Reload
+; SSE-NEXT: # xmm11 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd $231, (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, (%rsp) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm6[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm0[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5,4,6]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufd $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,1,3]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufhw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,6,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm2[0,1,2,0,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshufd $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[3,1,2,3]
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[2,0,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm0[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Folded Reload
+; SSE-NEXT: # xmm3 = xmm3[4],mem[4],xmm3[5],mem[5],xmm3[6],mem[6],xmm3[7],mem[7]
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm4
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm4, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm3[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: movapd %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = xmm0[4],mem[4],xmm0[5],mem[5],xmm0[6],mem[6],xmm0[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm2[1,1,1,1]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,0,2,3]
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,2,2]
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = xmm1[4],mem[4],xmm1[5],mem[5],xmm1[6],mem[6],xmm1[7],mem[7]
+; SSE-NEXT: movdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[0,1,1,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = xmm2[4],mem[4],xmm2[5],mem[5],xmm2[6],mem[6],xmm2[7],mem[7]
+; SSE-NEXT: movdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; SSE-NEXT: punpckhwd {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Folded Reload
+; SSE-NEXT: # xmm5 = xmm5[4],mem[4],xmm5[5],mem[5],xmm5[6],mem[6],xmm5[7],mem[7]
+; SSE-NEXT: movdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: packuswb %xmm2, %xmm3
+; SSE-NEXT: movdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; SSE-NEXT: movdqa %xmm9, %xmm2
+; SSE-NEXT: pandn %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm5[1,1,1,1]
+; SSE-NEXT: packuswb %xmm3, %xmm3
+; SSE-NEXT: pand %xmm9, %xmm3
+; SSE-NEXT: por %xmm2, %xmm3
+; SSE-NEXT: pshufd {{.*#+}} xmm15 = xmm3[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm15 = xmm15[2],xmm1[2],xmm15[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm15 = xmm0[0],xmm15[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm11[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm6 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm6 = xmm6[2],xmm1[2],xmm6[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm6 = xmm0[0],xmm6[1]
+; SSE-NEXT: pshuflw {{.*#+}} xmm0 = xmm7[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm11 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm11 = xmm11[2],xmm1[2],xmm11[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm11 = xmm0[0],xmm11[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshuflw {{.*#+}} xmm2 = xmm8[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm7 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm7 = xmm7[2],xmm1[2],xmm7[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm7 = xmm0[0],xmm7[1]
+; SSE-NEXT: pshuflw $116, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm13, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm13, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: pshufhw $212, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,4,5,5,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: movdqa %xmm12, %xmm2
+; SSE-NEXT: pandn %xmm1, %xmm2
+; SSE-NEXT: pshufhw $237, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,2,3,5,7,6,7]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm2, %xmm1
+; SSE-NEXT: pshuflw $116, (%rsp), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,1,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm2, %xmm3
+; SSE-NEXT: pshuflw $231, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,1,2,3,4,5,6,7]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm3, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm5 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm5 = xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm5 = xmm0[0],xmm5[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm12, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm3
+; SSE-NEXT: pandn %xmm1, %xmm3
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm3, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm3 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm3 = xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; SSE-NEXT: movsd {{.*#+}} xmm3 = xmm0[0],xmm3[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm13, %xmm2
+; SSE-NEXT: por %xmm1, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm2[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm8
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm1
+; SSE-NEXT: pand %xmm12, %xmm1
+; SSE-NEXT: por %xmm8, %xmm1
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm8
+; SSE-NEXT: pandn %xmm2, %xmm8
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Folded Reload
+; SSE-NEXT: # xmm2 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm2, %xmm2
+; SSE-NEXT: pand %xmm9, %xmm2
+; SSE-NEXT: por %xmm8, %xmm2
+; SSE-NEXT: pshufd {{.*#+}} xmm2 = xmm2[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm2 = xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; SSE-NEXT: movsd {{.*#+}} xmm2 = xmm0[0],xmm2[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: movdqa %xmm10, %xmm1
+; SSE-NEXT: pandn %xmm0, %xmm1
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm10, %xmm0
+; SSE-NEXT: por %xmm1, %xmm0
+; SSE-NEXT: movdqa %xmm13, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm13, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm8[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
+; SSE-NEXT: movdqa %xmm12, %xmm1
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Folded Reload
+; SSE-NEXT: # xmm8 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm8, %xmm8
+; SSE-NEXT: pand %xmm12, %xmm8
+; SSE-NEXT: por %xmm1, %xmm8
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm4[0,1,3,3]
+; SSE-NEXT: movdqa %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm1, %xmm4
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Folded Reload
+; SSE-NEXT: # xmm1 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm1, %xmm1
+; SSE-NEXT: pand %xmm9, %xmm1
+; SSE-NEXT: por %xmm4, %xmm1
+; SSE-NEXT: pshufd {{.*#+}} xmm1 = xmm1[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm1 = xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; SSE-NEXT: movsd {{.*#+}} xmm1 = xmm0[0],xmm1[1]
+; SSE-NEXT: pshufd $229, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[1,1,2,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm10, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm10
+; SSE-NEXT: por %xmm4, %xmm10
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm13, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm13
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm13[1,1,1,1]
+; SSE-NEXT: punpckldq {{.*#+}} xmm10 = xmm10[0],xmm0[0],xmm10[1],xmm0[1]
+; SSE-NEXT: pshufd $250, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[2,2,3,3]
+; SSE-NEXT: packuswb %xmm0, %xmm0
+; SSE-NEXT: pand %xmm12, %xmm0
+; SSE-NEXT: pandn {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Folded Reload
+; SSE-NEXT: por %xmm0, %xmm12
+; SSE-NEXT: pshufd $244, {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Folded Reload
+; SSE-NEXT: # xmm0 = mem[0,1,3,3]
+; SSE-NEXT: pshufd $255, {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Folded Reload
+; SSE-NEXT: # xmm4 = mem[3,3,3,3]
+; SSE-NEXT: packuswb %xmm4, %xmm4
+; SSE-NEXT: pand %xmm9, %xmm4
+; SSE-NEXT: pandn %xmm0, %xmm9
+; SSE-NEXT: por %xmm4, %xmm9
+; SSE-NEXT: pshufd {{.*#+}} xmm0 = xmm9[2,2,2,2]
+; SSE-NEXT: punpckhdq {{.*#+}} xmm0 = xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; SSE-NEXT: movsd {{.*#+}} xmm0 = xmm10[0],xmm0[1]
+; SSE-NEXT: movaps %xmm14, 32(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rsi)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rdx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rcx)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%r8)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 48(%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%r9)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%r9)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm15, 48(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 32(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, 16(%rax)
+; SSE-NEXT: movaps {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; SSE-NEXT: movaps %xmm4, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm5, 48(%rax)
+; SSE-NEXT: movapd %xmm7, 32(%rax)
+; SSE-NEXT: movapd %xmm11, 16(%rax)
+; SSE-NEXT: movapd %xmm6, (%rax)
+; SSE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; SSE-NEXT: movapd %xmm0, 48(%rax)
+; SSE-NEXT: movapd %xmm1, 32(%rax)
+; SSE-NEXT: movapd %xmm2, 16(%rax)
+; SSE-NEXT: movapd %xmm3, (%rax)
+; SSE-NEXT: addq $2040, %rsp # imm = 0x7F8
+; SSE-NEXT: retq
+;
+; AVX1-ONLY-LABEL: load_i8_stride8_vf64:
+; AVX1-ONLY: # %bb.0:
+; AVX1-ONLY-NEXT: subq $808, %rsp # imm = 0x328
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa 352(%rdi), %xmm13
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 336(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 320(%rdi), %xmm4
+; AVX1-ONLY-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm2[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 304(%rdi), %xmm12
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm9 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa 272(%rdi), %xmm11
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 256(%rdi), %xmm10
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm10, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 432(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa 416(%rdi), %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm14, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm8
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm7[0,1],xmm6[2,3],xmm7[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX1-ONLY-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX1-ONLY-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm7
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vmovdqa 176(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 160(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm0, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa 144(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX1-ONLY-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm15, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm10, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm14, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm14[0,1],xmm5[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm4, %ymm0, %ymm4
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3],xmm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm4[0,1,2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm1[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm4[0],xmm3[1],xmm4[1],xmm3[2],xmm4[2],xmm3[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3],xmm3[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm2
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm13, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm12, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm3[0,1,2,3,4,5],xmm2[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1,2,3,4,5],xmm5[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm15, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm5, %ymm0, %ymm5
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3,4,5],xmm4[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm5[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm7, %xmm1
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm8, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm9, %xmm2
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm10, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3],xmm2[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm1, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm5 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm12, %xmm1
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm1[0,1,2,3,4,5],xmm0[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX1-ONLY-NEXT: vmovdqa {{.*#+}} xmm0 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1],xmm6[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm4 = xmm6[0,1,2,3],xmm4[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm14[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vmovdqa (%rsp), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm13[0,1],xmm14[2,3],xmm13[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm6, %ymm0, %ymm6
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm13, %ymm0, %ymm13
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm13[0,1,2,3,4,5],xmm6[6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm14
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm11, %xmm15
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm13 = xmm14[0,1],xmm13[2,3],xmm14[4,5,6,7]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm6 = xmm13[0,1,2,3],xmm6[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm13
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm3, %xmm11, %xmm3
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm12
+; AVX1-ONLY-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX1-ONLY-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1],xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm2 = xmm2[0,1,2,3,4,5],xmm3[6,7]
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm7, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm1, %xmm8, %xmm1
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm3[0],xmm1[1],xmm3[1],xmm1[2],xmm3[2],xmm1[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm9, %xmm3
+; AVX1-ONLY-NEXT: vpshufb %xmm0, %xmm10, %xmm0
+; AVX1-ONLY-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX1-ONLY-NEXT: vpblendw {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3],xmm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm2, %ymm0, %ymm1
+; AVX1-ONLY-NEXT: vinsertf128 $1, %xmm0, %ymm0, %ymm0
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX1-ONLY-NEXT: vblendps {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%r9)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm5, (%rax)
+; AVX1-ONLY-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX1-ONLY-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX1-ONLY-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX1-ONLY-NEXT: vmovaps %ymm0, (%rax)
+; AVX1-ONLY-NEXT: vmovaps %ymm4, 32(%rax)
+; AVX1-ONLY-NEXT: addq $808, %rsp # imm = 0x328
+; AVX1-ONLY-NEXT: vzeroupper
+; AVX1-ONLY-NEXT: retq
+;
+; AVX2-SLOW-LABEL: load_i8_stride8_vf64:
+; AVX2-SLOW: # %bb.0:
+; AVX2-SLOW-NEXT: subq $840, %rsp # imm = 0x348
+; AVX2-SLOW-NEXT: vmovdqa 368(%rdi), %xmm13
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 352(%rdi), %xmm12
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm12, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa 336(%rdi), %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa 288(%rdi), %xmm11
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa 272(%rdi), %xmm10
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa 432(%rdi), %xmm14
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 416(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-SLOW-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm8
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5],ymm7[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, %xmm8
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX2-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, (%rsp) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX2-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX2-SLOW-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX2-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm12, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1,2],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm10, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1,2,3,4],ymm5[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1,2],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm1
+; AVX2-SLOW-NEXT: vmovdqa %xmm13, %xmm5
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm2
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm3
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX2-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm14[0],xmm6[1],xmm14[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm13
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4],ymm14[5],ymm13[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm13
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1,2],xmm6[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm13
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm14
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1],xmm6[2,3]
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX2-SLOW-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm12
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1],xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX2-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm3
+; AVX2-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5],ymm0[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-SLOW-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-SLOW-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-SLOW-NEXT: vmovdqa %ymm4, 32(%rax)
+; AVX2-SLOW-NEXT: addq $840, %rsp # imm = 0x348
+; AVX2-SLOW-NEXT: vzeroupper
+; AVX2-SLOW-NEXT: retq
+;
+; AVX2-FAST-LABEL: load_i8_stride8_vf64:
+; AVX2-FAST: # %bb.0:
+; AVX2-FAST-NEXT: subq $904, %rsp # imm = 0x388
+; AVX2-FAST-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX2-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa 352(%rdi), %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa 336(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vmovdqa %xmm4, %xmm14
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 320(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa 304(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-NEXT: vmovdqa 272(%rdi), %xmm5
+; AVX2-FAST-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm5, %xmm5
+; AVX2-FAST-NEXT: vmovdqa 256(%rdi), %xmm6
+; AVX2-FAST-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm6, %xmm6
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-NEXT: vmovdqa 448(%rdi), %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-FAST-NEXT: vmovdqa 480(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm4[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,2,2,3,0,2,4,6]
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX2-FAST-NEXT: vpermd %ymm6, %ymm0, %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm5, %ymm5
+; AVX2-FAST-NEXT: vmovdqa %ymm6, %ymm15
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-NEXT: vmovdqa 384(%rdi), %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 416(%rdi), %ymm4
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm4, %ymm0, %ymm6
+; AVX2-FAST-NEXT: vmovdqu %ymm6, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm4, %ymm6, %ymm11
+; AVX2-FAST-NEXT: vmovdqa %ymm4, %ymm13
+; AVX2-FAST-NEXT: vpermd %ymm5, %ymm0, %ymm5
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm5, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm9
+; AVX2-FAST-NEXT: vmovdqa 96(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm4, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm9[0],xmm1[1],xmm9[1],xmm1[2],xmm9[2],xmm1[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa 80(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm9
+; AVX2-FAST-NEXT: vmovdqa 64(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa 32(%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, (%rsp) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 48(%rdi), %xmm7
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm2, %xmm4, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX2-FAST-NEXT: vmovdqa (%rdi), %xmm4
+; AVX2-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 16(%rdi), %xmm3
+; AVX2-FAST-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm8[0],xmm3[0],xmm8[1],xmm3[1],xmm8[2],xmm3[2],xmm8[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm2[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28]
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm2, %ymm10
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm10[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqa 128(%rdi), %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa 160(%rdi), %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm0
+; AVX2-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm12[0,1,2,3,4],ymm0[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm13, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm15, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm10[0],xmm0[0],xmm10[1],xmm0[1],xmm10[2],xmm0[2],xmm10[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm14, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm2, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm12[0],xmm11[1],xmm12[1],xmm11[2],xmm12[2],xmm11[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm11[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm14
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm3, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm4, %xmm9
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm9[0],xmm0[0],xmm9[1],xmm0[1],xmm9[2],xmm0[2],xmm9[3],xmm0[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm12[1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm4[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm12[0,1,2,3,4],ymm9[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm5, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm7, %xmm1
+; AVX2-FAST-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm7, %xmm8
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm8[0],xmm1[1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm8 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm8[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm13, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm15, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm2, %xmm10
+; AVX2-FAST-NEXT: vmovdqa %xmm11, %xmm15
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm14
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm13 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm13[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4],ymm12[5],ymm14[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm4, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm8[0],xmm0[0],xmm8[1],xmm0[1],xmm8[2],xmm0[2],xmm8[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-NEXT: vmovdqa %xmm15, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm15, %xmm13, %xmm8
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm15, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm5, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm8[0],xmm1[0],xmm8[1],xmm1[1],xmm8[2],xmm1[2],xmm8[3],xmm1[3]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm7, %xmm8
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm9
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm9[0],xmm8[0],xmm9[1],xmm8[1],xmm9[2],xmm8[2],xmm9[3],xmm8[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm8[0],xmm1[1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm9[0,1,2,3,4],ymm8[5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm9[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm14
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm14[0],xmm12[0],xmm14[1],xmm12[1],xmm14[2],xmm12[2],xmm14[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm10[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm6, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm12[0,1,2,3,4,5,6],ymm10[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm7 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm6, %ymm6
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm7[5],ymm6[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm6
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm13, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm1, %xmm15, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm13, %xmm1
+; AVX2-FAST-NEXT: vmovdqa (%rsp), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm6
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm6[0],xmm1[0],xmm6[1],xmm1[1],xmm6[2],xmm1[2],xmm6[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm14, %xmm6
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm7
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0],xmm1[1],xmm6[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm1 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm3 = ymm3[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,19,23,27,31,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm2, %ymm4, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm2[0,1,2,3,4],ymm3[5],ymm2[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm1, %xmm1
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm4, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm1[0,1],xmm0[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [1,3,2,3,1,3,5,7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12>
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm1, %ymm3
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm1 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm2 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %ymm1, %ymm2, %ymm12
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4,5],ymm10[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3],ymm10[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1],xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm6, %xmm4, %xmm6
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm9[0],xmm6[1],xmm9[1],xmm6[2],xmm9[2],xmm6[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3]
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm13, %xmm6
+; AVX2-FAST-NEXT: vmovdqa (%rsp), %xmm8 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm7, %xmm8, %xmm7
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm14, %xmm7
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm8, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm6[0,1],xmm5[2,3]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm5, %ymm7
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4,5,6],ymm7[7]
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm5 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm0, %ymm0 # 32-byte Folded Reload
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm0[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,16,20,24,28,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm11
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm0, %xmm12
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm11[0,1,2],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm13
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm14
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm15
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm5, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm2, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm4, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm7, %xmm9
+; AVX2-FAST-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm9[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm10[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm11[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm8, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm9, %xmm9
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm10, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm11, %xmm11
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm12, %xmm12
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm11[0,1,2],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm12, %xmm12
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm13
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm0, %xmm14
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm15, %xmm15
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1],xmm9[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm12 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm14 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm14[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm15 = ymm15[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5],ymm12[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm12[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm9, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm1, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm8, %xmm2, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm9[0],xmm8[1],xmm9[1],xmm8[2],xmm9[2],xmm8[3],xmm9[3]
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm10, %xmm4, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1,2],xmm8[3]
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm7, %xmm9
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm10
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm5, %xmm10
+; AVX2-FAST-NEXT: vpshufb %xmm13, %xmm6, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm9[0,1],xmm8[2,3]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm9 = ymm6[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm7[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5,6],ymm9[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm10 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm1[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u,u,u,u,u,u,u,u,u]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4,5],ymm9[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm9[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm11
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm12
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm13
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0,1,2],xmm10[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm13
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm14
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm15[0],xmm8[1],xmm15[1],xmm8[2],xmm15[2],xmm8[3],xmm15[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0],xmm13[1],xmm8[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm8[0,1],xmm10[2,3]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm1
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm2, %ymm2
+; AVX2-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm3, %ymm3
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm2
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm9, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vpshufb %xmm11, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm3
+; AVX2-FAST-NEXT: vmovdqa (%rsp), %xmm4 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm12, %xmm4, %xmm4
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm5, %xmm4
+; AVX2-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-NEXT: vpshufb %xmm14, %xmm5, %xmm8
+; AVX2-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm8[0],xmm4[0],xmm8[1],xmm4[1],xmm8[2],xmm4[2],xmm8[3],xmm4[3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX2-FAST-NEXT: vpshufb %ymm0, %ymm6, %ymm3
+; AVX2-FAST-NEXT: vpshufb %ymm10, %ymm7, %ymm4
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm4
+; AVX2-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm0 # 32-byte Reload
+; AVX2-FAST-NEXT: vpshufb %ymm15, %ymm0, %ymm0
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm4[5],ymm0[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm2[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rsi)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rdx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rcx)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%r8)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%r9)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%r9)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, (%rax)
+; AVX2-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX2-FAST-NEXT: vmovaps %ymm2, 32(%rax)
+; AVX2-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-NEXT: vmovdqa %ymm1, 32(%rax)
+; AVX2-FAST-NEXT: addq $904, %rsp # imm = 0x388
+; AVX2-FAST-NEXT: vzeroupper
+; AVX2-FAST-NEXT: retq
+;
+; AVX2-FAST-PERLANE-LABEL: load_i8_stride8_vf64:
+; AVX2-FAST-PERLANE: # %bb.0:
+; AVX2-FAST-PERLANE-NEXT: subq $840, %rsp # imm = 0x348
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 368(%rdi), %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 352(%rdi), %xmm12
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm12, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm12, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 336(%rdi), %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,0,8,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm0, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 288(%rdi), %xmm11
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 272(%rdi), %xmm10
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <0,8,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm10, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 432(%rdi), %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm14, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 416(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 400(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 384(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm7, %ymm0, %ymm7
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm7[0,1,2,3,4],ymm6[5],ymm7[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 112(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 64(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 48(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm0, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, %xmm8
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm7
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm9, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 208(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, (%rsp) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 176(%rdi), %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 160(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 144(%rdi), %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa 128(%rdi), %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm12, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm15, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm13, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm2[0,1,2],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm5[1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm10, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm14, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm14, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm15[0],xmm5[0],xmm15[1],xmm5[1],xmm15[2],xmm5[2],xmm15[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm14, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm14[0],xmm15[0],xmm14[1],xmm15[1],xmm14[2],xmm15[2],xmm14[3],xmm15[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm14[0,1,2,3,4],ymm5[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1,2],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm8, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm14[0],xmm5[0],xmm14[1],xmm5[1],xmm14[2],xmm5[2],xmm14[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1],xmm0[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm6, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm4[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm3[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm13, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm12, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm8, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm12, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm11, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm12, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm11, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4],ymm6[5],ymm14[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm5[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm12, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm7, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm13, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %xmm13, %xmm5
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm8, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4],ymm1[5],ymm2[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3,4,5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm2, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm2[0],xmm0[0],xmm2[1],xmm0[1],xmm2[2],xmm0[2],xmm2[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm11, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm4, %xmm4
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm3[0,1,2],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm0, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{.*#+}} xmm0 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm14[0],xmm6[1],xmm14[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm14[0],xmm6[0],xmm14[1],xmm6[1],xmm14[2],xmm6[2],xmm14[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm14[0,1,2,3,4,5,6],ymm6[7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm13 = ymm13[0,1,2,3,4],ymm14[5],ymm13[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm6 = ymm13[0,1,2,3,4,5],ymm6[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm4 = ymm4[0,1,2,3],ymm6[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm10, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm13[0],xmm6[0],xmm13[1],xmm6[1],xmm13[2],xmm6[2],xmm13[3],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1,2],xmm6[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm10, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm14
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm10, %xmm15
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} xmm6 = xmm13[0,1],xmm6[2,3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX2-FAST-PERLANE-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm12
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm12[0],xmm2[1],xmm12[1],xmm2[2],xmm12[2],xmm2[3],xmm12[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm2
+; AVX2-FAST-PERLANE-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm3, %xmm5, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm8, %xmm3
+; AVX2-FAST-PERLANE-NEXT: vpshufb %xmm0, %xmm9, %xmm0
+; AVX2-FAST-PERLANE-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX2-FAST-PERLANE-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm2[5],ymm0[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm1[6,7]
+; AVX2-FAST-PERLANE-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3],ymm0[4,5,6,7]
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rsi)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rdx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rcx)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r8)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%r9)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%r9)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX2-FAST-PERLANE-NEXT: vmovaps %ymm1, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm0, (%rax)
+; AVX2-FAST-PERLANE-NEXT: vmovdqa %ymm4, 32(%rax)
+; AVX2-FAST-PERLANE-NEXT: addq $840, %rsp # imm = 0x348
+; AVX2-FAST-PERLANE-NEXT: vzeroupper
+; AVX2-FAST-PERLANE-NEXT: retq
+;
+; AVX512F-SLOW-LABEL: load_i8_stride8_vf64:
+; AVX512F-SLOW: # %bb.0:
+; AVX512F-SLOW-NEXT: subq $648, %rsp # imm = 0x288
+; AVX512F-SLOW-NEXT: vmovdqa64 256(%rdi), %zmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 384(%rdi), %zmm0
+; AVX512F-SLOW-NEXT: vpmovqb %zmm0, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa 496(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa 480(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, %xmm15
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa 464(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm17
+; AVX512F-SLOW-NEXT: vmovdqa 448(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm6
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vmovdqa 384(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vpmovqb %ymm5, %xmm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 368(%rdi), %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 352(%rdi), %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa 336(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, %xmm12
+; AVX512F-SLOW-NEXT: vmovdqa 320(%rdi), %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm6
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0,1,2],xmm4[3]
+; AVX512F-SLOW-NEXT: vpmovqb %zmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512F-SLOW-NEXT: movb $-64, %al
+; AVX512F-SLOW-NEXT: kmovw %eax, %k1
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm2 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa 240(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm4, %xmm16
+; AVX512F-SLOW-NEXT: vmovdqa 224(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm30
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa 208(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 192(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm28
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm5
+; AVX512F-SLOW-NEXT: vpmovqb %zmm5, %xmm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %ymm5
+; AVX512F-SLOW-NEXT: vpmovqb %ymm5, %xmm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa 96(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm4[0],xmm0[1],xmm4[1],xmm0[2],xmm4[2],xmm0[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa 80(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm20
+; AVX512F-SLOW-NEXT: vmovdqa 64(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm4[0],xmm1[1],xmm4[1],xmm1[2],xmm4[2],xmm1[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 (%rdi), %zmm1
+; AVX512F-SLOW-NEXT: vpmovqb %zmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm3[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm21
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm15, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm29
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm2[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa 416(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 432(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm5, %xmm31
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm0[0],xmm5[1],xmm0[1],xmm5[2],xmm0[2],xmm5[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa 384(%rdi), %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa %xmm11, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 400(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm23
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm7
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm13, %xmm22
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm12, %xmm25
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm9, %xmm26
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa 304(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm24
+; AVX512F-SLOW-NEXT: vmovdqa 288(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm8, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm27
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vmovdqa 272(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa 256(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, (%rsp) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm8
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0],xmm6[1],xmm7[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm17
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm17 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa 160(%rdi), %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 176(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm6
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa 128(%rdi), %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa 144(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm19
+; AVX512F-SLOW-NEXT: vmovdqa %xmm8, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm14, %xmm18
+; AVX512F-SLOW-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm5[0],xmm3[1],xmm5[1],xmm3[2],xmm5[2],xmm3[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1,2],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa 32(%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 48(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm20
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa (%rdi), %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa 16(%rdi), %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm16
+; AVX512F-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1],xmm0[2],xmm3[2],xmm0[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm2[1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm17, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm12, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm15, %xmm30
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm6
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm0
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm15 = xmm15[0],xmm0[0],xmm15[1],xmm0[1],xmm15[2],xmm0[2],xmm15[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm15, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm14[5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm9
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm9, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm13, %xmm17
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm14[0],xmm4[0],xmm14[1],xmm4[1],xmm14[2],xmm4[2],xmm14[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm8
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm14[0,1,2],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm15
+; AVX512F-SLOW-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm13[0],xmm14[1],xmm13[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm13[0,1],xmm4[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm4, %zmm0, %zmm4
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm4 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm0, %xmm0
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm13[0],xmm0[0],xmm13[1],xmm0[1],xmm13[2],xmm0[2],xmm13[3],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm7
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm15, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4,5],ymm0[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm13[0],xmm5[1],xmm13[1],xmm5[2],xmm13[2],xmm5[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm18
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm13[0],xmm3[1],xmm13[1],xmm3[2],xmm13[2],xmm3[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm3[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm5[0],xmm1[1],xmm5[1],xmm1[2],xmm5[2],xmm1[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0],xmm2[1],xmm1[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm1[0,1],xmm3[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm9, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm8, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa (%rsp), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1],xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm9, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm26
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm29
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm28
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm12
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa (%rsp), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1],xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm27
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm22
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm6, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm23
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm9, %xmm24
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm12, %xmm21
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa (%rsp), %xmm12 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1],xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm14, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm25
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm6
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm6, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm13, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512F-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm11, %xmm31
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm7, %xmm20
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm9, %xmm17
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm8, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm8, %xmm30
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm10, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm10, %xmm18
+; AVX512F-SLOW-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm13 = xmm14[0],xmm13[1],xmm14[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm4
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm12, %xmm19
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm13[0],xmm4[0],xmm13[1],xmm4[1],xmm13[2],xmm4[2],xmm13[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm9
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm9, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm14
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm15
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm14, %ymm0, %ymm14
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm13[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm22, %xmm15
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm15, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm14, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm13[0],xmm0[1],xmm13[1],xmm0[2],xmm13[2],xmm0[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm13
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm13[0],xmm1[1],xmm13[1],xmm1[2],xmm13[2],xmm1[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm6, %xmm16
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm22
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm31, %xmm1
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm20, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm2, %ymm0, %ymm2
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm24, %xmm3
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm3, %xmm3
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm17, %xmm5
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm30, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm13, %ymm0, %ymm13
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm13[0,1,2,3,4],ymm5[5],ymm13[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm5, %xmm5
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm26, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm13[0],xmm5[0],xmm13[1],xmm5[1],xmm13[2],xmm5[2],xmm13[3],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm29, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm13[0,1,2],xmm5[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm28, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm13
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm21, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm11, %xmm14
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm18, %xmm11
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm14
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm11
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm11[0],xmm14[0],xmm11[1],xmm14[1],xmm11[2],xmm14[2],xmm11[3],xmm14[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm11 = xmm11[0],xmm13[1],xmm11[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm11[0,1],xmm5[2,3]
+; AVX512F-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512F-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm5 {%k1}
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm19, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm4, %xmm4
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm11
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm11[0],xmm4[0],xmm11[1],xmm4[1],xmm11[2],xmm4[2],xmm11[3],xmm4[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm27, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm13
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm13[0],xmm11[0],xmm13[1],xmm11[1],xmm13[2],xmm11[2],xmm13[3],xmm11[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm10, %xmm10
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm9, %xmm11
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm12, %xmm11
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm7, %xmm12
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512F-SLOW-NEXT: vinserti128 $1, %xmm11, %ymm0, %ymm11
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm10 = ymm11[0,1,2,3,4],ymm10[5],ymm11[6,7]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm10[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm15, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm0
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm10[0],xmm0[1],xmm10[1],xmm0[2],xmm10[2],xmm0[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm25, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm10
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm23, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm1
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm10[0],xmm1[1],xmm10[1],xmm1[2],xmm10[2],xmm1[3],xmm10[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-SLOW-NEXT: vmovdqa64 %xmm16, %xmm7
+; AVX512F-SLOW-NEXT: vpshufb %xmm2, %xmm7, %xmm2
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm2
+; AVX512F-SLOW-NEXT: vpshufb %xmm3, %xmm6, %xmm3
+; AVX512F-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1],xmm0[2,3]
+; AVX512F-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512F-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rsi)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rdx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%r8)
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%r9)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-SLOW-NEXT: vmovaps %zmm1, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm22, (%rax)
+; AVX512F-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-SLOW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-SLOW-NEXT: addq $648, %rsp # imm = 0x288
+; AVX512F-SLOW-NEXT: vzeroupper
+; AVX512F-SLOW-NEXT: retq
+;
+; AVX512F-FAST-LABEL: load_i8_stride8_vf64:
+; AVX512F-FAST: # %bb.0:
+; AVX512F-FAST-NEXT: subq $712, %rsp # imm = 0x2C8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12>
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = [0,2,2,3,0,2,4,6]
+; AVX512F-FAST-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm19
+; AVX512F-FAST-NEXT: vmovdqa %ymm2, %ymm10
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm18
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, %ymm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm4, %ymm27
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm3, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa %ymm4, %ymm9
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 368(%rdi), %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm3, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm3, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa 352(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm5, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm14
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 336(%rdi), %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm5, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa %xmm5, %xmm15
+; AVX512F-FAST-NEXT: vmovdqa 320(%rdi), %xmm8
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm8, %xmm5
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa64 256(%rdi), %zmm3
+; AVX512F-FAST-NEXT: vpmovqb %zmm3, %xmm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm7
+; AVX512F-FAST-NEXT: movb $-64, %al
+; AVX512F-FAST-NEXT: kmovw %eax, %k1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm7 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa 224(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, (%rsp) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa 192(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm2
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm10 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa 160(%rdi), %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa 128(%rdi), %ymm2
+; AVX512F-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpermd %ymm1, %ymm0, %ymm1
+; AVX512F-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm1, %ymm11
+; AVX512F-FAST-NEXT: vpermd %ymm2, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm11[5],ymm0[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm10[6,7]
+; AVX512F-FAST-NEXT: vmovdqa 112(%rdi), %xmm11
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm11, %xmm10
+; AVX512F-FAST-NEXT: vmovdqa 96(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm16
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm10[0],xmm4[1],xmm10[1],xmm4[2],xmm10[2],xmm4[3],xmm10[3]
+; AVX512F-FAST-NEXT: vmovdqa 80(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm2, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa 64(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm1, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm20
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm12[0],xmm6[1],xmm12[1],xmm6[2],xmm12[2],xmm6[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0,1,2],xmm4[3]
+; AVX512F-FAST-NEXT: vmovdqa64 (%rdi), %zmm6
+; AVX512F-FAST-NEXT: vpmovqb %zmm6, %xmm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0,1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3],ymm0[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm7, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm13, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm13, %xmm17
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm14, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm14, %xmm29
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm4[0],xmm0[0],xmm4[1],xmm0[1],xmm4[2],xmm0[2],xmm4[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm15, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm15, %xmm21
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm8, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm8, %xmm22
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm12[0],xmm4[0],xmm12[1],xmm4[1],xmm12[2],xmm4[2],xmm12[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm13 = xmm4[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 288(%rdi), %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm1, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm30
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm12[0],xmm0[0],xmm12[1],xmm0[1],xmm12[2],xmm0[2],xmm12[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm15
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm23
+; AVX512F-FAST-NEXT: vmovdqa 256(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm9
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm28
+; AVX512F-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm15[0],xmm9[1],xmm15[1],xmm9[2],xmm15[2],xmm9[3],xmm15[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0],xmm14[1],xmm9[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1],xmm13[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm9, %zmm0, %zmm9
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm3, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm5
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm14 = ymm5[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5,6],ymm13[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm8
+; AVX512F-FAST-NEXT: vpshufb %ymm12, %ymm8, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm10, %ymm15
+; AVX512F-FAST-NEXT: vmovdqa %ymm0, %ymm10
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4,5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm13, %zmm0, %zmm9 {%k1}
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm11, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm11, %xmm26
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm15
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm15, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm6[0],xmm13[0],xmm6[1],xmm13[1],xmm6[2],xmm13[2],xmm6[3],xmm13[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm2, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm19
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm13[0],xmm7[1],xmm13[1],xmm7[2],xmm13[2],xmm7[3],xmm13[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm7[0,1,2],xmm6[3]
+; AVX512F-FAST-NEXT: vmovdqa 32(%rdi), %xmm0
+; AVX512F-FAST-NEXT: vmovdqa 48(%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa %xmm2, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm2, %xmm14
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm0, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm14[0],xmm4[1],xmm14[1],xmm4[2],xmm14[2],xmm4[3],xmm14[3]
+; AVX512F-FAST-NEXT: vmovdqa (%rdi), %xmm2
+; AVX512F-FAST-NEXT: vmovdqa 16(%rdi), %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm7, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm7, %xmm31
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm18
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm4[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm1 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm4 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,17,21,25,29,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm12, %ymm2, %ymm4
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm9, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm10
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm10, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm17
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm4[0],xmm1[0],xmm4[1],xmm1[1],xmm4[2],xmm1[2],xmm4[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm21, %xmm13
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm13, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm22, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm14, %xmm9
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1,2],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm9
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm0, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm12[0],xmm9[0],xmm12[1],xmm9[1],xmm12[2],xmm9[2],xmm12[3],xmm9[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm16
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm11[0],xmm0[0],xmm11[1],xmm0[1],xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm9[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm9 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14>
+; AVX512F-FAST-NEXT: vpshufb %ymm9, %ymm3, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm21
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm9, %ymm28
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm5, %ymm9
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm22
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm11, %ymm29
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm8, %ymm9
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm23
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm11, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm2, %ymm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4],ymm9[5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm1, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm15, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm15, %xmm17
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm8
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm15
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm15, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm2, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm4[0],xmm2[0],xmm4[1],xmm2[1],xmm4[2],xmm2[2],xmm4[3],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm2
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm29, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm3, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm6 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm6[0,1,2,3,4],ymm4[5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm10, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm24
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm13, %xmm2
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm13, %xmm28
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm14, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm6[0],xmm2[0],xmm6[1],xmm2[1],xmm6[2],xmm2[2],xmm6[3],xmm2[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm10, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm13, %xmm9
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm16, %xmm9
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm9, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm7, %xmm19
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm6 = xmm11[0],xmm6[1],xmm11[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm6[0,1],xmm1[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm6
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm6, %ymm6
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm16
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm7, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm18
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5,6],ymm6[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm7
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm7, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm3, %ymm27
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm7, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa %ymm3, %ymm7
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm11[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm6, %zmm0, %zmm1 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm26, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm14, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm3, %xmm0
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm6[0],xmm0[1],xmm6[1],xmm0[2],xmm6[2],xmm0[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm8, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm8, %xmm30
+; AVX512F-FAST-NEXT: vpshufb %xmm4, %xmm15, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm4[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm15
+; AVX512F-FAST-NEXT: vpshufb %xmm2, %xmm15, %xmm2
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm4[0],xmm2[1],xmm4[1],xmm2[2],xmm4[2],xmm2[3],xmm4[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm19, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm6, %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm5, %xmm25
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm4[0],xmm2[1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, %ymm2
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm18, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm4[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm3
+; AVX512F-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm4 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm7, %ymm4, %ymm4
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm1
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm2
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm0, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm10, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm13, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm9, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm9, %xmm18
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm0, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm3[0,1],xmm2[2,3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = [1,3,2,3,1,3,5,7]
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12>
+; AVX512F-FAST-NEXT: vpshufb %ymm6, %ymm0, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm23
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm0, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm21
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vmovdqu %ymm0, (%rsp) # 32-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm0
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm10 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm19 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm2
+; AVX512F-FAST-NEXT: vpshufb %ymm2, %ymm10, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm10, %ymm27
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm13[0,1,2,3,4],ymm0[5],ymm13[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm9, %zmm0, %zmm12
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm12 {%k1}
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm14, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm2, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm7[0],xmm0[0],xmm7[1],xmm0[1],xmm7[2],xmm0[2],xmm7[3],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm10
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm10, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm1, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm7[0],xmm1[1],xmm7[1],xmm1[2],xmm7[2],xmm1[3],xmm7[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm2, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm5, %xmm15, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm15, %xmm29
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm5[0],xmm1[0],xmm5[1],xmm1[1],xmm5[2],xmm1[2],xmm5[3],xmm1[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm5
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm20
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm7
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm7, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm7[0],xmm5[0],xmm7[1],xmm5[1],xmm7[2],xmm5[2],xmm7[3],xmm5[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm5[0],xmm1[1],xmm5[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm1[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm6, %ymm1, %ymm0
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm22
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm5 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm4, %ymm5, %ymm1
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm26
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm0 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm0, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm11, %ymm1 # 32-byte Folded Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm0
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm1, %ymm19
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm11[0,1,2,3,4],ymm13[5],ymm11[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm7, %zmm12, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm6
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm6, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm9
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm9, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm13
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm12[0,1,2],xmm8[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm0, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm0, %xmm15
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm15[0],xmm13[0],xmm15[1],xmm13[1],xmm15[2],xmm13[2],xmm15[3],xmm13[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm15, %xmm4, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm15, %xmm1, %xmm14
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm14[0],xmm0[0],xmm14[1],xmm0[1],xmm14[2],xmm0[2],xmm14[3],xmm0[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm13[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm8[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm30 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm31 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm5
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm5, %ymm13
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm3, %ymm13
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm24
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm5, %ymm3, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm5, %ymm28
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm13 = ymm14[0,1,2,3,4],ymm13[5],ymm14[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm13[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm8, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm5
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm5, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm10, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm10, %xmm17
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm3, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1,2],xmm7[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm18
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm2, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm3
+; AVX512F-FAST-NEXT: vpshufb %xmm15, %xmm3, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm2
+; AVX512F-FAST-NEXT: vpshufb %xmm15, %xmm2, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm11[0],xmm8[1],xmm11[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm8[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm30, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm10
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm10, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm31, %ymm10
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm11
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm11, %ymm11
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, %ymm10
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm24, %ymm11
+; AVX512F-FAST-NEXT: vpshufb %ymm11, %ymm10, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm28, %ymm13
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm12, %ymm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm7 = ymm7[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm7, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm8, %xmm7
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm8, %xmm31
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm6, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm6, %xmm28
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm8 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm9, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm9, %xmm30
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm6, %xmm12
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm11[0,1,2],xmm7[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm9, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm9 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm9, %xmm13
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm13 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm4, %xmm14
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm4, %xmm24
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm1, %xmm15
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm1, %xmm20
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm14 = xmm15[0],xmm14[0],xmm15[1],xmm14[1],xmm15[2],xmm14[2],xmm15[3],xmm14[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm12 = xmm14[0],xmm12[1],xmm14[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm7 = xmm12[0,1],xmm7[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm7, %zmm0, %zmm7
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm23, %ymm4
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm4, %ymm12
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm9
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm9, %ymm14
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5,6],ymm12[7]
+; AVX512F-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm1
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm14 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm1, %ymm14, %ymm14
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm0 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm0, %ymm1, %ymm15
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm0, %ymm16
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm14 = ymm15[0,1,2,3,4],ymm14[5],ymm15[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm12 = ymm14[0,1,2,3,4,5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm12, %zmm0, %zmm7 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm1, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm0, %xmm5, %xmm0
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm5, %xmm25
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm12[0],xmm0[1],xmm12[1],xmm0[2],xmm12[2],xmm0[3],xmm12[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm1, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm8, %xmm5, %xmm8
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm8[0],xmm12[0],xmm8[1],xmm12[1],xmm8[2],xmm12[2],xmm8[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0,1,2],xmm0[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm8
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm8, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm12, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm3, %xmm11
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm3, %xmm23
+; AVX512F-FAST-NEXT: vpshufb %xmm13, %xmm2, %xmm12
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm2, %xmm17
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm11[0],xmm8[1],xmm11[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm8[0,1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm2
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm8 = ymm2[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm3
+; AVX512F-FAST-NEXT: vpshufb {{.*#+}} ymm11 = ymm3[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm21, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm3, %ymm10, %ymm11
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm10, %ymm22
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm3
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm16, %ymm10
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm3, %ymm12
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm12[0,1,2,3,4],ymm11[5],ymm12[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm8 = ymm11[0,1,2,3,4,5],ymm8[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm8[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm7, %zmm21
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm31, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm8
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm28, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm0, %xmm11
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm11[0],xmm8[0],xmm11[1],xmm8[1],xmm11[2],xmm8[2],xmm11[3],xmm8[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm30, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm0, %xmm12
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm6, %xmm13
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm13[0],xmm12[0],xmm13[1],xmm12[1],xmm13[2],xmm12[2],xmm13[3],xmm12[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm8 = xmm12[0,1,2],xmm8[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm12 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm0, %xmm13
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm0, %xmm14
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm14[0],xmm13[0],xmm14[1],xmm13[1],xmm14[2],xmm13[2],xmm14[3],xmm13[3]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm24, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm15
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm20, %xmm0
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm0, %xmm0
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm15[0],xmm0[1],xmm15[1],xmm0[2],xmm15[2],xmm0[3],xmm15[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm13[1],xmm0[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm8[2,3]
+; AVX512F-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm4, %ymm8
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm15 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512F-FAST-NEXT: vpshufb %ymm15, %ymm9, %ymm6
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4,5,6],ymm8[7]
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqu (%rsp), %ymm3 # 32-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm3, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa {{.*#+}} ymm13 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm27, %ymm3
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm3, %ymm3
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4],ymm4[5],ymm3[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5],ymm6[6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm0 {%k1}
+; AVX512F-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm3
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm25, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm4
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm1, %xmm4
+; AVX512F-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1,2],xmm3[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm18, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm4
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm29, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm12, %xmm1, %xmm6
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm23, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm1, %xmm6
+; AVX512F-FAST-NEXT: vmovdqa64 %xmm17, %xmm1
+; AVX512F-FAST-NEXT: vpshufb %xmm14, %xmm1, %xmm7
+; AVX512F-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm7[0],xmm6[0],xmm7[1],xmm6[1],xmm7[2],xmm6[2],xmm7[3],xmm6[3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0],xmm4[1],xmm6[2,3]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0,1],xmm3[2,3]
+; AVX512F-FAST-NEXT: vpshufb %ymm10, %ymm2, %ymm4
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm26, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm15, %ymm1, %ymm5
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm22, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm8, %ymm1, %ymm2
+; AVX512F-FAST-NEXT: vmovdqa64 %ymm19, %ymm1
+; AVX512F-FAST-NEXT: vpshufb %ymm13, %ymm1, %ymm1
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4],ymm2[5],ymm1[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm4[6,7]
+; AVX512F-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm3[0,1,2,3],ymm1[4,5,6,7]
+; AVX512F-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%rsi)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%rdx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%rcx)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%r8)
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%r9)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm1 # 64-byte Reload
+; AVX512F-FAST-NEXT: vmovaps %zmm1, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm21, (%rax)
+; AVX512F-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512F-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512F-FAST-NEXT: addq $712, %rsp # imm = 0x2C8
+; AVX512F-FAST-NEXT: vzeroupper
+; AVX512F-FAST-NEXT: retq
+;
+; AVX512BW-SLOW-LABEL: load_i8_stride8_vf64:
+; AVX512BW-SLOW: # %bb.0:
+; AVX512BW-SLOW-NEXT: subq $760, %rsp # imm = 0x2F8
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rdi), %zmm20
+; AVX512BW-SLOW-NEXT: vmovdqa64 128(%rdi), %zmm1
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa64 256(%rdi), %zmm2
+; AVX512BW-SLOW-NEXT: vmovdqa64 384(%rdi), %zmm3
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa 496(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm13 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa 480(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vmovdqa 464(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm19 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm22
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 448(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm14
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vmovdqa 384(%rdi), %ymm5
+; AVX512BW-SLOW-NEXT: vpmovqb %ymm5, %xmm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm3[0,1,2,3,4,5],ymm4[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa 368(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm25
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 352(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm11
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 336(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa 320(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm24
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm7 = xmm8[0],xmm7[0],xmm8[1],xmm7[1],xmm8[2],xmm7[2],xmm8[3],xmm7[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm7[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm2, %xmm2
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm2, %zmm0, %zmm2
+; AVX512BW-SLOW-NEXT: movb $-64, %al
+; AVX512BW-SLOW-NEXT: kmovd %eax, %k1
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm4, %zmm0, %zmm2 {%k1}
+; AVX512BW-SLOW-NEXT: vmovdqa 240(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, %xmm7
+; AVX512BW-SLOW-NEXT: vmovdqa 224(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm17
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm8[0],xmm5[0],xmm8[1],xmm5[1],xmm8[2],xmm5[2],xmm8[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vmovdqa 208(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm28
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, (%rsp) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 192(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm0, %xmm15
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm27
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm15[0],xmm8[0],xmm15[1],xmm8[1],xmm15[2],xmm8[2],xmm15[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm8[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %ymm8
+; AVX512BW-SLOW-NEXT: vpmovqb %ymm8, %xmm8
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm8[0,1,2,3,4],ymm1[5],ymm8[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 112(%rdi), %xmm16
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm16, %xmm15
+; AVX512BW-SLOW-NEXT: vmovdqa 96(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm13, %xmm0, %xmm13
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm18
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm13[0],xmm15[0],xmm13[1],xmm15[1],xmm13[2],xmm15[2],xmm13[3],xmm15[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 80(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm3, %xmm21
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm3, %xmm12
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa64 64(%rdi), %xmm30
+; AVX512BW-SLOW-NEXT: vpshufb %xmm19, %xmm30, %xmm19
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm19[0],xmm21[0],xmm19[1],xmm21[1],xmm19[2],xmm21[2],xmm19[3],xmm21[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpmovqb %zmm20, %xmm3
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm2, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 384(%rdi), %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa 400(%rdi), %xmm15
+; AVX512BW-SLOW-NEXT: vmovdqa 416(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 432(%rdi), %xmm13
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm29 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm9, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm9, %xmm20
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm10, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm22, %xmm21
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm14, %xmm22
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm21 = xmm22[0],xmm21[0],xmm22[1],xmm21[1],xmm22[2],xmm21[2],xmm22[3],xmm21[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm21, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm3[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm13, %xmm21
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm22
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm21 = xmm22[0],xmm21[0],xmm22[1],xmm21[1],xmm22[2],xmm21[2],xmm22[3],xmm21[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm21, %ymm0, %ymm0
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm21 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm15, %xmm22
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm15, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm4, %xmm23
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm4, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm22 = xmm23[0],xmm22[0],xmm23[1],xmm22[1],xmm23[2],xmm22[2],xmm23[3],xmm22[3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $1, %xmm22, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4],ymm0[5],ymm4[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm25, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm11, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm6, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm24, %xmm22
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm22[0],xmm4[0],xmm22[1],xmm4[1],xmm22[2],xmm4[2],xmm22[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1,2],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 304(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm23
+; AVX512BW-SLOW-NEXT: vmovdqa 288(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm0, %xmm24
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm0, %xmm22
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm24[0],xmm23[0],xmm24[1],xmm23[1],xmm24[2],xmm23[2],xmm24[3],xmm23[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 272(%rdi), %xmm24
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm24, %xmm23
+; AVX512BW-SLOW-NEXT: vmovdqa 256(%rdi), %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm3, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm3, %xmm25
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm25[0],xmm23[0],xmm25[1],xmm23[1],xmm25[2],xmm23[2],xmm25[3],xmm23[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm6[0],xmm0[1],xmm6[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm3
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm3 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm7, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm17, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm28, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm27, %xmm19
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm27, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5,6],ymm4[7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 160(%rdi), %xmm25
+; AVX512BW-SLOW-NEXT: vmovdqa 176(%rdi), %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm5, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm25, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 128(%rdi), %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa 144(%rdi), %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm6, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm0, %xmm31
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm31[0],xmm6[0],xmm31[1],xmm6[1],xmm31[2],xmm6[2],xmm31[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4],ymm5[5],ymm6[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4,5],ymm4[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm16, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm16, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm29, %xmm18, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm12, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm30, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm2, %xmm30, %xmm2
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm6[0],xmm2[1],xmm6[1],xmm2[2],xmm6[2],xmm2[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm2[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa 32(%rdi), %xmm14
+; AVX512BW-SLOW-NEXT: vmovdqa 48(%rdi), %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm11, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm14, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm14, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa (%rdi), %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa 16(%rdi), %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm13, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm1, %xmm21
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm1, %xmm23
+; AVX512BW-SLOW-NEXT: vmovdqa %xmm1, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm21[0],xmm0[0],xmm21[1],xmm0[1],xmm21[2],xmm0[2],xmm21[3],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm6[1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm4[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm3, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm20, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm20, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm20, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm28 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm28, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm20 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm20, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm27 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm27, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,6],ymm3[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm0, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm0 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm0, %xmm21
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm21[0],xmm6[0],xmm21[1],xmm6[1],xmm21[2],xmm6[2],xmm21[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{.*#+}} xmm21 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm15, %xmm0
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm10, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm17[0],xmm0[0],xmm17[1],xmm0[1],xmm17[2],xmm0[2],xmm17[3],xmm0[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4],ymm6[5],ymm0[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm10, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm15, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm9, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm17[0],xmm6[0],xmm17[1],xmm6[1],xmm17[2],xmm6[2],xmm17[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm6[0,1,2],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm2, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm22, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm17[0],xmm6[0],xmm17[1],xmm6[1],xmm17[2],xmm6[2],xmm17[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm24, %xmm17
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm26 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm26, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm18[0],xmm17[0],xmm18[1],xmm17[1],xmm18[2],xmm17[2],xmm18[3],xmm17[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm9[0],xmm6[1],xmm9[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm6[0,1],xmm3[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm3, %zmm0, %zmm3
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm3 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm7, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm6[0],xmm0[0],xmm6[1],xmm0[1],xmm6[2],xmm0[2],xmm6[3],xmm0[3]
+; AVX512BW-SLOW-NEXT: vmovdqa (%rsp), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm19, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm0, %ymm0, %ymm0
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5,6],ymm0[7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm22 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm22, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm25, %xmm29
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm25, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm25, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm31 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm31, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm25 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm25, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm17[0],xmm9[0],xmm17[1],xmm9[1],xmm17[2],xmm9[2],xmm17[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm6[0,1,2,3,4,5],ymm0[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm16, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm1
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm6[0],xmm1[1],xmm6[1],xmm1[2],xmm6[2],xmm1[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm19 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm19, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm30, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm6[0],xmm4[1],xmm6[1],xmm4[2],xmm6[2],xmm4[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1,2],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm11, %xmm30
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm14, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm13, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm21, %xmm23, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm4 = xmm5[0],xmm4[1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm1[0,1,2,3],ymm0[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm3, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm28, %xmm16
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm28, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm20, %xmm11
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm20, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm27, %xmm20
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm27, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm28 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm28, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm27 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm27, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm13, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm17[0],xmm9[0],xmm17[1],xmm9[1],xmm17[2],xmm9[2],xmm17[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4],ymm5[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm10, %xmm21
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm10, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm15, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm23 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm23, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm17[0],xmm9[0],xmm17[1],xmm9[1],xmm17[2],xmm9[2],xmm17[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm10 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm10, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm17[0],xmm9[0],xmm17[1],xmm9[1],xmm17[2],xmm9[2],xmm17[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm24, %xmm17
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm26, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm18[0],xmm17[0],xmm18[1],xmm17[1],xmm18[2],xmm17[2],xmm18[3],xmm17[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm18 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm18, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm22, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm29, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm31, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm25, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm19, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm19, %xmm29
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm19 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm19, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm30, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm26 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm26, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm31 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm31, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm7, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm1, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm16, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm20, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm28, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm27, %xmm6
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm27, %xmm28
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm13, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4],ymm5[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm21, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm21, %xmm27
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm21 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm21, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm23, %xmm22
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm23, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm15, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm7, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm24, %xmm12
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm24, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm18, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm24 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rsp), %xmm20 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm20, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm23 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm15, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm18 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm18, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm25, %xmm13
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm25, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm25 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm29, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm19, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm30, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm26, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm31, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm26 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm26, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm29, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm16, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm2, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm28, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm28 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm28, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm16 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm16, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4],ymm5[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm27, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm21, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm21, %xmm27
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm22, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm21 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm21, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm7, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm12, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm1
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm24, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm20, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm15, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm15, %xmm20
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm18, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm18, %xmm24
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm13, %xmm17
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm13, %xmm18
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm8, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm25, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm25 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm25, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm19, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm30, %xmm3
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm31, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm26, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm29, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm12 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm12, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm4 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm4, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm11, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm4, %ymm0, %ymm4
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm4[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm13, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm11, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm6 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm28, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm16, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4],ymm5[5],ymm9[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm29, %xmm5
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm27, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm22, %xmm15
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm22, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm2, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm21, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm22 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm22, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm28 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm28, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm14, %xmm17
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm9 = xmm10[0],xmm9[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1],xmm5[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm5
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm5 {%k1}
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm7, %xmm1
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm2, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-SLOW-NEXT: vmovdqa64 (%rsp), %xmm21 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm21, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm1, %ymm0, %ymm1
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm7, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm20, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm18, %xmm17
+; AVX512BW-SLOW-NEXT: vmovdqa64 %xmm18, %xmm20
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm17[0],xmm10[0],xmm17[1],xmm10[1],xmm17[2],xmm10[2],xmm17[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm9, %ymm0, %ymm9
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm17 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm17, %xmm9
+; AVX512BW-SLOW-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm18 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm0, %xmm18, %xmm0
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm25, %xmm9
+; AVX512BW-SLOW-NEXT: vpshufb %xmm3, %xmm19, %xmm3
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm3[0],xmm9[0],xmm3[1],xmm9[1],xmm3[2],xmm9[2],xmm3[3],xmm9[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1,2],xmm0[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm30, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm31, %xmm4
+; AVX512BW-SLOW-NEXT: vpshufb %xmm6, %xmm26, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm6[0],xmm4[0],xmm6[1],xmm4[1],xmm6[2],xmm4[2],xmm6[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm0 = xmm3[0,1],xmm0[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm1[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm0, %zmm5, %zmm0
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm1 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm12, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm5, %xmm5
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm6 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm6, %xmm6
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm5, %ymm0, %ymm5
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4,5,6],ymm3[7]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm13, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm11, %xmm9
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{.*#+}} xmm9 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm8, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm16, %xmm16
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm16[0],xmm10[0],xmm16[1],xmm10[1],xmm16[2],xmm10[2],xmm16[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm6, %ymm0, %ymm6
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm6 = ymm10[0,1,2,3,4],ymm6[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm6[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm29, %xmm6
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm27, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm10[0],xmm6[0],xmm10[1],xmm6[1],xmm10[2],xmm6[2],xmm10[3],xmm6[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm15, %xmm10
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm8, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm10[0,1,2],xmm6[3]
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm8, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm22, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm10[0],xmm8[0],xmm10[1],xmm8[1],xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm28, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm14, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm8 = xmm10[0],xmm8[1],xmm10[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm6 = xmm8[0,1],xmm6[2,3]
+; AVX512BW-SLOW-NEXT: vinserti32x4 $2, %xmm6, %zmm0, %zmm6
+; AVX512BW-SLOW-NEXT: vinserti64x4 $1, %ymm3, %zmm0, %zmm6 {%k1}
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm3, %xmm3
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm2, %xmm8
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm8[0],xmm3[0],xmm8[1],xmm3[1],xmm8[2],xmm3[2],xmm8[3],xmm3[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm21, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm23, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm10[0],xmm8[0],xmm10[1],xmm8[1],xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm3, %ymm0, %ymm3
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5,6],ymm3[7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm7, %xmm8
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm2, %xmm10
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm8 = xmm10[0],xmm8[0],xmm10[1],xmm8[1],xmm10[2],xmm8[2],xmm10[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm24, %xmm10
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm20, %xmm11
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm8, %ymm0, %ymm8
+; AVX512BW-SLOW-NEXT: vinserti128 $1, %xmm10, %ymm0, %ymm10
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm8 = ymm10[0,1,2,3,4],ymm8[5],ymm10[6,7]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm3 = ymm8[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm17, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm1, %xmm18, %xmm1
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm1[0],xmm8[0],xmm1[1],xmm8[1],xmm1[2],xmm8[2],xmm1[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm25, %xmm8
+; AVX512BW-SLOW-NEXT: vpshufb %xmm4, %xmm19, %xmm4
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm4[0],xmm8[0],xmm4[1],xmm8[1],xmm4[2],xmm8[2],xmm4[3],xmm8[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm4[0,1,2],xmm1[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm30, %xmm4
+; AVX512BW-SLOW-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-SLOW-NEXT: vpshufb %xmm5, %xmm2, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm31, %xmm2
+; AVX512BW-SLOW-NEXT: vpshufb %xmm9, %xmm26, %xmm5
+; AVX512BW-SLOW-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm5[0],xmm2[0],xmm5[1],xmm2[1],xmm5[2],xmm2[2],xmm5[3],xmm2[3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm4[1],xmm2[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512BW-SLOW-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX512BW-SLOW-NEXT: vinserti64x4 $0, %ymm1, %zmm6, %zmm1
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%rcx)
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%r8)
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%r9)
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-SLOW-NEXT: vmovaps %zmm2, (%rax)
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-SLOW-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-SLOW-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-SLOW-NEXT: addq $760, %rsp # imm = 0x2F8
+; AVX512BW-SLOW-NEXT: vzeroupper
+; AVX512BW-SLOW-NEXT: retq
+;
+; AVX512BW-FAST-LABEL: load_i8_stride8_vf64:
+; AVX512BW-FAST: # %bb.0:
+; AVX512BW-FAST-NEXT: subq $888, %rsp # imm = 0x378
+; AVX512BW-FAST-NEXT: vmovdqa64 256(%rdi), %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12>
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = [0,2,2,3,0,2,4,6]
+; AVX512BW-FAST-NEXT: vmovdqa 480(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm3
+; AVX512BW-FAST-NEXT: vpshufb %ymm2, %ymm3, %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm3, %ymm24
+; AVX512BW-FAST-NEXT: vmovdqa %ymm2, %ymm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 448(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm2, %ymm5, %ymm4
+; AVX512BW-FAST-NEXT: vpshufb %ymm3, %ymm4, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm4, %ymm21
+; AVX512BW-FAST-NEXT: vmovdqu %ymm4, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, %ymm12
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 416(%rdi), %ymm2
+; AVX512BW-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm2, %ymm5, %ymm19
+; AVX512BW-FAST-NEXT: vpshufb %ymm3, %ymm19, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa %ymm3, %ymm13
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm4 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 384(%rdi), %ymm3
+; AVX512BW-FAST-NEXT: vmovdqu %ymm3, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm3, %ymm5, %ymm6
+; AVX512BW-FAST-NEXT: vpshufb %ymm4, %ymm6, %ymm3
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm6, %ymm30
+; AVX512BW-FAST-NEXT: vmovdqa %ymm4, %ymm11
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm7 = <u,u,u,u,u,u,0,8,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 368(%rdi), %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm7, %xmm3, %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa %xmm3, %xmm15
+; AVX512BW-FAST-NEXT: vmovdqa %xmm3, (%rsp) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa64 352(%rdi), %xmm18
+; AVX512BW-FAST-NEXT: vpshufb %xmm7, %xmm18, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,0,8,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 336(%rdi), %xmm25
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm25, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa 320(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm4, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm4, %xmm29
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm6[0],xmm3[0],xmm6[1],xmm3[1],xmm6[2],xmm3[2],xmm6[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0,1,2],xmm2[3]
+; AVX512BW-FAST-NEXT: vpmovqb %zmm0, %xmm0
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm2[2,3]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm10
+; AVX512BW-FAST-NEXT: movb $-64, %al
+; AVX512BW-FAST-NEXT: kmovd %eax, %k1
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm10 {%k1}
+; AVX512BW-FAST-NEXT: vmovdqa 224(%rdi), %ymm0
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm0, %ymm5, %ymm0
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm0, %ymm0
+; AVX512BW-FAST-NEXT: vmovdqa 192(%rdi), %ymm1
+; AVX512BW-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm1, %ymm5, %ymm1
+; AVX512BW-FAST-NEXT: vmovdqu %ymm1, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm12, %ymm1, %ymm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm1[0,1,2,3,4,5,6],ymm0[7]
+; AVX512BW-FAST-NEXT: vmovdqa 160(%rdi), %ymm0
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm0, %ymm5, %ymm0
+; AVX512BW-FAST-NEXT: vpshufb %ymm13, %ymm0, %ymm8
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm0, %ymm20
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa 128(%rdi), %ymm0
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpermd %ymm0, %ymm5, %ymm0
+; AVX512BW-FAST-NEXT: vpshufb %ymm11, %ymm0, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm0, %ymm26
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm8[5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm5[0,1,2,3,4,5],ymm6[6,7]
+; AVX512BW-FAST-NEXT: vmovdqa 112(%rdi), %xmm4
+; AVX512BW-FAST-NEXT: vpshufb %xmm7, %xmm4, %xmm8
+; AVX512BW-FAST-NEXT: vmovdqa64 96(%rdi), %xmm28
+; AVX512BW-FAST-NEXT: vpshufb %xmm7, %xmm28, %xmm7
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm7[0],xmm8[0],xmm7[1],xmm8[1],xmm7[2],xmm8[2],xmm7[3],xmm8[3]
+; AVX512BW-FAST-NEXT: vmovdqa 80(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm0, %xmm13
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, %xmm7
+; AVX512BW-FAST-NEXT: vmovdqa64 64(%rdi), %xmm27
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm27, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm9[0],xmm13[0],xmm9[1],xmm13[1],xmm9[2],xmm13[2],xmm9[3],xmm13[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm9[0,1,2],xmm12[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %zmm12
+; AVX512BW-FAST-NEXT: vpmovqb %zmm12, %xmm12
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm12[0,1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3],ymm11[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm9, %zmm10, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm16 = <u,u,u,u,u,u,1,9,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm16, %xmm15, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm16, %xmm18, %xmm10
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm18, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm15 = <u,u,u,u,1,9,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm15, %xmm25, %xmm10
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm25, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm15, %xmm29, %xmm11
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm29, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm29, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm10[0,1,2],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm17 = <u,u,1,9,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 304(%rdi), %xmm23
+; AVX512BW-FAST-NEXT: vpshufb %xmm17, %xmm23, %xmm11
+; AVX512BW-FAST-NEXT: vmovdqa 288(%rdi), %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm17, %xmm5, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm13 = xmm12[0],xmm11[0],xmm12[1],xmm11[1],xmm12[2],xmm11[2],xmm12[3],xmm11[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <1,9,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa 272(%rdi), %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa %xmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm0, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa64 256(%rdi), %xmm22
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm22, %xmm31
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm22, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm31[0],xmm0[0],xmm31[1],xmm0[1],xmm31[2],xmm0[2],xmm31[3],xmm0[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm13[1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm11 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13>
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm24, %ymm8
+; AVX512BW-FAST-NEXT: vmovdqu64 %ymm24, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm11, %ymm24, %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm24 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm24, %ymm21, %ymm13
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm13[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm21 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqu64 %ymm19, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm21, %ymm19, %ymm13
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm3 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm30, %ymm29
+; AVX512BW-FAST-NEXT: vmovdqu64 %ymm30, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm3, %ymm30, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm9[0,1,2,3,4],ymm13[5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm9[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm16, %xmm4, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm16, %xmm28, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm9[0],xmm1[0],xmm9[1],xmm1[1],xmm9[2],xmm1[2],xmm9[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, %xmm12
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm15, %xmm7, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm15, %xmm27, %xmm13
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm13[0],xmm9[0],xmm13[1],xmm9[1],xmm13[2],xmm9[2],xmm13[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa 32(%rdi), %xmm10
+; AVX512BW-FAST-NEXT: vmovdqa 48(%rdi), %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm17, %xmm13, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm13, %xmm16
+; AVX512BW-FAST-NEXT: vpshufb %xmm17, %xmm10, %xmm15
+; AVX512BW-FAST-NEXT: vmovdqa %xmm10, %xmm13
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm15[0],xmm9[0],xmm15[1],xmm9[1],xmm15[2],xmm9[2],xmm15[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rdi), %xmm17
+; AVX512BW-FAST-NEXT: vmovdqa64 16(%rdi), %xmm30
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm30, %xmm31
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm17, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm31[0],xmm2[1],xmm31[1],xmm2[2],xmm31[2],xmm2[3],xmm31[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm2[0],xmm9[1],xmm2[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm7 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm11, %ymm7, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm11 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm24, %ymm11, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm21, %ymm20, %ymm9
+; AVX512BW-FAST-NEXT: vpshufb %ymm3, %ymm26, %ymm10
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm9[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,u,u,u,u,2,10,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 (%rsp), %xmm24 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm24, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm18, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,2,10,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm25, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm6, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm9[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,2,10,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm23, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm5, %xmm31
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm5, %xmm26
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm31[0],xmm10[0],xmm31[1],xmm10[1],xmm31[2],xmm10[2],xmm31[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm31 = <2,10,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm31, %xmm14, %xmm0
+; AVX512BW-FAST-NEXT: vpshufb %xmm31, %xmm22, %xmm25
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm25[0],xmm0[0],xmm25[1],xmm0[1],xmm25[2],xmm0[2],xmm25[3],xmm0[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0],xmm10[1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm0[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14>
+; AVX512BW-FAST-NEXT: vpshufb %ymm5, %ymm8, %ymm1
+; AVX512BW-FAST-NEXT: vmovdqa %ymm5, %ymm8
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm15 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm5, %ymm15, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm5, %ymm25
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm10[0,1,2,3,4,5,6],ymm1[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm5 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm5, %ymm19, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm5, %ymm21
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm6 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm6, %ymm29, %ymm5
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm5[0,1,2,3,4],ymm10[5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm5[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm0, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm0 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm4, %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa %xmm4, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm28, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm12, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm27, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm27, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm3[0],xmm2[1],xmm3[1],xmm2[2],xmm3[2],xmm2[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm16, %xmm2
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm13, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm13, %xmm18
+; AVX512BW-FAST-NEXT: vmovdqa %xmm13, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm31, %xmm30, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm30, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm31, %xmm17, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm7, %ymm20
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm7, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm11, %ymm19
+; AVX512BW-FAST-NEXT: vpshufb %ymm25, %ymm11, %ymm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm22 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm21, %ymm22, %ymm3
+; AVX512BW-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm21 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm6, %ymm21, %ymm5
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm5[0,1,2,3,4],ymm3[5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm0, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,3,11,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm24, %xmm6
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm24, %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm11 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm11, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm2 = <u,u,u,u,3,11,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm8 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm8, %xmm3
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm7, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm3 = <u,u,3,11,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm23, %xmm13
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm23, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm26, %xmm12
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm26, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm26, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm25 = <3,11,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm14, %xmm31
+; AVX512BW-FAST-NEXT: vpshufb %xmm25, %xmm14, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm14 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm25, %xmm14, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0],xmm5[1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm5[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm29 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm29, %ymm5, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm26 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm26, %ymm15, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm9 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm10, %ymm9, %ymm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm10, %ymm24
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm23 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm10 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm10, %ymm10
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm1, %zmm0, %zmm1
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm1 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm4, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm28, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm15, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm2, %xmm27, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm2[0],xmm5[0],xmm2[1],xmm5[1],xmm2[2],xmm5[2],xmm2[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm16, %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm16, %xmm27
+; AVX512BW-FAST-NEXT: vpshufb %xmm3, %xmm18, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm25, %xmm30, %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm25, %xmm17, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm5[0],xmm3[0],xmm5[1],xmm3[1],xmm5[2],xmm3[2],xmm5[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm2 = xmm3[0],xmm2[1],xmm3[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm2[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpshufb %ymm29, %ymm20, %ymm2
+; AVX512BW-FAST-NEXT: vpshufb %ymm26, %ymm19, %ymm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm24, %ymm22, %ymm3
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm21, %ymm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4],ymm3[5],ymm4[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4,5],ymm2[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm2[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm1, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} xmm19 = <u,u,u,u,u,u,4,12,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm6, %xmm0
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm11, %xmm1
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm1[0],xmm0[0],xmm1[1],xmm0[1],xmm1[2],xmm0[2],xmm1[3],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,4,12,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm8, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm7, %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, %xmm8
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm1[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,4,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm13, %xmm1
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm13, %xmm24
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm12, %xmm2
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm2[0],xmm1[0],xmm2[1],xmm1[1],xmm2[2],xmm1[2],xmm2[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <4,12,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm31, %xmm26
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm31, %xmm2
+; AVX512BW-FAST-NEXT: vmovdqa %xmm14, %xmm12
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm14, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm2 = xmm3[0],xmm2[0],xmm3[1],xmm2[1],xmm3[2],xmm2[2],xmm3[3],xmm2[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm2[0],xmm1[1],xmm2[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm14 = xmm1[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = [1,3,2,3,1,3,5,7]
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm0 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm16 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12>
+; AVX512BW-FAST-NEXT: vpshufb %ymm7, %ymm0, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa %ymm0, %ymm6
+; AVX512BW-FAST-NEXT: vmovdqu %ymm0, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm23 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm16, %ymm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm3[0,1,2,3,4,5,6],ymm2[7]
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm29 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm20 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm31 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm31, %ymm29, %ymm4
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,0,4,8,12,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm1, %ymm20, %ymm11
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm11[0,1,2,3,4],ymm4[5],ymm11[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm4[0,1,2,3,4,5],ymm0[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm14, %zmm0, %zmm4
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm0, %zmm0, %zmm4 {%k1}
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm22 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm22, %xmm0
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm28, %xmm21
+; AVX512BW-FAST-NEXT: vpshufb %xmm19, %xmm28, %xmm11
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm11[0],xmm0[0],xmm11[1],xmm0[1],xmm11[2],xmm0[2],xmm11[3],xmm0[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm15, %xmm11
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm15 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm15, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm11[0],xmm5[1],xmm11[1],xmm5[2],xmm11[2],xmm5[3],xmm11[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm27, %xmm30
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm27, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm2 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm2, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm2, %xmm25
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm3, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm17, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0],xmm5[1],xmm9[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm2 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm7, %ymm2, %ymm5
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm2 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm23, %ymm2, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm2 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vpermd {{[-0-9]+}}(%r{{[sb]}}p), %ymm18, %ymm7 # 32-byte Folded Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm31, %ymm2, %ymm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm2, %ymm27
+; AVX512BW-FAST-NEXT: vmovdqu %ymm2, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpshufb %ymm1, %ymm7, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm7, %ymm28
+; AVX512BW-FAST-NEXT: vmovdqu %ymm7, {{[-0-9]+}}(%r{{[sb]}}p) # 32-byte Spill
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm10[0,1,2,3,4],ymm9[5],ymm10[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm9[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,5,13,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa (%rsp), %xmm7 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm13, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm9[0],xmm5[0],xmm9[1],xmm5[1],xmm9[2],xmm5[2],xmm9[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,u,u,5,13,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm1, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm8, %xmm11
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm10[0,1,2],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <u,u,5,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm24, %xmm11
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm23 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm23, %xmm14
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm14[0],xmm11[0],xmm14[1],xmm11[1],xmm14[2],xmm11[2],xmm14[3],xmm11[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm14 = <5,13,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm14, %xmm26, %xmm18
+; AVX512BW-FAST-NEXT: vpshufb %xmm14, %xmm12, %xmm31
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm31[0],xmm18[0],xmm31[1],xmm18[1],xmm31[2],xmm18[2],xmm31[3],xmm18[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0],xmm11[1],xmm4[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm4[0,1],xmm5[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13>
+; AVX512BW-FAST-NEXT: vpshufb %ymm18, %ymm6, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm31 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm31, %ymm16, %ymm11
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm11[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm29, %ymm19
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm29, %ymm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,1,5,9,13,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm2, %ymm20, %ymm6
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm6[0,1,2,3,4],ymm11[5],ymm6[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm4, %zmm0, %zmm4
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm5, %zmm0, %zmm4 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm22, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm21, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm5[0],xmm0[1],xmm5[1],xmm0[2],xmm5[2],xmm0[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm29, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm15, %xmm6
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm30, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm25, %xmm6
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm14, %xmm3, %xmm6
+; AVX512BW-FAST-NEXT: vpshufb %xmm14, %xmm17, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm17, {{[-0-9]+}}(%r{{[sb]}}p) # 16-byte Spill
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm3 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm18, %ymm3, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm12 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm31, %ymm12, %ymm6
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm27, %ymm6
+; AVX512BW-FAST-NEXT: vpshufb %ymm2, %ymm28, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqu64 %zmm0, {{[-0-9]+}}(%r{{[sb]}}p) # 64-byte Spill
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm0 = <u,u,u,u,u,u,6,14,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa %xmm7, %xmm15
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm7, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm13, %xmm31
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm13, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm5 = <u,u,u,u,6,14,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm1, %xmm6
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm7 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm7, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm6[0,1,2],xmm4[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,6,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm24, %xmm28
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm24, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa64 %xmm23, %xmm27
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm23, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm10 = <6,14,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm26, %xmm11
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm25 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm25, %xmm18
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm11 = xmm18[0],xmm11[0],xmm18[1],xmm11[1],xmm18[2],xmm11[2],xmm18[3],xmm11[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm9 = xmm11[0],xmm9[1],xmm11[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm4 = xmm9[0,1],xmm4[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm1, %ymm9
+; AVX512BW-FAST-NEXT: vmovdqa64 {{.*#+}} ymm18 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm18, %ymm16, %ymm11
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5,6],ymm9[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm2 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm2, %ymm19, %ymm11
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm1 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,2,6,10,14,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm1, %ymm20, %ymm14
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm11 = ymm14[0,1,2,3,4],ymm11[5],ymm14[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm9 = ymm11[0,1,2,3,4,5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm4, %zmm0, %zmm4
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm9, %zmm0, %zmm4 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm22, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm0, %xmm21, %xmm0
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm0 = xmm0[0],xmm9[0],xmm0[1],xmm9[1],xmm0[2],xmm9[2],xmm0[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm29, %xmm9
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm13 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm5, %xmm13, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm5[0],xmm9[0],xmm5[1],xmm9[1],xmm5[2],xmm9[2],xmm5[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1,2],xmm0[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm30, %xmm5
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm29 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm29, %xmm6
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa64 {{[-0-9]+}}(%r{{[sb]}}p), %xmm18 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm18, %xmm6
+; AVX512BW-FAST-NEXT: vpshufb %xmm10, %xmm17, %xmm9
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm6 = xmm9[0],xmm6[0],xmm9[1],xmm6[1],xmm9[2],xmm6[2],xmm9[3],xmm6[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm6[0],xmm5[1],xmm6[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm0 = xmm5[0,1],xmm0[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm3, %ymm23
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm3, %ymm5
+; AVX512BW-FAST-NEXT: vmovdqa64 %ymm12, %ymm24
+; AVX512BW-FAST-NEXT: vpshufb {{.*#+}} ymm6 = ymm12[u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,18,22,26,30,u,u,u,u]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5,6],ymm5[7]
+; AVX512BW-FAST-NEXT: vmovdqu64 {{[-0-9]+}}(%r{{[sb]}}p), %ymm17 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm2, %ymm17, %ymm6
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm2 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm1, %ymm2, %ymm9
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm6 = ymm9[0,1,2,3,4],ymm6[5],ymm9[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm5 = ymm6[0,1,2,3,4,5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm0 = ymm0[0,1,2,3],ymm5[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm0, %zmm4, %zmm0
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm4 = <u,u,u,u,u,u,7,15,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm4, %xmm15, %xmm5
+; AVX512BW-FAST-NEXT: vpshufb %xmm4, %xmm31, %xmm6
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm5 = xmm6[0],xmm5[0],xmm6[1],xmm5[1],xmm6[2],xmm5[2],xmm6[3],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm6 = <u,u,u,u,7,15,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm1 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm1, %xmm9
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm7, %xmm10
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm9 = xmm10[0],xmm9[0],xmm10[1],xmm9[1],xmm10[2],xmm9[2],xmm10[3],xmm9[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm9[0,1,2],xmm5[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm9 = <u,u,7,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm28, %xmm10
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm27, %xmm11
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm10 = xmm11[0],xmm10[0],xmm11[1],xmm10[1],xmm11[2],xmm10[2],xmm11[3],xmm10[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} xmm11 = <7,15,u,u,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %xmm11, %xmm26, %xmm14
+; AVX512BW-FAST-NEXT: vpshufb %xmm11, %xmm25, %xmm12
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm12 = xmm12[0],xmm14[0],xmm12[1],xmm14[1],xmm12[2],xmm14[2],xmm12[3],xmm14[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm10 = xmm12[0],xmm10[1],xmm12[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm5 = xmm10[0,1],xmm5[2,3]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm8 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15>
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm1 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm1, %ymm10
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm12 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm12, %ymm16, %ymm1
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3,4,5,6],ymm10[7]
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm10 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm10, %ymm19, %ymm2
+; AVX512BW-FAST-NEXT: vmovdqa {{.*#+}} ymm7 = <u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,u,3,7,11,15,u,u,u,u,u,u,u,u,u,u,u,u>
+; AVX512BW-FAST-NEXT: vpshufb %ymm7, %ymm20, %ymm3
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm2 = ymm3[0,1,2,3,4],ymm2[5],ymm3[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm2[0,1,2,3,4,5],ymm1[6,7]
+; AVX512BW-FAST-NEXT: vinserti32x4 $2, %xmm5, %zmm0, %zmm2
+; AVX512BW-FAST-NEXT: vinserti64x4 $1, %ymm1, %zmm0, %zmm2 {%k1}
+; AVX512BW-FAST-NEXT: vpshufb %xmm4, %xmm22, %xmm1
+; AVX512BW-FAST-NEXT: vpshufb %xmm4, %xmm21, %xmm3
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm1 = xmm3[0],xmm1[0],xmm3[1],xmm1[1],xmm3[2],xmm1[2],xmm3[3],xmm1[3]
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm3 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm3, %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm6, %xmm13, %xmm4
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1,2],xmm1[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm30, %xmm3
+; AVX512BW-FAST-NEXT: vpshufb %xmm9, %xmm29, %xmm4
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm3 = xmm4[0],xmm3[0],xmm4[1],xmm3[1],xmm4[2],xmm3[2],xmm4[3],xmm3[3]
+; AVX512BW-FAST-NEXT: vpshufb %xmm11, %xmm18, %xmm4
+; AVX512BW-FAST-NEXT: vmovdqa {{[-0-9]+}}(%r{{[sb]}}p), %xmm5 # 16-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %xmm11, %xmm5, %xmm5
+; AVX512BW-FAST-NEXT: vpunpcklwd {{.*#+}} xmm4 = xmm5[0],xmm4[0],xmm5[1],xmm4[1],xmm5[2],xmm4[2],xmm5[3],xmm4[3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm3 = xmm4[0],xmm3[1],xmm4[2,3]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} xmm1 = xmm3[0,1],xmm1[2,3]
+; AVX512BW-FAST-NEXT: vpshufb %ymm8, %ymm23, %ymm3
+; AVX512BW-FAST-NEXT: vpshufb %ymm12, %ymm24, %ymm4
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5,6],ymm3[7]
+; AVX512BW-FAST-NEXT: vpshufb %ymm10, %ymm17, %ymm4
+; AVX512BW-FAST-NEXT: vmovdqu {{[-0-9]+}}(%r{{[sb]}}p), %ymm5 # 32-byte Reload
+; AVX512BW-FAST-NEXT: vpshufb %ymm7, %ymm5, %ymm5
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm4 = ymm5[0,1,2,3,4],ymm4[5],ymm5[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm3 = ymm4[0,1,2,3,4,5],ymm3[6,7]
+; AVX512BW-FAST-NEXT: vpblendd {{.*#+}} ymm1 = ymm1[0,1,2,3],ymm3[4,5,6,7]
+; AVX512BW-FAST-NEXT: vinserti64x4 $0, %ymm1, %zmm2, %zmm1
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%rsi)
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%rdx)
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%rcx)
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%r8)
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%r9)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovups {{[-0-9]+}}(%r{{[sb]}}p), %zmm2 # 64-byte Reload
+; AVX512BW-FAST-NEXT: vmovaps %zmm2, (%rax)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa64 %zmm0, (%rax)
+; AVX512BW-FAST-NEXT: movq {{[0-9]+}}(%rsp), %rax
+; AVX512BW-FAST-NEXT: vmovdqa64 %zmm1, (%rax)
+; AVX512BW-FAST-NEXT: addq $888, %rsp # imm = 0x378
+; AVX512BW-FAST-NEXT: vzeroupper
+; AVX512BW-FAST-NEXT: retq
+ %wide.vec = load <512 x i8>, ptr %in.vec, align 64
+
+ %strided.vec0 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 0, i32 8, i32 16, i32 24, i32 32, i32 40, i32 48, i32 56, i32 64, i32 72, i32 80, i32 88, i32 96, i32 104, i32 112, i32 120, i32 128, i32 136, i32 144, i32 152, i32 160, i32 168, i32 176, i32 184, i32 192, i32 200, i32 208, i32 216, i32 224, i32 232, i32 240, i32 248, i32 256, i32 264, i32 272, i32 280, i32 288, i32 296, i32 304, i32 312, i32 320, i32 328, i32 336, i32 344, i32 352, i32 360, i32 368, i32 376, i32 384, i32 392, i32 400, i32 408, i32 416, i32 424, i32 432, i32 440, i32 448, i32 456, i32 464, i32 472, i32 480, i32 488, i32 496, i32 504>
+ %strided.vec1 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 1, i32 9, i32 17, i32 25, i32 33, i32 41, i32 49, i32 57, i32 65, i32 73, i32 81, i32 89, i32 97, i32 105, i32 113, i32 121, i32 129, i32 137, i32 145, i32 153, i32 161, i32 169, i32 177, i32 185, i32 193, i32 201, i32 209, i32 217, i32 225, i32 233, i32 241, i32 249, i32 257, i32 265, i32 273, i32 281, i32 289, i32 297, i32 305, i32 313, i32 321, i32 329, i32 337, i32 345, i32 353, i32 361, i32 369, i32 377, i32 385, i32 393, i32 401, i32 409, i32 417, i32 425, i32 433, i32 441, i32 449, i32 457, i32 465, i32 473, i32 481, i32 489, i32 497, i32 505>
+ %strided.vec2 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 2, i32 10, i32 18, i32 26, i32 34, i32 42, i32 50, i32 58, i32 66, i32 74, i32 82, i32 90, i32 98, i32 106, i32 114, i32 122, i32 130, i32 138, i32 146, i32 154, i32 162, i32 170, i32 178, i32 186, i32 194, i32 202, i32 210, i32 218, i32 226, i32 234, i32 242, i32 250, i32 258, i32 266, i32 274, i32 282, i32 290, i32 298, i32 306, i32 314, i32 322, i32 330, i32 338, i32 346, i32 354, i32 362, i32 370, i32 378, i32 386, i32 394, i32 402, i32 410, i32 418, i32 426, i32 434, i32 442, i32 450, i32 458, i32 466, i32 474, i32 482, i32 490, i32 498, i32 506>
+ %strided.vec3 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 3, i32 11, i32 19, i32 27, i32 35, i32 43, i32 51, i32 59, i32 67, i32 75, i32 83, i32 91, i32 99, i32 107, i32 115, i32 123, i32 131, i32 139, i32 147, i32 155, i32 163, i32 171, i32 179, i32 187, i32 195, i32 203, i32 211, i32 219, i32 227, i32 235, i32 243, i32 251, i32 259, i32 267, i32 275, i32 283, i32 291, i32 299, i32 307, i32 315, i32 323, i32 331, i32 339, i32 347, i32 355, i32 363, i32 371, i32 379, i32 387, i32 395, i32 403, i32 411, i32 419, i32 427, i32 435, i32 443, i32 451, i32 459, i32 467, i32 475, i32 483, i32 491, i32 499, i32 507>
+ %strided.vec4 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 4, i32 12, i32 20, i32 28, i32 36, i32 44, i32 52, i32 60, i32 68, i32 76, i32 84, i32 92, i32 100, i32 108, i32 116, i32 124, i32 132, i32 140, i32 148, i32 156, i32 164, i32 172, i32 180, i32 188, i32 196, i32 204, i32 212, i32 220, i32 228, i32 236, i32 244, i32 252, i32 260, i32 268, i32 276, i32 284, i32 292, i32 300, i32 308, i32 316, i32 324, i32 332, i32 340, i32 348, i32 356, i32 364, i32 372, i32 380, i32 388, i32 396, i32 404, i32 412, i32 420, i32 428, i32 436, i32 444, i32 452, i32 460, i32 468, i32 476, i32 484, i32 492, i32 500, i32 508>
+ %strided.vec5 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 5, i32 13, i32 21, i32 29, i32 37, i32 45, i32 53, i32 61, i32 69, i32 77, i32 85, i32 93, i32 101, i32 109, i32 117, i32 125, i32 133, i32 141, i32 149, i32 157, i32 165, i32 173, i32 181, i32 189, i32 197, i32 205, i32 213, i32 221, i32 229, i32 237, i32 245, i32 253, i32 261, i32 269, i32 277, i32 285, i32 293, i32 301, i32 309, i32 317, i32 325, i32 333, i32 341, i32 349, i32 357, i32 365, i32 373, i32 381, i32 389, i32 397, i32 405, i32 413, i32 421, i32 429, i32 437, i32 445, i32 453, i32 461, i32 469, i32 477, i32 485, i32 493, i32 501, i32 509>
+ %strided.vec6 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 6, i32 14, i32 22, i32 30, i32 38, i32 46, i32 54, i32 62, i32 70, i32 78, i32 86, i32 94, i32 102, i32 110, i32 118, i32 126, i32 134, i32 142, i32 150, i32 158, i32 166, i32 174, i32 182, i32 190, i32 198, i32 206, i32 214, i32 222, i32 230, i32 238, i32 246, i32 254, i32 262, i32 270, i32 278, i32 286, i32 294, i32 302, i32 310, i32 318, i32 326, i32 334, i32 342, i32 350, i32 358, i32 366, i32 374, i32 382, i32 390, i32 398, i32 406, i32 414, i32 422, i32 430, i32 438, i32 446, i32 454, i32 462, i32 470, i32 478, i32 486, i32 494, i32 502, i32 510>
+ %strided.vec7 = shufflevector <512 x i8> %wide.vec, <512 x i8> poison, <64 x i32> <i32 7, i32 15, i32 23, i32 31, i32 39, i32 47, i32 55, i32 63, i32 71, i32 79, i32 87, i32 95, i32 103, i32 111, i32 119, i32 127, i32 135, i32 143, i32 151, i32 159, i32 167, i32 175, i32 183, i32 191, i32 199, i32 207, i32 215, i32 223, i32 231, i32 239, i32 247, i32 255, i32 263, i32 271, i32 279, i32 287, i32 295, i32 303, i32 311, i32 319, i32 327, i32 335, i32 343, i32 351, i32 359, i32 367, i32 375, i32 383, i32 391, i32 399, i32 407, i32 415, i32 423, i32 431, i32 439, i32 447, i32 455, i32 463, i32 471, i32 479, i32 487, i32 495, i32 503, i32 511>
+
+ store <64 x i8> %strided.vec0, ptr %out.vec0, align 64
+ store <64 x i8> %strided.vec1, ptr %out.vec1, align 64
+ store <64 x i8> %strided.vec2, ptr %out.vec2, align 64
+ store <64 x i8> %strided.vec3, ptr %out.vec3, align 64
+ store <64 x i8> %strided.vec4, ptr %out.vec4, align 64
+ store <64 x i8> %strided.vec5, ptr %out.vec5, align 64
+ store <64 x i8> %strided.vec6, ptr %out.vec6, align 64
+ store <64 x i8> %strided.vec7, ptr %out.vec7, align 64
+
+ ret void
+}
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; AVX: {{.*}}
+; AVX2: {{.*}}
+; AVX512BW-ONLY-FAST: {{.*}}
+; AVX512BW-ONLY-SLOW: {{.*}}
+; AVX512DQ-FAST: {{.*}}
+; AVX512DQ-SLOW: {{.*}}
+; AVX512DQBW-FAST: {{.*}}
+; AVX512DQBW-SLOW: {{.*}}
+; AVX512F-ONLY-FAST: {{.*}}
+; AVX512F-ONLY-SLOW: {{.*}}
+; FALLBACK0: {{.*}}
+; FALLBACK1: {{.*}}
+; FALLBACK10: {{.*}}
+; FALLBACK11: {{.*}}
+; FALLBACK12: {{.*}}
+; FALLBACK2: {{.*}}
+; FALLBACK3: {{.*}}
+; FALLBACK4: {{.*}}
+; FALLBACK5: {{.*}}
+; FALLBACK6: {{.*}}
+; FALLBACK7: {{.*}}
+; FALLBACK8: {{.*}}
+; FALLBACK9: {{.*}}